We have your learning goals covered with Spring and Summer courses available. Enroll today!

G
Topic
First Poster
Last Poster
k a March Highlights and 2025 AoPS Online Class Information
jlacosta   0
Mar 2, 2025
March is the month for State MATHCOUNTS competitions! Kudos to everyone who participated in their local chapter competitions and best of luck to all going to State! Join us on March 11th for a Math Jam devoted to our favorite Chapter competition problems! Are you interested in training for MATHCOUNTS? Be sure to check out our AMC 8/MATHCOUNTS Basics and Advanced courses.

Are you ready to level up with Olympiad training? Registration is open with early bird pricing available for our WOOT programs: MathWOOT (Levels 1 and 2), CodeWOOT, PhysicsWOOT, and ChemWOOT. What is WOOT? WOOT stands for Worldwide Online Olympiad Training and is a 7-month high school math Olympiad preparation and testing program that brings together many of the best students from around the world to learn Olympiad problem solving skills. Classes begin in September!

Do you have plans this summer? There are so many options to fit your schedule and goals whether attending a summer camp or taking online classes, it can be a great break from the routine of the school year. Check out our summer courses at AoPS Online, or if you want a math or language arts class that doesn’t have homework, but is an enriching summer experience, our AoPS Virtual Campus summer camps may be just the ticket! We are expanding our locations for our AoPS Academies across the country with 15 locations so far and new campuses opening in Saratoga CA, Johns Creek GA, and the Upper West Side NY. Check out this page for summer camp information.

Be sure to mark your calendars for the following events:
[list][*]March 5th (Wednesday), 4:30pm PT/7:30pm ET, HCSSiM Math Jam 2025. Amber Verser, Assistant Director of the Hampshire College Summer Studies in Mathematics, will host an information session about HCSSiM, a summer program for high school students.
[*]March 6th (Thursday), 4:00pm PT/7:00pm ET, Free Webinar on Math Competitions from elementary through high school. Join us for an enlightening session that demystifies the world of math competitions and helps you make informed decisions about your contest journey.
[*]March 11th (Tuesday), 4:30pm PT/7:30pm ET, 2025 MATHCOUNTS Chapter Discussion MATH JAM. AoPS instructors will discuss some of their favorite problems from the MATHCOUNTS Chapter Competition. All are welcome!
[*]March 13th (Thursday), 4:00pm PT/7:00pm ET, Free Webinar about Summer Camps at the Virtual Campus. Transform your summer into an unforgettable learning adventure! From elementary through high school, we offer dynamic summer camps featuring topics in mathematics, language arts, and competition preparation - all designed to fit your schedule and ignite your passion for learning.[/list]
Our full course list for upcoming classes is below:
All classes run 7:30pm-8:45pm ET/4:30pm - 5:45pm PT unless otherwise noted.

Introductory: Grades 5-10

Prealgebra 1 Self-Paced

Prealgebra 1
Sunday, Mar 2 - Jun 22
Friday, Mar 28 - Jul 18
Sunday, Apr 13 - Aug 10
Tuesday, May 13 - Aug 26
Thursday, May 29 - Sep 11
Sunday, Jun 15 - Oct 12
Monday, Jun 30 - Oct 20
Wednesday, Jul 16 - Oct 29

Prealgebra 2 Self-Paced

Prealgebra 2
Tuesday, Mar 25 - Jul 8
Sunday, Apr 13 - Aug 10
Wednesday, May 7 - Aug 20
Monday, Jun 2 - Sep 22
Sunday, Jun 29 - Oct 26
Friday, Jul 25 - Nov 21


Introduction to Algebra A Self-Paced

Introduction to Algebra A
Sunday, Mar 23 - Jul 20
Monday, Apr 7 - Jul 28
Sunday, May 11 - Sep 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Wednesday, May 14 - Aug 27
Friday, May 30 - Sep 26
Monday, Jun 2 - Sep 22
Sunday, Jun 15 - Oct 12
Thursday, Jun 26 - Oct 9
Tuesday, Jul 15 - Oct 28

Introduction to Counting & Probability Self-Paced

Introduction to Counting & Probability
Sunday, Mar 16 - Jun 8
Wednesday, Apr 16 - Jul 2
Thursday, May 15 - Jul 31
Sunday, Jun 1 - Aug 24
Thursday, Jun 12 - Aug 28
Wednesday, Jul 9 - Sep 24
Sunday, Jul 27 - Oct 19

Introduction to Number Theory
Monday, Mar 17 - Jun 9
Thursday, Apr 17 - Jul 3
Friday, May 9 - Aug 1
Wednesday, May 21 - Aug 6
Monday, Jun 9 - Aug 25
Sunday, Jun 15 - Sep 14
Tuesday, Jul 15 - Sep 30

