Function Equation Basic
Function Equation Basic
Functional Equations
Equations for unknown functions are called functional equations. Questions involving equations of
unknown sequences or polynomials can also be treated as problems of this kind, for sequences and polynomials
are just special functions. Unfortunately, we have no systematic method or algorithm to solve general functional
equations; and because of this, functional equations appear quite often in mathematics competitions.
Example 1.2
Soln:
Let t = , then x = .
Thus f(t) = = t2 t + 1
f(x) = x2 x + 1.
Example 1.3
Solve f(ex ) = x3 + sin x for f.
Soln:
Let t = ex , then x = ln t.
So f(x) = (ln |x|)3 + sin (ln |x|).
Example 1.4
Soln:
Let t = , then x = .
A functional equation in one variable may involve functional values of different algebraic expressions of the
variable. A usually employed technique is to create simultaneous equations:
Example 1.6
Find all real valued functions f defined on real numbers except 0 such that
2
for all x 0.
Soln:
Replace x by x, we have
----- (1)
Replace x by , we have
----- (2)
It is often easy to find the solutions of functional equations with some additional properties or of special kinds.
For example, the functions involved are continuous, monotonic, bounded, differentiable, polynomials etc.
Example 1.7
Given that f is a polynomial in x, solve the functional equation f(x + 1) + f(x 1) = 2x2 4x.
Soln:
Observe that deg (f(x)) = deg (f(x + 1) + f(x 1)) = 2.
We may write f(x) = ax2 + bx + c.
Substitute this into the functional equation, we have
2ax2 + 2bx + 2(a + c) = 2x2 4x.
By comparing coefficients,
2a = 2, 2b = 4 and 2(a + c) = 0.
Thus a = 1, b = 2, c = 1.
That is f(x) = x2 2x 1.
Exercise
By looking for symmetry, some equations with more than one variable can be reduced to equations with one
3
variable:
Example 2.1
Solve (x y)f(x + y) (x + y)f(x y) = 4xy(x2 y2) for f.
Soln:
The equation is .
Let g(x) = .
Another way to reduce the number of variables involved is to assign special values to some variables in the
equations:
Soln:
Setting y = 0, we have f(0)(f(x)1) = x for all x.
Soln:
Let x = 1, then f(y + 1) f(y) = y + 2. Let y = 0, then f(0) = 1.
f(n) =
f(n) = n =n n2 + n 2 = (n 1)(n + 2) = 0 n = 1 or 2
Soln:
Let h(x) = f(x) f(0), then h(x + y) = h(x) + h(y) for all x, y.
Hence h(x) = cx for all x; and so f(x) = cx + f(0) for all x.
Example 2.5
Find all continuous solution(s) of f(x + y) = g(x) + h(y).
Soln:
Set y = 0, h(0) = b, we have f(x) = g(x) + b
Set x = 0, g(0) = a, we have f(y) = a + h(y)
It follows that f(x + y) = [f(x) b] + [f(y) a] = f(x) + f(y) (a + b).
Let F(x) = f(x) a b.
Then F(x + y) = F(x) + F(y).
F is an additive continuous function, so F(x) = kx k - constant.
Consequently,
f(x) = kx + a + b; g(x) = kx + a and h(x) = kx + b
5
Exercise
6. The function f(x) is defined for all real x. If f(a + b) = f(ab) for all a, b and , compute
9. Find all continuous function f defined for x > 0 such that f(xy) = xf(y) + yf(x).
10. Find all continuous function f defined for x > 0 such that f(x + y) = .
11. Find all continuous functions f satisfying f(x + y) = f(x) + f(y) + f(x)f(y).
To solve a functional equation of IMO-type is not easy. The technique discussed is helpful but not sufficient.
The good thing about trying a problem in functional equation is that one can pluck in a lot of values to get some
properties of the function. However, you need to have a sense of discernment:
(1) Is the function one-to-one or onto?
(2) Is the function periodic, even or odd?
(3) Is the function increasing/decreasing?
(4) Is there any symmetry?
(5) Is there any fixed point?
(6) What is the significant of other conditions?
Idea:
The equation is f(x + a) . Can you observe that both sides are "symmetrical about
1/2"? If you recognize this fact, it is natural to use the substitution g(x) = f(x) 1/2.
Soln:
for all x.
Thus f(x + 2a) = g(x + 2a) + 1/2 = g(x) + 1/2 = f(x) for all x, so f is periodic with period 2a.
For a = 1, an example of a non-constant function with the required properties is
f(x) =
Indeed, f(x + 1) =
6
Example 3.2
Let f: N N be strictly increasing, f(2) = 2, and
f(mn) = f(m)f(n) for all m, n N with (m, n) = 1 (m, n coprime).
Prove that f(n) = n for all n N.
Idea:
It is easy to check that f(1) = 1. Furthermore, if m is an odd integer, (2, m) = 1 and so f(2m) = f(2)f(m) = 2f(m).
Therefore, if f(m) = m for some odd integers, f(2m) = 2m.
Soln:
First, 2f(1) = f(1)f(2) = f(12) = f(2) = 2 f(1) = 1.
Second, 2f(7) = f(2)f(7) < f(3)f(7) = f(21) < f(22) = f(2)f(11) = 2f(11) < 2f(14) = 2f(2)f(7) = 4f(7) f(3) = 3.
Suppose there are some positive integers n with f(n) n and we let s be the smallest among them.
Then f(n) = n for n s 1.
Since f(s) s and f is strictly increasing, f(n) > n for n s ----- (*)
Case (i)
If s is odd, then (2, s 2) = 1 and so 2(s 2)= f(2)f(s 2) = f[2(s 2)].
However, for s 4, 2(s 2) s and so f[2(s 2)] > 2(s 2) which contradicts to (*).
Case (ii)
If s is even, then (2, s 1) = 1 and so 2(s 1) = f(2)f(s 1) = f[2(s 1)].
However, for s 4, 2(s 1) s and so f[2(s 1)] > 2(s 1) which contradicts to (*) again.
In conclusion, such an s does not exist, and hence f(n) = n for all positive integers n.
Idea:
What we are given is an inequality. Hence we shall show f(n) n and f(n) n. First, it is clear that f(1) 1 and
f(2) > f(f(1)) 1 f(2) 2. However, we cannot deduce f(3) 3 from f(3) > f(f(2)) because we only know that
f(2) 2 but we don't know whether f(f(2)) 2. In view of this, we shall show a much stronger assertion: "If m is
an integer greater than or equal to n, then f(m) n" by induction on n.
Soln:
Let P(n): If m n, then f(m) n.
Clearly we have f(m) 1 for all m 1.
Assume P(n) is true. i.e. If m n, then f(m) n.
Now m n + 1 m 1 n f(m 1) n f(f(m 1)) n f(m) > f(f(m 1)) n
f(m) n + 1
P(n + 1) is also true.
By induction, P(n) is true for all n 1.
In particular, f(n) n for all n 1.
Consequently, f(n + 1) > f(f(n)) f(n) proving that f is strictly increasing.
Now f(k) k for some k
f(k) > k f(k) k + 1 f(k + 1) > f(f(k)) f(k + 1) which is impossible.
Therefore, f(n) = n for all n.
Idea:
We have f(m + n) f(m) f(n) {0, 1}. This is an ambiguous equation and is difficult to handle. It forces us to
restate the condition as f(m + n) f(m) + f(n).
It is not difficult to get f(3) = 1 and hence f(23) 2f(3) = 2, f(33) = f(3 + 23) 3f(3) = 3, …, f(3n) 3n. The
fact that f(9999) = 3333 implies that f(3n) = 3n holds at least up to n = 3333.
7
Soln:
We have 0 f(m + n) f(m) f(n) 1 for all m, n.
Thus f(m + n) f(m) + f(n) and f(m + n) f(m) + f(n) + 1 for all m, n.
Put m = n = 1, then f(2) 2f(1). But then f(2) = 0 forces f(1) = 0.
Put m = 2, n = 1, then 0 < f(3) f(2) + f(1) + 1 = 1 f(3) = 1.
It follows easily from induction that f(3n) n for all n; and if f(3k) > k for some k, then f(3m) > m for all m k.
Since f(9999) = f(33333) = 3333, the equation f(3n) = n holds at least up to n = 3333.
Now 1982 = f(31982) f(21982) + f(1982) 3f(1982) f(1982) 1982/3 < 661.
On the other hand, f(1982) f(1980) + f(2) = f(3660) + 0 = 660.
It follows that f(1982) = 660.
Idea:
There seems to be a symmetrical among the variables x and y. We put x = y in (i) get:
f(x + f(x) + xf(x)) = x + f(x) + xf(x).
Therefore, for each x, the number x + f(x) + xf(x) is a fixed point of the function.
On the other hand, condition (ii) means has at most 3 fixed points.
Soln:
Put y = x in (i) f(x + f(x) + xf(x)) = x + f(x) + xf(x) x + f(x) + xf(x) is a fixed point of f.
Condition (ii) implies that f has at most 3 fixed points, one in the interval (1, 0), one equal to 0, and one > 0.
Furthermore, if u is a fixed point of f, then by putting x = y = u in (i), we have f(u2 + u) = u2 + 2u.
Thus u2 + 2u is also a fixed point.
(1) If f has a fixed-point u in the interval (1, 0), then it follows from 0 < u + 1 < 1 that
1 < u2 + 2u = (u + 1)2 1 < 0.
Both u and u2 + 2u are fixed points in (1, 0) u = u2 + 2u u2 + u = 0 u = 0 or 1 which is
impossible.
f has no fixed point in the interval (1, 0).
(2) If f has a fixed-point u > 0, then clearly u2 + 2u > 0.
Hence both u and u2 + 2u are positive fixed points u = u2 + 2u u = 0 or 1 which is absurd again.
Consequently, the only fixed point of f is 0.
Thus x + f(x) + xf(x) = 0 for all x
That is, f(x) =
Idea:
By setting x = y, we know that xf(x) is a fixed point of f for all x. Furthermore, we can show that the product of
two fixed points is also a fixed point. Hence, given a fixed point a > 1, we can generate a sequence of fixed
points: a, a2, a3, …. This contradicts to the fact that f(x) 0 as x , ….
Soln:
Let f(y) = 1.
Then f(1) = f(1f(y)) = yf(1) y = 1. Therefore, f(1) = 1.
By putting y = x in (i), we have f(xf(x)) = xf(x) for all x > 0 For every x > 0, xf(x) is a fixed point of f.
Observe that:
(1) If a and b are fixed points of f, then f(ab) = f(af(b)) = bf(a) = ba. Hence ab is also a fixed point of f.
In particular [xf(x)]n is a fixed point for n = 1, 2, 3, ….
8
Now if a > 1 is a fixed point, then by (1), f(an) = an as n . This contradicts to condition (ii).
Moreover, by (2), a < 1 is a fixed point implies 1/a > 1 is a fixed point.
Consequently, the only fixed point of f is 1.
Therefore xf(x) = 1 for all x. That is, f(x) = .
Idea:
By putting m = n = 0, we gets f(0) = 0. Hence f(f(n)) = f(0 + f(n)) = f(f(0)) + f(n) = f(n) for all n. Therefore, all
numbers of the form f(n) are fixed points.
Through the investigation of the properties of the fixed points, we should find that if p is the smallest positive
fixed point of f, then the fixed points of f are precisely the integral multiple of p.
For any positive integer n, we can write n = kp + r with k S and 0 r < p. Then
f(n) = f(kp + r) = f(f(kp) + r) = f(kp) + f(r) = kp + f(r).
f is determined by its action on 1, 2, …, p 1.
Soln:
Put m = n = 0, f(f(0)) = f(f(0)) + f(0) f(0) = 0.
Put m = 0, f(f(n)) = f(f(0)) + f(n) = f(n)
Then all numbers of the form f(n) are fixed points, and hence for all m and n, f(m + f(n)) = f(m) + f(n) ---- (*)
Clearly f 0 is a solution.
We shall assume f is not identically zero and let p be the smallest positive fixed point of f.
If p = 1, then f(1) = 1 and f(1 + f(n)) = f(1) + f(n) = 1 + f(n) implies easily by induction that f(n) = n for all n.
If p > 1, f(p) = p f(2p) = f(p + f(p)) = 2f(p) = 2p f(3p) = f(p + f(2p)) = f(p) + f(2p) = 3p … all
positive multiplies of p are fixed points.
Moreover, if b is a fixed point, write b = kp + r with r, k S and 0 r < p.
Then kp + r = f(kp + r) = f(f(kp) + r) = f(r) + f(kp) = kp + f(r) f(r) = r. The minimality of p forces r = 0.
Hence, the fixed points of f are precisely 0, p, 2p, 3p, ….
For every n S, write n = kp + r with k, r S and 0 r < p.
Then f(n) = f(kp + r) = f(f(kp) + r) = f(r) + f(kp) = f(r) + kp.
Hence f is determined by its action on 1, 2, …, p 1.
Since f(1), f(2), …, f(p 1) are fixed points, each of them is a positive multiple of p. Consequently, after (p 1)
arbitrary non-negative integers are chosen, the values of f(1), f(2), …, f(p 1), and all others f(n) are
determined.
Exercise
14. Find all functions f: N{0} N{0} satisfying the following two conditions:
(i) For any m, n N{0}, 2f(m2 + n2) = {f(m)}2 + {f(n)}2
(ii) For any m, n N{0} with m n, f(m2) f(n2).
9