MAT1141 Notes 2023 PDF
MAT1141 Notes 2023 PDF
MAT1141 Notes 2023 PDF
Differential Calculus
MAT1141
Compiled by V Makhoshi
January 2023
i
ii
Contents
1 Preliminaries 1
1.0.1 Review of Elementary Mathematics . . . . . . . . . . . . . . . . 1
1.0.2 Piecewise Defined Functions . . . . . . . . . . . . . . . . . . . . 3
1.0.3 Symmetry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.0.4 Polynomials . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.0.5 Rational Functions . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.0.6 Algebraic Functions . . . . . . . . . . . . . . . . . . . . . . . . 6
1.0.7 Trigonometric Functions . . . . . . . . . . . . . . . . . . . . . . 6
1.0.8 Exponential Functions . . . . . . . . . . . . . . . . . . . . . . . 8
1.0.9 Logarithmic Functions . . . . . . . . . . . . . . . . . . . . . . . 8
1.0.10 Combinations of Functions . . . . . . . . . . . . . . . . . . . . . 8
2 Limits 11
2.1 The Limit of a function . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.1.1 Two sided limits . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.1.2 One-Sided Limits . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.1.3 Calculating Limits Using the Limit Laws . . . . . . . . . . . . . 14
2.2 Infinite Limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.2.1 Vertical and horizontal asymptotes . . . . . . . . . . . . . . . . . 21
2.2.2 Oblique Asymptotes . . . . . . . . . . . . . . . . . . . . . . . . 26
2.3 The Precise Definition of the Limit . . . . . . . . . . . . . . . . . . . . . 27
2.4 Continuity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
3 Differentiation 35
3.1 Tangents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
3.2 The Derivative as a Function . . . . . . . . . . . . . . . . . . . . . . . . 36
3.2.1 Calculating Derivatives from the Definition . . . . . . . . . . . . 37
3.2.2 Differentiable Functions are continuous. . . . . . . . . . . . . . . 38
3.3 Differentiation Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
iii
CONTENTS CONTENTS
4 Applications 61
4.1 L’Hôpital’s Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
4.1.1 The Indeterminate form ∞ − ∞ and 0 · ∞ . . . . . . . . . . . . . . 62
4.1.2 The Indeterminate Forms 00 , ∞0 and 1∞ . . . . . . . . . . . . . . 63
4.2 Taylor and Maclaurin Polynomials . . . . . . . . . . . . . . . . . . . . . 65
4.3 Maxima and Minima . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
4.4 The Mean Value Theorem . . . . . . . . . . . . . . . . . . . . . . . . . 71
4.5 First Derivative Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
4.6 Curve Sketching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
iv
Learning Guide
• email: vuledzani.makhoshi@univen.ac.za
0.2 Foreword
We provide you with important information regarding this module, Differential Calculus.
It is compalsory that you attend all contact and virtual lectures, pay attention and ask
questions where you do not understand. Always keep in mind that the module lecturer is
your primary source of information. Where possible, form study groups and invest at least
one hour per day in studying and practicing calculus.
• NQF Credits: 8
• Notional Hours: 80
v
0.5. OUTCOMES CONTENTS
0.5 Outcomes
Critical Cross Field Outcomes
Students should be able to:
i. Identify and solve problems
ii. Work in a team
iii. Reflect on and explore effective learning strategies
Specific Outcomes At the end of this module, students should be able to:
a. Define and interpret elementary functions.
b. Give an intuitive explanation of the process of taking a limit and compute basic
limits of functions at a point numerically and algebraically using appropriate
techniques.
c. Verify the value of a limit of a function at a point using the precise definition of the
limit,
d. Define continuity of a function at a point and in an interval. Find and classify points
of discontinuity for functions. Understand the consequences of the Intermediate
Value Theorem for continuous functions.
e. Explain the relation between limits and the process of differentiation, state the
definition of the derivative as the limit of the difference quotient and compute the
derivative of a simple function directly using limits.
f. Derive the expression for the derivative of elementary functions from the limit,
differentiate composite functions using the chain rule, perform implicit
differentiation on relations, compare and contrast the ideas of continuity and
differentiability.
g. Use the differential to determine the error of approximations. Understand the
consequences of Rolle’s Theorem and the Mean Value Theorem for differentiable
functions. Use differentiation for curve sketching and analysis thereof, identify the
extrema of a function on an interval and classify them as minima, maxima or
saddles using the first derivative test. Compute Taylor’s polynomial of specified
degree about a given point for a given function and use basic Taylor series for
computation. Use L’Hǒpital’s rule to evaluate limits.
0.6 Assessments
Formative assessment
Students may be divided into groups. Should that be the case, each student will be
expected to belong to exactly one group.
2 (major) tests may be written per semester and the marks obtained will be used to
calculate the student’s Semester mark.
Calculation of Semester Mark: 40 % (Class tests and Assignments) and 60% Major
Tests.
vi
CONTENTS 0.7. SUPPORT RESOURCES
To qualify to write the examination a student must get an average of at least 40% in the
formative assessments.
Summative Assessment A three hour examination paper out of 100 marks is written at
the end of the semester.
Pass Requirements The final Pass Mark is 50%
Final Mark Compilation: Semester Mark +Examination Mark 60% + 40% A student
must get a subminimum mark of 40% in the examination.
Assessment Dates (To be announced)
• Stewart, James (2021), Calculus. 9th Edition. Brooks/ Cole Publishing Company.
(Any edition will do)
• Soo T, Tan. (2010). Calculus. Brooks/ Cole Publishing Company. (Any edition will
do)
• Salas; Hille; Etgen(2007) Calculus, One and Serveral Variables. John Wiley and
Sons,Inc (Any edition will do)
• Thomas B, George; Wier D, Maurice and Hass R, Joel (2010). Thomas’ Calculus.
Pearson Education. (Any edition will do)
The discretion of the lecturer will play a major role in the making of the final
decision.
vii
0.9. GENERAL RULES CONTENTS
• Noise (or any form of disturbance) will NOT be tolerated during contact or virtual
lectures.
• Test dates and venues will be announced during lectures, on Moodle andor shared
via Whatsapp.
• A student who copies other student’s work or allows others to copy (tests,
assignments, etc.) his/her work will be given a zero.
• Students are strongly discouraged from hiring people to write assignments for
them.
"When you have eliminated the impossible, whatever remains, however improbable, must
be the truth." - Sir Arthur Conan Doyle
viii
Chapter 1
Preliminaries
Sets
A set is a collection of distinct objects. The objects in a set are called the elements or
members of the set. We shall denote sets by capital letters A, B,C, ... and use lowercase
letters a, b, c, ... to denote elements. We say
Real Numbers R
Order Properties
i. Either a < b, b < a, or a = b.
1
CHAPTER 1. PRELIMINARIES
Boundedness
A set S of real numbers is said to be:
i. Bounded above if ∃ M ∈ R such that x ≤ M ∀ x ∈ S such a number M is called an
upper bound for S.
ii. Bounded below if ∃ m ∈ R such that m ≤ x ∀ x ∈ S such a number m is called a
lower bound for S.
iii. Bounded if it is bounded above and below.
Factorials
Let n be a positive integer. By n factorial, denoted n!, we mean the product of all the
natural numbers from n down to 1:
n! = n(n − 1)(n − 2)(n − 3) · · · 3· 2· 1
In particular
1! = 1,
2! = 2· 1 = 2
4! = 4· 3· 2· 1 = 24
For convinience we define
0! = 1.
a 6= 0 : a0 = 1, a p = 1/a p
laws of exponents a p+q = a p aq , a pq = a p aq , (aq ) p = a pq
a real, q odd a1/q , called the qth root of a, is the number b such that bq = a
a nonnegative, q even a1/q is the nonnegative number b such that bq = a
√ √
notation a1/q can be written q a (a1/2 is written a)
rational exponents a p/q = (a1/q ) p
Basic Formulas
(a + b)2 = a2 + 2ab + b2
(a − b)2 = a2 − 2ab + b2
(a + b)3 = a3 + 3a2 b + 3ab2 + b3
(a − b)3 = a3 − 3a2 b + 3ab2 − b3
a2 − b2 = (a − b)(a + b)
a3 − b3 = (a − b)(a2 + ab + b2 )
a3 + b3 = (a + b)(a2 − ab + b2 )
2
CHAPTER 1. PRELIMINARIES
Quadratic Equations
The roots of a quadratic equation
ax2 + bx + c = 0
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.
For our purposes, we shall consider functions for which the sets D and E are sets of real
numbers. y = f (x) is the value of f at x and is read "y equals f of x”. The set D of all
possible input values is called the domain of the function. The range of f is the set of all
output values of f (x) as x varies throughout the domain D. A symbol that represents an
arbitrary number in the domain of a function f is called an independent variable. A
symbol that represents a number in the range is called a dependent variable. Functions
are tools for describing the real world in Mathematical terms. A function can be
represented by an equation, a graph, a numerical table, or verbal description.
whose graph is as shown. The right-hand side of the equation means that the function
equals x if x ≥ 0 and the left-hand side means the function equals −x if x < 0. For
example, |5| = 5, |−5| = −(−5) = 5, |π − 5| = −(π − 5) (which is positive).
Geometric interpretation
3
CHAPTER 1. PRELIMINARIES
• |a| = distance between a and 0. (Distance is always positive or zero, so |a| ≥ 0.)
4
CHAPTER 1. PRELIMINARIES
Solution 6 Exercise.
Example 7 The function whose value at any number x is the greatest integer less or
equal to x is called the greatest integer function or the integer floor function. It is
denoted by bxc. Observe that
b2.4c = 2 b1.9c = 1
b2c = 2 b−0.3c = −1
Example 8 The function whose value at any number x is the smallest integer greater or
equal to x is called the least integer function or the integer ceiling function. It is denoted
by dxe. Observe that
d2.4e = 3 d0.7e = 1
d1.8e = 2 d−0.8e = 0
1.0.3 Symmetry
Definition 9 A function y = f (x) is an
even function of x if f (−x) = f (x)
odd function of x if f (−x) = − f (x)
for every x in the function’s domain.
The graph of an even function is symmetric about the y−axis. A reflection about the
y−axis leaves the graph unchanged.
The graph of an odd function is symmetric about the origin. A rotation of the graph of f
through π radians (180◦ ) about the origin leaves the graph unchanged.
Example 10 Determine whether each of the following functions is even , odd or neither
even or odd.
(a) f (x) = x7 + x (b) g (x) = 1 − x8 (c) h (x) = 4x − x4
Solution 11 Exercise.
5
CHAPTER 1. PRELIMINARIES
1.0.4 Polynomials
A function P is called a polynomial if
P (x) = an xn + an−1 xn−1 + · · · + a2 x2 + a1 x + a0
n
= ∑ ak xk
k=0
where n is a positive integer and the numbers a0 , a1 , · · · an are constants called the
coefficients of the polynomial. The domain of any polynomial is R = (−∞, ∞) . If the
leading coefficient an 6= 0, then the degree of the polynomial is n.
6
CHAPTER 1. PRELIMINARIES
π
• To convert degrees to radians, multiply by .
180◦
180◦
• To convert radians to degrees, multiply by .
π
The table below shows the equivalence between degree and radian measures for some
special angles.
Degrees 0◦ 30◦ 45◦ 60◦ 90◦ 120◦ 135◦ 150◦ 180◦ 270◦ 360◦
π π π π 2π 3π 5π 3π
Radians 0 π 2π
6 4 3 2 3 4 6 2
opp hyp
sine: sin θ = cosecant: csc θ =
hyp opp
ad j hyp
cosine: cos θ = secant: sec θ =
hyp ad j
opp ad j
tangent: tan θ = cotangent: cot θ =
ad j opp
7
CHAPTER 1. PRELIMINARIES
f (x) = ax
( f ◦ g) (x) = f (g (x))
The domain of f ◦ g is the set of all x in the domain of g such that g (x) is in the domain of
f.
8
CHAPTER 1. PRELIMINARIES
√ √
Example 14 If f (x) = x and g (x) = 2 − x, find each function and its domain.
(a) f ◦ g (b) g ◦ f (c) f ◦ f (d) g ◦ g
√ p√ √
Solution 15 (a) ( f ◦ g) (x) = f (g (x)) = f 2−x = 2−x = 4 2−x
Domain of f ◦ g is {x|2 − x ≥ 0} = {x|x p ≤ 2} = (−∞, 2]
√ √ √
(b) (g ◦ f ) (x) = g ( f (x)) = g ( x) = 2 − x. For x to be defined we must have x ≥ 0.
p √ √ √
For 2 − x to be defined we must have 2 − x ≥ 0, that is x ≤ 2 or x ≤ 4. Thus we
have 0 ≤ x ≤ 4, so the domain of g ◦ f is the closed interval [0, 4] . (c) and (d) are left as
an exercise.
Exercise 16 .
9
CHAPTER 1. PRELIMINARIES
10
Chapter 2
Limits
is f (x) → L as x → a.
Example 18 . Use the graph of the function f shown in the figure to find the given limit,
if it exists,
a. lim f (x) c. lim f (x) e. lim f (x)
x→1 x→5 x→10
b. lim f (x) d. lim f (x)
x→3 x→7
Figure 2.1
11
2.1. THE LIMIT OF A FUNCTION CHAPTER 2. LIMITS
Figure 2.2
Example 22 Draw a sketch graph and discuss the behaviour of the following functions,
explaining why their limit as x → 0 does not exist.
0, x<0
(a) u(x) =
1, x≥0
1
(
, x 6= 0
(b) g(x) = x
0, x=0
Solution 23 (a) The function jumps: The unit step function u (x) has no limit as x → 0
because its values jump at x = 0. For the negative values of x arbitrarly close to zero,
u (x) = 0.
For positive values of x arbitrarly close to zero, u (x) = 1. There is no single value L
approached by u (x) as x → 0.
(b) The function grows too "large " to have a limit: g (x) has no limit as x → 0 because the
values of g grow arbitrarly large in absolute value as x → 0 and therefore do not stay close
to any fixed real number. We say the function is not bounded.
12
CHAPTER 2. LIMITS 2.1. THE LIMIT OF A FUNCTION
Figure 2.3
Figure 2.4
Definition 25 Let f be a function defined for all values of x close to but less than a. Then
the left-hand limit of f (x) as x approaches a is equal to L, written
lim f (x) = L
x→a−
The above two limits are often refered to as one sided limits whereas lim f (x) is a two
x→a
sided limit.
Let f be a function defined on an open interval containing a, with the possible exception
of a itself. Then
lim f (x) = L if and only if lim f (x) = lim f (x) = L
x→a x→a+ x→a−
Thus the (two sided) limit exists if and only if the one-sided limits exist and are
equal.
13
2.1. THE LIMIT OF A FUNCTION CHAPTER 2. LIMITS
Use the graph to find lim f (x) , lim f (x) and lim f (x) .
x→1+ x→1− x→1
Solution 27 Exercise
|x|
Example 28 Find lim .
x→0 x
Figure 2.5
Solution 29
|x| x
lim = lim = lim 1 = 1
x→0+ x x→0+ x x→0+
|x| −x
lim = lim = lim −1 = −1
x→0− x x→0− x x→0−
|x|
Since the right- and left-hand limits are different, it follows that lim does not exist.
x→0 x
Example 30 If √
x − 4 if x > 4
f (x) =
8 − 2x if x < 4
determine whether lim f (x) exists.
x→4
Solution 31 Exercise.
exist. Then
14
CHAPTER 2. LIMITS 2.1. THE LIMIT OF A FUNCTION
If we use the Product Law repeatedly with g (x) = f (x) , we obtain the following law.
h in
6. lim [ f (x)]n = lim f (x) where n is a positive integer
x→a x→a
In applying these six limit laws, we need to use two special limits:
7. lim c = c
x→a
8. lim x = a
x→a
15
2.1. THE LIMIT OF A FUNCTION CHAPTER 2. LIMITS
Solution 35 Exercise.
Example 36 Evaluate
(3 + h)2 − 9
lim
h→0 h
Solution 37 Exercise
Example 38 Find √
x2 + 100 − 10
lim
x→0 x2
Solution 39 Exercise
Theorem 40 The Squeeze Theorem If f (x) ≤ g (x) ≤ h (x) when x is near a (except
possibly at a) and
lim f (x) = lim h (x) = L
x→a x→a
then
lim g (x) = L
x→a
The Squeeze Theorem is sometimes called the Sandwich Theorem or the Pinching
Theorem.
Figure 2.6
16
CHAPTER 2. LIMITS 2.1. THE LIMIT OF A FUNCTION
Figure 2.7
1
Taking f (x) = −x2 , g (x) = x2 sin , and h (x) = x2 in the Squeeze Theorem, we obtain
x
1
lim x2 sin =0
x→0 x
Theorem 43
sin x
lim =1
x→0 x
Proof.
π
First, suppose that 0 < x < . Figure 2.8 shows a sector with radius 1, length PB = sin x,
2
length OB = cos x and length OA = 1. Also OAQ is a right triangle, we have length
Figure 2.8
1 sin x
QA = tan x. Now, Area ∆OAP = (1) sin x = Area sector
2 2
1 x 1 sin x
OAP = (1)2 x = Area ∆OAQ = (1) tan x = . Since
2 2 2 2 cos x
∆OAP ⊆ sector OAP ⊆ ∆OAQ,
17
2.1. THE LIMIT OF A FUNCTION CHAPTER 2. LIMITS
we have ,
sin x x sin x
< <
2 2 2 cos x
x 1
1 < <
sin x cos x
sin x
cos x < <1
x
We can apply Squeeze Theorem. Since
Example 45 Find
sin 2x
lim
x→0 5x
Exercise 46 .
1. lim x2 − 1 x2 − 81
11. lim (|x| − 2)
x→−2 6. lim √ x→−3
x→9 x − 3
√ √
2. lim (x3 − 2x2 + 4x + 8) 9−t 12. lim 3
2x − 2x
x→−2 7. lim √ x→2
t→9 3 − t
3. lim (8 − 3s) (2s − 1)
s→2/3 (3 + h)−1 − 3−1 13. lim (5 − y)4/3
8. lim y→−3
h→0 h
y+3
4. lim 5y3 + 8y2 sec 2x
y→3 y2 − 6y + 6 9. lim 14. lim √
y→0 3y4 − 16y2 x→0 x + 4
1 1 2x − 6 √
5. lim √ − 10. lim 15. lim x2 + 2x + 1
x→0 x 1 + x x x→3 x − 3 x→4
1, x 6= 0 3x, x < 1
16. lim f (x); f (x) = 17. lim f (x); f (x) =
x→0 3, x = 0 x→1 x + 2, x ≥ 1
18
CHAPTER 2. LIMITS 2.2. INFINITE LIMITS
3x, x < 1 x
18. lim f (x); f (x) = 21. lim
x→1 3, x > 1 x→0 (x + 2)2 − (x − 2)2
1 1
1, x 6= 0 +
19. lim f (x); f (x) =
x→0 3, x = 0 22. lim x − 1 x + 1
x→0 x
√ √ √
w + 1 − w2 + 4 x2 + 8 − 3
20. lim 23. lim
w→0 (w + 2)2 − (w + 1)2 x→−1 x+1
24. lim sin2 x 1 + x + sin x 4−x
x→0 26. lim 28. lim √
x→2 3 cos x x→4 5 − x2 + 9
sin θ
Using lim = 1, find the following limits:
θ →0 θ
√
sin 3θ sin2 3x 1 − cos x
29. lim √ 36. lim 43. lim
θ →0 3θ x→0 5x2 x→π/4 x
sin 3t sin kt
30. lim 37. lim x2 − 2x
t→0 sin 2t t→0 t 44. lim
x→0 sin 3x
sin 3y 1 − sec2 2x
31. lim 38. lim
y→0 4y x→0 x2 2x2 + x
45. lim
sin2 x2 x→0 sin x
h
32. lim 39. lim
h→0− sin 3h x→0 x2
sin θ
sin (x − 1) 46. lim
tan 2x 40. lim 2 θ →0 sin 2θ
33. lim x→1 x + x − 2
x→0 x
sec x − 1
sin 4x sin2 x 47. lim
34. lim 41. lim x→0 x sec x
x→0 sin 6x x→0 x(1 − cos2 x)
1
Solution 48 As x becomes close to 0, x2 also becomes close to 0, and becomes very
x2
large. In fact from the graph of f (x) = 1/x2 the values of f (x) can be made arbitrarly
large by taking x close enough to 0. The values of f (x) does not approach a number so
1
lim 2 does not exist and as such we write
x→0 x
1
lim = ∞.
x→0 x2
19
2.2. INFINITE LIMITS CHAPTER 2. LIMITS
Figure 2.9
means that the values of f (x) can be made arbitrarly large (as large as we please) by
taking x sufficiently close to a, but not equal to a.
Figure 2.10
means that the values of f (x) can be made arbitrarly large negative (as large as we
please) by taking x sufficiently close to a, but not equal to a.
Figure 2.11
20
CHAPTER 2. LIMITS 2.2. INFINITE LIMITS
2x 2x
Example 52 Find lim and lim .
x→3+ x−3 x→3 x − 3
−
Figure 2.12
2x
This shows that the line x = 3 is a vertical asymptote of the curve y = .
x−3
Definition 54 Let f be a function defined on some interval (a, ∞) . Then
lim f (x) = L
x→∞
means that the values of f (x) can be made arbitrarly close to L by taking x sufficiently
large.
The geometric illustrations of the above definition are shown in the figure below. Notice
that there are many ways for the graph of f to approach the line y = L (which is called the
horizontal asymptote ) as we look to the far right of each graph. The general definition is
21
2.2. INFINITE LIMITS CHAPTER 2. LIMITS
lim f (x) = L
x→∞
means that the values of f (x) can be made arbitrarly close to L by taking x sufficiently
large negative.
Figure 2.14
Example 56 Evaluate
3x2 − x − 2
lim
x→∞ 5x2 + 3x + 1
22
CHAPTER 2. LIMITS 2.2. INFINITE LIMITS
assume that x 6= 0, since we are interested only in large values of x.) In this case the
highest power of x in the denominator is x2 , so we have
3x2 − x − 2 1 2
3x2 − x − 2 2
3− − 2
lim = lim 2 x = lim x x
x→∞ 5x2 + 3x + 1 x→∞ 5x + 3x + 1 x→∞ 4 1
5+ + 2
x 2 x x
1 2 1 2
lim 3 − − 2 lim 3 − − 2
x→∞ x x x→∞ x x
= =
4 1 4 1
lim 5 + + 2 lim 5 + + 2
x→∞ x x x→∞ x x
1 2
lim 3 − lim − lim 2 3−0−0 3
x→∞ x x→∞ x
= x→∞ = =
4 1 5+0+0 5
lim 5 + lim + lim 2
x→∞ x→∞ x x→∞ x
3
A similar calculation shows that the limit as x → −∞ is also . The figure below illustrate
5
the results of these calculations by showing how the graph of the given rational function
3
approaches the horizontal asymptote y = .
5
Figure 2.15
23
2.2. INFINITE LIMITS CHAPTER 2. LIMITS
(a) The behaviour as x → ±∞. Since lim f (x) = 0, the line y = 0 is a horizontal
x→∞
asymptote of the graph to the right. By symmetry it is an asymptote to the left as
well.(see the figure below).
the line x = 2 is the vertical asymptote both from the right and from the left. By
symmetry, the line x = −2 is also a vertical asymptote.
Example 62 Find the horizontal and vertical asymptotes of the graph of the function
√
2x2 + 1
f (x) =
3x − 5
Solution 63 Dividing both the numerator and the denominator by x and using the
properties of limits, we have
r
√ 1 √ √
2 2+ 2
2x + 1 x 2+0 2
lim = lim = = .
x→∞ 3x − 5 x→∞ 5 3 − 5.0 3
3−
x
√
Therefore the line y = 2/3 is a horizontal asymptote of the √
graph of f . In computing the
limit as x → −∞, we must remember that for x < 0, we have x2 = |x| = −x. So when we
divide the numerator by x, for x < 0 we get
r
1p 2 1 p 2 1
2x + 1 = − √ 2x + 1 = − 2 + 2
x x2 x
Therefore r
√ 1 √
− 2+ 2
2x2 + 1 x 2
lim = lim =−
x→−∞ 3x − 5 x→−∞ 5 3
3−
x
24
CHAPTER 2. LIMITS 2.2. INFINITE LIMITS
√
2
Thus the line y = − is also the horizontal asymptote. A vertical asymptote is likely to
3
5 5 5
occur when the denominator 3x − 5, is 0, that is when x = . If x is close to and x > ,
3 √ 3 3
then the denominator is close to 0 and 3x − 5 is positive. The numerator 2x2 + 1 is
always positive, so f (x) is positive. Therefore
√
2x2 + 1
lim =∞
x→(5/3)+ 3x − 5
5 5
If x is close to but x < , then 3x − 5 < 0 and so f (x) is large negative. Thus
3 3
√
2x2 + 1
lim = −∞
x→(5/3)− 3x − 5
5
The vertical asymptote is x = . All three asymptotes are shown in the figure below.
3
Figure 2.17
Example 64 Compute p
lim x2 + 2x + 1 + x
x→−∞
25
2.2. INFINITE LIMITS CHAPTER 2. LIMITS
26
CHAPTER 2. LIMITS 2.3. THE PRECISE DEFINITION OF THE LIMIT
Figure 2.19
can be given in terms of the graph of a function. If ε > 0 is given, then we can draw
horizontal lines y = L + ε and y = L − ε and the graph of f . If lim f (x) = L, then we can
x→a
find a number δ > 0 such that if we restrict x to lie in the interval (a − δ , a + δ ) and take
x 6= a then the curve y = f (x) lie between the lines y = L − ε and y = L + ε.
Figure 2.20
Given ε > 0, we seek δ > 0 such that |(3x − 5) − 4| < ε whenever 0 < |x − 3| < δ .
Finding δ :
Now |(3x − 5) − 4| = |3x − 9| = 3 |x − 3| < 3δ .
ε ε
That is |x − 3| < whenever 0 < |x − 3| < δ . This suggests we should choose δ = .
3 3
ε
Proof: Given ε > 0, choose δ = . Suppose 0 < |x − 3| < δ then
3 ε
|(3x − 5) − 4| = |3x − 9| = 3 |x − 3| < 3δ = 3 = ε. Thus |(3x − 5) − 4| < ε
3
whenever 0 < |x − 3| < δ . Therefore by definition of the limit,
lim (3x − 5) = 4.
x→3
27
2.3. THE PRECISE DEFINITION OF THE LIMIT CHAPTER 2. LIMITS
Finding δ :
Let ε > 0 be given. We seek a δ > 0 such that
2
x − 25 < ε whenever 0 < |x − 5| < δ .
But
2
x − 25 = |(x + 5) (x − 5)|
= |x + 5| |x − 5|
Notice that if we can find a positive constant C such that |x + 5| < C, then
|x + 5| |x − 5| < C |x − 5|
To find C, we restrict x to lie in some interval centered at 5. It is reasonable to
assume that x lies within a distance 1 from 5, that is ,
|x − 5| < 1
then
−1 < x − 5 < 1
4 < x<6
so
9 < x + 5 < 11
Thus we have
|x + 5| < 11
and so C = 11 is the reasonable choice. But there are two restrictions on |x − 5| ,
namely
ε ε
|x − 5| < 1 and |x − 5| < =
C 11
So we choose n ε o
δ = min 1,
11
Proof:
n ε o
Given ε > 0, choose δ = min 1, . Suppose 0 < |x − 5| < δ , then
11
|x − 5| < 1 =⇒ −1 < x − 5 < 1
4 < x < 6 =⇒ |x + 5| < 11
We also have
ε
|x − 5| <
11
so
x − 25 = |x + 5| |x − 5| < 11 · ε = ε
2
11
This shows that
lim x2 = 25.
x→5
28
CHAPTER 2. LIMITS 2.3. THE PRECISE DEFINITION OF THE LIMIT
Finding δ :
√
√ √
x − 5 = x − 5 . (√x + 5)
( x + 5)
√
x − 25
= √ Note that x + 5 is greater than 5, so
x+5
|x − 25|
< <ε
5
Thus |x − 25| < 5ε and so δ = 5ε.
29
2.4. CONTINUITY CHAPTER 2. LIMITS
Proof: Given ε > 0. Choose δ = 5ε. Suppose 0 < |x − 25| < δ , then
√
√ √
( x + 5)
x − 5 = x − 5 . √
( x + 5)
x − 25
= √
x + 5
1 1
< |x − 25| < .5ε = ε
5 5
√
Thus lim x = 5.
x→25
Exercise 74 Use the precice definition of the limit to prove the following :
(a) lim 3x = 6 (b) lim (2x + 3) = −1
x→2 x→−2
(c) lim x2 = 4 (d) lim 2x2 − 7 = −5
x→2 x→1 √
(e) lim (x2 − 3x + 5) = 3 (f) lim x = 2
x→2 √ x→4
(g) lim 3x − 5 = 2 (h) lim x3 = 8
x→3 x→2
2.4 Continuity
Priviously, we noticed that the limit of a function as x approaches a can often be found
simply by calculating the value of a function at a. Functions with this property are called
continuous functions.
A continuous function has the property that a small change in x produces only a small
change in f (x) . If f is defined near a ( in other words, f is defined on an open interval
containing a, except perhaps at a) we say that f is discontinuous at a (or f has a
discontinuity at a) if f is not continuous at a.
Example 76 Figure 2.21 (b) shows the graph of a function f . At which numbers is f
discontinuous? Why?
30
CHAPTER 2. LIMITS 2.4. CONTINUITY
(b)
(a)
dicontinuous at 3. What about a = 5? Here, f (5) is defined and lim f (x) exists (because
x→5
the left and right limits are the same). But
So f is discontinuous at 5.
x2 − x − 2
(a) f (x) =
x−2
1
(
if x 6= 0
(b) f (x) = x2
1 if x = 0
x2 − x − 2
(c) f (x) = if x 6= 2
1 x−2 if x = 2
Solution 79 .
x2 − x − 2 (x − 2) (x + 1)
lim f (x) = lim = lim = lim (x + 1) = 3
x→2 x→2 x−2 x→2 x−2 x→2
exists. But
lim f (x) 6= f (2)
x→2
31
2.4. CONTINUITY CHAPTER 2. LIMITS
The figure below shows the graphs of the functions in the above example. In each case the
graph can’t be drawn without lifting the pen from the paper because a hole or break or
jump occurs in the graph. The kind of discontinuity illustrated in parts (a) and (c) is called
removable because we could remove the discontinuity by redefining f at just the single
number 2. [The function g(x) = x + 1 is continuous]. The discontinuity in part (b) is
called an infinite discontinuity.
(a) (c)
(b)
32
CHAPTER 2. LIMITS 2.4. CONTINUITY
1. f ± g
2. c f
3. f g
4. f /g if g (a) 6= 0
5. f n , n a positive integer
√
6. n f , provided it is defined on an open interval containing c, where n is a positive
integer.
It is worth noting that all six trigonometric functions are continuous wherever they are
defined.
33
2.4. CONTINUITY CHAPTER 2. LIMITS
3. Let
x + 2 if x ≤ 1
f (x) =
kx2 if x > 1
Find the value of k that will make f continuous on (−∞, ∞) .
4. Let
ax + b if x < 1
f (x) = 4 if x = 1
2ax − b if x > 1
5. For what value of the constant c is the function f continuous on (−∞, ∞)?
2
cx + 2x if x < 2
f (x) =
x3 − cx if x ≥ 2
6. Find the value of a and b that make the function f continuous everywhere.
2
x −4
if x<2
f (x) = x−2
2
ax − bx + 3 if 2≤x<3
2x − a + b if x≥3
sin 2x
(
if x 6= 0
f (x) = x
c if x = 0
continuous at 2?
34
Chapter 3
Differentiation
The problem of finding the tangent line to a curve and the problem of finding the velocity
of an object both involve finding the same limit. This special type of limit is called the
derivative.
3.1 Tangents
If a curve C has equation y = f (x) and we want to find the tangent line to C, at a point
P (a, f (a)) , then we consider a nearby point Q (x, f (x)) where x 6= a, and compute the
slope of a secant line PQ :
f (x) − f (a)
m pq =
x−a
Then we let Q approach P along the curve C by letting x approach a. If m pq approaches a
number m, then we define the tangent t to be the line through P with slope (gradient) m.
This amounts to saying that the tangent line is the limiting position of the secant line PQ
as Q approaches P.
Figure 3.1
Definition 88 The tangent line to the curve y = f (x) at the point P (a, f (a)) is the line
through P with slope (gradient)
f (x) − f (a)
m pq = mT = lim
x→a x−a
provided that this limit exists.
35
3.2. THE DERIVATIVE AS A FUNCTION CHAPTER 3. DIFFERENTIATION
Example 89 Find the equation of the tangent line to the parabola y = x2 at the point
P (1, 1) .
f (x) − f (1) x2 − 1
m = lim = lim
x→1 x−1 x→1 x − 1
(x − 1) (x + 1)
= lim = lim (x + 1) = 1 + 1 = 2
x→1 x−1 x→1
Using the point slope form of the equation of a straight line we find that the equation of
the tangent line at (1, 1) is
y − 1 = 2 (x − 1) = 2x − 1.
Another more convinient way of expressing the slope (gradient) of a secant line is
f (a + h) − f (a)
m pq =
h
where h = x − a and x = a + h. As such the slope (gradient) of a tangent line in the
definition above becomes
f (a + h) − f (a)
mT = lim
h→0 h
Figure 3.2
3
Example 91 Find the equation of the tangent line to the hyperbola y = at the point
x
(3, 1) .
Solution 92 Exercise.
36
CHAPTER 3. DIFFERENTIATION 3.2. THE DERIVATIVE AS A FUNCTION
Definition 93 The derivative of a function f (x) with respect to the variable x is the
function f 0 whose value at x is
f (x + h) − f (x)
f 0 (x) = lim
h→0 h
provided the limit exists.
f (z) − f (x)
f 0 (x) = lim
z→x z−x
f (x + h) − f (x)
Example 94 Use the definition f 0 (x) = lim to find the derivative of
h→0 h
x 1−x
f (x) = and f (x) =
x−1 2+x
Solution 95 Exercise.
f (z) − f (x)
Example 96 Use the altenative definition f 0 (x) = lim to find the derivative
√ z→x z−x
of f (x) = x.
Solution 97 Exercise.
f (x + h) − f (x)
h
and taking the limit as h tends to 0.
√
(a) f (x) = 2 − 3x (b) f (x) = x−1
1 1
(c) f (x) = 2 (d) f (x) = √
x √ x
(e) f (x) = x + x
37
3.2. THE DERIVATIVE AS A FUNCTION CHAPTER 3. DIFFERENTIATION
Notation 98 There are many ways to denote the derivative of a function y = f (x) where
the independent variable is x and the dependent variable is y. Some common notations for
the derivative are
dy d f d
f 0 (x) = y0 = = = f (x) = D ( f ) (x) = Dx f (x) = ẏ
dx dx dx
The symbols D and d/dx are called differentiation operators because they indicate the
operation of differentiation.
dy
If we want to indicate the value of a derivative in Leibniz natation at a specific number
dx
dy
a, we use the notation which is a synonym for f 0 (a) .
dx x=a
or equivalently that
lim f (a + h) = f (a)
h→0
If h 6= 0, then
f (a + h) = f (a) + ( f (a + h) − f (a))
f (a + h) − f (a)
= f (a) + · h.
h
Now take the limits as h → 0
f (a + h) − f (a)
lim f (a + h) = lim f (a) + lim · lim h
h→0 h→0 h→0 h h→0
0
= f (a) + f (a) · 0
= f (a) .
38
CHAPTER 3. DIFFERENTIATION 3.3. DIFFERENTIATION RULES
Figure 3.3
d 4
(a) x = 4x3
dx
dy
(b) If y = x100 , then = 100x99
dx
√3 2 dy
(c) If y = x , find .
dx
dy 2 2
y = x2/3 and so, = x2/3−1 = x−1/3
dx 3 3
√
(d) Find the derivative of y = x2+π . The solution is left as an exercise.
Example
√ 105 Find the equations of the tangent line and normal line to the curve
y = x x at the point (1, 1) .
39
3.3. DIFFERENTIATION RULES CHAPTER 3. DIFFERENTIATION
√
Solution 106 The derivative of y = f (x) = x x = x · x1/2 = x3/2 is
dy 3 3√
= f 0 (x) = x1/2 = x
dx 2 2
3
So the slope of the tangent line at (1, 1) is f 0 (1) = . Therefore the equation of the
2
tangent line is
3 3 1
y − 1 = (x − 1) or y = x −
2 2 2
The normal line is perpendicular to the tangent line, so its slope is the negative reciprocal
3 −2
of , that is . Thus the equation of the normal line is
2 3
2 2 5
y − 1 = − (x − 1) or y = − x +
3 3 3
The Constant Multiple Rule
d
If f is a differentiable function and c is a constant, then [c f (x)] = c · f 0 (x)
dx
The sum/ Difference Rule
If f and g are both differentiable functions of x, then
d d d
[ f (x) ± g (x)] = f (x) ± g (x)
dx dx dx
Example 107
d 8 d 8 d 5 d 4
x + 12x5 − 4x4 + 10x3 − 6x + 5 = x + 12 x −4 x
dx dx dx dx
d 3 d d
+10 x − 6 (x) + (5)
dx dx 3 dx
= 8x + 12 5x − 4 4x + 10 3x2 − 6 + 0
7 4
x = 0, −1, 1.
The curve
y = x4 − 2x2 + 2
has horizontal tangents at x = −1, x = 0 and x = 1.
40
CHAPTER 3. DIFFERENTIATION 3.3. DIFFERENTIATION RULES
Theorem 109 (The Product Rule) If f and g are differentiable functions, then
d d d
[ f (x) · g (x)] = f (x) [g (x)] + g (x) [ f (x)]
dx dx dx
Proof. We form the difference quotient
f (x + h) g (x + h) − f (x) g (x)
h
f (x + h) g (x + h) − f (x + h) g (x) + f (x + h) g (x) − f (x) g (x)
=
h
and write it as
g (x + h) − g (x) f (x + h) − f (x)
f (x + h) + g (x)
h h
lim f (x + h) = f (x)
h→0
Since
g (x + h) − g (x)
lim = g0 (x)
h→0 h
and
f (x + h) − f (x)
lim = f 0 (x)
h→0 h
we obtain
g (x + h) − g (x) f (x + h) − f (x)
lim f (x + h) lim + g (x) lim
h→0 h→0 h h→0 h
d d
= f (x) [g (x)] + g (x) [ f (x)]
dx dx
Theorem 110 (The Quotient Rule) If f and g are differentiable functions and g (x) 6= 0,
then
g (x) f 0 (x) − f (x) g0 (x)
d f (x)
=
dx g (x) [g (x)]2
Proof.
f (x + h) f (x)
−
d f (x) g (x + h) g (x)
= lim
dx g (x) h→0 h
f (x + h) f (x) 1
lim − ·
h→0 g (x + h) g (x) h
g (x) f (x + h) − f (x) g (x + h) 1
= lim ·
h→0 g (x) g (x + h) h
41
3.3. DIFFERENTIATION RULES CHAPTER 3. DIFFERENTIATION
Taking the limits in the numerator and the denominator now gives the Quotient Rule.
y = x2 + 1 x3 + 3
d dv du
Solution 112 We use the product rule : (uv) = u + v .
dx dx dx
dy
= x2 + 1 3x2 + x3 + 3x (2x)
dx
= 3x4 + 3x2 + 2x4 + 6x
= 5x4 + 3x2 + 6x
t2 − 1
y=
t3 + 1
d u v · u0 − u · v0
Solution 114 We use quotient rule: = .
dx v v2
t 3 + 1 (2t) − t 2 − 1 3t 2
dy
= 2
dt (t 3 + 1)
2t 4 + 2t − 3t 4 + 3t 2
= 2
(t 3 + 1)
−t 4 + 3t 2 + 2t
= 2
(t 3 + 1)
d d n
(c) = 0 (x ) = nxn−1
dx 0 dx 0
( f · g) = f g0 + g f 0 (c f ) = c f 0
0
f g f 0 − f g0
( f ± g)0 = f 0 ± g0 =
g g2
Higher Order Derivatives
42
CHAPTER 3. DIFFERENTIATION 3.3. DIFFERENTIATION RULES
d2y dy0
00 d dy
f (x) = 2 = = = y00 = D2x f (x) = ...
dx dx dx dx
Higher order derivatives may also be found
2x2 + 1 x3 − 1
f (x) =
x2 + 4
at the point where x = 1.
43
3.3. DIFFERENTIATION RULES CHAPTER 3. DIFFERENTIATION
d3y
8. Find .
dx3
1 1 1
(a) y = x3 + x2 + x + 1 (b) y = x3 −
3√ 2 2 x3
x4 − 2
(c) y = 5 + 5x (d) y=
x
d
(sin x) = cos x
dx
Proof. . Let f (x) = sin x. Then
f (x + h) − f (x)
f 0 (x) = lim
h→0 h
sin (x + h) − sin x
= lim
h→0 h
sin x cos h + cos x sin h − sin x
= lim
h→0 h
sin x (cos h − 1) + cos x sin h
= lim
h→0
h
cos h − 1 sin h
= lim sin x · + lim cos x ·
h→0 h h→0 h
cos h − 1 sin h
= sin x lim + cos x lim
h→0 h h→0 h
= sin x · 0 + cos x · 1
= cos x.
d
Exercise 116 Show that (cos x) = − sin x.
dx
44
CHAPTER 3. DIFFERENTIATION 3.4. THE CHAIN RULE
d d
(sin x) = cos x (csc x) = − csc x cot x
dx dx
d d
(cos x) = − sin x (sec x) = sec x tan x
dx dx
d d
(tan x) = sec2 x (cot x) = − csc2 x
dx dx
sec x
Example 117 Differentiate y =
1 + tan x
d d
dy (1 + tan x)(sec x) − sec x (1 + tan x)
= dx dx
dx (1 + tan x)2
(1 + tan x) sec x tan x − sec x sec2 x
=
(1 + tan x)2
sec x tan x + tan2 x − sec2 x
=
(1 + tan x)2
sec x (tan x − 1)
= .
(1 + tan x)2
Exercise 118
1. Differentiate
√
(a) f (x) = 3x2 − 2 cos x (b) y= x sin x
1
(c) y = sin x + cot x (d) y = 2 sec x − csc x
2 cos x
(e) h (θ ) = θ csc θ − cot θ (f) y=
1 − sin x
1 − sec x
(g) y = (h) y = x2 sin x tan x
tan x
2. Prove using the definition of the derivative, that if f (x) = cos x, then f 0 (x) = − sin x.
45
3.4. THE CHAIN RULE CHAPTER 3. DIFFERENTIATION
Theorem 119 (The Chain Rule) If f (u) is differentiable at the point u = g (x) and g (x)
is differentiable at x, then the composite function
( f ◦ g) (x) = f (g (x))
is differentiable at x and
( f ◦ g)0 (x) = f 0 [g (x)] · g0 (x)
In Leibniz’s notation, if
y = f (x)
and
u = g (x)
then
dy dy du
= ·
dx du dx
dy
where is evaluated at u = g (x) .
du
”Inside
f unction”
z }| {
h (x) = f [g (x)]
|{z}
”Outside
f unction”
then h0 (x) is just the derivative of the "outside function" evaluated at the "inside function"
times the derivative of the "inside function".
Solution 121
dy 119 d 2 119
= 120 x2 + 1 x + 1 = 240x x2 + 1
·
dx dx
du dy
NOTE: If we let u = x2 + 1 and y = u120 , then = 2x and = 120u119 . So
dx du
dy dy du h
2
119 i 119
= = 2x 120 x + 1 = 240x x2 + 1 .
dx du dx
Example 122 Find the derivative
√
(a) F (x) = x2 + 1
(c) y = sin3 2x
46
CHAPTER 3. DIFFERENTIATION 3.5. IMPLICIT DIFFERENTIATION
As observed in the previous example, we can in general combine the Power Rule with the
Chain Rule to get:
x−2 9
0
Example 124 Find f (x) if f (x) =
2x + 1
dy 1
Example 125 Find if y = √
3 2
dy x +x+1
Exercise 127
47
3.5. IMPLICIT DIFFERENTIATION CHAPTER 3. DIFFERENTIATION
dy dy
2. Collect the terms with (or y0 ) on one side of the equation and solve for (or
dx dx
y0 ).
dy
Example 128 Find if y2 = x2 + sin xy.
dx
Solution 129
d 2 d 2 d
y = x + (sin xy)
dx dx dx
dy d
2y = 2x + (cos xy) (sin xy)
dx dx
dy dy
2y = 2x + (cos xy) y + x
dx dx
dy dy
2y = 2x + y (cos xy) + x (cos xy)
dx dx
dy dy
2y − x (cos xy) = 2x + y (cos xy)
dx dx
dy
[2y − x (cos xy)] = 2x + y (cos xy)
dx
dy 2x + y cos xy
=
dx 2y − x cos xy
dy
1. Find by implicit differentiation
dx
(a) xy2 + yx2 − 2 = 0 (b) x2 y + 2xy2 −x + 3 = 0
√ √
(c) px + y = 1 (d) tan2 x3 + y3 = xy
(e) 1 + cos2 y = xy (f) 1 + x = sin(xy2 )
y5 +x2y3 = 1 + x4 y (h) y sin x2 = x sin y2
(g)
x y
(i) tan = x+y (j) tan (x − y) =
y 1 + x2
d2y
Example 130 Find if 2x3 − 3y2 = 8
dx2
Solution 131
d d
2x3 − 3y2 =
(8)
dx dx
6x2 − 6yy0 = 0
x2
y0 = , when y 6= 0
y
48
CHAPTER 3. DIFFERENTIATION 3.6. DIFFERENTIALS
d2y x2
1. Show that = −48 if x4 + y4 = 16
dx2 y7
d2y
2. Find 2
dx
(a) xy + x3 = 4
(b) x3 − y3 = 8
(c) sin x + cos y = 1
(d) tan y − xy = 0
3.6 Differentials
To find a quick way of estimating the change in y, ∆y, due to small change in x, ∆x, let us
look at the graph below.
Figure 3.4
The tangent line T lies close to the graph of f near the point of tangency at P. Therefore,
if ∆x is small, the y-coordinate of the point R on T is a good approximation of f (x + ∆x) .
Equivalently, the quantity dy is a good approximation of ∆y. Now consider the right
triangle ∆PQR. We have
dy
= tan θ
∆x
or dy = (tan θ ) ∆x. But the derivative of f gives the slope of the tangent line T, so we have
tan θ = f (x) . Therefore,
dy = f 0 (x) ∆x
The quantity dy is called the differential of y.
49
3.7. TRANSCENDENTAL FUNCTIONS CHAPTER 3. DIFFERENTIATION
π
Example 133 Find the differential of the f (x) = 2 sin x + 3 cos x at x =
4
Solution 134 dy = f 0 (x) ∆x = f 0 (x) dx
f 0 (x) = 2 cos x − 3 sin x
dy = (2 cos x − 3 sin x) dx √
π π π 2
at x = , dy = 2 cos − 3 sin =− dx
4 4 4 2
f (x) = ax
f (x) = loga x
exp (x) = ex .
(a) ex · ey = ex+y
ex
(b) = ex−y
ey
50
CHAPTER 3. DIFFERENTIATION 3.7. TRANSCENDENTAL FUNCTIONS
d x
(a) (e ) = ex
dx
d u du
(b) (e ) = eu .
dx dx
Example 139 Find the derivative
√
(a) y = e x+1
Solution 140
dy √ d
= e x+1 (x + 1)1/2
dx dx
√
x+1 1
= e (x + 1)−1/2 (1)
2
√
e x+1
= √
2 x+1
Laws of Logarithms
Theorem 141 Let A and B be positive numbers and let n be a rational number. Then
(a) ln 1 = 0
(b) ln AB = ln A + ln B
A
(c) ln = ln A − ln B
B
(d) ln An = n ln A
Definition 142 The natural exponential function denoted by exp x is the function that
satify the following conditions:
51
3.7. TRANSCENDENTAL FUNCTIONS CHAPTER 3. DIFFERENTIATION
ex = y ⇐⇒ ln y = x
x2 + 1
(a) ln √
x
x3 cos2 πx
(b) ln √
x2 + 3
d 1 du
ln u = , u > 0.
dx u dx
or equivalently,
d f 0 (x)
ln [ f (x)] =
dx f (x)
(ii) g(x) = x2 ln 2x
√
(iii) f (x) = ln x2 + 1
" 3 #
x2 2x2 + 1
(iv) y = ln √
5 − x2
Logarithmic Differentiation
This method is especially useful for differentiating functions involving, products,
quotients and/or powers that can be simplified using logarithms.
y = xcos x
52
CHAPTER 3. DIFFERENTIATION 3.7. TRANSCENDENTAL FUNCTIONS
Solution 149 We introduce the natural logarithm on both sides of the equation:
ln y = ln xcos x
ln y = cos x ln x
1 dy cos x
= − sin x ln x +
y dx x
dy h cos x i
= xcos x − sin x ln x
dx x
Example 150 Differentiate
(2x − 1)3
(a) y = √
3x + 1
s
x (x + 1) (x − 2)
(b) y = 3 2
(x + 1) (2x + 3)
Exercise
Differentiate the function.
1. f (x) = ln 1 − x2
2. g(x) = ln x2 + 4
2 √
7. f (x) = ln x + x2 − 1
ln x
3. f (x) = x (ln x)2 4. y = f (t) = t sin
x+1
8. (lnt) .
r
x cos x sint + 1
5. u = ln 6. f (x) = ln(ln x) 9. g(t) = ln
(2x + 1)3 cost + 2
f (x) = ax = ex ln a
53
3.7. TRANSCENDENTAL FUNCTIONS CHAPTER 3. DIFFERENTIATION
Theorem 153 (Derivatives of ax and au ) Let a be a positive number with a 6= 1, and let
u be adifferentiable function of x. Then
d x
(a) (a ) = ax ln a
dx
d u du
(b) (a ) = au ln a
dx dx
(b) y = 10cos 2x
Definition 155 Logarithmic function with base a denoted by loga , is a function satisfying
the relationship
y = loga x ⇐⇒ x = ay (3.1)
ln x
loga x = a > 0 and a 6= 1
ln a
d 1
(a) loga |x| = , x 6= 0
dx x ln a
d 1 du
(b) loga |u| = , u 6= 0
dx u ln a dx
Exercise 159
54
CHAPTER 3. DIFFERENTIATION 3.7. TRANSCENDENTAL FUNCTIONS
Differentiate:
1. y = e−2x 2. y = e2x+1
x ln √x
√
3. y = e4 ln x 4. y = e
1 − eex
7. y = cos 8. f (t) = sin(et ) + esint
1 + e2x
3/2 2
9. y = e2x − ln 3x 10. y = x2 ex − xex
3 e2x − 1
11. y = (3 − 2e−x ) 12. y =
e2x + 1
2
13. h(t) = t 3 − 3t f (x) = ecos x tan e2x + x
14.
√ x
17. y = ( cos x) 18. y = 10tan θ
x2
19. y = log2 (e−x cos πx) 20. y = 23
2 2x
21. y = xx 22. g(x) = √ x
3 +1
Generally speaking, the trigonometric functions, being periodic are not one-to-one and
therefore do not have inverse functions. For example the graph of y = sin x is not
one-to-one as it fails the horizontal
h π π iline test. By restricting the domain of the function
f (x) = sin x to the interval − , we observe that f (x) becomes one-to-one and has an
2 2 h π πi
inverse function with domain [−1, 1] and range − , . This function is called the
2 2
inverse sine function or the arcsine function. Thus
π π
y = sin−1 x ⇐⇒ sin y = x where − 1 ≤ x ≤ 1 and − ≤y≤
2 2
55
3.7. TRANSCENDENTAL FUNCTIONS CHAPTER 3. DIFFERENTIATION
Figure 3.5
56
CHAPTER 3. DIFFERENTIATION 3.7. TRANSCENDENTAL FUNCTIONS
Exercise
Find the derivatives of the function. Simplify where possible.
√
1. f (x) = arctan x 2. g(x) = ex sin−1 (x)
√
3. f (x) = arctan 2x 4. y = sec−1 (2 + cos x)
x x
5. y = sin[sec−1 (ln x)] 6. y= √ − arcsin
√ c2 − x2 c
7. y = tan−1 x2 − 1 + csc−1 x 8. y = tan−1 (ln |x|)
√
r
1−x
9. y = x sin−1 x + 1 − x2 10. f (x) = arctan
1+x
√
r
−1
x x−a
11. y = tan + ln 12. y = tan−1 x − 1 + x2
√a x+a
14. y = cos−1 e2x
13. y = arcsin x
HYPERBOLIC IDENTITIES
57
3.7. TRANSCENDENTAL FUNCTIONS CHAPTER 3. DIFFERENTIATION
58
CHAPTER 3. DIFFERENTIATION 3.7. TRANSCENDENTAL FUNCTIONS
d 1 du d −1 du
cosh−1 u = √ sec h−1 u = √
dx u − 1 dx
2 dx u 1 − u2 dx
d 1 du d 1 du
tanh−1 u = coth−1 u =
dx 1 − u2 dx dx 1 − u2 dx
Example 170 Find the derivative of
y = x2 sech−1 3x
1. y = ex cosh x
√
2. y = tanh x
√
3. y = x tanh−1 x + ln 1 − x2
4. y = tanh2 3x
5. y = (cosh x)1/x
sinh x
6. f (x) = x2 + 1
r
d 4 1 + tanh x 1 x/2
7. Show that = e .
dx 1 − tanh x 2
59
3.7. TRANSCENDENTAL FUNCTIONS CHAPTER 3. DIFFERENTIATION
60
Chapter 4
Applications
f (x)
lim
x→c g (x)
0 ∞
is an indeterminate form of type or , then
0 ∞
f (x) f 0 (x)
lim = lim 0
x→c g (x) x→c g (x)
provided that the limit on the right hand side exists or is infinite.
0
Solution 175 We have an indeterminate form of the type . Applying L’Hôpital’s Rule,
0
we obtain
d x
ex − 1 (e − 1) ex 1
lim = lim dx = lim =
x→0 2x x→0 d x→0 2 2
(2x)
dx
61
4.1. L’HÔPITAL’S RULE CHAPTER 4. APPLICATIONS
Solution 179 We have indeterminate form of the type ∞ − ∞. By writting the expression in
0
the parenthesis as a single fraction, we obtain an indeterminate form of the type .
0
ex − x − 1
1 1 0
lim − x = lim Type
x→0+ x e −1 x→0+ x (ex − 1) 0
x
e −1
= lim x (Apply L’Hôpital’s Rule)
x→0+ (e − 1 + xex )
ex 1
= lim x
=
x→0+ (x + 2) e 2
ln x
x ln x =
1
x
∞
the given limit can be cast in an indeterminate form of the type . Then by applying
∞
L’Hôpital’s Rule, we obtain
ln x ∞
lim (x ln x) = lim Type
x→0+ x→0+ 1 ∞
x
1
x
= lim
x→0+ 1
− 2
x
= lim (−x) = 0.
x→0+
62
CHAPTER 4. APPLICATIONS 4.1. L’HÔPITAL’S RULE
y = xx
Then
ln y = x ln x
From the last example we obtain
lim ln y = lim x ln x = 0
x→0+ x→0+
Then sin x
1 1
ln y = ln = sin x ln
x x
and
1
lim ln y = lim (sin x) ln
x→0+ x→0+ x
63
4.1. L’HÔPITAL’S RULE CHAPTER 4. APPLICATIONS
Therefore,
sin x
1 lim ln y
lim = lim y = lim eln y = ex→0+ = e0 = 1
x→0+ x x→0+ x→0+
1 x
y = 1+
x
Then
1 x
1
ln y = ln 1 + = x ln 1 +
x x
so
1
lim ln y = lim x ln 1 +
x→∞ x→∞ x
64
CHAPTER 4. APPLICATIONS 4.2. TAYLOR AND MACLAURIN POLYNOMIALS
has an indeterminate form of the type 0 · ∞. Rewritting and using L’Hôpital’s Rule, we
obtain
1
lim ln y = lim x ln 1 +
x→∞ x→∞ x
1
ln 1 + x
= lim
x→∞ 1
x
1 1
− 2
1
x
1+
= lim
x
1
x→∞
− 2
x
1
= lim =1
x→∞ 1
1+
x
Therefore,
1 x
lim ln y
lim 1 + = lim y = lim eln y = ex→∞ = e1 = e
x→∞ x x→∞ x→∞
ln (x + 1) (1 + ex )
4. lim 5. lim (ln 2x − ln (x + 1)) 6. lim
x→∞ log2 x x→∞ x→∞ x2
1 x
13. lim 1 + 14. lim x1/(x−1) 15. lim x1/ ln x
x→0+ x x→1+ x→∞
65
4.2. TAYLOR AND MACLAURIN POLYNOMIALS CHAPTER 4. APPLICATIONS
Example 191 Find the Taylor polynomials P0 , P1 , P2 , P3 and P4 for f (x) = ln x centered at
a = 1.
f (x) = ln x f (1) = 0
1
f 0 (x) = f 0 (1) = 1
x
1
f 00 (x) = − f 00 (1) = −1
x2
2!
f 000 (x) = f 000 (1) = 2
x3
3!
f (4) (x) = − 4 f (4) (1) = −6
x
Therefore, the Taylor polynomials are as follows,
P0 (x) = f (1) = 0
P1 (x) = f (1) + f 0 (1) (x − 1) = (x − 1)
f 00 (1) 1
P2 (x) = f (1) + f 0 (1) (x − 1) + (x − 1)2 = (x − 1) − (x − 1)2
2! 2
f 00 (1) f 000 (1)
2
P3 (x) = f (1) + f 0 (1) (x − 1) + (x − 1) + (x − 1)3
2! 3!
1 2 1 3
= (x − 1) − (x − 1) + (x − 1)
2 3
66
CHAPTER 4. APPLICATIONS 4.3. MAXIMA AND MINIMA
1. f (x) = e−x , n = 3
2. f (x) = e3x , n = 4
3. f (x) = ln(1 + x), n = 4
4. f (x) = cos x
5. f (x) = ex
6. f (x) = sinh x
Figure 4.1: Extrema: Abs min f (a), abs max f (d), loc min f (c), f (e), loc max f (b), f (d)
67
4.3. MAXIMA AND MINIMA CHAPTER 4. APPLICATIONS
Figure 4.2: Functions continuous on a closed interval always attain extreme values.
A function need not possess extreme values if either hypotheses (continuity or closed
interval) is omitted from the Extreme Value Theorem.
Figure 4.3: The first function has a minimum value f (2) = 0, but has no maximum value
wheras the second function has no maximum or minimum value.
Example 196 Find the extrema of the function if any by examining the given graphs.
(a) f (x) = x2 .
Figure 4.4
(a) f has a minimum value of 0 at 0. Since the values of f are not bounded above, f
has no maximum value.
68
CHAPTER 4. APPLICATIONS 4.3. MAXIMA AND MINIMA
(b) g has a maximum value of 0 at 0. Also, because the values of g are not bounded
below, g has no minimum value.
(c) The values of h are neither bounded above nor bounded below, so h has no absolute
extrema.
(d) As x gets larger and larger, k(x) gets closer and closer to 1 but the value is never
attained; that is a real number c does not exist such that k(c) = 1. Therefore k has
no maximum value. Similarly k has no minimum value.
The Extreme Value Theorem says that a continuous function on a closed interval has a
maximum value and a minimum value, but it does not tell us how to find these extreme
values. We note that at the maximum and minimum points the tangent lines are horizontal
and thus each has a gradient (slope) equal to 0.
Fermat’s Theorem suggests that we should at least start to look for extreme values of f at
the number c where f 0 (c) = 0 or f 0 (c) does not exist.
Definition 198 A critical number of a function f is a number c in the domain of f such
that either f 0 (c) = 0 or f 0 (c) does not exist.
3. The largest of the values from steps 1 and 2 is the absolute maximum value; the
smallest of these is the absolute minimum value.
69
4.3. MAXIMA AND MINIMA CHAPTER 4. APPLICATIONS
Example 203 Find the extreme values of the function f (x) = 2 cos x − x on [0, 2π]
f 0 (x) = − sin x − 1
−2 sin x − 1 = 0
1
sin x = −
2
Reference angle:
−1 1 π
α = sin = .
2 6
π 7π
But sin α is negative in the 3rd and 4th quadrants. Thus x = π + α = π + = or
6 6
π 11π
x = 2π − = .
6 6
Next we compute the values of f at these critical numbers as well as at the end points 0
and 2π.
7π 11π
x 0 2π
6 6
f (x) 2 −5.40 −4.03 −4.28
From the table we see that f attains the absolute maximum value of 2 at 0 and the
absolute minimum value of approximately −5.4 at 7π/6.
Exercise 205 Find the extreme (absolute maximum and absolute minimum) values, if any,
of the function.
1. f (x) = x2 − x − 2 on [0, 2] 2. f (x) = 2x4 − 83 x3 − 8x2 + 12 on [−2, 3]
x
3. f (x) = 2 on [−1, 2] 4. f (x) = 2 + 3 sin 2x on [0, π2 ]
x +1
5. The average speed of traffic flow from Sibasa to Thohoyandou between 6 A.M. and
10 A.M. on a typical weekday is approximated by the function
√
f (t) = 20t − 40 t + 50 0≤t ≤4
where f (t) is measured in kilometers per hour and t is measured in hours, with
t = 0 corresponding to 6 A.M. At what time in the morning is the average speed of
traffic flow highest? At what time in the morning is it lowest?
6. A body of mass m moves in an elliptical path with a constant angular speed ω. The
force acting on the body is always directed toward the origin and has the magnitude
given by p
F = mω 2 a2 cos2 ωt + b2 sin2 ωt t ≥0
where a and b are constants with a > b. Find the points on the path where the force
is greatest and where it is smallest.
70
CHAPTER 4. APPLICATIONS 4.4. THE MEAN VALUE THEOREM
We shall prove the main result of this chapter. To do so we need the following result.
Theorem 206 (Rolle’s Theorem) Let f be a funtion that satisfies the following three
hypotheses:
3. f (a) = f (b) .
Figure 4.5
Figure 4.6
Theorem 208 (The Mean Value Theorem) Let f be a function that satisfies the
following hypothethes:
71
4.4. THE MEAN VALUE THEOREM CHAPTER 4. APPLICATIONS
f (b) − f (a)
f 0 (c) =
b−a
or equivalently,
f (b) − f (a) = f 0 (c) (b − a) .
Figure 4.7
Proof. From the figure above, the gradient of the secant line AB is given by
f (b) − f (a)
b−a
The equation of the secant line AB is :
f (b) − f (a)
y − f (a) = (x − a)
b−a
f (b) − f (a)
y = (x − a) + f (a)
b−a
Let h (x) be the difference between f (x) and y.
h (x) = f (x) − y
72
CHAPTER 4. APPLICATIONS 4.5. FIRST DERIVATIVE TEST
But
h (a) = h (b) = 0
Furthermore, because f is differentiable, h is also differentiable on (a, b) , and we apply
Rolle’s Theorem to the function h. Thus the exist a number c in (a, b) such that h0 (c) = 0.
Since
0 0 f (b) − f (a)
h (x) = f (x) −
b−a
we have
0 0 f (b) − f (a)
h (c) = f (c) −
b−a
Since
h0 (c) = 0,
f (b) − f (a)
f 0 (c) =
b−a
Example 209 Find the number(s) c that satiesfies the conclusion of the MVT on the given
interval
f (x) = x3 − x, [0, 2]
6 = 3c2 − 1 2 = 6c2 − 2
4 2 2
which gives c2 = , that is c = ± √ . But c must lie in (0, 2) , so c = √ .
3 3 3
73
4.5. FIRST DERIVATIVE TEST CHAPTER 4. APPLICATIONS
Increasing /DecreasingTest
(a) If f 0 (x) > 0 on an interval, then f is increasing on that interval.
(b) If f 0 (x) < 0 on an interval, then f is decreasing on that interval.
Figure 4.8
Figure 4.9
74
CHAPTER 4. APPLICATIONS 4.6. CURVE SKETCHING
Definition 212 If the graph of f lies above all of its tangents on an interval I, then it is
called concave upward on I. If the graph of f lies below all of its tangents on I, it is
called concave downward on I.
Figure 4.10
Concavity Test
(a) If f 00 (x) > 0 for all x on I, then the graph of f is concave upward on I.
(b) If f 00 (x) < 0 for all x on I, then the graph of f is concave downward on I.
3. Determine whether the graph of f is symmetric with respect to the y− axis or the
origin.
75
4.6. CURVE SKETCHING CHAPTER 4. APPLICATIONS
x2
Example 215 Sketch the graph of the function f (x) = .
x2 − 1
(−x)2 x2
3. f (−x) = = = f (x) and this shows that f is an even function and
(−x)2 − 1 x2 − 1
thus the graph of f is symmetric with respect to the y− axis.
x2 x2
4. lim = lim = 1. Thus y = 1 is the horizontal asymptote.
x→−∞ x2 − 1 x→∞ x2 − 1
x2 x2
lim = ∞ and lim 2 = −∞
x→−1− x2 − 1 x→1− x − 1
Figure 4.11
From the diagram we see that f is increasing on (−∞, −1) and (−1, 0) and
decreasing on (0, 1) and on (1, ∞) .
7. From the results of part (6) we see that 0 is a critical number of f . The numbers −1
and 1 are not in the domain of f , and therefore, are not critical numbers of f . Also,
from the sign diagram we see that f has a relative maximum at x = 0. Its value is
f (0) = 0.
76
CHAPTER 4. APPLICATIONS 4.6. CURVE SKETCHING
" #
00 d −2x 2(3x2 + 1)
8. f (x) = 2
= 3
. Notice that f 00 is continuous everywhere
dx (x − 1)
2 2
(x − 1)
except at ±1 and that f has no zeros. From the sign diagram of f 00 we see that the
00
graph of f ion.is concave upward on (−∞, −1) and on (1.∞) and concave
downward on (−1, 1) .
Figure 4.12
9. f has no inflection points. Remember that −1 and 1 are not in the domain of f .
(a) (b)
x2
Figure 4.13: Graph of f (x) = x2 −1
Exercise 216 Use the guidelines given above to sketch the graphs of the following
functions
77
4.6. CURVE SKETCHING CHAPTER 4. APPLICATIONS
6. y = sin3 x
78