Introduction to Algebra B Self-Paced

Introduction to Algebra B
Sunday, Mar 2 - Jun 22
Wednesday, Apr 16 - Jul 30
Tuesday, May 6 - Aug 19
Wednesday, Jun 4 - Sep 17
Sunday, Jun 22 - Oct 19
Friday, Jul 18 - Nov 14

Introduction to Geometry
Tuesday, Mar 4 - Aug 12
Sunday, Mar 23 - Sep 21
Wednesday, Apr 23 - Oct 1
Sunday, May 11 - Nov 9
Tuesday, May 20 - Oct 28
Monday, Jun 16 - Dec 8
Friday, Jun 20 - Jan 9
Sunday, Jun 29 - Jan 11
Monday, Jul 14 - Jan 19

Intermediate: Grades 8-12

Intermediate Algebra
Sunday, Mar 16 - Sep 14
Tuesday, Mar 25 - Sep 2
Monday, Apr 21 - Oct 13
Sunday, Jun 1 - Nov 23
Tuesday, Jun 10 - Nov 18
Wednesday, Jun 25 - Dec 10
Sunday, Jul 13 - Jan 18
Thursday, Jul 24 - Jan 22

Intermediate Counting & Probability
Sunday, Mar 23 - Aug 3
Wednesday, May 21 - Sep 17
Sunday, Jun 22 - Nov 2

Intermediate Number Theory
Friday, Apr 11 - Jun 27
Sunday, Jun 1 - Aug 24
Wednesday, Jun 18 - Sep 3

Precalculus
Sunday, Mar 16 - Aug 24
Wednesday, Apr 9 - Sep 3
Friday, May 16 - Oct 24
Sunday, Jun 1 - Nov 9
Monday, Jun 30 - Dec 8

Advanced: Grades 9-12

Olympiad Geometry
Wednesday, Mar 5 - May 21
Tuesday, Jun 10 - Aug 26

Calculus
Sunday, Mar 30 - Oct 5
Tuesday, May 27 - Nov 11
Wednesday, Jun 25 - Dec 17

Group Theory
Thursday, Jun 12 - Sep 11

Contest Preparation: Grades 6-12

MATHCOUNTS/AMC 8 Basics
Sunday, Mar 23 - Jun 15
Wednesday, Apr 16 - Jul 2
Friday, May 23 - Aug 15
Monday, Jun 2 - Aug 18
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

MATHCOUNTS/AMC 8 Advanced
Friday, Apr 11 - Jun 27
Sunday, May 11 - Aug 10
Tuesday, May 27 - Aug 12
Wednesday, Jun 11 - Aug 27
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

AMC 10 Problem Series
Tuesday, Mar 4 - May 20
Monday, Mar 31 - Jun 23
Friday, May 9 - Aug 1
Sunday, Jun 1 - Aug 24
Thursday, Jun 12 - Aug 28
Tuesday, Jun 17 - Sep 2
Sunday, Jun 22 - Sep 21 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Monday, Jun 23 - Sep 15
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

AMC 10 Final Fives
Sunday, May 11 - Jun 8
Tuesday, May 27 - Jun 17
Monday, Jun 30 - Jul 21

AMC 12 Problem Series
Tuesday, May 27 - Aug 12
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
Wednesday, Aug 6 - Oct 22

AMC 12 Final Fives
Sunday, May 18 - Jun 15

F=ma Problem Series
Wednesday, Jun 11 - Aug 27

WOOT Programs
Visit the pages linked for full schedule details for each of these programs!


MathWOOT Level 1
MathWOOT Level 2
ChemWOOT
CodeWOOT
PhysicsWOOT

Programming

Introduction to Programming with Python
Monday, Mar 24 - Jun 16
Thursday, May 22 - Aug 7
Sunday, Jun 15 - Sep 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Tuesday, Jun 17 - Sep 2
Monday, Jun 30 - Sep 22

Intermediate Programming with Python
Sunday, Jun 1 - Aug 24
Monday, Jun 30 - Sep 22

USACO Bronze Problem Series
Tuesday, May 13 - Jul 29
Sunday, Jun 22 - Sep 1

Physics

Introduction to Physics
Sunday, Mar 30 - Jun 22
Wednesday, May 21 - Aug 6
Sunday, Jun 15 - Sep 14
Monday, Jun 23 - Sep 15

Physics 1: Mechanics
Tuesday, Mar 25 - Sep 2
Thursday, May 22 - Oct 30
Monday, Jun 23 - Dec 15

