Professional Documents
Culture Documents
Michelle Chen
March/April 2021
1 What is a function?
A function is like a machine which can take an input and convert it into an output. For a function
f : A → B,
A is called the domain and indicates the set of allowed inputs.
B is called the codomain and indicates the set of allowed outputs.
The range of f is the set of outputs that f actually attains. By definition, range ⊆ codomain.
For example, the function
f : R → R where f (x) = x2
has domain R, codomain R, and range R≥0 .
2 Terminology
Monotonicity: A function f is increasing if, for all x and y in the domain, x < y implies
f (x) ≤ f (y). Similarly, f is decreasing if x < y implies f (x) ≥ f (y) for all x and y. A monotonic
function is one that is either increasing or decreasing.
In the case that x < y implies f (x) < f (y), we say that f is strictly increasing. Similarly, if x < y
implies f (x) > f (y), we say that f is strictly decreasing.
Injectivity: A function f is injective, one-to-one, or an injection if each input leads to a different
output, i.e. f (a) = f (b) implies a = b.
1
Surjectivity: A function f is surjective, onto, or a surjection if the range is the same set as
the codomain, i.e. for every value y in the codomain, there is some x in the domain such that
f (x) = y.
Bijectivity: A function f is bijective or a bijection if it is both injective and surjective. In this
case, every member of the domain can be paired with exactly one member of the codomain and
vice versa.
Function composition: We can compose functions by using the output of one function g as the
input to another function f . We denote the result as (f ◦ g)(x) or f (g(x)). Note that f ◦ g and
g ◦ f are usually different functions.
Continuity: Informally, a function is continuous if you can draw its graph in a single pen stroke.
In other words, there are no gaps or jumps in the graph.
Examples
1. Prove that the function f : R → R given by f (x) = 3x3 + 1 is bijective.
Examples
1. Prove that ex = x2 has a real solution.
2. Prove that at any given moment, there are two diametrically opposite points on the Earth’s
equator that are at exactly the same temperature.
2
3.2 No More Zeros
Sometimes you want to be sure that you’ve found all the zeros of a function. In these cases, you need
to be able to not only find the zeros, but also prove that you’ve found them all. Some techniques which
can be useful here include:
Using monotonicity: If a function is strictly monotonic then it is also injective and therefore
attains any particular value at most once.
Size arguments: By comparing the rates at which different functions grow, you can some-
times guess that one side of an equation will eventually become much bigger than the other side.
Generally, exponentials grow really quickly, logarithms grow really slowly, and polynomials are
somewhere in between.
Examples
1. Find all real solutions to the equation 3x = 2x + 1.
Example
1. Find all functions f : R → R satisfying f (x − f (y)) = 1 − x − y for all x, y ∈ R.
4 Problems
1. Show that a strictly increasing function must be injective.
2. If f : [0, 1] → [0, 1] is continuous, prove that f (x) = x for some x.
3. (Two-pancake problem) Prove that two pancakes, each having an arbitrary two-dimensional shape,
can both be perfectly bisected with one straight line.
4. An involution is a function f for which f (f (x)) = x for all x in the domain of f . Show that all
involutions are bijective.
5. Suppose f : R → R is such that the equation f (f (f (x))) = x has exactly one solution at x = a.
Prove that f (a) = a.
3
9. Find all functions f : R → R such that f (x + y) = x + f (y) for all x, y ∈ R.
10. A function f : R → R satisfies f (f (x) + yf (y)) = x + y 2 for all x, y ∈ R. Prove that f is injective.
12. Find all functions f : R → R such that f (2x + f (y)) = f (f (x) + x) + y for all x, y ∈ R.
13. Find all functions f : R → R such that f (2f (x) + 2f (y) − x − y) = f (x) + y.
14. Find all functions f : N → R≥0 such that:
(i) f (n) = 0 for all n ∈ N where the last digit of n is 4;
(ii) f (a · b) = f (a) + f (b) for all a, b ∈ N.
15. (Cauchy’s functional equation) Find all functions f such that:
(a) f : N → R and f (x + y) = f (x) + f (y) for all x, y ∈ N.
(b) f : Z → R and f (x + y) = f (x) + f (y) for all x, y ∈ Z.
(c) f : Q → R and f (x + y) = f (x) + f (y) for all x, y ∈ Q.