Difference between revisions of "2019 IMO Problems/Problem 1"
Line 26: | Line 26: | ||
Let <math>f(x)=mx+n.</math> Plugging our expression into our original equation yields <math>2ma+2mb+3n=m^2a+m^2b+mn+n,</math> and letting <math>b</math> be constant, this can only be true if <math>2m=m^2 \implies m=0,2.</math> If <math>m=0,</math> then <math>n=0,</math> which implies <math>f(x)=0.</math> However, the output is then not all integers, so this doesn't work. If <math>m=2,</math> we have <math>f(x)=2x+n.</math> Plugging this in works, so the answer is <math>f(x)=2x+c</math> for some integer <math>c.</math> | Let <math>f(x)=mx+n.</math> Plugging our expression into our original equation yields <math>2ma+2mb+3n=m^2a+m^2b+mn+n,</math> and letting <math>b</math> be constant, this can only be true if <math>2m=m^2 \implies m=0,2.</math> If <math>m=0,</math> then <math>n=0,</math> which implies <math>f(x)=0.</math> However, the output is then not all integers, so this doesn't work. If <math>m=2,</math> we have <math>f(x)=2x+n.</math> Plugging this in works, so the answer is <math>f(x)=2x+c</math> for some integer <math>c.</math> | ||
+ | |||
+ | '''Solution 3: The only one that actually works''' | ||
+ | The only solutions are <math>f(x)=0, 2x+c.</math> For some integer <math>c.</math> | ||
+ | |||
+ | Obviously these work. We prove these are the only linear solutions. Plug <math>a=0</math> and <math>b=0</math> separately to get that <math>f(2x)=2f(x)-f(0).</math> Plug <math>(0, a+b)</math> to see <math>f(0)+f(a+b)=f(a)+f(b),</math> and subtracting <math>2f(0)</math> from both sides shows <math>f(a)-f(0)</math> to be additive thus linear by Cauchy since this is on integers. Thus, <math>f(a)</math> is linear, and so we are done since it can be easily shown that <math>0</math> and <math>2x+c</math> are the only linear solutions by plugging <math>mx+n</math> into the equation. |
Revision as of 03:17, 17 October 2021
Problem:
Let be the set of integers. Determine all functions
such that, for all
integers
and
,
Solution 1:
Let us substitute in for
to get
Now, since the domain and range of are the same, we can let
and
equal some constant
to get
Therefore, we have found that all solutions must be of the form
Plugging back into the original equation, we have: which is true. Therefore, we know that
satisfies the above for any integral constant c, and that this family of equations is unique.
(This solution does not work though because we don't know that is surjective)
Solution 2:
We plug in and
to get
respectively.
Setting them equal to each other, we have the equation and moving "like terms" to one side of the equation yields
Seeing that this is a difference of outputs of
we can relate this to slope by dividing by
on both sides. This gives us
which means that
is linear.
Let Plugging our expression into our original equation yields
and letting
be constant, this can only be true if
If
then
which implies
However, the output is then not all integers, so this doesn't work. If
we have
Plugging this in works, so the answer is
for some integer
Solution 3: The only one that actually works
The only solutions are For some integer
Obviously these work. We prove these are the only linear solutions. Plug and
separately to get that
Plug
to see
and subtracting
from both sides shows
to be additive thus linear by Cauchy since this is on integers. Thus,
is linear, and so we are done since it can be easily shown that
and
are the only linear solutions by plugging
into the equation.