Relativity
Sat & Sun, Apr 26 - Apr 27 (4:00 - 7:00 pm ET/1:00 - 4:00pm PT)
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
Mar 2, 2025
0 replies
Interesting inequality
sqing   1
N 2 minutes ago by sqing
Source: Own
Let $ a,b,c\geq 2.$ Prove that
$$ (a+1)(b+1)(c +1)-\frac{9}{4}abc\leq 9$$$$ (a+1)(b+1)(c +1)-\frac{23}{10}abc\leq\frac{43}{5}$$
1 reply
+1 w
sqing
an hour ago
sqing
2 minutes ago
All Russian Olympiad 2018 Day1 P2
Davrbek   23
N 16 minutes ago by Marcus_Zhang
Source: Grade 11 P2
Let $n\geq 2$ and $x_{1},x_{2},\ldots,x_{n}$ positive real numbers. Prove that
\[\frac{1+x_{1}^2}{1+x_{1}x_{2}}+\frac{1+x_{2}^2}{1+x_{2}x_{3}}+\cdots+\frac{1+x_{n}^2}{1+x_{n}x_{1}}\geq n.\]
23 replies
Davrbek
Apr 28, 2018
Marcus_Zhang
16 minutes ago
Interesting inequality
sqing   1
N 40 minutes ago by sqing
Source: Own
Let $ a,b,c\geq \frac{1}{3}$ and $ a+b+c=\frac{1}{a}+\frac{1}{b}+\frac{1}{c}+8  . $ Prove that
$$ ab+bc +ca\leq 17+2\sqrt{73}$$Let $ a,b,c\geq \frac{1}{2}$ and $ a+b+c=\frac{1}{a}+\frac{1}{b}+\frac{1}{c}+8  . $ Prove that
$$ ab+bc +ca\leq \frac{469+115\sqrt{17}}{32}$$Let $ a,b,c\geq \frac{1}{5}$ and $ a+b+c=\frac{1}{a}+\frac{1}{b}+\frac{1}{c}+8  . $ Prove that
$$ ab+bc +ca\leq \frac{569+34\sqrt{281}}{25}$$
1 reply
sqing
an hour ago
sqing
40 minutes ago
True Generalization of 2023 CGMO T7
EthanWYX2009   0
an hour ago
Source: aops.com/community/c6h3132846p28384612
Given positive integer $n.$ Let $x_1,\ldots ,x_n\ge 0$ and $x_1x_2\cdots x_n\le 1.$ Show that
\[\sum_{k=1}^n\frac{1}{1+\sum_{j\neq k}x_j}\le\frac n{1+(n-1)\sqrt[n]{x_1x_2\cdots x_n}}.\]
0 replies
1 viewing
EthanWYX2009
an hour ago
0 replies
No more topics!
IMO Shortlist 2011, Algebra 3
orl   45
N Mar 18, 2025 by Ilikeminecraft
Source: IMO Shortlist 2011, Algebra 3
Determine all pairs $(f,g)$ of functions from the set of real numbers to itself that satisfy \[g(f(x+y)) = f(x) + (2x + y)g(y)\] for all real numbers $x$ and $y$.

Proposed by Japan
45 replies
orl
Jul 11, 2012
Ilikeminecraft
Mar 18, 2025
IMO Shortlist 2011, Algebra 3
G H J
Source: IMO Shortlist 2011, Algebra 3
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
AliAlavi
27 posts
#35 • 1 Y
Y by Mango247
Let $P(x,y)$ denote the assertion
$P(x,0) , P(0,x) \Rightarrow  f(x) = f(0) - 2xg(0) + xg(x)$
Case 1: $g(0) = 0$
$f(x) = f(0) + xg(x) \Rightarrow g(f(x+y)) = xg(x) + yg(y) + 2xg(y) + f(0) [Q(x,y)]$
$Q(x,y),Q(y,x) \Rightarrow 2xg(y) = 2yg(x) \Rightarrow g(x) = ax+b $
Case 2: $g(0) != 0$
$P(x,-2x) \Rightarrow g(f(-x)) = f(x) *$
$P(x,f(y)),* \Rightarrow f(-x-f(y)) = f(x) + (2x+y)f(-y) [H(x,y)]$
$g(0,0) \Rightarrow f(-f(0)) = f(0) \Rightarrow -f(0) = 0 \Rightarrow g(0) = 0$ but we knew $g(0)$ is not equal to $0$

