Functional Equations Book
Functional Equations Book
Functional Equations Book
Basic Concepts
Contents
2.1 Notation and Definition . . . . . . . . . . . . . . . . . . 20
2.2 Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2.2.1 Injection, Surjection, and Bijection . . . . . . . . 22
2.2.2 Monotone Functions . . . . . . . . . . . . . . . . 24
2.2.3 Even and Odd Functions . . . . . . . . . . . . . . 26
2.2.4 Involutive Functions . . . . . . . . . . . . . . . . 27
2.2.5 Functions Related to Integers . . . . . . . . . . . 28
2.2.6 The Bad Gui, Complex Numbers, and Roots of
Unity . . . . . . . . . . . . . . . . . . . . . . . . 30
2.3 Classical Functional Equations . . . . . . . . . . . . . . 31
2.3.1 Cauchy’s Functional Equation . . . . . . . . . . . 31
2.3.2 Jensen’s Functional Equation . . . . . . . . . . . 33
2.3.3 General Solutions . . . . . . . . . . . . . . . . . . 34
2.3.4 Deviation from the Classical Equations . . . . . . 36
20 2.1. NOTATION AND DEFINITION
• lcm(a, b): the least common multiple of a and b. Also denoted by [a, b].
• RHS and LHS : Right Hand Side and Left Hand Side.
we write
2.2 Concepts
2.2.1 Injection, Surjection, and Bijection
If you are reading this sentence, you already know what a function is. So,
I’m not going to define that. However, the definitions of an injective or
surjective function might not be obvious for the reader. Instead of giving
formal definitions, I would like to explain these concepts in examples.
• The codomain of f , on the other hand, is a set that contains all the
values that the output of f can get. Please stop here and read the last
sentence again. With this definition, we do not require all elements
in the codomain of f to be the image of some element in the domain
of f . Let me give you an example to make this clear. Suppose that
f : [1, ∞) → R is given such that
1
f (x) = , ∀x ∈ [1, ∞). (2.1)
x
Here, R is the codomain of f . However, there is no x ∈ [1, ∞) for
which f (x) = 2. In other words, there is an element in the codomain
of f which is not admitted by any input.
• It now makes sense to define the set of all possible outputs of f . This
set is called the image of f and is denoted (usually) by Im(f ). In other
words,
Im(f ) = {f (x) : x is in the domain of f }.
For instance, in the example given in (2.1), the image of f is (0, 1].
This is because the reciprocal of a number x > 1 is always positive
and < 1.
• So far, we have found out that the image of a function is not necessarily
the same as its codomain.
Call this assertion P (x, y). We aim to prove that f is surjective. That is,
we want to show that for any b ∈ R, there exists some a ∈ R such that
f (a) = b. Using P (1, y), we arrive at the equation
Consider b ∈ R. Notice that the above equation holds for all real values of
y. So, if we choose y so that 2f (1) + y = b, or equivalently y = b − 2f (1),
we would have f (a) = b, where a = f (y) − f (1) = f (b − 2f (1)) − f (1). This
is exactly what we wanted to prove! Hence, f is surjective.
24 2.2. CONCEPTS
and 3 3 +x
f (22x ) − 3f (2x )≥2
for all real x, we want to show that f is not injective. The point here is
3
to look for reals x such that 2x +x = 22x . One can easily find by a simple
search for such numbers that this happens for x ∈ {−1, 0, 1}. In fact, if we
let a = −1, b = 0, and c = 1, then
3 +a 1
u = 2a = 22a = ,
4
3 +b
v = 2b 2b
= 2 = 1,
3 +c
w = 2c = 22c = 4.
Therefore, for any z ∈ {u, v, w}, using the given inequalities in the problem,
we find that
Since we want both f (z) ∈ [−1, 2] and f (z) ∈ {−1} ∪ [2, ∞) to happen
simultaneously, this means that f (z) ∈ {−1, 2}. Hence,
1
f , f (1), f (4) ∈ {−1, 2},
4
and so two of these values are equal to each other. This directly implies that
f is not injective.
So far, the examples we have seen where functions with domain either
R or Q. Let’s see an example of an arithmetic function now. An arithmetic
function is any function with domain N. That is, a function that acts on
natural numbers 1, 2, 3, . . .. We usually denote arithmetic functions with
f (n) (instead of f (x)) because naturally, n feels more like an integer. Note
that arithmetic functions need not give integer values in their output. That
is, the codomain of an arithmetic function is not necessarily N. For instance,
the function f : N → Q defined by f (n) = 1/n for all naturals n is an
arithmetic function, which is strictly decreasing (why?). Another example
is f : N → C, given by f (n) = log n for all n ∈ N.
(f (n + 1) − f (n))(f (n + 1) + f (n) + 4) ≤ 0.
We want to prove that f is not injective. First, notice that the expresion
26 2.2. CONCEPTS
may be written as
(f (n + 1) − f (n))(f (n + 1) + f (n) + 4)
= (f (n + 1))2 − (f (n))2 + 4(f (n + 1) − f (n))
= (f (n + 1))2 + 4f (n + 1) − (f (n))2 + 4f (n)
= (f (n + 1))2 + 4f (n + 1) + 4 − (f (n))2 + 4f (n) + 4
= (f (n + 1) + 2)2 − (f (n) + 2)2 .
So, g(a) ≤ g(b) and g is a decreasing function. But since the output of g
are positive integers (why?), the function g must be eventually a constant
function because the smallest g(n) can get is 1. So, let g(n) = (f (n) + 2)2 =
c2 for all n ≥ n0 , where c and n0 are positive integers. This means that f (n)
can take only the values −2 − c and −2 + c, and hence is not injective (see
Example (2) for a reasoning).
where the domain and codomain of f are supposed to be R. Let’s call the
latter assertion P (x, y). Then, P (0, 0) implies
f (−x) + f (x) = 0,
which means that f (x) = −f (−x) holds for all reals x. In this case, we call
f an odd function.
CHAPTER 2. BASIC CONCEPTS 27
where f is defined to be from Q to Q. Let’s call the given assertion P (x, y).
Take any two rationals x and y, and suppose, WLOG, that f (x) ≥ f (y).
Then, P (x, y) gives
f (x + y) + f (x − y) = 2f (x).
f (x + y) + f (y − x) = 2f (x).
For easier referencing, I’m including the accurate definitions of even and
odd functions here: