f
is defined in
Z
+
such that
f
(
x
,
x
)
=
x
f
(
x
,
y
)
=
f
(
y
,
x
)
(
x
+
y
)
f
(
x
,
y
)
=
y
f
(
x
,
x
+
y
)
.
Find the value of f ( 1 4 , 5 2 ) .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Great solution!
Did it the same way.
Nice proof!
Nice insight.
In the first half of the solution, you showed that "LCM function satisfies these conditions".However, this doesn't yet prove that the LCM function is the unique function which satisfies these conditions.
Log in to reply
Let me try to prove it.
If
x
=
y
=
0
,
f
(
x
,
y
)
=
f
(
0
,
0
)
=
0
=
lcm
(
x
,
y
)
□
If
x
=
0
or
y
=
0
(but not both),
Since
f
(
x
,
y
)
=
f
(
y
,
x
)
, WLOG we let
y
=
0
.
Using the third condition,
(
x
+
0
)
f
(
x
,
0
)
=
0
f
(
x
,
x
+
0
)
i.e.
f
(
x
,
0
)
=
0
∴
f
(
x
,
0
)
=
lcm
(
x
,
0
)
□
Let
g
(
x
,
y
)
=
f
(
x
,
y
)
x
y
(the zero cases have been handled separately, so this can be defined)
Rewriting all three conditions from '
f
-form' to '
g
-form':
g
(
x
,
x
)
=
x
g
(
x
,
y
)
=
g
(
y
,
x
)
g
(
x
,
x
+
y
)
=
g
(
x
,
y
)
By applying these properties 'wisely',
g
is the Euclidean Algorithm.
So
g
=
gcd
.
f
(
x
,
y
)
=
g
(
x
,
y
)
x
y
=
gcd
(
x
,
y
)
x
y
=
lcm
(
x
,
y
)
□
All cases have been handled, so the proof is done. =D
Log in to reply
No, not quite. You are still committing the same mistake:
When solving a functional equation, it is not sufficient to just check that a specially chosen function satisfies the conditions given, because there could be alternative solutions to it.
E.g. if we wanted to solve f ( x ) f ( x 1 ) = 1 , f ( 1 ) = 1 , we cannot simply say " f ( x ) = x satisfies the conditions, so that's the solution".
Log in to reply
@Calvin Lin – But the output of the Euclidean Algorithm is unique...
Log in to reply
@展豪 張 – Indeed, so that's one missing (unstated) piece of the puzzle. It boils down to showing that the function is uniquely determined, based on the conditions. We can go about this in multiple ways, like inducting on max ( x , y ) .
Log in to reply
@Calvin Lin – Thanks for the comments. I suspected the proof was not complete but did not know how to proceed. I still have to think about it now.
@Calvin Lin – Oh I got it... Thank you! :)
Rewrite the third statement as
f
(
x
,
x
+
y
)
=
y
x
+
y
f
(
x
,
y
)
y
↦
y
−
x
,
f
(
x
,
y
)
=
y
−
x
y
f
(
x
,
y
−
x
)
which allows us to 'reduce' the parameter.
Statement 2 allows us to swap the two parameter.
After some computation the answer is
3
6
4
.
(I guess this function is
l
c
m
function......maybe I will prove it later......)
Problem Loading...
Note Loading...
Set Loading...
Yes, as 展豪 張 mentioned f ( x , y ) = lcm ( x , y ) . We note that lcm ( x , x ) = x and lcm ( x , y ) = lcm ( y , x ) . Using lcm ( x , y ) = gcd ( x , y ) x y , we find that:
( x + y ) f ( x , y ) ( x + y ) gcd ( x , y ) x y gcd ( x , y ) x y ( x + y ) = y f ( x , x + y ) = y gcd ( x , x + y ) x ( x + y ) ≡ gcd ( x , y ) x y ( x + y )
Therefore f ( 1 4 , 5 2 ) = lcm ( 1 4 , 5 2 ) = 3 6 4
We can also solve it using the definition.
( x + y ) f ( x , y ) ⇒ f ( x , x + y ) f ( 2 , 4 ) f ( 4 , 6 ) f ( 4 , 1 0 ) f ( 1 0 , 1 4 ) f ( 1 4 , 2 4 ) f ( 1 4 , 3 8 ) f ( 1 4 , 5 2 ) = y f ( x , x + y ) = y x + y × f ( x , y ) = 2 4 × f ( 2 , 2 ) = 4 = 2 6 × f ( 4 , 2 ) = 1 2 = 6 1 0 × f ( 4 , 6 ) = 2 0 = 4 1 4 × f ( 1 0 , 4 ) = 7 0 = 1 0 2 4 × f ( 1 4 , 1 0 ) = 1 6 8 = 2 4 3 8 × f ( 1 4 , 2 4 ) = 2 6 6 = 3 8 5 2 × f ( 1 4 , 3 8 ) = 3 6 4