Solutions : $f(x)=g(x)=0$ and $g(x)=x+b,f(x)=x^2+c$
This post has been edited 5 times. Last edited by AliAlavi, Jan 22, 2023, 10:23 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
megarnie
5537 posts
#36
Y by
Either both $f$ and $g$ are the zero function, or $f(x) = x^2 + c$ and $g(x) = x$, for any constant $c$. These work.

Let $P(x,y)$ denote the given assertion.

$P(x,y)$ and $P(y,x)$ gives \[f(x) + (2x+y)g(y) = f(y) + (2y+x)g(x)\]
Let $Q(x,y) $ be this assertion.

$P(0,0): g(f(0)) = f(0)$.

$P(x,-x): f(0) = f(x) + xg(-x)$.

$Q(x,0): f(x) + 2xg(0) = f(0) + xg(x)$.

This implies \[f(x) = f(0) + xg(x) - 2xg(0) \ \ \ \ \ \ \ \ \ \ \ \ \ \ (1)\]
So \begin{align*}
f(x) + xg(-x) + xg(x) - 2xg(0)  = f(x) \\
\implies x(g(-x) + g(x)) = 2xg(0) \\
\implies g(-x) + g(x) = 2g(0)\\
\end{align*}
By $(1)$, $Q(x,y)$ can be written as \[f(0) + xg(x) - 2xg(0) + (2x+y)g(y) = f(0) + yg(y) - 2yg(0) + (2y+x)g(x)\]Simplifying gives \[x(g(y) - g(0)) = y(g(x) - g(0))\]
Let $h(x) = g(x) - g(0)$. Then $xh(y) = yh(x)$, so $h(x) = ax$ for all $x$, and some constant $a$. Thus $g(x) = ax+b$ for constants $a,b$.

Set $c=f(0)$.

Then by $(1)$ \begin{align*}
f(x)  \\ 
= f(0) + x(ax+b) - 2xb  \\
= ax^2  - bx + c \\
\end{align*}
$P(0,x): g(f(x)) = f(0) + xg(x)$.

Thus $af(x) = ax^2 + bx + c - b$. So \[a^2x^2 - (ab)x + ac = ax^2 + bx + (c-b)\]
So $a=a^2\implies a=0$ or $a=1$.

Case 1: $a=0$.
Then $b$ and $c-b$ are both $0$, so $b=c=0$, which implies both $f$ and $g$ are identically zero.

Case 2: $a=1$.
Then $bx = -bx$, so $b = -b\implies b=0$.

In this case, we have $f(x) = x^2 + c $ and $g(x) = x$, as desired.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ibrahim_K
62 posts
#37
Y by
Let $P(x,y)$ denote the given assertion.

$$P(0,1)-P(1,0) \implies f(0)+g(1)=f(1)+2g(0) \  \  \  \  (1)$$$$P(0,x)-P(x,0) \implies f(0)+xg(x)=f(x)+2xg(0) \  \  \  \  (2)$$$$P(x,1)-P(1,x) \implies f(x)+g(1)(2x+1)=g(x)(x+2)+f(1) \  \  \  \ (3)$$
Expanding equation $3$ and replacing $f(x)-g(x)x$ with $f(0)-2xg(0)$ yields

$$f(0)+2xg(1)+g(1)=2xg(0)+2g(x)+f(1)$$
Replacing $f(0)+g(1)$ with $f(1)+2g(0)$ implies

$$xg(1)+g(0)=xg(0)+g(x) \implies g(x)=x(g(1)-g(0))+g(0) \implies g(x)=kx+b $$
Using this in equation $2$ yields

$$f(x)=x^2k-xb+f(0) \iff f(x)=x^2k-xb+c$$
By putting $f(x)=x^2k-xb+c$ and $g(x)=kx+b$ and using $c(k-1)=b$ (by $P(0,0)$ ) we get

$$(x+y)(k(k-1)(x+y)-b(k+1))=0 \implies \text{ true for all real x,y hence } x+y \ne 0 \implies k(k-1)(x+y)-b(k+1)=0$$
By $x=0,y=0$ and $x=1,y=0$ we get

