GT1 W01 TT02 PDF
GT1 W01 TT02 PDF
GT1 W01 TT02 PDF
Unit 1: FUNCTIONS
Definition of a sequence
A sequence can be thought of as a list of numbers written in a
definite order:
a1 , a2 , a3 , a4 , . . . , an , . . .
The number a1 is called the first term, a2 is the second term, and
in general an is the nth term. We will deal exclusively with infinite
sequences and so each term an will have a successor an+1 .
Example
∞
n 1 2 3 n
= , , , ..., , ...
n+1 n=1 2 3 4 n+1
n−1
∞
= 1, −1, 1, −1, . . . , (−1)n−1 , . . .
(−1) n=1
Sequences
Definition
A sequence {an } has the limit L and we write
lim an = L or an → L as n → ∞
n→∞
an lim an
lim = n→∞ lim bn ̸= 0
n→∞ bn lim bn n→∞
n→∞
If lim |an | = 0, then lim an = 0.
n→∞ n→∞
If an ⩽ bn ⩽ cn and lim an = lim cn = L, then lim bn = L.
n→∞ n→∞ n→∞
(Squeeze Theorem)
Sequences
Definition of a function
A function f is a rule that assigns to each element x in a set D
exactly one element, called f (x), in a set E .
r 1 2 3 ...
A π 4π 9π . . .
Example
A rectangular storage container
with an open top has a volume of
10m3 . The length of its base is
twice its width. Material for the
base costs $10 per square meter;
material for the sides costs $6 per
square meter. Express the cost
of materials as a function of the
width of the base.
Functions of One Variable
SOLUTION
Let w , 2w , h be the width, length, and height of the container
(w > 0). The total cost is
5
Since the volume of the container is 10m3 , we have h = 2 .
w
Finally, we obtain
180
C (w ) = 20w 2 + (w > 0)
w
Functions of One Variable
Example
Find the domain of each function.
√
1 f (x) = x +2
1
2 g (x) =
2
x −x
Functions of One Variable
SOLUTION
1 Because the square root of a negative number is not defined
The following test is used to test any curves, which are graphs of
functions.
The Vertical Line Test
A curve in the xy -plane is the graph of a function of x if and only
if no vertical line intersects the curve more than once.
The Elementary Functions
y
y =C
|C |
O x
The Elementary Functions
x x
y =x y = x2
(α = 1) (α = 2)
The Elementary Functions
y y
x x
√ 1
y = x 1/2 = x y = x −1 = x
(α = 1/2) (α = −1)
The Elementary Functions
Polynomials
A function P is called a polynomial if
Example
A polynomial of degree 1: P(x) = mx + b is called a linear
function.
A polynomial of degree 2: P(x) = ax 2 + bx + c is called a
quadratic function.
A polynomial of degree 3: P(x) = ax 3 + bx 2 + cx + d is
called a cubic function.
The Elementary Functions
Rational Functions
P(x)
A rational function f is a ratio of two polynomials: f (x) = ,
Q(x)
where P and Q are polynomials. The domain consists of all values
of x such that Q(x) ̸= 0.
Example
The function
2x 4 − x 2 + 1
f (x) =
x2 − 4
is a rational function with domain
{x | x ̸= ±2}.
The Elementary Functions
Algebraic Functions
A function f is called an algebraic function if it can be constructed
using algebraic operations (such as addition, subtraction,
multiplication, division, and taking roots) starting with
polynomials. Any rational function is automatically an algebraic
function.
Here are examples of algebraic functions:
√
f (x) = x 2 + 1
x 4 − 5x 2 √
g (x) = √ + (x + 3) 3 x − 1
2x + x
√
(x + 2)3 + 4 x
h(x) = √
(1 + x)5 + 3x 2
The Elementary Functions
y y
x x
y = ax y =ax
(a > 1) (0 < a < 1)
The Elementary Functions
y y
x x
y = loga x y = loga x
(a > 1) (0 < a < 1)
The Elementary Functions
x x
y = sin x y = cos x
The Elementary Functions
y y
x x
y = tan x y = cot x
The Elementary Functions
Example
A function f is defined by
(
1 − x, if x ⩽ −1
f (x) =
x 2, if x > −1
Then
Since −2 ⩽ −1, we have f (−2) = 1 − (−2) = 3
Since −1 ⩽ −1, we have f (−1) = 1 − (−1) = 2
Since 0 > −1, we have f (0) = 02 = 0
The Elementary Functions
Example
Example
Determine whether each of the following functions is even, odd, or
neither even nor odd.
SOLUTION.
1 f (−x) = (−x)5 + (−x) = −x 5 − x = −(x 5 + x) = −f (x).
Therefore f is an odd function.
2 g (−x) = 1 − (−x)4 = 1 − x 4 = g (x). So g is even.
3 Since h(−x) ̸= h(x) and h(−x) ̸= −h(x), we conclude that h
is neither even nor odd.
Properties of Functions
Example
Periodic Functions
A function f is called periodic if there exists a positive constant τ
such that for all x from its domain f (x + τ ) = f (x). The smallest
positive value T of all values of τ is call the period of this function.
Example
The functions y = sin x and y = cos x are periodic (T = 2π).
The functions y = tan x and y = cot x are periodic (T = π).
2π
The function y = sin kx is periodic (T = k )
The functions y = tan x2 and y = tan x3 are periodic with the
periods T = 2π and T = 3π, respectively. Then the function
f (x) = tan x2 + tan x3 is periodic with the period
T = Smallest Common Multiple(2π, 3π) = 6π
Transformations of Functions
Example
The following figure illustrates these stretching transformations
when applied to the function y = cos x with C = 2 to obtain the
graphs of y = 2 cos x, y = 12 cos x, y = cos 2x, and y = cos 12 x.
Combinations of Functions
f (x)
(fg )(x) = f (x)g (x), (f /g )(x) =
g (x)
Example
√
The domain
√ of f (x) = x is [0, +∞) and the domain of
g (x) = 2 − x is (−∞, 2]. Therefore
√ √
The domain of f (x) + g (x) = x + 2 − x is
[0, +∞) ∩ (−∞, 2] = [0, 2].
√ √
The domain of f (x) − g (x) = x − 2 − x is also [0, 2].
√ √ p
The domain of f (x) · g (x) = x · 2 − x = x(2 − x) is
also [0, 2].
√ r
f (x) x x
The domain of =√ = is
g (x) 2−x 2−x
[0, 2] − {2} = [0, 2).
Combinations of Functions
(f ◦ g )(x) = f (g (x))
Example
If f (x) = x 2 and g (x) = x + 3, find the composite functions f ◦ g
and g ◦ f . SOLUTION. We have
(f ◦ g )(x) = f (g (x)) = [g (x)]2 = (x + 3)2
(g ◦ f )(x) = g (f (x)) = f (x) + 3 = x 2 + 3
We see that, in general, f ◦ g ̸= g ◦ f .
Combinations of Functions
Example
√ √
If f (x) = x and g (x) = 2 − x, find each function and its
domain: f ◦ g , g ◦ f , f ◦ f , and g ◦ g .
SOLUTION. We have
p p√ √
(f ◦ g )(x) = f (g (x)) = g (x) = 2 − x = 4 2 − x. Its
domain is (−∞, 2].
p p √
(g ◦ f )(x) = g (f (x)) = 2 − f (x) = 2 − x. Its domain
is [0, 4].
p p√ √
(f ◦ f )(x) = f (f (x)) = f (x) = x = 4 x. Its domain is
[0, +∞).
p p √
(g ◦ g )(x) = g (g (x)) = 2 − g (x) = 2 − 2 − x. Its
domain is [−2, 2].
Combinations of Functions
(f ◦ g ◦ h)(x) = f (g (h(x)))
Example
x
If f (x) = , g (x) = x 5 , and h(x) = x + 2, then
x +1
g (h(x)) [h(x)]5
(f ◦ g ◦ h)(x) = f (g (h(x))) = =
g (h(x)) + 1 [h(x)]5 + 1
(x + 2)5
=
(x + 2)5 + 1
Inverse Functions
Definition
A function f is called a one-to-one function if it never takes on the
same value twice; that is f (x1 ) ̸= f (x2 ) whenever x1 ̸= x2 .
Example
The function f (x) = x 3 is one-to-one on R, because if x1 ̸= x2 ,
then x13 ̸= x23 . The function g (x) = x 2 is not one-to-one on R,
because 1 ̸= −1 but g (−1) = g (1) = 1. However, g (x) is
one-to-one on R+ = [0, +∞).
Inverse Functions
Definition
Let f be a one-to-one function with domain D and range E . Then
its inverse function f −1 has domain E and range D and is defined
by f −1 (y ) = x ⇔ f (x) = y for any y in E .
Example
Find the inverse function of f (x) = 2x + 3.
SOLUTION. According to the above procedure
We write y = 2x + 3.
y −3
Then we solve this equation for x: x = .
2
x −3
Finally, we interchange x and y : y = .
2
x −3
Therefore the inverse function is f −1 (x) = .
2
Inverse Functions
Note
Note that
f −1 (f (x)) = x
f (f −1 (x)) = x
and the graph of f −1 (x) is
obtained by reflecting the
graph of f (x) about the
line y = x.
Inverse Functions
Note
From the elementary functions we have
y = ax
x
y = loga x
x
=
y
Inverse Functions
...