Week 1 Notes
Week 1 Notes
Numbers
Week 1 1
Outline
Sets
Functions
Extreme Values
Week 1 2
Sets
Week 1 3
Frequently Used Sets
We use
{x ∈ S : P(x)} or {x ∈ S | P(x)}
to denote the set of all elements x in S for which P(x) is true. We
may simply write {x : P(x)} when S is obvious or not important.
The following symbols are frequently used:
I Z := {. . . , −2, −1, 0, 1, 2, . . . } — the set of integers.
I N := {n ∈ Z : n ≥ 0} = {0, 1, 2, 3, . . . } — the set of natural
numbers.
I N+ := {n ∈ Z : n > 0} = {1, 2, 3, . . . } — the set of positive
integers.
I Q := {m/n : m ∈ Z, n ∈ N+ } — the set of rational numbers.
I R — the set of real numbers.
We use the symbol := to mean that the symbol on the left is
defined by the object on the right.
Week 1 4
Set Operations
Week 1 5
Cartesian Products
Definition
Let S and T be nonempty sets. The Cartesian product of S and
T , denoted by S × T , is the set of all ordered pairs (x, y ) such
that x ∈ S and y ∈ T . That is,
S × T := {(x, y ) : x ∈ S, y ∈ T }.
S1 × · · · × Sn := {(x1 , . . . , xn ) : x1 ∈ S1 , . . . , xn ∈ Sn }.
Week 1 6
Cartesian Products: Examples and Remarks
S × T = {(1, 4), (1, 8), (2, 4), (2, 8), (3, 4), (3, 8)}.
R2 := R × R = {(x, y ) : x ∈ R, y ∈ R}.
Week 1 7
Intervals
Week 1 8
Functions
Definition
Let D and Y be nonempty sets.
I A function from D to Y is a rule that assigns to each element
of D exactly one element of Y .
I We use the notation f : D → Y to mean that the function f is
from D to Y , with f (x) being the element of Y assigned to x.
I For a function f : D → Y , the set D and Y are called the
domain and the codomain of f , respectively, and the set
{f (x) : x ∈ D} is called the range of f .
Week 1 9
Functions
Week 1 10
Injectivity, Surjectivity and Bijectivity
Definition
Let f : D → Y be a function.
I We say that f is one-to-one (or injective) if f (x1 ) 6= f (x2 ) for
all distinct x1 and x2 in D (that is, x1 6= x2 ).
I We say that f is onto (or surjective) if, for every y ∈ Y , there
exists x ∈ D such that f (x) = y .
I We say that f is bijective if it is both one-to-one and onto. A
bijective function is called a bijection.
Remark
I Whether a function is onto depends on its codomain: the
function f : R → [0, ∞) with f (x) := x 2 is onto, while the
function f : R → R with f (x) := x 2 is not.
I By definition, any function is automatically onto its range.
Week 1 11
Examples
Week 1 12
Piecewise-Defined Functions
Week 1 13
The Floor Function
Definition
The function that assigns the greatest integer smaller than or equal
to x to any real number input x, is called the greatest integer
function or the floor function. The floor function is commonly
denoted by bxc. For example, b48.99c = 48, b314c = 314.
Week 1 14
Monotone Functions
Definition
Let f : D → R be a function.
I If f (x1 ) ≤ f (x2 ) for all x1 and x2 in D with x1 < x2 , then f is
said to be nondecreasing or weakly increasing.
I If f (x1 ) ≥ f (x2 ) for all x1 and x2 in D with x1 < x2 , then f is
said to be nonincreasing or weakly decreasing.
I If f (x1 ) < f (x2 ) for all x1 and x2 in D with x1 < x2 , then f is
said to be increasing or strictly increasing.
I If f (x1 ) > f (x2 ) for all x1 and x2 in D with x1 < x2 , then f is
said to be decreasing or strictly decreasing.
I If f is nondecreasing or nonincreasing, then f is said to be
monotone or monotonic.
I If f is (strictly) decreasing or increasing, then f is said to be
strictly monotone or strictly monotonic.
Week 1 15
Even and Odd Functions
Definition
Let f : D → R be a function, where D is a subset of R that is
symmetric about the origin. Then
I f is called an even function if f (−x) = f (x) for every x ∈ D.
I f is called an odd function if f (−x) = −f (x) for every x ∈ D.
Example
The function f (x) := x 2 is even, while f (x) := sin x is odd (with
domain R).
Week 1 16
Inverse Functions
Definition
Let f : D → Y be a bijection. The inverse of f is defined to be the
function g : Y → D via the following rule: for every y ∈ Y ,
g (y ) := x, where f (x) = y .
Week 1 17
Inverse Functions
we have f −1 (y ) = (y − 1)/2.
Week 1 18
Composite Functions
Definition
Let g : A → B and f : B → C be functions. The composite
function f ◦ g is the function from A to C defined by
Week 1 19
The Identity Function
Definition
Let D be any nonempty set. The function i : D → D defined by
i(x) := x for all x in D, is called the identity function (on D).
Remark
If f : A → B has an inverse, then it follows from the definition of
inverse functions that both f ◦ f −1 and f −1 ◦ f are identity
functions (although one of them has domain A and the other has
domain B).
Week 1 20
Basic Elementary Functions
The following are some basic functions (with the natural domains):
Week 1 21
Elementary Functions
If a function can be obtained by applying finitely many basic
arithmetic operations (+, −, ×, ÷), function compositions and
inverse operations to the basic elementary functions on the
previous slide, then it is called an elementary function. Examples
of elementary functions include:
I Polynomials: P(x) := an x n + an−1 x n−1 + · · · + a1 x + a0 ,
where n ∈ N and a0 , a1 , . . . , an are real numbers.
I Rational functions: R(x) := P(x)/Q(x), where P and Q are
polynomials (and Q is not the zero function).
I Exponential functions: f (x) := ax := e x ln a , where a is a
positive constant.
I Logarithmic function: f (x) := loga x := ln x/ ln a, defined on
(0, ∞), where a is a positive constant (with a 6= 1).
I Inverse trigonometric functions: f (x) := arcsin(x),
f (x) := arccos(x) (also denoted as sin−1 (x), cos−1 (x)).
Week 1 22
Examples: Rational Functions
Week 1 23
Non-Elementary Functions: An Example
Week 1 24
Maxima and Minima
Definition
Let S be a nonempty subset of R, and let y ∈ S.
I We say that y is a maximum of S if y ≥ s for all s ∈ S.
I We say that y is a minimum of S if y ≤ s for all s ∈ S.
Remark
I The word extremum (plural: extrema) means a maximum or a
minimum.
I Not every set has an extremum: the interval [0, 1) has
minimum 0 but no maximum, and any open interval (a, b) has
neither a maximum nor a minimum.
I Every nonempty finite set has a maximum and a minimum.
I In this course, we will study the maximum and minimum (and
other related concepts) of the range of a given function.
Week 1 25
Boundedness
Definition
Let S be a nonempty subset of R.
I The set S is said to be bounded above if there exists u ∈ R
such that x ≤ u for all x ∈ S. Any such number u is called an
upper bound of S.
I The set S is said to be bounded below if there exists l ∈ R
such that x ≥ l for all x ∈ S. Any such number l is called a
lower bound of S.
I A set is said to be bounded if it is both bounded above and
bounded below, and it is said to be unbounded otherwise.
Note that if S has one upper bound u, then it has infinitely many
upper bounds, e.g., u + 1, u + 2, . . . .
Week 1 26
Suprema and Infima
Definition
Let S be a nonempty subset of R. A real number x is called the
supremum of S (or the least upper bound of S), if
(i) x is an upper bound of S, and;
(ii) if u is an upper bound of S then x ≤ u.
In this case, we write x = sup S. Similarly, we call x the infimum
of S (or the greatest lower bound of S), and write x = inf S, if
(i) x is an lower bound of S, and;
(ii) if l is a lower bound of S then l ≤ x.
Week 1 27
Suprema and Infima: Remarks and Examples
Week 1 28
Least-Upper-Bound Property
Week 1 29
Greatest-Lower-Bound Property
inf S = − sup(−S).
Week 1 30
Trigonometric Functions: Angle Measurement
When we apply trigonometric functions, angles are measured in
radian (i.e., π instead of 180◦ ), starting from the positive x-axis,
with counterclockwise direction indicating positive measurement.
Week 1 31
Trigonometric Identities
Week 1 32
Trigonometric Inequalities
Week 1 33
Triangle Inequality
|x + y | ≤ |x| + |y |.
|x − y | = |x − z + (z − y )| ≤ |x − z| + |z − y |.
Week 1 34