$$k(k-1)=0 \  \ ,  \  \ b(k+1)=0 \implies k=1,b=0 \text { or } k=0,b=0$$
$$k=0,b=0 \implies \boxed{ f \equiv g \equiv 0} \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ k=1,b=0 \implies \boxed{ g(x)=x , f(x)=x^2+c}$$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mathscrazy
113 posts
#38
Y by
Answer is $f(x)=x^2+c$, $g(x)=x$ for any constant $c$, and $f\equiv g \equiv 0$. Let $P(x,y)$ be the assertion in given equation.
Claim : $g(f(x))=f(x)=f(-x)$
Proof :
$P(x,0) : g(f(x))=f(x)+2xg(0) \dots [\spadesuit]$.
Assume possible FTSOC $g(0) \neq 0$. Then $[\spadesuit] \implies f$ injective.
$P(-x,2x) : g(f(x))=f(-x) \dots [\clubsuit]$.
$P(0,y) :  f(-y)=f(0)+yg(y)$.
Now, $P(0,f(y)) : f(-f(y))=f(0)+f(y)f(-y)$. And, $P(0,f(-y)) : f(-f(-y))=f(0)+f(-y)f(y)$. Hence $f(-f(y))=f(-f(-y)) \implies -f(y)=-f(-y)$ by injectivity. But this itself contradicts injectivity.
Hence our assumption that $g(0) \neq 0$ was wrong. Hence $g(0)=0$.
$[\spadesuit]$ and $[\clubsuit]$ imply $g(f(x))=f(x)=f(-x)$, as claimed. $\square$
$$P(0,x) : f(x) = f(0) + xg(x) \dots [\diamondsuit]$$Using this, comparing $P(x,y)$ and $P(y,x)$ : $f(x)+(2x+y)g(y)=f(y)+(2y+x)g(x) \implies 2xg(y)=2yg(x)$. Hence, $$xg(y)=yg(x) \dots [\heartsuit]$$If $f\equiv 0$, from $[\diamondsuit]$ we imply that $g \equiv 0$.
Assume $ f \not\equiv 0$. Hence there exists $t$ such that $f(t) \neq 0$. $y=t $ in $[\heartsuit]$ and using claim, we get $$g(x)=x \text{ for all } x \overset{[\diamondsuit]}{\implies} f(x) = c+x^2$$On verifying, these two solutions indeed work. Hence we get the claimed answers.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
HamstPan38825
8855 posts
#39
Y by
The only solutions are $f(x) = x^2+c$ and $g(x) = x$, or $f(x) = 0$ and $g(x) = 0$.

Using symmetry, we have $$f(x) + (2x+y)g(y) = f(y) + (2y+x)g(x).$$It turns out that this is the only equation we need.

By setting $x=0$, $$f(0) + yg(y)=f(y) + 2yg(0),$$and by setting $y=-x$, $$f(x) + xg(-x) = f(-x) - xg(x).$$Substituting for $f(x)$ and $f(-x)$ in both expressions, we obtain $$g(-x) + g(x) = g(0)x.$$In particular, letting $x=0$, $g(0) = 0$, so $g$ is odd. As a result, plugging this back into $P(x, -x)$, $f$ is even too.

Now, compare the two equations $P(x, qx)$ and $P(x, -qx)$ for any real number $q$, given below:
\begin{align*}
f(x) + (q+2) x g(qx) &=f(qx) + (2q+1) x g(x) \\
f(x) + (2-q) x g(-qx) &= f(-qx) + (1-2q) g(x).
\end{align*}Using $g$ odd and $f$ even, we can combine these to read $g(qx) = qg(x)$. Hence $g(x) = cx$ for constants $c$, and $f(x) = cx^2+c_1$. Plugging this back into the original equation, we must have $c = 1$, which yields the desired solution set.
This post has been edited 1 time. Last edited by HamstPan38825, Apr 2, 2023, 5:27 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pco
23450 posts
#40
Y by
HamstPan38825 wrote:
The only solutions are $f(x) = x^2+c$ and $g(x) = x$.
You should read the 38 previous posts. They show that there is another solution.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Taco12
1757 posts
#41 • 2 Y
Y by Jndd, megarnie
Let $P(x,y)$ denote the assertion.

\begin{align*}
P(0,1) \rightarrow g(f(1))&=f(0)+g(1) \\
P(1,0) \rightarrow g(f(1)) &= f(1)+2g(0). \\
\end{align*}
Thus, $$f(0)+g(1)=f(1)+2g(0) \ \ \ \ \ \ \ \ \ \ \ \ \ \ (1).$$
We also have
\begin{align*}
P(x,1) \rightarrow g(f(x+1))&=f(x)+(2x+1)g(1) \\
P(1,x) \rightarrow g(f(x+1)) &= f(1)+(x+2)g(x). \\
\end{align*}
Thus, $$f(x)+(2x+1)g(1)=f(1)+(x+2)g(x) \ \ \ \ \ \ \ \ \ \ \ \ \ \ (2).$$Next,
\begin{align*}
P(x,0) \rightarrow g(f(x))&=f(x)+2xg(0) \\
P(0,x) \rightarrow g(f(x)) &= f(0)+xg(x). \\
\end{align*}
Thus, $$f(x)+2xg(0)=f(0)+xg(x) \ \ \ \ \ \ \ \ \ \ \ \ \ \ (3).$$
By doing $(2)-(3)$ and using $(1)$, we get $$(2x+1)g(1)-2xg(0)=g(1)-2g(0)+2g(x),$$implying $g$ is linear. Set $g(x)=ax+b$. Plugging that into $(3)$, we get $f(x)+2xb=f(0)+ax^2+bx \rightarrow f(x)=ax^2-bx+c$. Plugging $f$ and $g$ back into the original equation now gives $f(x)=x^2+c$ and $g(x)=x$ or $f\equiv g \equiv 0$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
WinterSecret
7 posts
#42
Y by
Does this work?

