Chap1 Math1510
Chap1 Math1510
1.1 Sets
A set is a collection of elements :
• Order does not matter:
{1, 2, 3} = {3, 2, 1}
1
Clearly, we have:
N⊆Z⊆Q⊆R
1.1.1 Intervals
(a, b) = {x ∈ R | a < x < b} open interval
(a, b] = {x ∈ R | a < x ≤ b} half-open interval
[a, b) = {x ∈ R | a ≤ x < b} half-open interval
[a, b] = {x ∈ R | a ≤ x ≤ b} closed interval
(a, +∞) = {x ∈ R | x > a} open interval
(−∞, a) = {x ∈ R | x < a} open interval
(−∞, +∞) = R open interval
1.2 Functions
Definition 1.1. A function:
f : A −→ B
is a rule of correspondence from one set A (called the domain) to another set B
(called the codomain).
Under this rule of correspondence, each element x ∈ A corresponds to exactly
one element f (x) ∈ B, called the value of f at x.
In the context of this course, the domain A is usually some subset (intervals,
union of intervals) of R, while the codomain B is often presumed to be R.
Sometimes, the domain of a function is not explicitly given, and a function is
simply defined by an expression in terms of an independent variable.
For example, r
x+1
f (x) =
x−2
In this case, the domain of f is assumed to be the implied domain (or natural
domain, maximal domain, domain of definition), namely the largest subset of
R on which the expression defining f is well-defined.
Example 1.2. For the function:
r
x+1
f (x) = ,
x−2
the natural domain is:
x+1
Domain(f ) = x ∈ R ≥0
x−2
= (−∞, −1] ∪ (2, ∞).
2
1.2.1 Algebraic Operations on Functions
Definition 1.3. Given two functions:
f, g : A −→ R,
f ± g : A −→ R,
(f + g)(a) := f (a) + g(a), for all a ∈ A;
(f − g)(a) := f (a) − g(a), for all a ∈ A;
f g : A −→ R,
f g(a) := f (a)g(a), for all a ∈ A;
f
• The quotient function is:
g
f
: A′ −→ R,
g
f f (a)
(a) := , for all a ∈ A′ ,
g g(a)
where
A′ = {a ∈ A : g(a) ̸= 0}.
f ± g : A ∩ B −→ R,
f ± g(x) := f (x) ± g(x), x ∈ A ∩ B.
3
f g : A ∩ B −→ R,
f g(x) := f (x)g(x), x ∈ A ∩ B.
Similary, we define:
f
: A ∩ B ′ −→ R,
g
f f (x)
(x) = , x ∈ A ∩ B′,
g g(x)
where B ′ = {b ∈ B : g(b) ̸= 0}.
When the codomain of g is not the same as the domain of f , the domain of
f ◦ g is defined to be:
Domain(f ◦ g) = {a ∈ Domain(g) : g(a) ∈ Domain(f )}.
4
Example 1.4. Find the implied domains of f ◦ g and g ◦ f , where:
√
f (x) = x2 , g(x) = x.
5
Proposition 1.7. If f has an inverse f −1 , then:
Domain(f −1 ) = Range(f )
Range(f −1 ) = Domain(f )
Geometrically, the graph of f −1 is the reflection of the graph of f over the
diagonal line y = x:
6
• The absolute value function
(
−x if x < 0
|x| =
x if x ≥ 0
f (−1) = (−1)2 = 1
f (0) = 02 = 0
f (1) = |1 − 2| − 1 = 0
f (2) = |2 − 2| − 1 = −1
f (x) = −3x + 4 − |x + 1| − |x − 1|
for any x ∈ R.
7
1. Express the ’explicit formula’ of the function f as that of a piecewise de-
fined function, with one ’piece’ for each of (−∞, −1), [−1, 1), [1, +∞).
Solution.
1.
−x + 4 if x < −1
f (x) = −3x + 2 if −1 ≤ x < 1
−5x + 4 if x ≥ 1
2. Open in browser
8
f is decreasing (↘) if f (x1 ) ≥ f (x2 ) whenever x1 < x2
f is strictly decreasing (↘) if f (x1 ) > f (x2 ) whenever x1 < x2
9
We say that f is an even function if f (−x) = f (x) for all x ∈ Domain(f )
10
symmetric about the origin. (It is possible for a function to be neither even nor
odd.)
f (x) = x2 − x2/3
h(x) = x − 1
• Power: f (x) = xa
11
• Exponential: f (x) = ax where a > 0 increasing if a > 1 decreasing if
0<a<1
12
• Polynomial: f (x) = a0 +a1 x+· · ·+an xn where ai ∈ R are the coefficients
and n ≥ 0 (integer) is the degree (provided that an ̸= 0 )
P (x)
• Rational: f (x) = where P, Q are polynomials and Q ̸= 0
Q(x)
13
• Trigonometric: f (x) = sin x, cos x, tan x, sec x, csc x or cot x
14
Example 1.13. Suppose the coordinates of an object at time t is given by:
(
x = f (t) = cos(36◦ t)
y = g(t) = sin(36◦ t)
t 0 1 2 2.5 5 10
(x, y) (1, 0) (cos 36◦ , sin 36◦ ) (cos 72◦ , sin 72◦ ) (0, 1) (−1, 0) (1, 0)
which is a circle. Then, by finding out the coordinates of the object at a few
different times, we can draw some arrows to indicate the movement of the object
along its locus:
15