Calculus 1
Calculus 1
Calculus 1
Introduction to calculus
Chapter Objectives
At the end of this chapter you should be able to:
• become familiar with the concept of limits.
• explain the intuitive meaning of limit of a function.
• evaluate limits of a function at given points.
• identify and evaluate one-sided limits.
• have an understanding of the basic limit theorems.
• acquire basic knowledge on infinite limits and limits at infinity to find asymptotes.
• get acquainted with the concept of continuity of a function.
• apply the intermediate value theorem to locate roots of equations.
• become familiar with the derivative of a function.
• find the slope and equation of a tangent line to a curve.
• get basic knowledge on the techniques of differentiation.
• evaluate the derivative of polynomial, rational and composite functions.
• find the derivatives of the exponential and logarithmic functions.
• develop an appreciation of higher derivatives of functions.
• apply the concepts of the derivative to find rates of change of variable quantities.
• evaluate maximum and minimum values of functions.
• use the concepts of the derivative to sketch the graph of a function.
• get acquainted with related rate problems.
• define an anti-derivative of a continuous function.
• find indefinite integrals of some elementary functions.
• evaluate the integrals of functions using the techniques of substitution, integration by parts
and integration by partial fractions.
• solve integrals involving trigonometric functions.
• find the definite integral of continuous functions.
• apply the concepts of definite integrals to find areas of regions bounded by continuous
functions.
157
4.1. Limits and continuity
At the end of this section you should be able to
• become familiar with the concept of limits.
• explain the intuitive meaning of limit of a function.
• evaluate limits of elementary functions at given points.
• identify right-hand limit from left-hand limit.
• evaluate one-sided limits.
• become aware of the relationship between one-sided limits and the existence of limit of a
function.
• find limit of a function in terms of its one-sided limits.
• describe the basic limit theorems.
• find limits of functions given in terms of combinations of function.
• evaluate limit of powers of functions.
• evaluate the limit of composite functions.
• apply the squeeze theorem to evaluate limits.
• gain an understanding of the relationship between infinite limits and vertical asymptotes.
• describe horizontal asymptotes in terms of limits at infinity.
• see the relationship between infinite limits at infinity and oblique asymptotes.
• give the definition of continuous function.
• identify the difference between continuous and discontinuous functions.
• state the theorems on continuity.
In this section we study the concepts of limits and continuity of functions. The concept of limit is
fundamental to our main subjects of the branch of mathematics called differential and integral
calculus. When we ask about the limit of a function at a point c, we are to ask about tendencies of
the values of f(x) as x gets arbitrarily closer and closer to c.
Consider the function f(x) = 2x and find values of f for values of x close to 3 (but not necessarily
equal to 3).
158
As you can see from the above two tables, the values of f(x) = 2x tend to approach to 6 as x gets
closer and closer to 3 from both sides of 3.
Intuitively, we say “6 is the limit of f(x) = 2x as x approaches 3” and we write
lim(2 x) = 6.
x→3
In general, if for a given real number c, the values of a function f(x) approaches a number L as x
gets close to c, we write
lim f ( x ) = L
x→ c
Suppose f is a function and c is a fixed real number. When one ask for the behavior (approximate
value) of f(x) for x near c, normally one is not interested about the value f(c). Instead, one is
asking about values of f at x ∈ (c - δ , c + δ ) for x ≠ c, with δ > 0 (δ - delta). We call the
interval (c - δ , c + δ ) a neighborhood of c. When we exclude c from the neighborhood, we
obtain a union of two disjoint intervals.
i.e., (c - δ , c) ∪ (c, c + δ ).
Such a set is called a deleted neighborhood of c. For δ > 0, the interval (c - δ , c) may be called
a left neighborhood of c while (c, c + δ ) a right neighborhood of c. Thus when we talk of f near
c, we are interested in the function values only in a deleted neighborhood of c.
Therefore, when our interest is to know limit of f at c, we are mainly curious to know about the
tendencies of f(x) for x in a deleted neighborhood of c.
Similarly, if x gets close to 2, the function f(x) = x + 3 gets close to 5, so that lim( x + 3) = 5
x→2
In the above examples we were able to find the limits without much difficulty. However, finding
certain limits are not so immediate. For example consider
x2 − 4
lim
x→2 x−2
159
Here both x2 – 4 and x – 2 approach to 0 as x approaches to 2, and 0 0 is not determined. But note
that
x2 − 4 ( x − 2)( x + 2)
= = x + 2, for x ≠ 2.
x−2 x−2
x2 − 4
Thus, for x close to 2 (but not necessarily equal to 2), the behavior of is similar to that of x
x−2
+ 2 and it seems reasonable to conclude that
x2 − 4
lim = lim( x + 2) = 4.
x→2 x − 2 x→2
x −1 x −1 x +1 x −1 1 1 1
= , (for x ≠ 1)
lim
x →1 x −1
= lim
x →1 x − 1
,
x +1
= lim
x →1 (
( x − 1) x + 1 ) = lim
x →1
x +1
=
x +1 2
Even though standard textbooks of calculus give the formal (analytic) definition of limit of a
function using the notion of neighborhoods, we shall give here a working definition in terms of
what we call one-sided limits.
Definition 4.1:
Suppose f is a function and c is a fixed real number.
if and only if for all values of x sufficiently close to c from the left side of c, the
corresponding values of f approach to L.
2. A real number R is called the right-hand limit of f at c, written as lim+ f ( x ) = R
x →c
if and only if for all values of x sufficiently close to c from the right side of c, the
corresponding values of f approach to R.
Note that, if the set (c - δ , c) ∪ (c, c + δ ) is a deleted neighborhood of c, then for left-hand limit
we take x∈(c – δ, c), i.e. x < c, and for right-hand limit we take x ∈(c, c + δ), i.e. x > c (but not
necessarily x = c).
x 2 , for x < 1
Example 4.1: Let f(x) = Then lim− f ( x) = lim− x 2 = 1, while lim+ f ( x) = lim+ 2 x = 2
2 x, for x >1 x →1 x →1 x →1 x →1
160
x − 1, for x < 0
Example 4.2: Let f(x) = = y
x 1, for x > 0
2 x + 1, for x < 0
Example 4.3 : Let f(x) = 2 y = x2+1
x + 1. for x > 0
Definition 4.2:
Suppose ƒ is function and c is a fixed real number. A real number L is called the limit of f at c if
and only if the left-and right-hand limits exist and are both equal to L;
i.e. lim f ( x ) = L if and only if lim− f ( x ) = L = lim+ f ( x )
x→ c x →c x →c
2 x + 1, for x < 0
Thus in Example 4.3, where f(x) = 2
x + 1, for x > 0
we have seen above that lim− f ( x) = 1 = lim+ f ( x) Thus, lim f ( x) = 1.
x →0 x →0 x→0
161
In fact, if a > 0, a ≠ 1, then lim a x = ac, for any c∈R
x →c
Similarly, you can show that lim log ax = log ax = log ca , for c > 0 and lim sin x = sin c, ∀c.
x →c x →c
x , for x ≤ 1 2
Example 4.5: Let f(x) =
3, for x > 1
Then lim− f ( x) = lim− x 2 = 1 while lim+ f ( x) = lim+ 3 = 3. Since 1 ≠ 3, lim f ( x) does not exist.
x →1 x →1 x →1 x →1 x→1
Example 4.6: Let f(x) = x , for x ≥ 0. Then lim+ f ( x) = 0. But since f(x) = x is not defined
x →0
to the left of 0, lim− x does not exist. Hence lim x does not exist.
x →0 x →0
Remark: If a function f has a limit as x approaches a number c, then the limit is unique; i.e.
if lim f ( x ) = L1 and lim f ( x ) = L2, then L1 = L2.
x→ c x→ c
lim (f + g)(x) = lim f(x) + lim g(x) = lim (2x) + lim (5x – 1) = 2(1) + 5(1) – 1 = 2 + 5 – 1 = 6
x →1 x →1 x →1 x →1 x →1
lim (f – g)(x) = lim f(x) – lim g(x) = lim (2x) – lim (5x – 1) = 2(3) – [5(3) – 1] = 6 –14 = –8
x →3 x →3 x →3 x →3 x →3
Example 4.9: lim x cos x = lim x. lim cos x = π. cos π = π(-1) = -π.
x →π x →π x →π
It follows from Theorem 4.2 that lim x2 = lim x.x= lim x. lim x = c.c = c2
x→ c x→ c x→ c x→ c
162
In general, if n is a positive integer, lim x n = c n .
x →c
Thus, if P(x) = anxn + an-1xn-1 + … + a2x2 + a1x + a0 is any polynomial function of degree n and c
is any real number, then from Theorems 4.1 and 4.2, we get
lim P(x) = lim ( anxn + an-1 xn-1 + … + a2x2 + a1x + a0)
x→ c x→ c
= lim anxn + lim an-1xn-1 +…+ lim a2x2 + lim a1x + lim a0
x→ c x→ c x→ c x→ c x→ c
n n-1 2
= an lim x + an-1 lim x + …+ a2 lim x + a1 lim x + a0
x→ c x→ c x→ c x→ c
n n-1 2
= anc + an-1c + …+ a2c + a1c + a0 = P(c)
Example 4.10: Let P(x) = 2x3 + 4x2 – 3x + 1. Then
lim P(x) = lim (2x3 + 4x2 – 3x + 1) = 2(–1)3 + 4(–1)2 – 3(–1) + 1 = –2 + 4 + 3 + 1 = 6
x → −1 x → −1
Theorem 4.3: Assume that lim f(x) = L, lim g(x) = M and suppose M ≠ 0
x→ c x→ c
f lim f ( x) L
Then lim (x) = x →c = … Quotient Rule
x→ c
g lim g ( x)
x →c
M
p( x) p( x) lim p ( x ) p (c )
If f(x) = is a rational function, then lim f(x) = lim = x →c = = f(c) if
q( x) x→ c x→ c q ( x ) lim q( x ) q (c )
x →c
f (c) ≠ 0 .
Theorem 4.4: Suppose lim f(x) = L, L ≠ 0 and a∈R such that La∈R
x→ c
1
2 1
Example 4.13: lim sin x = lim (sin x ) = lim (sin x )
1
2 = 1 2 = 1 = 1.
π
x→
π
2
x→
2
x →π2
163
Theorem 4.5 (The Squeezing Theorem). Suppose f, g and h are functions such that f(x) ≤ h(x)
≤ g(x) for all x in some deleted neighborhood of c. If lim f(x) = L = lim g(x), then lim h(x) = L.
x→ c x→ c x→ c
1
Example 4.14: Evaluate lim x2sin
x →0 x
1 1
Solution: It may be tempting to consider x2 sin as the product of x2 and sin and then use the
x x
1
Product Rule. Unfortunately it can be shown that lim sin does not exist. Thus we cannot use
x →0 x
the Product Rule to evaluate the given limit. However since the sine function has range [–1, 1], it
1
follows that –1 ≤ sin ≤ 1, for x ≠ 0. Multiplying both sides by x2, we get
x
1
–x2 ≤ x2sin ≤ x2 with lim (–x2) = 0 = lim x2
x x →0 x →0
1
Thus, by the Squeeze Theorem, we get lim x2 sin = 0.
x →0 x
Remark: One of the most important applications of the Squeezing Theorem is evaluating
sin x
lim . We cannot apply the Quotient Rule to evaluate this limit since the limit of the
x →0 x
denominator is 0. But using some geometric constructions and the Squeeze Theorem it can be
shown that
sin x
lim =1
x →0 x
Remark: The above result has important consequences especially in the evaluation of some
limits involving trigonometric functions.
sin 5 x
Example 4.15: Find lim
x →0 x
sin 5 x 5 sin 5 x sin 5 x
Solution: lim = lim = 5 lim
x →0 x x → 0 5x x → 0 5x
sin 5 x sin y
If we put y = 5x, we have as x → 0, 5x → 0 so that y → 0. Thus lim = 5 lim = 5.
x →0 x y → 0 y
sin ax
In general, for any a∈ ℜ , lim = a.
x →0 x
tan x
Example 4.16: Find lim
x →0 x
164
tan x sin x 1 sin x 1 1
Solution: lim = lim . = lim ⋅ lim = 1. = 1.
x
x →0 x → 0
cos x x x → 0
x x →0 cos x 1
cos x − 1
Example 4.17: Evaluate lim
x →0 x
Solution: By multiplying both numerator and denominator by cos x + 1 we get
cos x − 1 cos x − 1 cos x + 1 cos 2 x − 1
lim = lim = lim
x →0 x (cos x + 1)
x →0 x x →0
x cos x + 1
− sin 2 x
= lim (since sin2x + cos2x = 1)
x →0 x(cos x + 1)
sin x − sin x sin x − sin x 0
= lim = lim . lim = 1. = 1.0 = 0.
x →0
x cos x + 1 x → 0 x x → 0 cos x + 1 1
becomes indefinitely large or becomes negative and indefinitely large in absolute value. The
value of f(x) may behave similarly when the left-hand limit at c does not exist. We shall use the
symbols ∞ (infinity) and - ∞ to express these cases, respectively.
1
To explain these concepts consider the function f(x) = , for x ≠ 0
x
As x gets close to 0 from right, the values of
1
f(x) = become arbitrarily large positive.
x
1
In this case we write lim+ =∞
x →0 x
Definition 4.3:
Let f be a function defined in a deleted neighborhood of c.
i) We say that the left-hand limit of f(x) at c is infinity, and write lim− f(x) = ∞
x →c
if for every real number M, we have f(x) > M for every x close to c from the left side of
ii) We say that the right-hand limit of f(x) at c is infinity, and write lim+ f(x) = ∞
x →c
if for every real number M, we have f(x) > M for every x close to c from the right side if c.
165
iii) We say that the limit of f(x) at c is infinity and write lim f(x) = ∞
x→ c
Definition 4.4:
Let f be a function defined in a deleted neighborhood of c.
i) We say that the left-hand limit of f(x) at c is negative infinity, and write lim− f(x) = -∞
x →c
if for every real number M, we have f(x) < M for every x close to c from the left side of c.
ii) We say that the right-hand limit of f(x) at c is negative infinity, and write lim+ f(x) = -∞
x →c
if for every real number M, we have f(x) < M for every x close to c from the right side if c.
iii) We say that the limit of f(x) at c is negative infinity and write lim f(x) = -∞
x→ c
1 1 1 1
Example 4.18: For f(x) = , for x ≠ 0, lim+ = ∞ and lim = -∞. Hence lim does not
x x →0 x x →0 x x →0 x
1 1 1 1
exist. Whereas for f(x) = 2 , x ≠ 0, lim+ 2 = ∞ = lim− 2 . Hence lim 2 = ∞.
x x →0 x x →0 x x →0 x
1 1
In general, for any real number c and f(x) = we have lim+ f(x) = lim+ = ∞ and
x−c x →c x →c x − c
1
lim− f(x) = lim− = -∞.
x →c x →c x − c
Definition 4.5:
Suppose f is a function and c is a fixed real number. We say that the line x = c is a vertical
asymptote of the graph of f if and only if either
lim− f(x) = ±∞ or lim+ f(x) = ±∞
x →c x →c
Remark: From the above examples, we can see that the line x = 0 (i.e. the y-axis) is a vertical
1 1
asymptote of the graphs of the functions f(x) = and f(x) = 2 , while the line x = c is a vertical
x x
1
asymptote of the graph of f(x) = .
x−c
x+2
Example 4.19: Find all the vertical asymptotes of f(x) = 2
x −1
Solution: If c is any number different from 1 or -1, then by the Quotient Rule,
x+2 c+2
lim f ( x ) = lim 2 = 2 ∈R
x→ c x→ c x − 1 c −1
Thus any line x = c for c ≠ ± 1 cannot be a vertical asymptote.
166
x+2 x + 2 1
For c = 1, lim+ f ( x) = lim+ = lim+
x →1 x →1 x − 1 x →1 x + 1 x − 1
2
x + 2 1 3
= lim+ . lim = (∞) = ∞
x →1 x + 1 x →1+ x − 1 2
x + 2 1
Similarly, for c = -1, lim+ f ( x) = lim+ .
x →1 x → −1 x − 1 x + 1
x + 2 1 1
= lim+ . lim+ = − (∞) = -∞
x → −1 x − 1 x →1 x + 1 2
x+2
Hence the lines x = 1 and x = -1 are vertical asymptotes of the graph of the function f(x) = .
x2 −1
Next, we try to investigate the behavior of a function f as x increases (or decreases) indefinitely,
and try to see if we have lim f(x) or lim f(x). Such limits, if they exist, are in general called
x →∞ x → −∞
limits at infinite.
Definition 4.6:
i) Suppose f is a function defined on an interval of the form (c, ∞), for some c∈R. We say that
the limit of f(x) as x approaches to infinity is the number L, and write lim f(x) = L if when
x →∞
1
Example 4.20: Let f(x) = , for x ≠ 0.
x
1
When x is assigned sufficiently large positive values, the values of f(x) = become close to 0.
x
1
Similarly for values of x sufficiently small negative values, f(x) = becomes close to 0. Hence
x
1 1
lim = 0 and lim = 0. See Figure 4.3 above.
x →∞ x x → −∞ x
1 1 1
Similarly, lim 2 = 0, lim 2 = 0 and in general, lim = 0.
x →∞ x x → −∞ x x →∞ ( x − c ) 2
Definition 4.7:
If for a function f and a real number L, lim f(x) = L or lim f(x) = L, then the line y = L is called
x →∞ x → −∞
167
1
Thus the line y = 0 (i.e. the x-axis) is a horizontal asymptote for both the function f(x) = and
x
1
f(x) = . See Figure 4.3 above.
x2
3x 2 − x + 1
Example 4.21: Find a horizontal asymptote to the graph of f(x) =
2x2 + 5
Solution: Since we are interested with the behavior of f for large values of |x|, we divide both
numerator and denominator of f by the leading exponent (i.e.x 2) to get
3x 2 x 1 1 1
− 2+ 2 3− + 2
3x − x + 1
2 2
f(x) = = x 2x x = x x
2x + 5
2
2x 5 5
+ 2 2+ 2
x 2
x x
1 1
lim 3 − + 2
3x − x + 1
2
x → ∞
x x 3−0−0 3
Then lim f(x) = lim = = =
x →∞ x →∞ 2x + 5
2
5 2+0 2
lim 2 + 2
x →∞
x
3 3
Thus lim f(x) = and the line y = is a horizontal asymptote to the graph of f.
x →∞ 2 2
3
Similarly, lim f(x) = .
x → −∞ 2
p( x)
Remark: For a rational function f(x) = , with deg(p)<deg(q), we find a horizontal asymptote
q( x)
by applying the above technique.
As a combination of the above two subsections, it may happen that as the values of |x| increase
without bound, the corresponding values of |f(x)| also increases without bound leading to what are
generally called infinite limits at infinity.
Definition 4.8:
Let f be defined on an interval of the form (c, ∞), for c∈R. We say that the limit of f(x) as
x approaches to infinity is infinity, written lim f(x) = ∞ whenever x is assigned sufficiently
x →∞
large positive values, the corresponding values of f(x) increase without bound.
168
3 2
1− + 4
x 4 − 3x + 2 x 3
x = ∞.
Example 4.23: lim = lim (By dividing by ).
x →∞ 2x2 + 1 x →∞ 2 1
+
x2 x4
Definition 4.9:
If for a function f and for two real numbers a and b lim [f(x) – (ax + b)] = 0, then the line
x → ±∞
ii) When degree(p) = degree(q), then f has a horizontal asymptote given by the quotient of
the leading coefficients of p and q.
iii) When degree(p) > degree(q), then lim f(x) = ±∞, and in particularly if
x → ±∞
169
x
1
As is tried to be indicated from the above tables, the values of 1 + tend to approach to an
x
irrational number whose value is 2.7182818…. This number, denoted by e, is called the base of
the natural logarithm, and plays an important role in calculus.
Remark: The natural logarithmic function (with base e) is given by f(x) = log e x and is denoted
by f(x) = nx. Its inverse, the natural exponential function is given by f(x) = exp(x) = e x.
Thus from the above constructions, we have x x
1 1
lim 1 + = e = lim 1 + .
x →∞
x x → −∞
x
This limit has important consequences.
x +3 x 3
1 1 1
Example 4.25: lim 1 + = lim 1 + . 1 + - Rule of exponents
x →∞
x x →∞
x x
x 3
1 1
= lim 1 + . lim 1 + - Product Rule
x →∞
x x → ∞
x
3
= e.1 = e
x+a
1
In general, for any real number a, lim 1 + = e.
x → ±∞
x
Example 4.26: Show that lim (1 + t )
1
t =e
t →0
x t t →0 x →∞
x
x
1
Similarly, as x → -∞, t → 0- . Hence, lim− (1 + t )
1
t = lim 1 + = e
t →0 x → −∞
x
Therefore, lim+ (1 + t ) = e = lim− (1 + t ) t ⇒ lim (1 + t ) t = e.
1 1 1
t
t →0 t →0 t →0
x
5
Example 4.27: Evaluate lim 1 −
x →∞
x
−5 −5
Solution: Let t = . Then x = and
x t
[ ]
x −5
5 −5 1
lim 1 − = lim− (1 + t ) t = lim− (1 + t ) t = lim(1 + t ) t = e-5 = 5 .
−5 1 1
x →∞
x t →0 t →0 t → 0 e
x
a
In general, for any real number a, lim 1 + = ea.
x → ±∞
x
170
• Continuity of a Function
In our everyday usage, the word continuity refers to something that happens without any
interruption. In calculus, the term continuity is used to describe functions whose graphs can be
traced without any break. We shall give its formal definition using the concept of limits.
Definition 4.10:
- Let f be a function and c be a number in the domain of f. f is said to be continuous at c if
lim f ( x ) = f(c)
t →c
1 x
In fact f is a continuous function. See Figure 4.4.
Figure 4.4
Remark: For a function f to be continuous at c, the following conditions must be satisfied
a. f(c) must be defined
b. lim f(x) must exist
x→ c
Figure 4.5
Example 4.30: Let f(x) = sinx. Then, lim f ( x) = lim sin x = 1 = sin π 2 = f (π 2 )
x→π x→π
2 2
171
In fact f(x) = sinx is a continuous function. Similarly, the functions f(x) = cosx, the exponential
function with base a, f(x) = ax, the logarithmic function with base a, f(x) = log a x , the natural
exponential function f(x) = ex and the natural logarithmic function f(x) = nx are all continuous
functions in their respective domains.
Theorem 4.6: Suppose f and g are functions with common domain such that both f and g are
continuous at c. Then
1) f + g is continuous at c.
2) f – g is continuous at c.
3) if k is a scalar, kf is continuous at c.
4) fg is continuous at c.
f
5) if g(c) ≠ 0, is continuous at c.
g
Example 4.31: Let P(x) = anxn + an-1xn-1 + … + a2x2 + a1x + a0 be any polynomial of degree n, and
let c∈R, arbitrary. Then,
lim P(x) = lim (anxn + an-1xn-1 + …+ a2x2 + a1x + a0)= ancn + an-1cn-1 + …+ a2c2 + a1c + a0 = P(c)
x→ c x→ c
Hence, P(x) is continuous at c, and since c was taken arbitrarily, every polynomial function is
continuous.
p ( x)
Example 4.32: Let f(x) = be any rational function. Then if c is any real number such that
q( x)
p( x) lim p ( x) p (c )
q(c) ≠ 0, then lim f(x) = lim = x →c = = f(c)
x→ c x→ c q( x) lim q ( x) q (c )
x →c
As a generalization of the Power Rule for limits, we have the following theorem
Theorem 4.7 (Substitution Rule): Suppose f and g are real valued functions such that lim f(x) =
( )
x→ c
Example 4.33: For f(x) = sinx, g(x) = x , and c = π 2 , we have lim f ( x) = 1 and g is
x→π
2
172
Using Substitution Rule we have continuity of the composite of two functions as given by the
following theorem.
Theorem 4.8: Suppose f and g are functions such that f is continuous at c and g is continuous at
f(c). Then, gof is continuous at c.
Proof: Since f is continuous at c, lim f(x) = f(c). Now lim (gof)(x) = lim g(f(x)) = g lim f ( x ) =
x→ c x→ c x→ c
(
x→ c
)
g(f(c)) = (gof)(c). Therefore, gof is continuous at c.
2
+5
Example 4.34: For f(x) = x2 + 5, g(x) = ex and c = 1, we have (gof)(x) = g(f(x)) = e x and
x 2 +5 6 12 + 5 6 x 2 +5
lim (gof)(x) = lim e =e = e = e . Thus, (gof)(x) = e is continuous at 1.
x →1 x →1
Recall that for a function f continuous on a closed interval [a, b] its graph can be traced between
the points (a, f(a)) and (b, f(b)) without any break or interruption. In this section we shall see an
important application of continuous functions: namely, the Intermediate Value Theorem, and
some of its consequences. y
Example 4.35: Let f(x) = x2. Then f is continuous on [0, 3] with f(0) = 0 and f(3) = 9. By the
Intermediate Value Theorem f assumes (takes on) every value between 0 and 9. For instance for L
= 4, we have 2 ∈[0, 3] with f(2) = 4, and for L = 7, we have 7 ∈[0, 3] with f ( 7 ) = 7.
Example 4.36: Let f(x) = x3 + 2x2 + x = 4 on [-2, 1]. Show that there exists some c ∈[-2, 1]
such that f(c) = 4.
173
Solution: f is continuous on [-2, 1] with f(-2) = 2 and f(10 = 8. Since 2 ≤ 4 ≤ 8, it follows, by the
Intermediate Value Theorem that there exists c ∈[-2, 1] such that f(c) = 4. i.e. f(c) = c 3 + 2c2 + c +
4 = 4. In this case we can find such c by solving
c3 + 2c2 + c + 4 = 4
⇔ c3 + 2c2 + c = 0
⇔ c(c2 + 2c + 1) = 0
⇔ c ( c + 1)2 = 0 which gives either c = 0 or c = -1
Since both of these values are in [-2, 1], for this particular case we have two values in [-2, 1] with
image under f equal to 4.
One of the most important applications of the Intermediate Value Theorem is given in the
following theorem.
Theorem 4.10: Suppose f is continuous on a closed interval [a, b] and assume that f(a) and f(b)
have opposite signs. Then there is at least one c ∈(a, b) such that f(c) = 0.
Proof: Without loss of generality, assume that f(a) < 0 and f(b) > 0. Then choose L = 0, between
f(a) and f(b). By the Intermediate Value Theorem, there is at least one c between a and b such
that f(c) = L = 0.
Remark: This means that the equation f(x) = 0 has at least one root in the interval (a, b).
Example 4.37: The function f(x) = x3 – x – 2 is continuous on [1, 2]. f(1) = -2 < 0 and f(2) = 4 >
0. Thus there is a number c in (1, 2) such that f(c) = 0 or c3 – c – 2 = 0.
Example 4.38: Show that the graphs of y = ex and y = 3x intersect in the interval [0, 1]
Solution: Define the function f(x) = ex -3x. Then f is continuous on [0, 1] with f(0) = e0 -3(0) = 1
- 0 = 1 > 0 and f(1) = e1 – 3(1) = e – 3 < 0. Thus there is a number c ∈(0, 1) such that f(c) = e c –
3c = 0 and the graphs of y = ex and y = 3x intersect at c∈(0, 1).
Exercise 4.1
1. Evaluate the following limits, if they exist.
2x − 1 x +1
a. lim (7-2x) b. lim c. lim
x→4 x→2 3x + 1 x →3 2 x − 1
1
−1
x2 −1 x−2 x
d. lim e. lim f. lim
x → −1 x +1 x→2
x+2 −2 x →1 x − 1
a. f(x) = cos x , at c = π 6
b. f(x) = x + 3 , at c = -3
174
x, for x < 2
c. f(x) = , at c = 2
2 x − 2, for x > 2
| x + 1 |, for x ≥ − 2
d. f(x) = , at c = -2
1 , for x < 2
3. Evaluate each of the following limits, if it exists.
a. lim (2x2 -3x + 5) b. lim 2xsinx c. lim (cos x)4
x →3 x →0 x →π
4
x 2 − 4x + 3
lim x 2 − x 2
1 3
d. lim 3 e. f. lim 4 7 x 3 + 9
x − 263 x−3 x → 4 x →1
x3 − 1 2 x3 + 3x − 5
d. lim cos x e. lim f. lim
x → −∞ x →∞ 2 x 2 x →∞ 5 x3 + 1
5. Find all the asymptotes, if any, for the following functions
x2 − 9 3x 3 + 2 x + 1
a. f(x) = tanx b. f(x) = c. f(x) =
x+4 ( x + 1) 2
6. Evaluate the following limits, if they exist.
x+4 x x −1
1 4 2x + 3
a. lim 1 + b. lim 1 + c. lim
t →∞
x t → −∞
x + 1 t →∞
2x + 1
7. Check whether or not the following functions are continuous at the indicated points.
a. f(x) = x2 + 1, at c = 2 b. f(x) = |x2 – 1|, at c = -1, 0, 1
3 x 2 , for x ≠ 1
c. f(x) = , at c = 2 d. f(x) = , at c = 1
x−2 3, for x = 1
8.Show that the following equations have roots in the indicated intervals.
1
a) logx = 0, in ,2
2
b) 2x – 2 = 0, in [0, 2] c) cos x – x = 0, in 0, π
2
[ ]
9. Using the Intermediate Value Theorem show that the graphs of f and g intersect in the
given interval.
a. f(x) = x3 + 4x + 2 and g(x) = -1, in [-1, 0]
b. f(x) = 2sinx and g(x) = 1 – x, in [0, 2]
1
c. f(x) = x nx and g(x) = sinx, in , e
e
175
4.2. Derivatives
Objectives
At the end of this section you should be able to
• get acquainted with the concept of the derivatives of a function.
• evaluate the derivative of elementary functions using the definition.
• find the slope and equation of a tangent line to a curve at a given point.
• evaluate the derivatives of combinations of functions.
• find the derivatives of polynomial and rational functions.
• have a good understanding of the Chain Rule.
• apply the Chain Rule to evaluate derivatives of composite functions and algebraic
functions.
• find the derivative of the logarithmic function.
• find the derivative of the exponential function.
• apply the above derivatives to the natural logarithmic and natural exponential functions as
special cases.
• evaluate derivatives of composite functions with the logarithmic and exponential
functions.
• have an understanding of the derivative of a derivative.
Using the concepts discussed in section 4.1, we are now ready to study one of the central concepts
of calculus: the derivative of a function. Even though the derivative is connected with finding the
tangent lines to curves at a point, its main applications are in finding rates of change of variable
quantities relative to the change in another quantity.
Consider a function f continuous at a point c in its domain.
Then, by definition of continuity lim f ( x ) = f(c) y f
x→ c
176
and is called the difference quotient of f at c.
For instance, if f(x) = x2 + 2 and c = 3, then
f ( x) − f (3) ( x 2 + 2) − (3 2 + 2) x2 − 9
= =
x−3 x−3 x−3
We shall define the derivative of a function of f at c as the limit of the above difference quotient,
if the limit exists.
Definition 4.11
Let c be a number in the domain of a function f. If
f ( x ) − f (c )
lim
x→ c x−c
exists, we call this limit the derivative of f at c, and denote it by ƒ′(c), so that
f ( x ) − f (c )
ƒ′(c) = lim
x→ c x−c
If this limit exists we say that ƒ has a derivative at c, or ƒ is differentiable at c or ƒ′(c) exists.
Remarks: 1. Observe that we can alternatively write
f (c + h) − f ( c )
ƒ′(c) = lim
h →0 h
since for h = x – c, we have x = c + h and as x → c, h → 0.
2. The notation ƒ′(c) is read as “the derivative of f at c” or for short “f prime at c”.
df
Other notations are given by (c) or Df(c)
dx
3. The quantity f′(c) describes the rate of change of the function f around the point (c, f(c)).
Example 4.39: Let f(x) = 2x + 3. Then, for any c ∈R, the point (c, f(c)), we have
f ( x ) − f (c ) (2 x + 3) − (2c + 3) 2 x − 2c x−c
ƒ′(c) = lim = lim = lim = 2 lim = 2 lim (1) = 2.
x→ c x−c x→ c x−c x→ c x−c x→ c x − c x→ c
Since c∈R is arbitrarily taken, we have for f(x) = 2x + 3, ƒ′(x) =2 for all x∈R.
In fact for any linear function f(x) = ax + b, we have
f ( x ) − f (c ) (ax + b) − ( ac + b) x−c
ƒ′(c) = lim = lim = a lim =a
x→ c x−c x→ c x−c x→ c x − c
177
In particular, when c = 1, ƒ′(1) = 6(1) =. 6 is the slope of the tangent line to the graph of f at (1,8)
Example 4.41: Let f(x) = c, where c is a constant.
Then for any x∈R,
f ( x + h) − f ( x ) c−c
ƒ′(x) = lim = lim = lim 0 = 0.
h →0 h h → 0 h h →0
Thus, if ƒ(x) = x4, then ƒ′(x) = 4x3 and if g(x) = x12, then ƒ′(x) = 12x11, and so on.
178
Remark: Given a polynomial of degree n, P(x) = anxn + an-1xn-1 + … + a2x2 + a1x + a0
d
P′(x) = (anxn + an-1xn-1 + … + a2x2 + a1x + a0)
dx
d d d d d
= an (xn) + an-1 (xn-1) + … + a2 (x2) + a1 (x) + (a0).
dx dx dx dx dx
= nanxn-1 + (n-1)an-1xn-2+ … + 2a2x + a1
Example 4.43: For p(x) = 5x4 – 2x3 + x2 + 7x – 1, we have p′(x) = 20x3 – 6x2 + 2x + 7.
For q(x) = 6x3 + 2 x2 – 3x + π, we have q′(x) = 18x2 + 2 2 x – 3.
Remark: In practice, to evaluate the derivative of a product of two functions, we do not need to
identify which one is f and which one is g.
Example 4.45: Let h(x) = x3 cosx. Then
h′(x) = (x3)′ cosx + x3(cosx)′= 3x2cosx + x3(-sinx) = 3x2cosx – x3 sinx.
For the derivative of the product of three functions f, g and h, we have
(fgh)′(x) = f′(x)g(x)h(x) + f(x)g′(x)h(x) + f(x)g(x)h′(x).
Example 4.46: Let k(x) = x3 sinx cosx. Find k′(x).
Solution: Put f(x) = x3, g(x) = sinx and h(x) = cosx in the above statement with ƒ′(x) = 3x 2, g′(x)
= cosx and h′(x) = -sinx. Then k′(x) = 3x2 sinx cosx + x3 cosx.cosx + x3sinx(-sinx)= 3x2 sinx cosx
+ x2 cos2x – x3 sin2x.
p( x)
The Quotient Rule is used to find the derivative of any rational function. If f(x) = , for p, q
q( x)
1
p( x) p ′( x )q( x ) − p ( x ) q ′( x )
polynomials, we then have f′(x) = = , for q(x) ≠ 0.
q( x) ( q( x )) 2
3x 2 − 5
Example 4.47: Let f(x) = . Find ƒ′(x)
2x + 1
Solution: Putting p(x) = 3x2 – 5 and q(x) = 2x + 1, we get
6 x(2 x + 1) − (3 x 2 − 5)(2) 12 x 2 + 6 x − 6 x 2 + 10 6 x 2 + 6 x + 10
ƒ′(x) = = =
(2 x + 1)2 (2 x + 1)2 (2 x + 1)2
As an important consequence of the Quotient Rule, we can now find the derivatives of the
remaining four trigonometric functions.
Example 4.48: Let f(x) = tanx. Show that ƒ′(x) = sec2x
179
sin x
Solution: ƒ(x) = tanx = . Then
cos x
sin x (sin x ) cos x − sin x(cos x)
1 1 1
d
ƒ′(x) = (tanx) = =
dx cos x (cos x) 2
cos x. cos x − sin x(− sin x)
=
cos 2 x
cos 2 x + sin 2 x 1
= 2
= = sec2x.
cos x cos 2 x
In the same manner, we can show that
d d d
(cotx) = -csc2x, (secx) = secxtanx and (cscx) = -cscx.cotx.
dx dx dx
The Chain Rule states that (gof)′(x) = g′(f(x)) ƒ′(x), for all x such that f is differentiable at x and g
is differentiable at f(x).
Example 4.49: Find the derivative of h(x) = cos(x 2 + 1)
Solution: Let f(x) = x2 + 1 and g(x) = cosx. Then, h(x) = (gof)(x) = g(f(x)) = g(x2 + 1) = cos(x2 +
1) and h′(x) = g′(f(x)). ƒ(x) = -sin(x2 + 1) . (x2 + 1)′ = 2xsin(x2 + 1).
180
1 3
and since the tangent line passes through the point , , its equation in slope-point form is
2 2
3 1 1
y- =- x − or x+ 3y–2=0
2 3 2
1 3
The slope of the normal line at , is
3 and its equation is
2 2
3 1
y- = 3 x − or y - 3 x = 0.
2 2
Remark: The Chain Rule can be extended to more than two functions.
Suppose k(x) = (hogof)(x) = h(g(f(x))) and let f be differentiable at x, g be differentiable at f(x)
and h be differentiable at g(f(x)). Then k′(x) = (hogof)′(x) = h′(g(f(x)).g′f(x)). f′(x)
Similarly, if (x) = (kohogof)(x) = k(h(g(f(x)))), then
′(x) = (kogohof)′(x) = k′(h(g(f(x)))). h′(g(f(x)).g′(f(x)).f′(x).
You can now see why this method is called the Chain Rule!
Example 4.52: Find the derivative of the function
k(x) = cos 2 x 2 − 3
Solution: Let k(x) = cosx 2 x 2 − 3 = h(g(f(x))) with
f(x) = 2x2 – 3, g(x) = x and h(x) =cosx. Then
k′(x) =
d
dx
( )
cos 2 x 2 − 3 = h′(g(ƒ(x)). g′(ƒ(x)) ƒ′(x)
1 − 2 x sin 2 x 2 − 3
= - sin 2 x 2 − 3 . .4x =
2 2x 2 − 3 2x 2 − 3
Recall that for a > 0, and a ≠ 1, the logarithmic function with base a is given by
f(x) = log a x for x > 0.
In particular, when a = e, we get the natural logarithmic function
f(x) = log a x = nx , for x > 0.
181
Theorem 4.12: Let a > 0, a ≠ 1 and let f(x) = log a x . Then
1
ƒ′(x) = log a x
x
From Theorem 4.12, when the base a = e , it follows that
(log e x )′ = (nx)′ = 1 log e e = 1 .1 = 1 : i.e. (ln x )′ = 1
x x x x
Also, by applying change of base of logarithms, we get
1 2x + 1
Solution: a) ƒ′(x) = . log 3 e (x2 + x – 1)′ = 2 . log 3 e
x + x −1
2
x + x −1
1
′ 1. ln x − x.
x
b) g′(x) = = x = ln x − 1
2
ln x (ln x) ln 2 x
ax
Theorem 4.13: Let a > 0, a ≠ 1 and let f(x) = ax. Then, ƒ′(x) = (ax)′ = .
log a e
ax
(ax)′ = = ax n a
log a e
ex
When the base a = e, we get (ex)′ = = exne = xx.1 = ex: i.e. (ex)′= ex
log e e
3x
Example 4.56: For f(x) = 3 , we have ƒ′(x) =
x
= 3x n3.
log 3 e
Example 4.57: Find the derivative of the following
x +1
a) f(x) = e b) g(x) = 3sinx
2
c) f(x) = x + e4x d) g(x) = e x nx
182
Solution: a) By using the Chain Rule, we get
(′
) ′
( )
x +1
1 e
ƒ′(x) = e x +1 = e x +1 . x + 1 = e x +1 , =
x +1 x +1
sinx sinx sinx
b) (3 )′ = 3 , n3. (sinx)′ = n3.cosx.3
d 1 1 + 4e 4 x
c) x + e4 x = (x + e4x)′ =
dx 2 x + e4 x 2 x + e4 x
d) By the Product Rule and Chain Rule we get:
2
( ′ 2
) 2 1 2 1
g′(x) = e x ln x = 2 xe x nx + e x . = e x 2 x ln x +
x x
• Higher Derivatives
If a function f is differentiable at a point x in its domain, we denote its derivative by ƒ′(x), where
f ( x + h) − f ( x )
ƒ′(x) = lim , provided the limit exists.
h→0 h
This derivative is usually called the first derivative of f at x.
If the new function ƒ′ is differentiable at a point x, then we can repeat the process and find its
derivative as
f ′( x + h) − f ′( x)
(ƒ′(x))′ = ƒ′′(x) = lim , provided the limit exists.
h→0 h
we call ƒ′′(x) the second derivative of f at x, and it is often read as “ƒ double prime of x”.
Observe that ƒ′′(x) is simply the derivative of the function ƒ′ at x and is no more difficult than
finding the first derivative.
1 d 1 −1
Example 4.58: If ƒ(x) = nx, then ƒ′(x) = and hence ƒ′′(x) = = 2.
x dx x x
We can similarly find the derivative of ƒ′′(x) to get
f ′′( x + h) − f ′′( x)
(ƒ′′(x))′ = ƒ′′′(x) = lim , and so on,
h→0 h
and call this the third derivative of f at x.
1 −1 2
Thus, for f(x) = nx, ƒ′(x) = , ƒ′′(x) = 2 and ƒ′′′(x) = 3
x x x
These derivatives when they exist are called higher derivatives (or derivatives of derivatives)
dn f
The nth derivative ƒ[n](x) can also be denoted by (x) .
dx n
183
d2 f
Thus the second derivative is ƒ′′(x) or ƒ[2](x) or ( x) and the third derivative is ƒ′′′(x) or
dx 2
d3 f
ƒ[3](x) or ( x) .
dx 3
Example 4.59: Find the higher derivatives of the following
a) f(x) = 4x3 + x2 – 3x + 7 b) g(x) = ex
c) f(x) = sinx d) g(x) = n(3x)
3 2
Solution: a) For f(x) = 4x + x – 3x + 7, we have
ƒ′(x) = 12x2 + 2x – 3
ƒ′′(x) = 24x + 2
ƒ′′′(x) = 24
ƒ[4](x) = 0 and for n ≥ 4, ƒ[n](x) = 0
b) For g(x) = ex, g′(x) = ex, g′′(x) = ex, and in general for n > 1, g[n](x) = ex
c) f(x) = sinx , ƒ′(x) = cos x
ƒ′′(x) = -sinx , ƒ′′′(x) = -cosx
ƒ (x) = sinx
[4]
and so on
3 1
d) g(x) = n(3x) , g′(x) = = by Chain Rule
3x x
1 2 3.2
g′′(x) = - 2 , g′′′(x) = 3 , g[4](x) = − 4 , …
x x x
Exercise 4.2
1. For each of the following functions, find ƒ′(c) using the definition
a. f(x) = 2x – 4, at c = 1 b. f(x) = x2 + 3, at c = -1
c. f(x) = x3 – 2 at c = 0 d. f(x) = |x + 2|, at c = 2
2. Find the equations of the tangent and normal lines to the graph of f at the given point.
a. f(x) = x2 + x – 1, at (2, 5) b. f(x) = x, at (4, 2)
1 1
c. f(x) = 2cosx, at ( π 2 , 0) d. f(x) = , at (2, )
x 2
3. Find the derivative of the following functions
a. f(x) = (x2 – 5) cosx b. g(x) = x secx
2x − 5x
3
2x
c. d. g(x) =
x +3
2
tan x
4. Find the equations of the tangent and normal lines to the functions at the indicated point.
a. f(x) = sinx cosx, at (π 4 ,1 2 )
x
b. f(x) , at (1,1 2)
x +12
184
5. Find the derivative of the following functions.
a. f(x) = tan3x b. g(x) = x 1 − x 2 c. f(x) = x sin x2
1
d. g(x) = e. f(x) = x2 + x2 +1 f. g(x) = xcosx + 3
5x − 4
(
x −x
2
)
4
cot x
g. f(x) = sin 2 x + 1 h. g(x) = i. f(x) = etanx
x +1 x
j. g(x) = n(nx) k. f(x) = (nx + e x )3 l. f(x) = n2x + nx2
6. Find the first, second and third derivatives of the following function
2
a. f(x) = e x b. g(x) = secx
c. f(x) = sin(2x) + cos(3x) d. g(x) = n(sinx)
At the beginning of this unit we have mentioned that the derivative of a function at a point c in its
domain measures the rate of change of the function around that point. In this section we shall see
how the derivative can be applied to solve a variety of problem in the areas of engineering, the
natural sciences, business and the social sciences. We see how it can be used to solve maximum
and minimum values of a function (i.e., where it has “peaks” and where it has “valleys”), where it
curves upward and where it curves downward, and in general, to sketch the graph of the function.
At the end we shall introduce related rates problems and see how to solve them using the
derivative.
a) Extrema of a Function
Definition. Let ƒ be a function defined on an interval I. If there is a number d in I such that f(x)
≤ f(d) for all x in I, then f(d) is called the maximum value of f
on I. Similarly, if there is a number c in I such that f(x) ≥ f(c) for all x in I, then f(c) is called the
minimum value of f on I. (See Figure 4.8) A value of f that is either a maximum value or a
minimum value of f on I is called an extreme value of f on I.
185
Remark: If the set I is the domain of the function f and if f has a maximum value on I, then
this maximum value is called the (absolute or global) maximum of f.
Similar for minimum value of f.
Hence the function f(x) = x2 for -2 ≤ x ≤ 4 has both extreme values on [-2, 4].
Similarly, the function f(x) = x3 – 4x + 5 for 0 ≤ x ≤ 2 which is continuous on [0, 2] has a
maximum and a minimum value on [0, 2], by Theorem 4.14. Even though the above theorem
tells us about the existence of extreme values on [a, b], it does not tell us where they occur or how
to find them. The following theorem will help us in determining such values.
Theorem 4.15: Let f be defined and continuous on [a, b]. If f has an extreme value
at c in (a, b) and f is differentiable at c, then ƒ′(c) = 0.
186
Example 4.62: Let f(x) = x3 - 3x + 1.
Then ƒ is differentiable and the
critical points of ƒ are the values
of x for which ƒ′(x) = 0,
But ƒ′(x) = 3x2 – 3 = 0
⇔ 3(x – 1) (x + 1) = 0
⇒ x = 1 and x = -1 are critical points of f.
Figure 4.10
If we want to find extreme values of f on, say, the interval [-3, 3] we compute and compare the
values of f at -3, -1, 1 and 3 to get f(-3) = 17 , f(-1) = 3, f(1) = -1 and f(3) = 19.
Thus the minimum value of f on [-3, 3] is -17 which occurs at -3 and the maximum value of f is
19 which occurs at 3.
• Monotonic Functions
One of the important points needed to sketch the graph of a function is to find the regions in
which the graph slopes upward to the right (increases) or it slopes downward to the right
(decreases) as seen in Figure 4.11 (a) and (b), respectively.
y y
x x
(a) (b)
Figure 4.11
Definition 4.12: Suppose f is a function defined on an interval I.
i) f is said to be increasing on I if f(x1) ≤ f(x2) whenever x1 < x2
ii) f is said to be decreasing on I if f(x1) ≥ f(x2) whenever x1 < x2
iii) f is said to be monotonic on I if f is either increasing or decreasing on I.
Remark: we can similarly define the terms strictly increasing, strictly decreasing and strictly
monotonic by replacing ≤ by < and ≥ by >.
187
The derivative of a function gives us a test for monotonicity as is indicated in the following theorem.
Example 4.64: Find the intervals over which the following function f(x) = x 3 – 3x + 1is
monotonic.
Solution: For f(x) = x3 – 3x + 1, ƒ′(x) = 3x2 – 3 = 3(x – 1) (x + 1)
To find the intervals over which ƒ is increasing and decreasing we find the sign of ƒ′(x) using the
critical points x = 1 and x = -1 and the Sign Chart Method.
-1 1
x – 1 - - - - - - - - - - - - - - - 0 + + + + + ++ + +
x + 1 - - - - - - - 0 + ++ + + + + + + + + + + + +
ƒ′(x) + + + + + 0 - - - - - - 0 + + + + + + + + +
188
Example 4.65: Consider again the function f(x) = x3 – 3x + 1.
ƒ′(x) = 3x2 – 3 = 3(x – 1) (x + 1) = 0 gives the critical points x = 1 and x = -1
For the critical point x = -1 check the sign of ƒ′ at -2 and 0 with ƒ′(-2) = 9 > 0 and ƒ′(0) = -3 < 0.
Thus ƒ′(-1) = 3 is a relative maximum value of f.
Similarly taking the critical point x = 1 between 0 and 2, we get ƒ′(0) = -3 < 0 and ƒ′(2) = 9 > 0.
Thus f(1) = -1 is a relative minimum value of f. (See Figure 4.11 above)
The above theorem needs to check the signs of two distinct points to the left and to the right of
each critical point. The next theorem makes use of the sign of the second derivative directly at
the critical points.
Example 4.66: Consider again the function f(x) = x3 – 3x + 1 with ƒ′(x) = 3x2 – 3 = 3(x – 1) (x +
1). We have ƒ′(1) = ƒ′(-1) = 0 and ƒ′′(x) = 6x. Since ƒ′′(-1) = -6 < 0, ƒ(-1) = 3 is a local maximum
value of f. Since ƒ′′(1) = 6 > 0, ƒ(1) = -1 is a local minimum values of f.
4x
Example 4.67: Let f(x) = , Find the local extreme values of f.
x +4
2
4( x 2 + 4) − 4 x(2 x)
Solution: ƒ′(x) = , Quotient Rule.
( x 2 + 4) 2
4 x 2 + 16 − 8 x 2 16 − 4 x 2
= =
( x 2 + 4) 2 ( x 2 + 4) 2
ƒ′(x) = 0 ⇒ 16 – 4x2 = 0 ⇒ x = 2 or x = -2
− 8 x( x 2 + 4) 2 − (16 − 4 x 2 )2( x 2 + 4)(2 x)
ƒ′′(x) = - Quotient Rule and Chain Rule
( x 2 + 4) 4
8 x( x 2 − 12)
= - Simplification.
( x 2 + 4)3
16(−8) −1
Thus ƒ′′(2) = 3
= <0 ⇒ f(2) = 1 is a local maximum value of f and
8 4
− 16(−8) 1
ƒ′′(-2) = 3
= >0 ⇒ f(-2) = -1 a local minimum value of f.
8 4
189
• Practical Applications of the Extrema
A lot of practical problems can be expressed as a continuous function on a closed and bounded
interval we may be interested to find points where f attains its maximum or its minimum values.
For instance we may be interested in finding the maximum area of a region to be enclosed by a
fixed perimeter; the minimum distance from a fixed point to a curve. In economics a function
may represent a profit or cost function and we may want to find the value of x to find maximum
profit and minimum cost, and so on. The Maximum – Minimum Theorem and the first and
second derivative test will be crucial in finding such points as are illustrated in the following
examples.
Example 4.68: A landowner wishes to use 2000 meters of fencing to enclose a rectangular
region. Suppose one side of the land lies along a river and does not need fencing. What should
be the sides of the region in order to maximize the area?
Solution: Suppose the rectangle is to have length x and width y meters as seen in Figure 4.13.
x
Since the length of the fencing is
2000 meters, we have y
x + 2y = 2000
⇒ 2y = 2000 – x ⇒ y = 1000 - x 2
Figure 4.13
190
You can easily check that for x < 250, C′(x) > 0 and for x > 250, C′(x) < 0. Thus by the First
Derivative Test C has an (absolute) maximum value at x = 250.
The maximum revenue the airline gets from the sales of 250 tickets is then
C(250) = 1000(250) – 2(250)2 = 125,000 Birr.
Example 4.70: A manufacturer wishes to produce rectangular containers with square bottom and
top each of which is to have a capacity of 1000 cubic inches. If the cost of production of each
container is proportional to its surface area, what should be the dimensions so as to minimize the
cost of production?
Solution: Let x be the side of the base
and h be the height of the container as seen in Figure 4.15.
Then the volume is h h
V = x2h = 1000
V 1000
⇒ h= 2 = 2 for x > 0 x x
x x
Figure 4.15
To find the surface area, we have the area of the top and bottom as 2x 2 and the area of the four
sides as
1000 4000
4xh = 4x 2 =
x x
Hence the total surface area is given by
4000
s(x) = 2x2 + for x > 0.
x
Since the cost of production is proportional to the surface area, to minimize cost, we find the
minimum value of s.
4000 4 x 3 − 4000
s′(x) = 4x - = =0
x2 x2
⇒ 4x3 – 4000 = 0 ⇒ x3 = 1000
⇒ x = 10 is the only critical point.
By the Second Derivative Test, we have
8000
s′′(x) = 4 + with s′′(10) = 4 + 8 = 12 > 0
x3
Thus x = 10 gives the minimum value s(10) = 600 sq. in.
1000 1000
The height is h = = = 10 in.
x2 100
Hence the manufacturer would minimize the cost of production by manufacturing cubes of side
10 inches.
Curve Sketching
As a second application of the derivative we shall see here sketching the graphs of functions.
You have been sketching the graphs of polynomial and rational functions starting from your high
191
school mathematics. Here we systematically apply the notions of differential calculus to give
precise meaning to the asymptotes, intervals of increase and decrease, the turning points and find
the range of the functions.
First we shall list the important items that will help us in sketching the graph of a function y = f(x).
1) Determine the domain of the function f.
2) Find the intercepts of the function f.
- x-intercepts are points of the form (x, 0)
- y-intercepts are points of the form (0, y)
3) Determine the asymptotes, if any, of the function f.
- A line x = c is a vertical asymptote of the graph of f iff
lim+ f(x) = ± ∞ or lim− f(x) = ±∞.
x →c x →c
x−2 x−2 x
Since lim f(x) = lim = lim = 1, the line y = 1 is a horizontal asymptote for the
x →∞ x →∞ x + 2 x →∞ x + 2 x
graph of f.
To find the intervals of monotonicity, let us first find f '(x).
By the Quotient Rule for Differentiation,
192
( x + 2)( x −2)' −( x −2)( x + 2)' x + 2−( x −2)
f '(x) = ( xx+−22 ) ' = 2
= = 4 .
( x + 2) ( x + 2) 2 ( x + 2)2
Hence f '(x) > 0 for every element x in the domain of f. It follows that f is strictly increasing on (-
∞ , -2) and on (-2, ∞ ).
ƒ has no critical number and hence no local extrema.
Additional points: f(-1) = -3, f(1) = - 1 3
ƒ′(x) > 0 in the interval (-∞, -1) ∪ (1, ∞) so that it is strictly increasing in (-∞, -1) ∪ (1, ∞).
ƒ′(x) < 0 in the interval (-1, 1) \ {0} so that f is strictly decreasing in (-1, 1) \{0}.
193
Using the first derivative test, you can see that f(-1) = -2 is a local maximum and f(1) = 2 is a
local minimum. You can also apply the second derivative test to see this.
−5 5
Additional points: f(-2) = − 5 2 , f (− 1 2 ) = , f (1 2 ) = 5 2 , f(2) = .
2 2
Graph of f ( x ) = x + 1
x
Related Rates
One of the most important applications of the derivative is to solve problems involving rates of
change. As was mentioned at the beginning of this section the derivative measures the rate of
change of a variable quantity (which is the independent variable x) with respect to another
variable (which is the dependent variable y = f(x)). Here we shall apply this to solve some
practical related rates problems.
Example 4.73: Suppose a particle P starts from a point 0 and moves along a straight line in the
positive direction as See in Figure 4.18
Let s(t) devote the distance traveled from
0 in t seconds. If we assume that the speed 0 P
is constant, then we can compute the speed as Figure 4.18
distance traveled
speed =
time elapsed
If we are interested to find the average speed of the particle between two times t 1 and t2
(with t1 < t2), we get
change in distance s (t 2 ) − s (t1 )
Average speed = =
change in time t 2 − t1
In particular if t1 is any time t and t2 is a short time later say t2 = t + h for h > 0, then we have
s (t + h) − s (t ) s (t + h) − s (t )
Approximate speed (at t = t1) = =
t +h−t h
194
If the speed is not even constant, by taking h smaller and smaller we can approximate the speed of
the particle at time t, to get what is called the (instantaneous) velocity of the particle as
s (t + h) − s (t )
v(t) = lim
h →0 h
Thus, if s(t) denotes the position function of the particle its velocity is given by
ds
v(t) = s′(t) = - rate of change of position.
dt
Similarly, the acceleration of the particle can be obtained by
dv
a(t) = v′(t) = - rate of change of velocity
dt
v(t + h) − v(t ) d 2s
= lim = s′′(t) = 2
h →0 h dt
For instance if s(t) = t – 6t + 20 for 0 ≤ t ≤ 6,
3 2
Example 4.74 : Water is flowing into a vertical cylindrical tank of radius 2 feet at the rate of 8
ft3/min. How fast is the water level rising after t minutes?
h(t)
v(t)
Figure 4.19
Solution: Let v(t) denote the volume of water in the tank after t minutes and let h(t) denote the
height of water in the tank after t minutes. See Figure 4.19.
Since the rate at which water is flowing into the tank is 8 ft 3/min. the volume of water in the tank
after t minutes is
v(t) = 8t
On the other hand since the base of the cylinder is 2 feet and height in h minutes is h(t), we have
the volume
v(t) = πr2h(t) = 4πh(t)
2
Thus 4πh(t) = 8t ⇒ h(t) = t
π
The rate at which the water level is rising in then
2
h′(t) = ft|min, a constant! (why?)
π
195
Example 4.75: Two automobiles start from a point A at the same time. One travels west at 60
km/hr and the other travels north at 35 km/hr. How fast is the distance between them increasing 3
hrs later?
Solution: Let s(t) denote the distance
between the two cars after t hrs. In s(t)
t hrs the car due north travels 35t kms 35t
and the car due west travels 60t kms A
as seen in Figure 4.20 60t
Figure 4.20.
Hence the distance s(t) between the two cars in t hrs is
s(t) = (35t ) 2 + (60t ) 2
The rate of change of the distance between the cars is
2(35) 2 t + 2(60) 2 t
s′(t) = … How ?
2 (35t ) 2 + (60t ) 2
Hence after 3 hrs the distance between the two cars is increasing at the rate of
3(35) 2 + 3(60) 2
s′(3) = = 5 193 km/hr
3 (35) 2 + (60) 2
Exercise 4.3
1. Find relative extrema and the intervals in which the given function is increasing or
decreasing
a) f(x) = 5 – 4x – x2 b) g(x) = x3 + x2 – x – 4
x 1
c) f(x) = d) g(x) = x2 +
x +1
2
x2
2. Use the First or Second Derivative Test to determine relative extreme values of the function
x2 4
a) f(x) = 5x2 – 2x + 1 b) g(x) = +
4 x
1 1
c) f(x) = x4 + x d) g(x) =
2 x +1
2
cos x
e) f(x) = f) g(x) = (x2 + 2)6
1 + sin x
196
4. A menu of total area of 100 sq. in. is printed with 2 in. margins at the top and bottom and
1in. margins at the sides. For what dimensions of the menu is the printed area largest?
5. A rectangle of perimeter p is rotated about one of its sides so as to from a cylinder. Of all
such possible rectangles, which generated a cylinder of maximum volume?
6. The volume of a spherical balloon is increasing at a constant rate of 8 cubic feet per minute.
How fast is the radius of the sphere increasing when the radius is exactly 10 feet?
7. At midnight ship B was 90 miles due south of ship A. Ship A sailed east at 15 m/hr and
ship B sailed north at 20 m/hr. At what time were they closest to each other?
Section Objectives
At the end of this section you should be able to:
• define an anti-derivative of a continuous function.
• state properties of anti-derivatives.
• find indefinite integrals of some elementary functions.
• evaluate the integrals of functions using the techniques of integration.
• solve integrals involving trigonometric functions.
• find the definite integral of continuous functions.
• apply the concepts of definite integrals to find areas of regions bounded by continuous
functions.
As is mentioned above the process of integration is the inverse process of differentiation and
hence is sometimes called taking anti-derivatives.
Definition 4.13: A function F(x) is called an anti-derivative of a continuous function f(x) if and
only if F′(x) = f(x) for every x in the domain of f.
Example 4.76: Let f(x) = 3x2 + 4x. Then the function F1(x) = x3 + 2x2 is an anti-derivative of
d 3
f(x), since F′(x) = (x + 2x2) = 3x2 + 4x = f(x).
dx
Note that F1 is not the only anti-derivative of f(x). You can also check that F 2(x) = x3 + 2x2 + 5
and F3(x) = x3 + 2x2 – 7 are also anti-derivatives of f.
197
In fact, if c is any real number, then F(x) = x3 + 2x2 + c is an anti-derivative of f(x) = 3x2 + 4x
d
since F′(x) = (x3 + 2x2 + c) = 3x2 + 4x = f(x)
dx
Notation and terminologies: Given a function f, the symbol ∫ f ( x)dx stands for any (and
hence all) anti-derivatives of f. i.e. if F(x) is an anti-derivative of f(x), we write ∫ f ( x)dx = F(x)
+ c, for any constant c. The symbol ∫ is called the integral sign. The function f(x) is called the
integrand, x is called the variable of integration, and c is called a constant of integration.
∫ f ( x)dx is also called the indefinite integral of f with respect to x.
Examples 4.78:
1) ∫ 4 cosxdx = 4 ∫ cosxdx = 4sinx + c
1 1
2) ∫ e − dx = ∫ exdx - ∫ dx = ex – n|x| + c
x
x x
3) If f(x) = x , for any rational r ≠ -1, then
r
x r +1
∫ f(x)dx = ∫ xrdx =
r +1
+c (verify!)
198
−1
x6 −3 x 2
−2
∫ + c and ∫x +c = +c.
5
Thus, x dx = 2
dx =
6 −1 x
2
1
∫ x ∫x dx + 2 ∫ sec 2 xdx
−3
4) 3
+ 2 sec 2 x dx =
1
= −
+ 2tanx + c.
2x 2
5) If P(x) = anxn + an-1xn-1 + … + a2x2 + a1x + a0 is a polynomial, then its anti-derivative is
given by
a x n +1 a xn a x 3 a1 x 2
P(x) = ∫ P( x) dx = n + n −1 + …+ 2 + + a0 x
n +1 n 3 2
Thus, ∫ (3x4 + 2 x3 – 5x + 2)dx = 3 ∫ x4dx + 2 ∫ x3dx - 5 ∫ xdx + ∫ 2dx
3 5 2 4 5 2
= x + x - x + 2x + c
5 4 2
In the previous section we were trying to find anti-derivatives of some functions whose
derivatives can easily be found from the previous unit on differentiation. But there are various
functions such as
2x
f(x) = (x + 3)5 , g(x) = xe-x and h(x) =
x( x 2 − 4)
whose anti-derivatives are not readily found. In this section we shall see some techniques to find
the integrals of such functions.
a) Integration by Substitution
This technique is basically developed by reversing the Chain Rule. It is very helpful in finding
the integrals of functions that appear as the composite of two functions.
Suppose we want to find the indefinite integral
∫ ( x + 3)
5
dx
we may expand (x + 3)5 and then integrate term by term using the formula
1 r +1
∫ x dx = r + 1 x + c .
r
But this would obviously be very tedious and cumbersome. On the other hand if we replace or
substitute u for x + 3, we get
du d
(x + 3)5 = u5 and = (x + 3) = 1 ⇒ dx = du.
dx dx
199
1 6 1
∫ (x + 3) dx ∫ (x + 3) dx
5 5
Thus, = ∫ u 5 du = u + c. Hence, = (x + 3)6 + c, for some constant c.
6 6
du
Solution: Let u = x2 – 5. Then, = 2x which implies that du = 2xdx. Thus,
dx
1 7 1 2
∫ 2x(x2 – 5)6dx = ∫ u6du =
7
u + c and hence ∫ 2x(x2 – 5)6dx =
7
(x – 5)7 + c.
x
Example 4.80: Integrate ∫ 1+ x2
dx
du 1
Solution: Let u = 1 + x2. Then, = 2x which implies that xdx = du . Therefore,
dx 2
x 1 du 1 −1 1 1
∫ 1+ x 2
dx = ∫ u 2
= ∫ u 2 du = .2.u 2 + c =
2 2
u + c = 1 + x 2 + c.
du 1 1 1
Solution: Let u = 4x. Then = 4 ⇒ dx = du. Thus ∫ sin 4 xdx = ∫ sin udu = - cosu +c
dx 4 4 4
1
=- cos4x+ c.
4
1 1
In general ∫ sin axdx = - cosax + c, and ∫ cos bxdx = sinbx + c
a b
These two formulas can be used to find integrals involving trigonometric functions together with
trigonometric identities.
200
1 − cos 2 x 1 + cos 2 x
sin2x = and cos2x =
2 2
1 1
Thus ∫ sin 2 x cos 2 xdx = ∫ 2 (1 − cos 2 x) 2 (1 + cos 2 x)dx
1 1 1
=
4 ∫ (1 − cos 2 2 x)dx = ∫ 1 − (1 + cos 4 x)dx
4 2
1 1 1 1
= ∫ dx − ∫ cos 4 xdx = x − sin 4 x + c.
8 8 8 32
− du 1
Hence, ∫ tan xdx = ∫ u
= - ∫ du = -n|u| + c = -n|cosx| + c.
u
You can similarly find ∫ cot xdx .
b) Integration by Parts
The method of integration by parts is basically developed from the Product Rule for
differentiation. If f and g are differentiable functions, we have
(f(x)g(x))′ = ƒ′(x) g(x) + g′(x) ƒ(x)
Integrating on both sides with respect to x, we get
f(x) g(x) = ∫ f ′( x) g ( x)dx + ∫ g ′( x) f ( x)dx
If one of the integrals on the right can be easily evaluated, we can find the other integral using the
following theorem
In some cases we may have to apply integration by parts more than once to arrive at the required
result as in the following example.
202
Thus, ∫ e x sin xdx = -excosx + ∫ e x cos xdx which implies 2 ∫ e x cos xdx = exsinx + excosx + c.
1 x
Therefore, ∫ e x cos xdx = e (sinx + cosx) + c.
2
c) Integration by the Method of Partial Fractions
1
Example 4.90: Find ∫x
−4
dx
2
Since the denominators are equal, we equate the numerators as A(x+2) + B(x - 2) = 1.
From equality of polynomials, we get
A + B = 0 −1
⇒ A = 1 4 and B =
2 A − 2B = 1 4
1 14 −1 4 1 dx 1 dx 1 1
Hence, ∫x 2
−4
dx = ∫ +
x − 2 x + 2
dx =
4 ∫ x−2-4 ∫ x+2= 4
n|x – 2| - n |x+2| + c.
4
3x 2 + x − 1
Example 4.91: Find ∫ x 3 − x 2 − 2 x dx
Solution: The denominator x3 – x2 – 2x = x(x2 – x – 2) = x(x + 1) (x – 2) has three roots 0, -1 and
2.
3x 2 + x − 1 3x 2 + x − 1 A B C
= = + +
x − x − 2x
3 2
x ( x + 1)( x − 2) x x +1 x − 2
A( x − 1)( x − 2) + Bx ( x − 2) + Cx ( x − 1)
=
x( x + 1)( x − 2)
⇒ A(x+1) (x - 2) + B x(x - 2) + Cx(x+1) = 3x2 + x – 1
203
This equation is true for all x∈R. In particular,
when x = 0, A(1)(-2) = -1 ⇒A=12
when x = -1, B(-1)(-3) = 1 ⇒B=13
when x = 2, C(2)(3) = 13 ⇒ C = 13 6
3x 2 + x − 1 1 dx 1 dx 13 dx 1 1 13
Hence, ∫ x 3 − x 2 − 2 x dx = 2 ∫ x
+
3 ∫ x +1 + 6 ∫ x − 2 = 2 n|x| + 3
n|x + 1| +
6
n|x-2|+c.
For a very long time, mathematicians have struggled with the problem of finding areas of plane
regions. Until the invention of the integral calculus, however, the regions considered were mostly
those regions bounded by straight lines, called polygons, with a few exceptions such as the circle
and the ellipse. The Greek mathematicians found the area of a polygon by first finding the area of
a rectangle, then finding the area a parallelogram, and then finding the area of a triangle. The area
of a polygon can be used to approximate the area of a region bounded by curved boundaries. For
instance, the area of a circle can be found by drawing a sequence of inscribed polygons
P4, P8, P16, …,Pn, and then taking limit as n → ∞.
To develop the idea for more general regions, consider the region bounded by the graphs of
y = 2x2 + 1, x = 0, x = 6 and x-axis.
To find the area of the region, let us identify the region S by drawing its boundaries, namely the
graphs of y = f(x) = 2x2 + 1, x = 0, x = 6 and the x-axis as shown in Figure 4.21.
Figure 4.21
Unfortunately, since f(x) = 2x2 + 1 is a curve that is not a line segment, we cannot find the area of
the region by the elementary methods. So, it is necessary to develop a stronger technique that also
generalizes the elementary method and enables us to find the area of such regions.
204
Let A(S) denote the area of the region S. It is not difficult to give lower and upper bounds of
A(S). For instance, we consider the rectangle r that is enclosed by the boundaries of S and the
rectangle R that encloses S, as shown in Figure 4.22.
Figure 4.22
Then A(r) = 6 and A(R) = 6 × 73 = 438. Hence 6 ≤ A(S) ≤ 438, which gives a wide range
of bounds of A(S).
Better bounds of A(S) can be obtained if we consider the finer rectangles r1 , r 2 , r 3 , r 4 ,
r5 and r 6 that are enclosed by the boundaries of S and R1, R2, R3, R4, R5 and R6 that enclose S as
shown in Figure 4.23.
Figure 4.23
Figure 4.23
Evidently, each of the rectangles has base 1 unit but varying heights. It follows that
A( r1 )+A( r 2 ) + … + A( r 6 ) ≤ A(S) ≤ A(R1) + A(R2) + … + A(R6)
6 6
i.e., ∑ A(ri ) ≤ A(S) ≤ ∑ A( Ri ) which gives 116 ≤ A(S) ≤ 188.
i =1 i =1
205
To give a formal definition of the subdivisions, for any positive integer n, divide [a, b] into
subintervals by introducing points of subdivision x0, x1, …xn
Definition 4.14: A partition of [a, b] is a finite set P of points x 0, x1, …, xn such that
a = x0 < x1 < x2 < … < xn = b. We describe P by writing P = { x0, x1, …xn}
By definition, any partition of [a, b] must contain a and b.
The length of any subinterval [xi-1, xi] of a partition P is defined and given by
∆xi = xi – xi-1
In particular, when the lengths of each subintervals are equal, it is called a regular partition.
In this section we shall consider only regular partitions, so that the length of each subinterval is
b−a
∆xi = xi – xi-1 =
n
Having chosen a partition P of [a, b], we inscribe and circumscribe rectangles on the region R
using the division points of P as seen in Figure 7.3(a) and (b). Since f is continuous on [a, b], by
the Maximum-Minimum Theorem, for each i between 1 and n, there is a minimum value m i and a
maximum value Mi of f on the subinterval [xi-1, xi]. If ri and Ri denote the inscribed and
circumscribed rectangles on [xi-1,xi], respectively, then the area of ri is A(ri) = mi∆xi and the area
of Ri is A(Ri) = Mi∆xi, since the base of both ri and Ri is ∆xi = xi - xi-1. From our observation in
Figure 7.3 (a) and (b) we see that the area of the region R is between the sum of the inscribed
rectangles and the sum of the circumscribed rectangles.
Definition 4.15: Let f be continuous on [a, b] and P be any partition of [a, b].
The sum Lf(P) = m1∆x1 + m2∆x2 + …+ mn∆xn
is called the lower sum of f associated with P and the sum
Uf(P) = M1∆x1 + M2∆x2 + … + Mn∆xn
is called the upper sum of f associated with P.
From our construction we see that if P is any partition of [a, b], then the area of R should be
between Lf(P) and Uf(P) i.e.
Lf(P) ≤ Area (R) ≤ Uf(P)
1 3
Example 4.92: Let f(x) = x2 for o ≤ x ≤ 2 and let P = 0, ,1, ,2 be a partition of [0, 2].
2 2
1 1 3 3
Then the subdivision of [0, 2] associated with P are 0, , ,1 , 1, , ,2 . Since x2 is an
2 2 2 2
increasing function on [0, 2], the minimum value of f on each subinterval is at the left end point
and the maximum value of f at the right end point. Thus
1 1 3 9
m1 = f(0) = 0, m2 = f = , m3 = f(1) = 1, m4 = f =
2 4 2 4
1 1 3 9
and M1 = f = , M2 = f(1) = 1, M3 = f = , M4 = f(2) = 4
2 4 2 4
2−0 1
The base of each subinterval is ∆xi = = . Thus the lower sum of f associated with P is
4 2
206
1 1 1 1 9 1 7
Lf(P) = 0. + . + 1. + . =
2 4 2 2 4 2 4
and the upper sum of f associated with P is
1 1 1 9 1 1 15
Uf(P) = . + 1. + . + 4. =
4 2 2 4 2 2 4
Therefore the area of the region R below the graph of f(x) = x 2 above the x-axis on [0, 2] is
7 15 7 15
between and , i.e. ≤ Area(R) ≤ .
4 4 4 4
Definition 4.16: Let f be continuous on [a, b]. The definite integral of f from a to b is the
unique number I satisfying Lf(P) ≤ I ≤ Uf(P) for every partition P of [a, b].
This integral is denoted by
b
I= ∫ f ( x)dx
a
The numbers a and b are called the lower and upper limits of integration, respectively.
Note that as the number of subdivisions of an interval [a, b] increases, the minimum and the
maximum values of f on [xi-1, xi] are close to each other. For each i from 1 to n if we take an
arbitrary number ti in [xi-1, xi], then we get the sum
n
∑ f (t )∆x
i =1
i i = f(t1)∆x1 + f(t2)∆x2 + …+ f(tn)∆xn
upper sum we are to evaluate it here by the use of the Fundamental Theorem of Calculus.
For the moment we can conclude that if f is continuous and nonnegative on [a, b], then the area of
the region R between the graph of f and the x-axis on [a, b] is given by
b
Area(R) = ∫ f ( x)dx .
a
207
b
if f(x) ≤ 0, for a ≤ x ≤ b, then ∫ f ( x)dx
a
≤ 0.
∫ f ( x)dx = ∫ f ( x)dx
a a
+ ∫ f ( x)dx
c
- Additive Property
a
f) ∫ f ( x)dx
a
= 0 for any number a.
a b
g) ∫
b
f ( x) dx = - ∫ f ( x) dx .
a
b
To develop a general method for evaluating ∫ f ( x)dx
a
without computing lower and upper sums
we shall state the most important theorem in calculus: The Fundamental Theorem of Calculus.
To this end let f(t) be continuous on [a, b]. Then f is integrable on [a, b] and for any x∈[a, b] the
x x
definite integral ∫ f ( x)dt
a
exists. Define a function F on [a, b] as F(x) = ∫ f (t )dt
a
In effect the Fundamental Theorem of Calculus states that the function F(x) is differentiable with
derivative f(x) thereby eliminating the integral by the derivative. It also shows us how to evaluate
the definite integral.
Theorem 4.22: (Fundamental Theorem of Calculus)
Let f(t) be continuous on [a, b] and for each x ∈[a, b] let
x
F(x) = ∫ f (t )dt
a
b
Remarks: a) From (ii) to evaluate ∫ f ( x)dx all we have to do is to find an anti-derivative of F
a
of f and find the difference of its values at a and at b. This is usually denoted by
b
[F ( x)]ba or F ( x) to mean F(b) – F(a).
a
208
b) If F is an anti-derivative of f, then F(x) + c, for any constant c is also an anti-derivative of
f. But since [F ( x) + c ]a = (F(b) + c) – (F(a) + c) = F(b) – F(a) = F ( x) ba
b
the constant c does not play any role in evaluating the definite integral. Thus we can
always take c = 0.
1
Example 4.93: Let f(x) = x2 for 0 ≤ x ≤ 2. Then F(x) = x 3 is an anti-derivative of f, so that by
3
the Fundamental Theorem of Calculus.
2
1 3 2 1 1 8 8
∫ x dx = F(2) – F(0) = 23 - .03 = − 0 =
2
= x
0
3 0 3 3 3 3
From our previous discussion, the area of the region R under the graph of f(x) = x 2 on [0, 2] above
2
∫ x dx
2
the x-axis is thus = 8 3 sq. units.
0
2 32
Solution: a) Since F(x) = 3. . x = 2x x is an anti-derivative of f(x) = 3 x , we have
3
4
∫3
0
x dx = F(4) – F(1) = 2(4) 4 - 2(1) 1 = 16-2 = 14
π 2 π2
x2 π2 π2
c) ∫0 ( x + cos x ) dx = 2
+ sin x
0
=
8
+ 1
- (0 + 0) =
8
+1.
1 1
5 4 x 5 13
∫0 (5x + 2 x − e )dx = 4 x + x − e 0 = + 1 − e - (0 + 0 – 1) = −e
3 x 2
d)
4 4
Remark: For functions that are given by more than one formula we evaluate the definite integral
using the additive property.
1
Example 4.95: Evaluate ∫ x + 1dx
−2
209
x + 1, for x ≥ − 1
Solution: By definition |x + 1| =
− ( x + 1), for x < − 1
y
Then by Additive Property, we have
1 −1 1
∫
−2
x + 1dx = ∫ − ( x + 1)dx +
−2
∫ ( x + 1)dx
−1
−1 1
x2 x2
= - + x + + x x
2 −2 2 −1
Figure 4.23
1 1 1 1
= - − 1 − (2 − 2) + + 1 − − 1 = + 2 = 5 2
2 2 2 2
b g (b )
- Change of Variable.
∫
a
f ( g ( x)) g ′( x)dx = ∫ f (u )du
g (a)
3
Example 4.96: Evaluate ∫x
2
x 2 − 4dx
Solution: We have two possibilities to evaluate such a definite integral. One way is to find an
anti-derivative of x x 2 − 4 and evaluate it between 2 and 3 by the Fundamental Theorem of
Calculus. The other is to use the change of variable formula and change the limits of integration
before integrating.
To this end, let u = g(x) = x2 – 4. Then du = 2xdx.
When x = 2, u = g(2) = 0 and when x = 3, u = g(3) = 5
3 3 5
du 1
∫ x x − 4dx = ∫ = ∫ u1 2 du
2
Thus u
2 0
2 20
5
1 2 1 5 5
= . u u = .5, 5 - 0 = .
2 3 0 3 3
• Application of the Definite Integral: Area
The definite integral has several applications such as finding areas of regions, arc length
of curves, surface areas and volumes of solids of revolution. In this section we shall see
how to find areas of plane regions with curved boundaries using the definite integrals.
210
In the previous section we have seen that if f(x) ≥ 0 for all x ∈[a, b] and if f is continuous on [a,
b
b], then ∫ f ( x)dx
a
gives the area of the region R below the graph of f, above the x-axis, between
the lines x = a and x = b. For instance, if f(x) = x2 for 0 ≤ x ≤ 2, then the area of R as given in is
2
x3 2
∫ x dx = = 8 3 sq. units.
2
given by A(R) =
0
3 0
- If f(x) ≤ 0 on [a, b], then taking g(x) = -f(x) ≥ 0 for a ≤ x ≤ b, the area of the region R below the
b b b
x-axis, above the graph of f on [a, b] is given by A(R) = ∫ g ( x)dx = ∫ − f ( x)dx = - ∫ f ( x)dx .
a a a
For instance, if f(x) = 2x for -2 ≤ x ≤ 0, then the area of the region R below the x-axis, above the
graph of f on [-2, 0] is given by
0 0 0
A(R) = - ∫ f ( x)dx = - ∫ 2xdx = -x2 − 2 = -[0 - 4] = 4 sq. units.
−2 −2
Now let f and g be continuous on [a, b], and assume that f(x) ≥ g(x) for a ≤ x ≤ b. Then the area
of the region R below the graph of f, above the graph of g, and between the lines x = a and x = b
is given by
b
A(R) = ∫ [ f ( x) − g ( x)]dx
a
Example 4.97: Find the area of the region bounded by f(x) = 2 x , g(x) = -x and line x = 9.
Solution. Sketching the graphs of y = f(x), y = g(x) and x = 9, the region R can be identified as
shown in Figure 4.24.
y
y=2 x
R 9 x
y = -x
Figure 4.24
It follows that
211
3
∫ 0 ( f ( x) − g ( x))dx = ∫ 0 (2 )
9 9 2 9
A(R) = x + x dx = 4
3
x2 + x | = 76.5 .
2 0
Exercise 4.4
x3 − 4 x
c) ∫ 3 sinxdx f) ∫ x 2 dx
2. Find the following integrals by substitution
dx
∫ x−3 ∫ sin
2
a) c) x cos xdx
n 4 x
∫ e dx ∫ x dx
x3
b) d)
5. Find the area of the region R between the graph of f and the x-axis on the given interval
a) f(x) = x2 + 1 , on [1, 3]
b) f(x) = 2 + cosx, on [0, 3π 2]
1
c) f(x) = , on [1, 4]
x
d) f(x) = |x| - 1, on [-1, 2]
6. Find the area of the region between the graphs of the following functions.
. a) f(x) = x2 and g(x) = 2 – x
212
References
1. Alemayehu Haile and Yismaw Alemu, Mathematics an Introductory Course,
Department of Mathematics, Addis Ababa University
2. Demisu Gemeda and Seid Mohammed, Fundamental Cocepts of Algebra, AAU
3. Edwin J. Purcell, Dale Varberg, Calculus with Analytic Geometry
4. G. Chartrand, A. D. Polimeni and P. Zihang, Mathematical proofs: a transition to
advanced mathematics 3rd edition, Pearson Education. Inc.
5. Goodman Hirsch, Precalculus-Understanding functions, 2000
171