Firstly let $P(x,y)$ be the assertion to the function.
\[P(0,0) \rightarrow g(f(0))=f(0)\]\[P(x,-x) \rightarrow g(f(0))=f(x)+xg(-x)\]So, we have that $f(x)=f(0)-xg(-x)$. Now, subtitude all the $f$'s into $g$' and we have
\[g(f(0)-(x+y)g(-x-y))=f(0)-xg(-x)+(2x+y)g(y)\]Subtituding $x\rightarrow -x$ and $y\rightarrow -y$ and also letting $f(0)=c$ we have
\[g(c+(x+y)g(x+y))=c+xg(x)-(2x+y)g(-y)\]\[P(0,x) \rightarrow g(c+xg(x))=c-xg(-x)\]\[P(x,0) \rightarrow g(c+xg(x))=c+xg(x)-2xg(0)\]So, we have that $g(x)+g(-x)=2g(0)$ for all $x\in \mathbb{R}$, subtitude $g(-y)=2g(0)-g(y)$ we have
\[g(c+(x+y)g(x+y))=c+xg(x)+(2x+y)g(y)-(4x+2y)g(0)\cdots \bigstar \]Also, swapping $x$ and $y$ implies
\[g(c+(x+y)g(x+y))=c+yg(y)+(2y+x)g(x)-(2x+4y)g(0)\cdots \square\]Taking the average of $\bigstar$ and $\square$ we have
\[g(c+(x+y)g(x+y))=c+(x+y)(g(x)+g(y))-(3x+3y)g(0)\]Hence, $P(x+y,0)$ concludes that $g(x+y)+g(0)=g(x)+g(y)$ if $x+y\ne 0.$ But, when $x+y=0$ it is obvious that $g(x+y)+g(0)=g(x)+g(y)$.
Now, the functional equation becomes
\[g(c)+g((x+y)g(x+y))-g(0)=c+(x+y)(g(x+y)+g(0))-(3x+3y)g(0)\]Thus,
\[g((x+y)g(x+y))=(x+y)g(x+y)+(1-2x-2y)g(0)\]And so,
\[g(xg(x))=xg(x)+(1-2x)g(0)\cdots \clubsuit\]
Now, let $h(x)=g(x)-x$ so, $g(x)=h(x)+x$. Note that $h(0)=g(0)$ and $h(x+y)+h(0)=h(x)+h(y)$. So, the functional equation becomes
\[h(xg(x))+xg(x)=xg(x)+(1-2x)h(0)\]\[h(xh(x)+x^2)=(1-2x)h(0)\]\[h(xh(x))+h(x^2)-h(0)=(1-2x)h(0)\]Taking $x=1$ yields
\[h(h(1))+h(1)=0 \rightarrow g(h(1))=0 \rightarrow g(g(1)-1)=0.\]Now, let $t=g(1)-1$ so, $g(t)=0$. Also subtituding $x=t$ in $\clubsuit$ gives $g(0)=(1-2t)g(0)\rightarrow t=0$ or $g(0)=0.$
But, either way we have $g(0)=0$. Comparing the equivalency in $\bigstar$ and $\square$ we have $xg(y)=yg(x)\cdots \diamondsuit$.

Observe that:
i.) If $t=0$ then $g(1)=1$ and subtituding $y=1$ in $\diamondsuit$ we have that $\boxed{g(x)=x}$ for all $x$ and $\boxed{f(x)=f(0)-xg(-x)=x^2+c}$
ii.) If $t\ne 0$ then subtituding $y=t$ in $\diamondsuit$ we have that $\boxed{g(x)=0}$ for all $x$ and $f(x)=f(0)-xg(-x)=c$ and it is easy to check that $c=0$ so, $\boxed{f(x)=0}$
Hence, there are 2 pairs of function that satisfies the problem that is: $(f,g)=(x^2+c,x),(0,0)$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
IAmTheHazard
5000 posts
#43 • 1 Y
Y by centslordm
no brain solution

