Subsection 1.1 MATH
Subsection 1.1 MATH
Definition 1.1
A function f ∶ X → Y is a relation between two sets X and Y such that
every element x ∈ X corresponds to a unique element y ∈ Y . This
element y, called the image of x, is denoted by f (x). Also, x is called a
preimage of y.
Definition 1.1
A function f ∶ X → Y is a relation between two sets X and Y such that
every element x ∈ X corresponds to a unique element y ∈ Y . This
element y, called the image of x, is denoted by f (x). Also, x is called a
preimage of y.
Example 1.1
Define f ∶ [0, 2] → R by f (x) = x2 . Then the domain of f is [0, 2], its
codomain is R, and its range is [0, 4].
Proof.
Example 1.2
1
Define g(x) = . Then the natural domain of g is (−∞, 0) ∪ (0, ∞), and
x2
its range is (0, ∞).
Proof.
Example 1.3
The absolute value function is defined by
x if x ⩾ 0,
∣x∣ = {
−x if x < 0.
Definition 1.2
Let f ∶ X → Y and g ∶ Y → Z be functions. The composition of f and g
is the function g ○ f from X to Z such that
for all x ∈ X.
1.1 Basic Concepts in Functions
Example 1.4
Define f (x) = x + 1 and g(x) = 2x. Then
(f ○ g)(x) = f (2x) = 2x + 1,
(g ○ f )(x) = g(x + 1) = 2x + 2.
1.1 Basic Concepts in Functions
Definition 1.3
A function f ∶ X → Y is injective or one-to-one if for all distinct elements
a, b ∈ X, we have f (a) ≠ f (b).
Definition 1.4
A function f ∶ X → Y is surjective or onto if for every y ∈ Y , there exists
x ∈ X such that f (x) = y.
Definition 1.5
A function f ∶ X → Y is bijective or one-to-one correspondence if it is
both injective and surjective.
1.1 Basic Concepts in Functions
Definition 1.6
Let f ∶ X → Y be a function. The inverse of f is the function
f −1 ∶ Y → X such that (f −1 ○ f )(x) = x for all x ∈ X, and
(f ○ f −1 )(y) = y for all y ∈ Y .
1.1 Basic Concepts in Functions
Proposition 1.1
A function has an inverse if and only if it is bijective.
1.1 Basic Concepts in Functions
Example 1.5
y−1
The inverse of the function f (x) = 2x + 1 is f −1 (y) = since
2
(f −1 ○ f )(x) = f −1 (2x + 1) = x,
y−1
(f ○ f −1 )(y) = f ( ) = y.
2
1.1 Basic Concepts in Functions
Definition 1.7
Let X and Y be subsets of R. The graph of a function f ∶ X → Y is the
set containing all pairs of points (x, f (x)) where x ∈ X.
Example 1.6
x+1
The following shows the graphs of the functions f (x) = and
2
g(x) = ∣x∣.
y x+1
y=
2
e.g. the point (1.5, 1.25) lies on the graph since f (1.5) = 1.25
1.1 Basic Concepts in Functions
Example 1.6
x+1
The following shows the graphs of the functions f (x) = and
2
g(x) = ∣x∣.
y
y = ∣x∣
x
1.1 Basic Concepts in Functions
non-example:
y
x
1.1 Basic Concepts in Functions
the range of f is the set of all real numbers b such that the
horizontal line y = b meets the graph
1.1 Basic Concepts in Functions
non-example:
y
x
1.1 Basic Concepts in Functions
non-example:
y
x
1.1 Basic Concepts in Functions
f has an inverse if every horizontal line meets the graph exactly once
the graph of f −1 can be obtained by reflecting the graph of f in the
line y = x
1.1 Basic Concepts in Functions
f has an inverse if every horizontal line meets the graph exactly once
the graph of f −1 can be obtained by reflecting the graph of f in the
line y = x
Definition 1.8
Let X and Y be subsets of R. A function f ∶ X → Y is called monotonic
increasing if f (x) ⩽ f (y) for all x < y. It is called monotonic decreasing if
f (x) ⩾ f (y) for all x < y. In either case, it is called a monotonic function.
In particular, f is called strictly increasing if f (x) < f (y) for all x < y.
Similarly, it is called strictly decreasing if f (x) > f (y) for all x < y.
1.1 Basic Concepts in Functions
Example 1.7
The function f (x) = e−x is strictly decreasing, while the function
1 if x ⩾ 0,
g(x) = {
−1 if x < 0
is monotonic increasing.
y = e−x
x
1.1 Basic Concepts in Functions
Example 1.7
The function f (x) = e−x is strictly decreasing, while the function
1 if x ⩾ 0,
g(x) = {
−1 if x < 0
is monotonic increasing.
y = g(x)
x
1.1 Basic Concepts in Functions
Definition 1.9
A function f ∶ R → R is called an even function if f (x) = f (−x) for all
x ∈ R, and is called an odd function if f (x) = −f (−x) for all x ∈ R.
x
1.1 Basic Concepts in Functions
Definition 1.9
A function f ∶ R → R is called an even function if f (x) = f (−x) for all
x ∈ R, and is called an odd function if f (x) = −f (−x) for all x ∈ R.
x
1.1 Basic Concepts in Functions
Definition 1.9
A function f ∶ R → R is called an even function if f (x) = f (−x) for all
x ∈ R, and is called an odd function if f (x) = −f (−x) for all x ∈ R.
x
1.1 Basic Concepts in Functions
Definition 1.9
A function f ∶ R → R is called an even function if f (x) = f (−x) for all
x ∈ R, and is called an odd function if f (x) = −f (−x) for all x ∈ R.
x
1.1 Basic Concepts in Functions
Definition 1.10
A function f ∶ R → R is called a periodic function if there exists a
constant d > 0 such that f (x + d) = f (x) for all x ∈ R. In that case, d is
called a period of f .