Chapter 01
Chapter 01
(Section 1.1)
Definition 1
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 .
D = the domain of f
E = the range of f
1 / 68
Example 1:
Find the domain of a given function
1
(a) f (x) = 2
x −1
√
(b) g (x) = 4−x
Definition 2
The graph of a function f (x) is the set of order pairs (x, y ) in the
xy −plane, where x is in the domain of definition of f , and
y = f (x).
6 / 68
|x|
Example 5: Graph the function g (x) = .
x
Example 6: Graph the function
2
x , if x < 0;
f (x) = x + 1, if 0 ≤ x < 4;
10 − x, if x ≥ 4.
Even Functions
Function f (x) is said to be an even function if
f (−x) = f (x)
Example 8: cos x is
Odd Functions
Function f (x) is said to be an odd function if
f (−x) = −f (x)
Definition
A function f (x) is said to be decreasing on an interval I if
Linear Functions
A linear function f (x) has the form
f (x) = ax + b
Polynomial Functions
A polynomial P(x) is a function that has the following form
12 / 68
Polynomial functions are defined for all x ∈ (−∞, ∞).
Example 12:
P(x) = x 15 + x 7 + 120x is a polynomial
all linear functions f (x) = ax + b are polynomials; Note that
n = 1 (if a 6= 0)
Power Functions
A function of the form f (x) = x a , where a is a real constant, is
called a power function.
P(x)
f (x) = .
Q(x)
Trigonometric Functions
sin x, cos x, tan x
and their reciprocals csc x, sec x, cot x
Exponential Functions
An exponential function has the form f (x) = ax , where the base a
is a positive constant. The domain of f (x) = ax is (−∞, ∞), and
its range is (0, ∞).
Logarithmic Functions
The logarithmic functions f (x) = loga x, where the base a is
positive constant, are the inverse functions of exponential
functions.
Transformations of Functions
Vertical and Horizontal Shifts
Let c > 0.
The graph of y = f (x) + c is obtained by shifting the graph of
y = f (x) by c units upward
18 / 68
The graph of y = f (x) − c is obtained by shifting the graph of
y = f (x) by c units downward
19 / 68
The graph of y = f (x − c) is obtained by shifting the graph of
y = f (x) by c units to the right
20 / 68
The graph of y = f (x + c) is obtained by shifting the graph of
y = f (x) by c units to the left
21 / 68
Vertical and Horizontal Stretching and Reflecting
Suppose that c > 1. To obtain the graph of y = cf (x), stretch the
graph of y = f (x) vertically by a factor of c
22 / 68
To obtain the graph of y = (1/c)f (x), compress the graph of
y = f (x) vertically by a factor of c.
23 / 68
To obtain the graph of y = f (cx), compress the graph of y = f (x)
horizontally by a factor of c
24 / 68
To obtain the graph of y = f (x/c), stretch the graph of y = f (x)
horizontally by a factor of c
25 / 68
To obtain the graph of y = −f (x), reflect the graph of y = f (x)
about the x-axis
26 / 68
To obtain the graph of y = f (−x), reflect the graph of y = f (x)
about the y-axis
27 / 68
x −1
Example 1: Graph y =
x
x −1 1 1
Write = 1 − = − + 1.
x x x
1
We start with the graph of y = and use needed transformations.
x
28 / 68
Combinations of Functions
29 / 68
fg is defined on A ∩ B, by:
30 / 68
Definition
Given two functions f and g , the composition f ◦ g is defined by
(f ◦ g )(x) = f (g (x))
31 / 68
1 √
Example 2: Let f (x) = x and g (x) = x. Find
(a) f ◦ g
(b) g ◦ f
32 / 68
(c) find g ◦ (f + h) and f ◦ g ◦ h, where h(x) = x + 1
33 / 68
Lecture 2: Limits
y − 2 = m(x − 1)
As we are not given two points on the tangent line, we cannot find
its slope m directly, but we can approximate it. Note that the
secant lines of the parabola, passing through P(1, 2) and nearby
points Q(x, x 2 + 1) approximate our tangent line.
34 / 68
Note that the slopes of the secant lines s1 , s2 approximate m and
are given by
x2 + 1 − 2
mPQ =
x −1
At x = 2, m = 3,
at x = 1.5, m = 2.5,
x = 1.25, m = 2.25.
x2 − 1
lim mPQ = m and lim =2
Q→P x→1 x − 1
Example 2: Suppose an object is s(t) meters from its start at t
seconds. Find the average velocity on the time interval from t = 2
to t = 2 + h seconds, where s(t) = t 2 .
change in position
average velocity = =
time elapsed
37 / 68
Average velocity for successively smaller intervals:
Time Interval Average Velocity
2 ≤ t ≤ 2.5
2 ≤ t ≤ 2.1
2 ≤ t ≤ 2.01
2 ≤ t ≤ 2.001
The instantaneous velocity v when t = 2 is defined to be the
limiting value of these average values over shorter and shorter
intervals. From the table we see that v= m/s.
Introduction to Limits
Definition
We write
lim f (x) = L
x→a
39 / 68
x2 − 1
Example 3: Find lim .
x→1 x − 1
x2 − 1
f (x) = is not defined for x = 1.
x −1
Definition
The limit of f(x) as x approaches a from the left is equal to L
if the values of f(x) can be made arbitrarily close to L by taking x
to be sufficiently close to a, and x < a.
We write
lim f (x) = L
x→a−
Definition
The limit of f(x) as x approaches a from the right is equal to L
if the values of f(x) can be made arbitrarily close to L by taking x
to be sufficiently close to a, and x > a.
We write
lim+ f (x) = L
x→a
43 / 68
Note:
x → a− means that x < a, x approaches a.
x → a+ means that x > a, x approaches a.
Fact
lim f (x) = L ⇔ lim f (x) = L and lim f (x) = L
x→a x→a− x→a+
Example 5: Let
x + 1, if x ≥ 0;
g (x) =
x, if x < 0
lim g (x) =
x→0−
and
lim g (x) =
x→0+
Evaluating Limits (Section 1.4)
Limit Laws
Suppose that c is a constant and lim f (x) and lim g (x) exist.
x→a x→a
Then
7. lim c = c
x→a
8. lim x = a
x→a
√
n
√
n
10. lim x= a, where n is a positive integer, and a > 0
x→a
Example 1: Find lim (x 3 + 2x 2 + 1).
x→2
x2 + 1
Example 2: Find lim .
x→1 x + 1
Direct Substitution Property
If f is a polynomial or a rational function and a is in the domain of
f, then
lim f (x) = f (a)
x→a
x 3 + 3x 2
Example 3: Find lim
x→2 x − 1
49 / 68
Fact
If f (x) = g (x) when x 6= a, then lim f (x) = lim g (x), if the limits
x→a x→a
exist.
x3 − 1
Example 4: Find lim
x→1 x − 1
50 / 68
√
x2 + 8 − 3
Example 5: Find lim
x→1 x −1
51 / 68
x 2 + 3x
Example 6: Find lim
x→0 |x|
52 / 68
Example 7: Let
√
9 − x, if x < 0;
g (x) =
x + 3, if x ≥ 0
53 / 68
54 / 68
Fact
If f (x) ≤ g (x) when x is near a, except possibly at a, and the
limits lim f (x), lim g (x) exist, then
x→a x→a
lim g (x) = L
x→a
55 / 68
4 1
Example 8: Show that lim x cos =0
x→0 x
56 / 68
Lecture 3: Continuity (Section 1.5)
Definition
A function f is continuous at a number a if
57 / 68
At a point x = a, f may have two types of discontinuities:
Removable
Nonremovable
Jump Discontinuity
Infinite Discontinuity
58 / 68
Example 1: Discuss the continuity and determine any removable
x2 − 1
and nonremovable discontinuities of f (x) = 3 .
x −x
59 / 68
Example 2: Discuss the continuity and determine any removable
and nonremovable discontinuities of
√
4 − x, if x < 0;
f (x) = x + 1, if 0 ≤ x ≤ 1
2x 2 , if x > 1
60 / 68
Definition
A function f is continuous from the right at x=a if
61 / 68
Example 3: Discuss the continuity of
2
x + 1, if x < 0;
g (x) = x + 1, if 0 ≤ x ≤ 1
3, if x > 1
62 / 68
Example 4: Find the value of c for which f will become continuous
4 − x, if x < 1;
f (x) =
cx 2 + 1, if x ≥ 1
63 / 68
Fact
If f and g are continuous at x=a, and c is a constant, then the
following functions are also continuous at x=a:
f ±g cf
f
fg , if g (a) 6= 0
g
Fact
The following functions are continuous for each x in their domains:
polynomials
rational functions
root functions
trigonometric functions and inverse trigonometric functions
exponential and logarithmic functions
64 / 68
√
Example 5: On what interval is f (x) = x 2 − 1 + x 4 continuous?
Fact
If f is continuous at b, and lim g (x) = b, then
x→a
that is
lim f (g (x)) = f ( lim g (x))
x→a x→a
Fact
If g is continuous at a, and f is continuous at g(a), then f ◦ g is
continuous at a.
65 / 68
x4 + x + 2
Example 6: Find lim .
x→0 x +1
66 / 68
Intermediate Value Theorem
Suppose f is continuous on an interval [a, b], and let N be any
number between f(a) and f(b), where f (a) 6= f (b). Then there
exists c in (a, b) such that f (c) = N.
67 / 68
Example 8: Use IVT to show that f (x) = x 3 − 3x − 1 has a zero
in the interval [−1, 1].
68 / 68
Lecture 4: Limits Involving Infinity (Section 1.6)
1
Example 1: Graph f (x) = , and use its graph to find
x −2
lim f (x) and lim+ f (x).
x→2− x→2
x f(x)
2.5
2.1
2.01
2.001
x f(x)
1.5
1.9
1.99
1.999
69 / 68
Definition
Let f be defined on both sides of a, except possibly at a. Then
lim f (x) = ∞
x→a
Definition
Let f be defined on both sides of a, except possibly at a. Then
lim f (x) = −∞
x→a
In our example
1 1
lim = and lim =
x→2− x −2 x→2+ x −2
Definition
The line x=a is called a vertical asymptote of the curve y=f(x) if
at least one of the following is true:
1
x = 2 is a vertical asymptote to f (x) = (Example 1).
x −2
72 / 68
x +2 x +2
Example 2: Find lim+ and lim
x→1 x −1 x→1 x − 1
−
x +2
lim+ =
x→1 x −1
x +2
lim =
x→1− x −1
73 / 68
Example 3: y = ln x is defined for x > 0. From the graph of
y = ln x,
74 / 68
x2 x2
Example 4: Find lim and lim
x→∞ x 2 + 3 x→−∞ x 2 + 3
x f(x)
10 0.9709
20
30
40
50
60
70
80
90
100
75 / 68
x f(x)
-10 0.9709
-20
-30
-40
-50
-60
-70
-80
-90
-100
76 / 68
Definition
Let f be a function defined on (a, ∞), for some a. Then
lim f (x) = L
x→∞
Definition
Let f be a function defined on (−∞, a), for some a. Then
lim f (x) = L
x→−∞
77 / 68
Definition
The line y = L is called a horizontal asymptote of the curve
y = f (x) if either
1 1
Example 5: Find lim , and lim
x→∞ x x→−∞ x
x f(x)
10 0.1
102
103
104 1
lim =
x→∞ x
105
1
x f(x) lim =
x→−∞ x
-10 -0.1
-102
-103
-104
Theorem
If r > 0 is a rational number, then
1
lim =0
x→∞ x r
79 / 68
Shortcut for finding limits at infinity for rational
functions:
p(x)
Let f (x) = , where
q(x)
1 If n < m, then
2 If n = m, then
3 If n > m, then
x2
Example 7: Find all horizontal asymptotes of y =
x2+3
81 / 68
p
Example 8: Find lim ( x 2 + 1 − x)
x→∞
82 / 68
sin 2x
Example 9: Find lim
x→∞ x
83 / 68