2024 USAJMO Problems/Problem 5: Difference between revisions
Codemaster11 (talk | contribs) |
|||
| (14 intermediate revisions by 3 users not shown) | |||
| Line 9: | Line 9: | ||
Plugging in <math>y</math> as <math>0:</math> | Plugging in <math>y</math> as <math>0:</math> | ||
\begin{equation} | \begin{equation} | ||
f(x^2)=f(f(x))+f(0) | f(x^2)=f(f(x))+f(0) \text{ } (1) | ||
\end{equation} | \end{equation} | ||
Plugging in <math>x, y</math> as <math>0:</math> | Plugging in <math>x, y</math> as <math>0:</math> | ||
| Line 19: | Line 19: | ||
but since <math>f(f(0))=0,</math> | but since <math>f(f(0))=0,</math> | ||
\begin{equation} | \begin{equation} | ||
f(-y)+2yf(0)=f(y) \text{ } | f(-y)+2yf(0)=f(y) \text{ } (2) | ||
\end{equation} | \end{equation} | ||
Plugging in <math>y^2</math> instead of <math>y</math> in the given equation: | Plugging in <math>y^2</math> instead of <math>y</math> in the given equation: | ||
| Line 27: | Line 27: | ||
The difference would be: | The difference would be: | ||
\begin{equation} | \begin{equation} | ||
f(x^2-y^2)-f(y^2-x^2)+2y^2f(x)-2x^2f(y)=f(f(x))-f(x^2)-f(f(y))-f(y^2) \text{ } | f(x^2-y^2)-f(y^2-x^2)+2y^2f(x)-2x^2f(y)=f(f(x))-f(x^2)-(f(f(y))-f(y^2)) \text{ } (3) | ||
\end{equation} | \end{equation} | ||
The right-hand side would be <math>f(0)-f(0)=0</math> by <math>(1).</math> Also, | The right-hand side would be <math>f(0)-f(0)=0</math> by <math>(1).</math> Also, | ||
| Line 89: | Line 89: | ||
~sml1809 | ~sml1809 | ||
==Solution 3== | |||
Start with <imath>y = 0</imath> to get: <imath>f(x^{2}) = f(f(x)) + f(0)</imath>. Then substitute <imath>x = 0</imath> to get: <imath>f(-y) + 2yf(0) = f(f(0)) + f(y)</imath>. We will show that <imath>f(f(0)) = 0</imath>. Substitute <imath>x = y = 0</imath> to get <imath>f(0) = f(f(0)) + f(0)</imath> which yields the desired <imath>f(f(0)) = 0</imath>. Hence, <imath>f(-x) + 2xf(0) = f(x)</imath> since <imath>y</imath> is just a dummy variable. Now we solve for <imath>f(0)</imath> in our two equations we found. We have that <imath>f(0) = f(x^{2}) - f(f(x))</imath> from the first equation and that <imath>f(0) = \frac{f(x) - f(-x)}{2x}</imath> from the second equation. | |||
Hence, we set these equal to get: | |||
<imath>2xf(x^{2}) - 2xf(f(x)) = f(x) - f(-x)</imath> | |||
Replace <imath>x</imath> with <imath>-x</imath> to get: | |||
<imath>-2xf(x^{2}) + 2xf(f(-x)) = f(-x) + f(x)</imath> | |||
Now add to get: | |||
<imath>2x(f(f(-x)) - f(f(x))) = 0</imath> | |||
Now since <imath>x</imath> can't obviously be equal to <imath>0</imath>, we need <imath>f(f(-x)) = f(f(x))</imath>. | |||
Case 1: <imath>f</imath> is an injective function | |||
Hence, <imath>f(-x) = f(x)</imath> and thus <imath>f(x)</imath> is an even function. | |||
<b>Claim:</b> <imath>f</imath> cannot have degree at least <imath>4</imath> | |||
<b>Proof:</b> | |||
Assume <imath>f</imath> is a polynomial. Assume there exists a solution of which <imath>f</imath> has degree at least <imath>4</imath>. Hence, <imath>f(x) = a_n x^{2n} + a_{n - 1} x^{2n - 2} + ... + a_1 x^{2} + a_0</imath> where <imath>n \geq 2</imath>. If we go back to the original equation in the problem statement and plug in <imath>y = x^{2}</imath>, then we have: | |||
<imath>f(0) + 2x^{2} f(x) = f(f(x)) + f(x^{2})</imath> | |||
So we have: | |||
<imath>a_0 + 2x^{2}f(x) = a_n f(x)^{2n} + ... + a_1 f(x)^{2} + a_0</imath> | |||
Hence, <imath>2x^{2} f(x) = a_n f(x)^{2n} + ... + a_1 f(x)^{2}</imath> | |||
But we know <imath>f</imath> has degree <imath>2n</imath> so the <imath>LHS</imath> will have degree <imath>2 + 2n</imath> but the <imath>RHS</imath> will have degree <imath>(2n)(2n) = 4n^{2}</imath>. Solving <imath>4n^{2} = 2n + 2</imath> will have no integer solutions. Recall that <imath>n \geq 2</imath>. Clearly, no functions will satisfy this equation and the claim is proven. <imath>\square</imath> | |||
We have shown that <imath>f(x)</imath> can have degree at most <imath>2</imath> if it is an injective function. Hence, let <imath>f(x) = ax^{2} + bx + c</imath>. Recall that we had shown earlier that <imath>f(f(0)) = 0</imath>. Hence, <imath>a f(0)^{2} + b f(0) + c = 0</imath> but we know <imath>f(0) = c</imath>. Hence, <imath>ac^{2} + bc + c = 0</imath> which yields <imath>c(ac + b + 1) = 0</imath>. Clearly, <imath>c = 0</imath> has to occur. Hence, <imath>f(x) = ax^{2} + bx</imath>. Now, recall we showed that <imath>f(x^{2}) = f(f(x)) + f(0)</imath>. Hence, <imath>ax^{4} + bx^{2} = af(x)^{2} + bf(x) + f(0)</imath>. Plugging and simplifying, we eventually get: | |||
<imath>x^{4} (a - a^{3}) - 2a^{2} b x^{3} - abx^{2} (b + 1) = f(0) = constant</imath> | |||
Hence, all the <imath>x</imath> terms must cancel out for that to be a constant. This can be achieved by either <imath>a = 0</imath> and <imath>b</imath> can be anything OR <imath>b = 0</imath> and <imath>a - a^{3} = 0</imath>. Now if <imath>a = 0</imath>, then <imath>f(x) = bx</imath> but recall that <imath>f(x)</imath> is an even function and hence <imath>b = 0</imath> is the only suitable option for a linear function to turn into an even function. Hence, <imath>f(x) = 0</imath> is a solution. If <imath>b = 0</imath> and <imath>a - a^{3} = 0</imath>, then <imath>a = 1, -1, 0</imath> and hence <imath>f(x) = x^{2}, -x^{2}</imath> are two more new solutions. | |||
Now we have to consider if <imath>f(x)</imath> is not a polynomial. | |||
<b>Claim:</b> <imath>f</imath> has to be a polynomial to satisfy the given problem statement | |||
<b>Proof:</b> | |||
We will first show that <imath>f(f(x)) = x^{2} f(x)</imath>. Substitute <imath>y = \frac{x^{2}}{2}</imath>: | |||
<imath>f(\frac{x^{2}}{2}) + x^{2} f(x) = f(f(x)) + f(\frac{x^{2}}{2})</imath>. Hence, the lemma. <imath>\square</imath> | |||
We have already shown that if <imath>f</imath> is injective, then <imath>f</imath> is even and this proof lies in the case of when <imath>f</imath> is injective. Hence, <imath>f(x)</imath> is an even function. Recall that <imath>f(x^{2}) = f(f(x)) + f(0)</imath>. Hence, <imath>f(x^{2}) = x^{2} f(x) + f(0)</imath>. Now we plug in <imath>x = 1</imath> to get <imath>f(1) = f(1) + f(0)</imath> and hence <imath>f(0) = 0</imath>. In other words, <imath>f(x^{2}) = x^{2} f(x)</imath>. (Haven't finished proof yet) | |||
Case 2: <imath>f</imath> is not an injective function | |||
We can prove that <imath>f</imath> has to be injective. This is shown in sml1809's solution above in which we claim <imath>f(a) = f(b) \neq 0</imath> and substitute <imath>x = a, y = b^{2}</imath> and <imath>x = b, y = a^{2}</imath> to prove the claim that <imath>f</imath> has to be injective. | |||
~ilikemath247365 | |||
==Solution 4(Another solution)== | |||
We will show <imath>x^2 f(x) = f(f(x))</imath>. First, the original equation is | |||
<imath>f(x^2 - y) + 2yf(x) = f(f(x)) + f(y)</imath> | |||
We will make the substitution <imath>y = x^2 - 1</imath> | |||
<imath>f(1) + 2(x^2 - 1)f(x) = f(f(x)) + f(x^2 - 1)</imath> | |||
We will now take the original equation again and substitute <imath>y = 1</imath> | |||
<imath>f(x^2 - 1) + 2f(x) = f(f(x)) + f(1) \implies f(x^2 - 1) = f(f(x)) + f(1) - 2f(x)</imath> | |||
Now we will substitute this new representation of <imath>f(x^2 - 1)</imath> into our equation to get | |||
<imath>f(1) + (2x^2 - 2)f(x) = f(f(x) + f(f(x)) + f(1) - 2f(x) \implies (2x^2)f(x) = 2f(f(x)) \implies x^2 f(x) = f(f(x)) \square.</imath> | |||
We will now plug this in to our given equation | |||
<imath>f(x^2 - y) + 2yf(x) = f(f(x)) + f(y) \implies f(x^2 - y) + 2yf(x) = x^2 f(x) + f(y) \implies f(x^2 - y) - f(y) = f(x)(x^2 - 2y)</imath>. | |||
Now we will make the substitution <imath>x = y</imath> | |||
<imath>f(x^2 - x) - f(x) = f(x)(x^2 - 2x) \implies f(x^2 - x) = f(x)(x^2 - 2x + 1) \implies f(x(x - 1)) = f(x)(x - 1)^2</imath>. This immediately raises a conjecture. If we have two real numbers <imath>a, b</imath> where <imath>f</imath> is defined at these two real numbers, then | |||
<imath>f(ab) = f(a) b^2</imath> | |||
Let's prove this. From our equation <imath>f(x^2 - y) + 2yf(x) = x^2 f(x) + f(y)</imath>, we can substitute <imath>y = -x</imath> to get | |||
<imath>f(x^2 + x) - 2xf(x) = x^2 f(x) + f(-x) \implies f(x^2 + x) = f(x)(x^2 + 2x) + f(-x)</imath>. If we can show <imath>f(-x) = f(x)</imath>, then <imath>f(x^2 + x) = f(x(x + 1)) = f(x)(x^2 + 2x + 1) = f(x) (x + 1)^2 \implies f(x(x + 1) = f(x) (x + 1)^2</imath> and we should be done as we can now prove <imath>f(ab) = f(a) b^2</imath> by induction. So let's prove <imath>f(-x) = f(x)</imath>. | |||
The proof is simple. From our given equation <imath>f(x^2 - y) + 2yf(x) = f(f(x)) + f(y)</imath>, let's substitute <imath>x = 0</imath> to get | |||
<imath>f(-y) = f(f(0)) + f(y)</imath>. | |||
We will prove <imath>f(0) = 0</imath>. From our given equation <imath>f(x^2 - y) + 2yf(x) = f(f(x)) + f(y)</imath>, we will plug in <imath>x = y = 1</imath> to get | |||
<imath>f(0) + 2f(1) = f(f(1)) + f(1) \implies f(0) + f(1) = f(f(1)) \implies f(0) + f(1) = 1^2 f(1) \implies f(0) = 0</imath> following <imath>f(f(x)) = x^2 f(x)</imath>. Henceforth, we go back to <imath>f(-y) = f(f(0)) + f(y) \implies f(-y) = f(0) + f(y) \implies f(-y) = f(y) \implies f(-x) = f(x) \square.</imath> | |||
Hence, as <imath>f(-x) = f(x)</imath>, we had concluded before that if this was the case, | |||
<imath>f(x(x + 1)) = f(x) (x + 1)^2</imath> and <imath>f(x(x - 1)) = f(x) (x - 1)^2</imath> where the second equation we had derived before proving <imath>f(-x) = f(x)</imath>. From these two equations, we can generate any two real numbers that differ by <imath>1</imath> where | |||
<imath>f(ab) = f(a) b^2</imath> where <imath>a - b = 1</imath>. | |||
We will show this happens for all real <imath>a, b</imath> as we have proved only part of our conjecture. Note that <imath>f(a) = f(-a)</imath> has been proved. | |||
We will assume <imath>f(ab) = f(a) b^2</imath> only holds true if and only if <imath>a - b = 1</imath>. Now let <imath>b = -1</imath>. We have | |||
<imath>f(-a) = f(a)</imath> which holds true for all real numbers. However, we assumed the above was true if and only if <imath>a - b = 1</imath>. This would imply the above was true if and only if <imath>a = 0</imath> which is not the case. Hence, this is a contradiction and we have proved our conjecture. <imath>\square.</imath> | |||
Now, we have shown <imath>f(ab) = f(a) b^2</imath> is true for all real <imath>a, b</imath>. Let <imath>a = 1</imath> to get | |||
<imath>f(b) = b^2</imath> which means <imath>f(x) = x^2</imath> is a solution. | |||
Now consider <imath>ab = x \implies b = \frac{x}{a}</imath>. Now <imath>f(x) = f(a) \frac{x^2}{a^2} \implies \frac{f(x)}{x^2} = \frac{f(a)}{a^2}</imath>. From here we can generate many quadratic functions. Knowing <imath>f(x) = x^2</imath> is a solution gives us motivation for <imath>f(x) = -x^2</imath> which we can confirm will satisfy the given equation. We can prove this also | |||
Given the original equation <imath>f(x^2 - y) + 2yf(x) = f(f(x)) + f(y)</imath>, we have found <imath>f(x) = x^2</imath> is a solution. We will show that if <imath>f(x)</imath> is a solution, so is <imath>-f(x)</imath>. First, we'll assume something different, then prove by contradiction. We claim that if <imath>f(x)</imath> is a solution, <imath>-f(x)</imath> is not a solution. Let's plug in <imath>f(x) = x^2</imath> since we already know that's a solution. We have | |||
<imath>(x^2 - y)^2 + 2x^2 y = x^4 + y^2 \implies x^4 - 2x^2 y + y^2 + 2x^2 y = x^4 + y^2</imath> which holds. | |||
So now since we know <imath>f(x) = x^2</imath> is a solution, we had claimed that <imath>-f(x) = -x^2</imath> was not a solution. Hence we can plug this in to get | |||
<imath>-(x^2 - y)^2 - 2x^2 y = f(-x^2) - y^2 \implies -(x^2 - y)^2 - 2x^2 y = -x^4 - y^2</imath> of which this is exactly the negation of the equation we got for <imath>f(x) = x^2</imath>. Therefore <imath>-f(x)</imath> is indeed a solution and we have a contradiction with <imath>-f(x)</imath> not being a solution. Thus <imath>-f(x)</imath> has to be a solution. <imath>\square</imath>. | |||
Now assuming <imath>f</imath> is constant, we have | |||
<imath>f(x) = c \implies c + 2yc = x^2 c + c \implies 2yc = x^2 c \implies c = 0</imath> is a solution. Hence <imath>f(x) = 0</imath> is also a solution and so <imath>f(x) = x^2, -x^2, 0</imath> | |||
~ilikemath247365 | |||
==See Also== | ==See Also== | ||
{{USAJMO newbox|year=2024|num-b=4|num-a=6}} | {{USAJMO newbox|year=2024|num-b=4|num-a=6}} | ||
{{MAA Notice}} | {{MAA Notice}} | ||
Latest revision as of 22:27, 11 November 2025
Problem
Find all functions
that satisfy
for all
.
Solution 1
Plugging in
as
\begin{equation}
f(x^2)=f(f(x))+f(0) \text{ } (1)
\end{equation}
Plugging in
as
or
Plugging in
as
but since
\begin{equation}
f(-y)+2yf(0)=f(y) \text{ } (2)
\end{equation}
Plugging in
instead of
in the given equation:
Replacing
and
:
The difference would be:
\begin{equation}
f(x^2-y^2)-f(y^2-x^2)+2y^2f(x)-2x^2f(y)=f(f(x))-f(x^2)-(f(f(y))-f(y^2)) \text{ } (3)
\end{equation}
The right-hand side would be
by
Also,
by
So,
is reduced to:
Regrouping and dividing by 2:
Because this holds for all x and y,
is a constant. So,
.
This function must be even, so
.
So, along with
,
for all
, so
, and
.
Plugging in
for
in the original equation, we get:
So,
or
All of these solutions work, so the solutions are
.
-codemaster11
Solution 2
Let our equation be
. We start by plugging in some initial values:
Plugging in
into
gives
From
, we get
Substituting in what we have in
gives
Plugging in
gives
As a result,
becomes
.
Now,
becomes
and
becomes
Note that
is a solution. Now, assume
.
Claim:
is injective over
.
Let
with
. Plugging in
and
into
gives us
Subtracting, and using
gives us
, which implies that either
or
. Either way leads to contradiction. Thus,
is injective.
As a result,
becomes
. Piecing everything yields
.
It just remains to verify these solutions work, and doing so is quite trivial;
all of which are obviously true.
~sml1809
Solution 3
Start with
to get:
. Then substitute
to get:
. We will show that
. Substitute
to get
which yields the desired
. Hence,
since
is just a dummy variable. Now we solve for
in our two equations we found. We have that
from the first equation and that
from the second equation.
Hence, we set these equal to get:
Replace
with
to get:
Now add to get:
Now since
can't obviously be equal to
, we need
.
Case 1:
is an injective function
Hence,
and thus
is an even function.
Claim:
cannot have degree at least
Proof:
Assume
is a polynomial. Assume there exists a solution of which
has degree at least
. Hence,
where
. If we go back to the original equation in the problem statement and plug in
, then we have:
So we have:
Hence,
But we know
has degree
so the
will have degree
but the
will have degree
. Solving
will have no integer solutions. Recall that
. Clearly, no functions will satisfy this equation and the claim is proven.
We have shown that
can have degree at most
if it is an injective function. Hence, let
. Recall that we had shown earlier that
. Hence,
but we know
. Hence,
which yields
. Clearly,
has to occur. Hence,
. Now, recall we showed that
. Hence,
. Plugging and simplifying, we eventually get:
Hence, all the
terms must cancel out for that to be a constant. This can be achieved by either
and
can be anything OR
and
. Now if
, then
but recall that
is an even function and hence
is the only suitable option for a linear function to turn into an even function. Hence,
is a solution. If
and
, then
and hence
are two more new solutions.
Now we have to consider if
is not a polynomial.
Claim:
has to be a polynomial to satisfy the given problem statement
Proof:
We will first show that
. Substitute
:
. Hence, the lemma.
We have already shown that if
is injective, then
is even and this proof lies in the case of when
is injective. Hence,
is an even function. Recall that
. Hence,
. Now we plug in
to get
and hence
. In other words,
. (Haven't finished proof yet)
Case 2:
is not an injective function
We can prove that
has to be injective. This is shown in sml1809's solution above in which we claim
and substitute
and
to prove the claim that
has to be injective.
~ilikemath247365
Solution 4(Another solution)
We will show
. First, the original equation is
We will make the substitution
We will now take the original equation again and substitute
Now we will substitute this new representation of
into our equation to get
We will now plug this in to our given equation
.
Now we will make the substitution
. This immediately raises a conjecture. If we have two real numbers
where
is defined at these two real numbers, then
Let's prove this. From our equation
, we can substitute
to get
. If we can show
, then
and we should be done as we can now prove
by induction. So let's prove
.
The proof is simple. From our given equation
, let's substitute
to get
.
We will prove
. From our given equation
, we will plug in
to get
following
. Henceforth, we go back to
Hence, as
, we had concluded before that if this was the case,
and
where the second equation we had derived before proving
. From these two equations, we can generate any two real numbers that differ by
where
where
.
We will show this happens for all real
as we have proved only part of our conjecture. Note that
has been proved.
We will assume
only holds true if and only if
. Now let
. We have
which holds true for all real numbers. However, we assumed the above was true if and only if
. This would imply the above was true if and only if
which is not the case. Hence, this is a contradiction and we have proved our conjecture.
Now, we have shown
is true for all real
. Let
to get
which means
is a solution.
Now consider
. Now
. From here we can generate many quadratic functions. Knowing
is a solution gives us motivation for
which we can confirm will satisfy the given equation. We can prove this also
Given the original equation
, we have found
is a solution. We will show that if
is a solution, so is
. First, we'll assume something different, then prove by contradiction. We claim that if
is a solution,
is not a solution. Let's plug in
since we already know that's a solution. We have
which holds.
So now since we know
is a solution, we had claimed that
was not a solution. Hence we can plug this in to get
of which this is exactly the negation of the equation we got for
. Therefore
is indeed a solution and we have a contradiction with
not being a solution. Thus
has to be a solution.
.
Now assuming
is constant, we have
is a solution. Hence
is also a solution and so
~ilikemath247365
See Also
| 2024 USAJMO (Problems • Resources) | ||
| Preceded by Problem 4 |
Followed by Problem 6 | |
| 1 • 2 • 3 • 4 • 5 • 6 | ||
| All USAJMO Problems and Solutions | ||
These problems are copyrighted © by the Mathematical Association of America.