The answer is $f \equiv g \equiv 0$, as well as $f(x)=x^2+c$ and $g(x)=x$, which clearly work. Let $P_1(x,y)$ denote the given assertion.

From $P_1(-x,2x)$, we get $g(f(x))=f(-x)$, hence we can rewrite the functional equation as $f(-x-y)=f(x)+(2x+y)g(y)$. Let $P_2(x,y)$ denote this assertion: we will first ignore the original equation and solve this one instead.

Since $f$ works iff $f+c$ does for any fixed constant $c$, WLOG let $f(0)=0$. Then from $P_2(x,-x)$ we find that $f(x)+xg(-x)=0 \implies f(x)=-xg(-x)$. Thus we can once again rewrite this equation as $(x+y)g(x+y)=-xg(-x)+(2x+y)g(y)$. From plugging in $y=0$, we get $xg(-x)=-xg(x)$, hence we can rewrite this equation as $(x+y)g(x+y)=xg(x)+(2x+y)g(y)$. Call this equation $P_3(x,y)$; we will solve it first.

It is clear that any linear functions work, and that the set of solutions forms a $\mathbb{R}$-vector space, hence we can shift so $g(0)=g(1)=0$, which additionally implies that $g(-1)=0$. Suppose that there exists some $a$ with $g(a) \neq 0$, so $a \not \in \{-1,0,1\}$. From $P(1,a-1)$ we find that $ag(a)=(a+1)g(a-1)$. From $P(-1,a)$ we find that $(a-2)g(a)=(a-1)g(a-1)$. Since $(a+1)g(a-1)=ag(a) \neq 0$, we can divide to obtain
$$\frac{a-2}{a}=\frac{a-1}{a+1} \implies (a-2)(a+1)=a(a-1) \implies -2=0,$$which is absurd. Hence $g \equiv 0$, so the only solutions to this equation are linear.

Suppose that $g(x)=ax+b$. Then $f(x)=-x(-ax+b)=ax^2-bx+c$, since we shifted $f$ so that $f(0)=0$. Instead of directly plugging this back into the original solution, we instead inspect $g(f(x))=f(-x)$, which implies that $a=0$ or $a=1$ by comparing the leading coefficients. If $a=0$, then $g(x)=b$, and $f(x)=-bx+c$, but it is clear that $f$ must be constant, hence $g \equiv 0$, from which $f \equiv 0$ is clear. If $a=1$, then since $g(f(0))=f(0) \implies g(c)=c$, we find that $b=0$, hence $g(x)=x$ and $f(x)=x^2+c$, which is our other solution. $\blacksquare$
This post has been edited 1 time. Last edited by IAmTheHazard, Aug 13, 2023, 9:11 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Math4Life7
1703 posts
#44
Y by
We can see that $f(y) + (2y+x)g(x) = g(f(y+x)) = g(f(x+y)) = f(x) + (2x+y)g(y)$. Let $P(x, y)$ denote the assertion \[f(y) + (2y+x)g(x) = f(x) + (2x+y)g(y) \]We can see from $P(x, 0)$ that we have \[f(0) + xg(x) = f(x) + 2xg(0) \Rightarrow f(x) = xg(x) + f(0) - 2xg(0)\]We can plug this back into our $P(x, y)$ thingy to get \[yg(y) + f(0) - 2yg(0) + (2y+x)g(x) = xg(x) + f(0) - 2xg(0) + (2x+y)g(y) \Rightarrow \frac{g(x) - g(0)}{x} = \frac{g(y) - g(0)}{x}\]Thus $g(x) = ax + c$ where $c = g(0)$. Going back to $P(x, 0)$ we have $f(x) = xg(x) + f(0) - 2xg(0) = ax^2 + cx + b - 2xc = ax^2 -cx + b$. We can plug our values for $f$ and $g$ back into our original equation to find that we get $ax^2 - cx + b +2ax^2 + 2cx + axy + cy = a(ax^2 + 2axy + by^2 -cx - cy + b)+c$. This obviously gives that $a = 1, 0$ and $c = 0$. Checking we can find that $\boxed{f(x) = x^2 + c, g(x) = x}$ and $\boxed{f = 0, g = 0}$ work for a constant $c$. $\blacksquare$
This post has been edited 1 time. Last edited by Math4Life7, Nov 4, 2023, 3:55 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
lelouchvigeo
172 posts
#45
Y by
The solutions are $\boxed{f(x) \equiv 0, g(x) \equiv 0}$ or $\boxed{f(x) \equiv x^2+c, g(x) \equiv x}$.
Solution which I will fully upload later
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
P2nisic
406 posts
#47
Y by
orl wrote:
Determine all pairs $(f,g)$ of functions from the set of real numbers to itself that satisfy \[g(f(x+y)) = f(x) + (2x + y)g(y)\]for all real numbers $x$ and $y$.

Proposed by Japan
Let $P(x,y)\Leftrightarrow g(f(x+y))=f(x)+(2x+y)g(y)$
$P(x,0)\Rightarrow  g(f(x))=f(x)+2xg(0)\  $
$P(0,x) \Rightarrow  g(f(x))=f(x)+2xg(0) \ $
from this two we get \[f(x)=f(0)+x(g(x)-2g(0))\](1)


$P(x,-2x)$ gives $g(f(-x))=f(x)$
Using this the first became:\[f(-x-y)=f(x)+(2x+y)g(y)\]

Now we have that:
$f(-x-y-z)=f(x+y)+(2x+2y+z)g(z)=f(-x)+(-2x-y)g(-y)+(2x+2y+z)g(z)$
By symmetry on $y,z$ we get that:
$(-2x-y)g(-y)+(2x+2y+z)g(z)=(-2x-z)g(-z)+(2x+2z+y)g(y)$
For $x=y=0$ we have that $-g(-z)=g(z)-2g(0)$
so the last one became:
$(2x+y)g(y)-2g(0)g(y)+(2x+2y+z)g(z)=(2x+z)g(z)-2g(0)g(z)+(2x+2z+y)g(y)\Rightarrow (2z+2g(0))g(y)= (2y+2g(0))g(z)\Rightarrow g(x)=ax+b$
And from (1) we have the form of $f(x)$
Now esily we get that: the only solutions are $(f(x), g(x)) \equiv (0, 0)$, and $(f(x), g(x)) \equiv (x^2 + e, x)$, where $e \in \mathbb{R}$ is a real constant.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Mathandski
715 posts
#48
Y by
$              $
Attachments:
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
alba_tross1867
44 posts
#49
Y by
orl wrote:
Determine all pairs $(f,g)$ of functions from the set of real numbers to itself that satisfy \[g(f(x+y)) = f(x) + (2x + y)g(y)\]for all real numbers $x$ and $y$.

Proposed by Japan

$P(-x,2x) : g(f(x))=f(-x)$.
$P(x,0) : g(f(x))=f(x)+2xg(0) \Rightarrow f(-x)=f(x)+2xg(0)$
$P(0,x) : f(-x)=f(0)+xg(x)$
Thus, $f(x)=f(0)+xg(x)-2xg(0)$
$P(x,y)$ and $P(y,x)$ gives us : $f(x)+(2x+y)g(y)=f(y)+(2y+x)g(x)$
Replacing $f$ we get : $f(0)+xg(x)-2xg(0)+2xg(y)+yg(y)=f(0)+yg(y)+2yg(x)+xg(x)-2yg(0)$
Then : $x(g(y)-g(0))=y(g(x)-g(0))$ which yields $g(x)=mx+p\  \forall x\neq 0$ with $p=g(0)$ which means $g$ is linear.
We get $f(x)=f(0)+ax^2+bx$ replacing in the fe ends the prob.
Answer is both functions are $0$ or $(f,g)=(x^2+c,x)$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ilikeminecraft
300 posts
#50
Y by
bruh. the answer is $f\equiv x^2 + c, g\equiv x$

$(-x, 2x+y)$ gives $f(x) + (2x +y)g(y) = f(0) + (x + y)g(x + y).$

$f(x) + (2x + y)g(y) = f(y) + (x + 2y) g(x)$ follows from symmetry trick
we will spam this
$(x, 0)$ gives $f(x) + 2xg(0) = f(0) + xg(x),$ which gives $g(x) = \frac{f(x) - f(0)}{x} + 2g(0)$
$(1, x)$ gives $f(1) + (2 + x)g(x) = f(x) + (2x + 1)g(1),$ or $g(x) = \frac{f(x) - f(1) + 2xg(1) + g(1)}{x + 2}$

by setting these two to be equal, we get $xf(x) - xf(1) + 2x^2g(1) + xg(1) = (f(x) - f(0) + 2xg(0))(x + 2) = xf(x) - xf(0) + 2x^2g(0) + 2f(x) - 2f(0) + 4xg(0)$
simplifying, we observe that we can write $f\equiv ax^2 + bx + c$
thus, $g\equiv ax + g(0)$
plugging into the given, we can tell that $a = 1$
thus, $g\equiv x +g(0), f\equiv x^2 + g(0)x + c$
simple plugging in tells us $g(0) = 0$
Z K Y
N Quick Reply
G
H
=
a