Professional Documents
Culture Documents
3 Limit and Continuity: 3.1 Definition of Limits
3 Limit and Continuity: 3.1 Definition of Limits
if we can make f ( x) close enough to L by choosing x close enough to a but distinct from
a. Although this intuitive definition is sufficient for solving limit problems it is not prices
enough. In this section we see the formal definition of limit, which we call the ε − δ
definition of limit.
Definition 3.1 (Formal definition of limit)
The limit of f ( x) as x approach a is L, written
lim f ( x) = L
x →a
if every ε > 0, there exists a δ > 0 such that |f(x) - L| < ε whenever 0 < |x - a| < δ.
In Definition 3.1 above we should not that
I. The absolute value symbol is read as “ the distance between” for instance |x - a| is the
distance between x and a.
II. Notice that |x - a| >0. In other words x is not equal to a.
So with this in mind we can read the definition as:
“ The distance between f ( x) and L can be made smaller than any positive number ε,
whenever the distance between x and a is less than some number δ and x does not
equal a.” Fig 3.1 below represents this idea pictorially.
y
L+ε
L
L-ε
x
a-δ a a-δ
Fig 3.1
If we wish to use a form of Definition 3.1 that does not contain absolute value symbols
we can have the following alternative definition of limit.
Definition 3.2 lim f ( x) = L if and only if for every ε>0, there is a δ>0 such that if x is in the
x→a
open interval (a – δ, a +δ) and x ≠ a then f(x) is in the open interval (L –ε, L + ε).
Using either of the definitions of limit given above we can prove the following theorem.
Theorem 3.3 If lim f ( x) = L and lim f ( x) = M then L=M.
x→a x→a
The above theorem tells us that if a limit of a function f(x) at a exists then it must be
unique.
Solution:
We need to show that given ε > 0 then there exists δ > 0 such that
if 0 < x − 2 < δ then (5 x − 7) − 3 < ε
value is chosen for . For example, will work. Thus, if , then it follows
that . This completes the proof.
A similar proof as example 2 shows us that for any number a and k
lim k = k (1)
x→a
iff
iff
iff
iff .
We will now “replace” the term |x+1| with an appropriate constant and keep the term |x-1| ,
since this is the term we wish to “solve for”. To do this, we will arbitrarily assume that
(This is a valid assumption to make since, in general, once we find a that works, all smaller
iff
iff .
Now choose (This guarantees that both assumptions made about in the
course of this proof are taken into account simultaneously.). Thus, if , it
follows that . This completes the proof.
iff
iff
iff
iff
iff
iff
iff .
We will now “replace” the term |x+3| with an appropriate constant and keep the term |x-3| ,
since this is the term we wish to “solve for”. To do this, we will arbitrarily assume that
(This is a valid assumption to make since, in general, once we find a that works, all smaller
values of also work.) . Then implies that -1 < x-3 < 1 and 2 < x < 4 so that 5
< |x+3| < 7 and (Make sure that you understand this step before
proceeding.). It follows that (Always make this “replacement” between your last expression
on the left and . This guarantees the logic of the proof.)
iff
iff
iff .
Now choose (This guarantees that both assumptions made about in the
course of this proof are taken into account simultaneously.). Thus, if , it
iff
iff
(At this point, we need to figure out a way to make | x-9 | “appear” in our computations.
Appropriate use of the conjugate will suffice.)
iff
(Recall that .)
iff
iff .
iff .
We will now “replace” the term with an appropriate constant and keep the term |x-9|
, since this is the term we wish to “solve for”. To do this, we will arbitrarily assume that
(This is a valid assumption to make since, in general, once we find a that works, all
smaller values of also work.) . Then implies that -1 < x-9 < 1 and 8 < x < 10
iff .
Solution:
We need to show that given ε > 0 then there exists δ > 0 such that
implies
Looking for δ:
Hence, we let
some ε>0 such that for ever δ> 0 there is a number x satisfying
0<|x – a|<δ and | f(x) – L| ≥ ε.
Example 8 Let f be defined by
⎧ x 2 for x > 0
f ( x) = ⎨
⎩− 1 for x ≤ 0
Solution: Let L be any number. We will prove tht the statement “L is the limit of f at 0” is
false by letting ε=1/2 and showing that for any δ>0 there is an x satisfying
0<|x – a|<δ and |f(x) – L| ≥½ = ε
Let δ be any positive number. If L ≤ – ½ , then we let x =δ/2 and note that f(x) = x2 so that
δ2 δ2 1 1
f ( x) − L = −L ≥ + > =ε
4 4 2 2
If L ≥ – ½, then we let x = – δ/2 and note that f(x) = -1, so that
1 1
f ( x) − L = − 1 − L = − 1 1 + L ≥ 1 − = = ε
2 2
In either case we have shown that for any δ>0 there is an x satisfying
0<|x – a|<δ and |f(x) – L| ≥½ = ε
There for f has no limit at 0.
Class work
Using the ε-δ definition of limit, prove that
1. lim 2 x − 1 = 1 2. lim x − 1 = 1 3. lim x 2 = 4 4. lim 2 x − 1 ≠ 3
x →1 x→2 x→2 x →1
Solution: Let ε > 0 be given we need to show there is a δ>0 such that
if 0 < x − 1 < δ , then x −1 − 0 < ε
Note if lim f ( x) = lim− f ( x) = ∞ then we right simply lim f ( x) = ∞ for the common
x →a + x →a x →a
expression and say that the limit of f(x) as x approaches a is ∞ and that f has an infinit
limit at a.
Example 10 Show that lim1 / x 2 = ∞ . Show also that the line x = 0 is a vertical
x→a
Solution: Let ε>0. To show that lim 1 / x = 0 we must find an M such that
2
x →∞
1 1 1
if x > M , then 2
−0 = 2 = 2 <ε
x x x
But then
1 1
if x > , then <ε
ε x2
Therefore we let M = 1 ε and conclude that lim 1 / x 2 = 0 . To show that lim 1 / x 2 = 0
x →∞ x → −∞
completely analogues.
Solution: We use the fact that x 3 > x for x > 1. For any N, choose M so that M>1 and M
> N. Then it follows that
if x > M , then x 3 > x > M > N
therefore by Definition 3.8
lim x 3 = ∞.
x →∞
2. lim cf ( x) = c lim f ( x)
x→a x→a
f ( x) f ( x) lim f ( x)
4. if lim g ( x) ≠ 0 and lim exists then lim = x→a .
x→a x→a g ( x) x→a g ( x) lim g ( x)
x→a
Proof: Here we proof (1). Statement (2), (3), and (4) are left as exercise.
Let lim f ( x) = L and lim g ( x) = M we need to show for every ε>0 there is some δ>0 such
x→a x→a
that if 0 < x − a < δ , then f ( x) + g ( x) − ( L + M ) < ε . Observe that lim f ( x) = L iff for
x →a
every ε/2 >0 there is a δ1>0 such that if 0 < x − a < δ 1 , then f ( x) − L < ε / 2.
Similarly lim g ( x) = M iff for every ε/2 >0 there is a δ2>0 such that
x →a
Now let as quickly go through some important limit finding techniques that would
require a little bit of caution before applying the rules in Theorem 3.9.
lim x x = lim+ x 2 = 0
x →0 + x →0
x +1
Example 16 Prove that lim does not exist
x → −1 x +1
Solution:
x +1 x +1 x +1 x +1
lim+ = lim+ = lim+ 1 = 1 and lim− = lim− = lim− − 1 = −1
x → −1 x + 1 x → −1 x + 1 x → −1 x → −1 x + 1 x → −1 − ( x + 1) x → −1
x − 2x 2
Solution: Deveiding the numerator and the denominator of by x2 in the limit we
x −1
2
have
x − 2x 2 1/ x − 2
lim 2 = lim = −2
x →∞ x − 1 x →∞ 1 − 1 / x
similarly
x − 2x 2 1/ x − 2
lim = lim = −2.
x → −∞ x 2 − 1 x → −∞ 1 − 1 / x
x − 2x 2
Observe here that y = -2 is the horizontal asymptote of the graph of f(x) = .
x2 −1
x − 2x 2
Example 18 Let f(x) = . Find all vertical asymptotes of the graph of f.
x2 −1
Solution: Since f is not defined at x =1 and x = –1 they are the possible vertical
asymptotes but to confirm our claim we use limit:
Since
x − 2x 2 x 1 − 2x
lim = lim+ = −∞ and
x →1+ x 2 − 1 x →1 x + 1 x − 1
x − 2x 2 x 1 − 2x
lim+ 2 = lim+ =∞
x → −1 x − 1 x →−1 x + 1 x − 1
it follows that x =1 and x = –1 are the vertical asymptotes of the graph of f.
The next theorems give two additional properties of limits. For their proofs the student may
refer any major calculus books.
Theorem 3.10 If f ( x) ≤ g ( x) for all x in an open interval that contains a (except
possibly at a) and the limits of f and g both exist as x approaches a, then
lim f ( x) ≤ lim g ( x).
x →a x →a
I don’t think the student is new for these theorems and for the special limit that is the
consequence of especially the Squeezing Theorem. i.e.
1
lim x 2 sin = 0.
x →0 x
x4 − x2
Example 20 Find lim
x →∞ x +1
x4 − x2
Solution: Simplifying we can evaluate the limit as below
x +1
x4 − x2 x 2 ( x 2 − 1) x 2 ( x − 1)( x + 1)
lim = lim = lim
x →∞ x +1 x →∞ x +1 x →∞ x +1
= lim x ( x − 1) = ∞.
2
x →∞
Class work
Evaluate each of the following limit as a real number, ∞, – ∞, if it exists.
x2 − x − 2 sin 2 x 1+ x − 1− x
1. lim 2. lim 3. lim−
x → −1 x +1 x →0 x x →3 x
1 − cos x ⎧ x 3
if x < 1
4. lim 5. lim f ( x ) where f ( x ) = ⎨
x2 ⎩( x − 2) if x > 1
x →0 x →1 2
3. lim f ( x) = f (a )
x→a
x2 − x − 2
Example 21 Let f ( x) = lim . Determine the number at which f is not
x → −1 x +1
discontinuous.
and lim+ g ( x) = 0. Thus both functions are not continuous at 0. We say we have infinite
x →0
discontinuity at 0 in case of f while we say we have jump discontinuity at 0 in case of g.
Clearly combinations of continuous functions follow immediately from the corresponding
results for limits.
Theorem 3.12 If f and g are continuous at a and c is a constant, than the following
functions are also continuous at a.
i. f + g ii. f – g iii. cf iv. fg v. f/g if g(a) ≠ 0.
So using theorem 3.12 we can show that every polynomial function is continuous over R
every rational function is continuous everywhere except at numbers where the
denominator is 0.
Another way of combining continuous functions f and g to get a new continuous function
is to form the composite function f o g . This fact is a consequence of the following theorem.
The following theorem tells us that the composition of two continuous functions at a
given number is continuous.
Theorem 3.14 If g is continuous at a and f is continuous at g(a), then f o g ( x) = f ( g ( x))
is continuous at a.
Class work
Where are the following functions continuous
⎧1 if x ≤ 0
Example 24 the step function g ( x) = ⎨ is continuous from the left at 0
⎩0 if x > 0
Since lim− g ( x) = 1 = g (0) but it is not continuous from the right at 0 as lim+ g ( x) ≠ g (0)
x →0 x →0
verify.
Continuity on interval
Definition 3.16 a) A function is continuous on (a,b), if it is continuous at every point in
(a,b).
b. A function is continuous on [a, b] if it is continuous on (a,b) and is also continuous
from the right at a and continuous from the left at b.
Class Work
Let f ( x) = 1 − x 2 .Show that f is continuous on [-1, 1].
An important property of continuous functions is expressed by the following theorem.
Theorem 3.17 (The Intermediate Value Theorem)
Suppose that f is continuous on the closed interval [a, b] and let N be any number strictly
between f(a) and f(b). Then there exists a number c in (a, b) such that f(c) = N.
Example 24 Show that there is a root of the equation
4 x 3 − 6 x 2 + 3x − 2 = 0
between 1 and 2.
Solution: Let f ( x) = 4 x 3 − 6 x 2 + 3x − 2. We are looking for a solution of the given
equation, that is, a number c between 1 and 2 such that f(c) = 0. Therefore we take a = 1,
b = 2, and N = 0 in Theorem 3.17. We have
f (1) = 4 − 6 + 3 − 2 = −1 < 0 and f (2) = 32 − 24 + 6 − 2 = 12 > 0
Thus f (1) < 0 < f (2), that is, N=0 is a number between f(1) and f(2). Now f is
continuous since it is a polynomial, so the Intermediate Value Theorem says there is a
number c between 1 and 2 such that f (c) = 0. In other words, the equation
4 x 3 − 6 x 2 + 3x − 2 = 0 has a root c in the interval (1, 2).
Class Work
continuous at x=1.
2. Demonstrate that the equation cos x + x = 0 has at least one solution.
I hope the student remembers that the slope of the tangent line to the graph of the function
f at a point (a, f(a)) is given by the derivative of f at a i.e f ' (a) consequently using the
point-slope form of the equation of a line, we have the equation of the tangent line to the
curve y = f(x) at a point (a, f(a)) is given by y − f ( a) = f ' (a )( x − a ). For instance the
equation of the tangent line to the graph of f ( x) = x 2 + 3 x + 2 at (-1, 0) in our Example 1 is
given by y − f (−1) = f ' (−1)( x − (−1)) or y − 0 = 1( x + 1) or simply y = x+1.
Given a function f, we associate with it a new function f ' , called the derivative of f,
defined by:
f ( x + h) − f ( x )
f ' ( x ) = lim .
h →0 h
f ( x + h) − f ( x) The definition of
f'(x) = lim
h→0 h derivative.
⎡⎣ x + h + ( x + h) + 1 ⎤⎦ − ( x + x + 1)
lim
h→0 h
Replace f(x+h) and f(x) by the
corresponding expressions.
h+ ( x + h) + 1 − x+ 1
lim Simplify.
h→0 h
⎡⎣ ( x + h) + 1 + x + 1⎤⎦
h + ⎡⎣ ( x + h) + 1 − x + 1⎤⎦ ⋅
⎡⎣ ( x + h) + 1 + x + 1⎤⎦
lim
h→0 h
1
Therefore, the derivative ofx + x + 1 is 1 +
2⋅ x+ 1
which implies
x−0
lim does not exist
x →0 x − 0
= f ' (a ) ⋅ 0 = 0.
Therefore
lim f ( x) = lim[ f (a ) + f ( x) − f (a )]
x→a x→a
= lim f (a ) + lim[ f ( x) − f (a )]
x→a x→a
= f (a ) + 0 = f (a ).
and so f is continuous at a.
Note: the converse of Theorem 4.3 is false: that is, there are functions that are continuous
but not differentiable. For instance, the function f ( x) = x is continuous at 0 because
lim f ( x) = lim x = 0 = f (0).
x →0 x →0
Class Work
Find the derivative of the functions
1
1. y = ( x 5 + 2 x 2 + 3) 50 2. y =
3
x 6 + 2x + 1
3. y = cos(sin (tan x)) 4. y = cos(sin 2 x)
Find the equation of the tangent line to the curve at the given point
5. ( x 3 − x 2 + x − 1)10 , (1,0) 6. y = x + 1 / x , (1, 2 )
Exercise 4.1
I Determine whether the given function has an inverse. If an inverse exists, give the domain
and range of the inverse and graph the function and its inverse.
1. f ( x) = 4 x + 3 2. f ( x) = 9 − x 2 , 0 ≤ x ≤ 3
3. f ( x) = x − sin x 4. f ( x) = ln(3 − x)
2x
5. f ( x) = 6. f ( x) = 3 x + 1
x−2
II Show f has an inverse if
x x
7. f ( x) = ∫ 1 + t 4 dt for all x. 8. f ( x) = ∫ sin 4 (t 2 )dt for all x.
0 0
provided that the latter limit exists. We will simultaneously show that it does exist and
find its value. First notice that f −1 is continuous at c by theorem 3.3. Therefore
lim f −1 ( y ) = f −1 (c) = a
y →c
Of these functions only the arcsecant function appears with any frequency in the sequel.
Exercise 4.3
I Find the exact value of the expression, whenever it is defined.
1. arcsin(− 2 / 2) 2. arccos(−1 / 2)
3. arctan(− 3 ) 4. sin(arcsin 2 / 3)
5. arcsin(sin 5π / 4) 6. arccos(cos 5π / 4)
7. cos[arctan(−3 / 4) − arcsin(4 / 5)] 8. tan[arctan(3 / 4) + arccos(8 / 17)]
II Rewrite as an algebraic expression in x for x > 0.
9. sec(arcsin( x / 3) 10. tan(arc csc( x / 2))
11. cos(2 arcsin x) 12. sin( 2 arcsin x)
Derivatives and Integrals
We know see the derivatives and integrals of the inverse trigonometric functions in the
following two theorems.
dy
d 1
In other words, (tan −1 x) = .
dx 1+ x2
The rest of the formulas can be obtained in similar fashion.
Example 1 Find
d d d d
a) arcsin 3x 2 b) arccos(ln x) c) arctan e 2 x d) arc sec 3x 2
dx dx dx dx
Solution: Using Theorem 3.1 along the Chain Rule, we have
d 1 d 6x
a) (arcsin 3x 2 ) = (3x 2 ) =
dx ( )
1 − 3x 2 dx
2
1 − 9x 4
d 1 d 1
b) arccos(ln x) = − (ln x) = −
dx 1 − (ln x) dx
2
x 1 − (ln x) 2
d 1 d 2x 2e 2 x
c) arctan e 2 x = ( e ) =
dx 1 + (e 2 x ) 2 dx 1 + (e 2 x ) 2
1 1 u
ii) ∫ 2 dx = arctan + C
a +x 2
a a
1 1 u
iii) ∫ du = arc sec + C
u u −a
2 2 a a
The proof of the above example is left as exercise.
e2x
Example 2 Evaluate ∫ dx
1 − e4x
Solution: If we let u = e 2 x so that du = 2e 2 x dx , the integral may be written as in
Theorem (i) as below.
e2x 1 1 1 1
∫ 1 − e 4 x dx = ∫ 1 − u 2 2 du = 2 arcsin u + C = 2 arcsin e + C.
2x
x2
Example 3 Evaluate ∫ 4 + x 6 dx.
Solution: The integral may be written as in the second formula of Theorem (3.2) by
letting a 2 = 4 and using the substitution
u = x3 , du = 3 x 2 dx
and proceed as follows:
x2 1 ⎛ du ⎞ 1 1
∫ 4 + x 6 dx = ∫ 4 + u 2 ⎜⎝ 3 ⎟⎠ = 3 ∫ 2 2 + u 2 du
1 1 u
= ⋅ arctan + C
3 2 2
1 u
= arctan + C.
6 2
1
Example 4 Evaluate ∫ dx
x x4 − 9
Solution: The integral may be written as in Theorem 3.2(iii) by letting a 2 = 9 and using
the substitution
u = x2 , du = 2 xdx,
we introduce 2x is the integrand by multiplying numerator and denominator by 2x and
then proceed as follows:
1 1
= ∫
2 u u 2 − 32
du
1 1 u
= ⋅ arc sec + C
2 3 3
2
1 x
= arc sec + C.
6 3
Exercise 3.3
I Find the derivative of the function. Simplify where possible.
1. f ( x) = sin −1 (2 x − 1) 2. f ( x) = (1 + x 2 ) arctan x
3. f ( x) = tan −1 ( x − 1 + x 2 ) 4. f ( x) = cos( x −1 ) + (cos x) −1 + cos −1 x
5. f ( x) = (tan x) arctan x 6. f ( x) = (tan −1 4 x)e arctan 4 x
II Evaluate the integral
4
1 cos x
7. ∫ 2 8. ∫ dx
0 x + 16 9 − sin 2 x
1 1
9. ∫ e 2 x − 25
dx 10. ∫ x (1 + x)
dx
The integration formulas that correspond to the derivative formulas in theorem 3.4 are as
follows.
Theorem 3.5
∫ sinh xdx = cosh x + C ∫ cosh xdx = sinh x + C
∫ sec h xdx = tanh x + C ∫ csc h xdx = − coth x + C
2 2
1
= cosh u + C
3
1
= cosh x 3 + C.
3
dx
Proof: To proof (1) let y = sinh −1 x. Then sinh y = x and = cosh y . Since cosh y ≥ 0
dy
and cosh 2 y − sinh 2 y = 1, we have cosh y = 1 + sinh 2 y . Then applying the method for
inverse functions, we have
dy d 1 1 1 1
= (sinh −1 x) = = = = .
dx dx dx cosh y 1 + sinh 2 y 1+ x2
dy
Observe that we could have done the proof (1) by using formula (1) of Theorem 3.6 as
below.
d d
(sinh −1 x) = ln( x + x 2 + 1)
dx dx
1 ⎛ x ⎞
= ⎜1 + ⎟
⎜ ⎟
x + x2 +1 ⎝ x2 +1 ⎠
x2 +1 + x 1
= = .
( x + x + 1) x + 1
2 2
x2 +1
d
Example 1 Find sinh −1 (tan x).
dx
Solution: Using Theorem 3.7 and the Chain rule, we have
d 1 d 1
sinh −1 (tan x) = tan x = sec 2 x
dx tan x + 1 dx
2 2
sec x
1
= 2
sec 2 x = sec x .
sec x
1/ 2
1
Example 2 Evaluate ∫ 1− x
0
2
dx .
1/ 2
1 ⎛1+ x ⎞
= ln⎜ ⎟
2 ⎝1− x ⎠ 0
1
= ln 3
2
Exercise 3.5
I Find f ' ( x) if f ( x) is the given expression.
1. sinh −1 5 x 2. cosh −1 x
3. x tanh −1 x + ln 1 − x 2 4. sec h −1 1 − x 2 , x > 0
II Evaluate the integral
sinh x
5. ∫ sinh 2 xdx 6. ∫ 1 + cosh x dx
ex sin x
7. ∫e x −16
8.
1 + cos 2 x
∫ dx
form 0/0. The same notion applies if lim+ is replaced by lim− , lim , lim, or lim . The
x→a x →b x →c x →∞ x → −∞
limits
x2 − 4 sin x
lim and lim
x → −2 x + 2 x →0 x
therefore have the indeterminate form 0/0. Our first version of L‘Hôpital’s rule is
concerning the indeterminate form 0/0.
Theorem 4.2 (L‘Hôpital’s rule)
Let L be a real number or ∞ or − ∞.
a. Suppose f and g are differentiable on (a,b) and g ' ( x) ≠ 0 for a < x < b. If
f ' ( x)
lim+ f ( x) = 0 = lim+ g ( x) and lim+ =L
x→a x→a x → a g ' ( x)
then
f ( x) f ' ( x)
lim+= L = lim+
x→a g ( x) x→a g ' ( x)
An analogous result holds if lim+ is replaced by lim− or by lim, where c is any number in
x →a x →b x→c
(a,b). In the letter case f and g need not be differentiable at c.
b. Suppose f and g are differentiable on (a, ∞) and g ' ( x) ≠ 0 for x > a . If
f ' ( x)
lim f ( x) = 0 = lim g ( x) and lim =L
x →∞ x→∞ x →∞ g ' ( x )
then
f ( x) f ' ( x)
lim = L = lim
g ( x)
x →∞ x → ∞ g ' ( x)
An analogous result holds if lim is replaced by lim .
x →∞ x → −∞
Proof: We establish the formula involving the right-hand limits in (a). Define F and G on
[a,b) by
⎧ f ( x) for a < x < b
F ( x) = ⎨
⎩ 0 for x = b
⎧ g ( x) for a < x < b
G ( x) = ⎨
⎩ 0 for x = a
Then
lim+ F ( x) = lim+ f ( x) = 0 = F (a )
x →a x →a
This proves the equation involving right-hand limit in (a). The results involving left-hand
and two-sided limits are proved analogously. Part (b) is more difficult to prove, and we
omit its proof.
1 − 3x
Example 1 Evaluate lim .
x →0 x
Solution: Both the numerator and the denominator have the limit 0 as x → 0 . Hence the
quotient has the indeterminate form 0/0 at x = 0. By L‘Hôpital’s rule
1 − 3x − 3 x ln 3
lim = lim = − ln 3
x →0 x x →0 1
ln(1 − x 2 )
Example 2 Evaluate lim
x →0 ln cos 2 x
x 1
= lim , sin ce lim =1
x → 0 tan 2 x x →0 1 − x 2
⎡ x ⎤
= lim ⎢ ⋅ (cos 2 x)⎥
x → 0 sin 2 x
⎣ ⎦
x 1
= lim ⋅ lim(cos x) =
x → 0 sin 2 x x → 0 2
(π / 2) − arctan x
Example 3 Evaluate lim .
x →∞ 1/ x
⎛π ⎞ 1
lim⎜ − arctan x ⎟ = 0 = lim
x →∞ 2
⎝ ⎠ x →∞ x
In same limits we need to apply L‘Hôpital’s rule several times in succession. The next
example is one.
e x − e−x − 2x
Example 4 Evaluate lim
x →0 2 x − sin 2 x
Solution: The given quotient has the indeterminate form 0/0. By L‘Hôpital’s rule we have
e x − e −x − 2x e x + e−x − 2
lim = lim
x →0 2 x − sin 2 x x →0 2 − 2 cos 2 x
provided the second limit exists. Because the last quotient has the indeterminate form 0/0,
we apply L‘Hôpital’s rule again, to obtain
e x + e−x − 2 e x − e−x
lim = lim
x →0 2 − 2 cos 2 x x →0 4 sin 2 x
still the last quotient has the indeterminate form 0/0, hence applying the L‘Hôpital’s rule
for third time we get
e x − e−x e x + e−x 2 1
lim = lim = = .
x →0 4 sin 2 x x → 0 8 cos 2 x 8 4
The Indeterminate Form ∞/∞
Our second version of L‘Hôpital’s rule involves limits with indeterminate form ∞/∞. We
give it now, with out proof.
Theorem 4.3 (L‘Hôpital’s rule)
Let L be a real number or ∞ or − ∞.
a. Suppose f and g are differentiable on (a,b) and g ' ( x) ≠ 0 for a < x < b. If
f ' ( x)
lim+ f ( x) = ∞ or − ∞, lim+ g ( x) = ∞ or − ∞, and lim+ =L
x→a x→a x→a g ' ( x)
then
f ( x) f ' ( x)
lim+ = L = lim+
x→a g ( x) x→a g ' ( x)
An analogous result holds if lim+ is replaced by lim− or by lim, where c is any number in
x →a x →b x→c
then
4 tan x
Evaluate 5 Evaluate lim − .
x →(π / 2 ) 1 + sec x
Solution: Observe that the limit has the indeterminate form ∞/∞. Then by L‘Hôpital’s
rule we have
4 tan x 4 sec 2 x 4 sec x
lim − = lim − = lim − .
x →(π / 2 ) 1 + sec x x →(π / 2 ) sec x tan x x → (π / 2 ) tan x
The last quotient again has the indeterminate form ∞/∞ at x = π / 2; however, additional
applications of L‘Hôpital’s rule always produce the form ∞/∞. In this case the limit may
be found by using trigonometric identities to change the quotient as follows:
4 sec x 4 / cos x 4
= =
tan x sin x / cos x sin x
Consequently
4 tan x 4 4
lim − = lim − = = 4.
x →(π / 2 ) 1 + sec x x →(π / 2 ) sin x 1
2x
e
Example 6 Evaluate lim 2 .
x →∞ x
Solution: Since the limit has the indeterminate form ∞/∞ by applying L‘Hôpital’s rule
we have
e2x 2e 2 x e2x
lim 2 = lim = lim .
x →∞ x x →∞ 2 x x →∞ x
The last quotient has the indeterminate form ∞/∞, so we apply L‘Hôpital’s rule for a
second time, to obtain
e2x 2e 2 x
lim = lim = ∞.
x →∞ x x →∞ 1
Solution: Since lim+ x 2 = 0 and lim ln x = −∞ the given limit is of the form
x →0 x →0 +
0 ⋅ ∞ (more precisely, 0 ⋅ (−∞)). However, we can transform it into the indeterminate form
∞/∞ by writing it as
ln x
lim+
x →0 1 / x 2
The last quotient has the indeterminate form ∞/∞; however, further application of
L‘Hôpital’s rule would again lead to ∞/∞. In this case we simplify the quotient
algebraically and find the limit as follows:
1/ x x3 x2
lim = lim+ = lim+ = 0.
x →0 + − 2 / x 3 x →0 − 2 x x →0 − 2
Solution: The limit evidently has the indeterminate form 0 0 . But then since x x = e x ln x
and consequently
lim+ x x = lim+ e x ln x .
x →0 x →0
Since the exponential function is continuous, it follows that
lim ( x ln x )
lim+ e x ln x = e x →0 + .
x →0
it the limit on the right side exists. But since
ln x (1 / x)
lim+ x ln x = lim+ = lim+ = lim+ (− x) = 0
x →0 x →0 1 / x x → 0 ( −1 / x 2 ) x →0
by L‘Hôpital’s rule,
lim+ x x = lim+ e x ln x = e 0 = 1.
x →0 x →0
x
⎛ 1⎞
Example 9 Show that lim⎜1 + ⎟ = e
x →∞
⎝ x⎠
Solution: Observe that the limit has the indeterminate form 1∞ . As in example 8, since
x
x ⎛ 1⎞ x
⎛ 1⎞ ln ⎜ 1+ ⎟
⎛ 1⎞
⎜1 + ⎟ = e ⎝ ⎠ first let us evaluate lim ln⎜1 + ⎟ . But in doing so we have
x
⎝ x⎠ x →∞
⎝ x⎠
ln(1 + 1 / x)
x
⎛ 1⎞ ⎛ 1⎞
lim ln⎜1 + ⎟ = lim x ln⎜1 + ⎟ = lim .
x →∞
⎝ x⎠ x →∞
⎝ x ⎠ x →∞ 1 / x
This expression is now prepared for L‘Hôpital’s rule as the limit has 0/0 form. As a result
1 ⎛ 1 ⎞
⎜− ⎟
ln(1 + 1 / x) (1 + 1 / x) ⎝ x 2 ⎠ 1
lim = lim = lim = 1.
x →∞ 1/ x x →∞ − 1/ x 2 x →∞ 1 + 1 / x
Thus
x
x ⎛ 1⎞
⎛ 1⎞ ln ⎜ 1+ ⎟
lim⎜1 + ⎟ = lim e ⎝ x ⎠ = e 0 = 1.
x →∞
⎝ x⎠ x →∞
⎛ 1 1⎞
Example 10 Find lim+ ⎜ x − ⎟.
x →0 ⎝ e − 1 x⎠
Solution: The limit has the indeterminate form ∞ − ∞ ; however; if the difference is
written as a single fraction, then
− ex 1
= lim+ x =− .
x →0 xe + 2e x
2
Exercise
I Find the limit
x6 −1 xm −1 sin x − x
1. lim 4 2. lim n 3. lim
x → −1 x − 1 x →1 x − 1 x →0 x3
sin ax tan 1 / x tan −1 (2 x)
4. lim 5. lim 6. lim
x →0 sin bx x →∞ 1 / x x →0 3x
e − 1 − x − ( x / 2)
x 2
7. lim 3
8. lim xe x 9. lim ( x − x 2 − 1)
x →0 x x → −∞ x →∞
x
⎛ 3 5 ⎞ ⎛ 1⎞ ⎛ 1⎞
10. lim⎜1 + + 2 ⎟ 11. lim⎜1 − ⎟ 12. lim x 2 ⎜1 − x sin ⎟
x →∞
⎝ x x ⎠ x →∞
⎝ x⎠ x →∞
⎝ 3⎠
⎛ 1 1 ⎞ ⎛ 1 1 ⎞
13. lim⎜ − ⎟ 14. lim (tan x) tan 2 x 15. lim⎜ 2 − ⎟
x →1 ln x
⎝ x − 1⎠ x →π / 4 x → 0
⎝x sin 2 x ⎠
where the positive square root represents the top semi-circle and the negative square root
represents the bottom semi-circle. Since the point (3, -4) lies on the bottom semi-circle given
by
,
the derivative of y is
,
i.e.,
.
Thus, the slope of the line tangent to the graph at the point (3, -4) is
.
Unfortunately, not every equation involving x and y can be solved explicitly for y . For the
sake of illustration we will find the derivative of y WITHOUT writing y explicitly as a
function of x . Recall that the derivative (D) of a function of x squared, (f(x))2 , can be found
using the chain rule :
.
Since y symbolically represents a function of x, the derivative of y2 can be found in the same
fashion :
,
i.e.,
.
Thus, the slope of the line tangent to the graph at the point (3, -4) is
.
This second method illustrates the process of implicit differentiation. It is important to note
that the derivative expression for explicit differentiation involves x only, while the derivative
expression for implicit differentiation may involve BOTH x AND y .
The following problems range in difficulty from average to challenging.
Example 1 Assume that y is a function of x . Find y’ = dy/dx for x3 + y3 = 4 .
SOLUTION: Begin with x3 + y3 = 4 . Differentiate both sides of the equation, getting
D ( x3 + y3 ) = D ( 4 ) ,
D ( x3 ) + D ( y3 ) = D ( 4 ) ,
(Remember to use the chain rule on D ( y3 ) .)
3x2 + 3y2 y’ = 0 ,
so that (Now solve for y’ .)
3y2 y’ = - 3x2 ,
and
,
2 (x-y) (1- y’) = 1 + y’ ,
so that (Now solve for y’ .)
2 (x-y) - 2 (x-y) y’ = 1 + y’ ,
- 2 (x-y) y’ - y’ = 1 - 2 (x-y) ,
,
so that (Now solve for y’ .)
,
(Factor out y’ .)
,
and
,
(Remember to use the chain rule on D ( y3 ) and D ( y2 ) .)
,
2 2 3 3 2 2
y’ = 3x y y’ + 2x y + 2x y y’ + 3x y ,
so that (Now solve for y’ .)
y’ - 3x2 y2 y’ - 2x3 y y’ = 2x y3 + 3x2 y2 ,
(Factor out y’ .)
y’ [ 1 - 3x2 y2 - 2x3 y ] = 2x y3 + 3x2 y2 ,
and
,
so that (Now solve for y’ .)
,
(Factor out y’ .)
,
and
,
1 = (1/2)( x2 + y2 )-1/2 D ( x2 + y2 ) ,
1 = (1/2)( x2 + y2 )-1/2 ( 2x + 2y y’ ) ,
so that (Now solve for y’ .)
,
and
.
x − y3
Exercise 8: Assume that y is a function of x . Find y’ = dy/dx for = x+2.
y + x2
x − y3
SOLUTION: Begin with = x + 2 . Clear the fraction by multiplying both sides of
y + x2
the equation by y + x2 , getting
x − y3
( y + x 2 ) = x + 2( y + x 2 )
y+x 2
or x - y3 = xy + 2y + x3 + 2x2 .
Now differentiate both sides of the equation, getting
D ( x - y3 ) = D ( xy + 2y + x3 + 2x2 ) ,
D ( x ) - D (y3 ) = D ( xy ) + D ( 2y ) + D ( x3 ) + D ( 2x2 ) ,
(Remember to use the chain rule on D (y3 ) .)
1 - 3 y2 y’ = ( xy’ + (1)y ) + 2 y’ + 3x2 + 4x ,
so that (Now solve for y’ .)
1 - y - 3x2 - 4x = 3 y2 y’ + xy’ + 2 y’ ,
(Factor out y’ .)
1 - y - 3x2 - 4x = (3y2 + x + 2) y’ ,
and
point (-1, 1) .
SOLUTION Begin with (x2+y2)3 = 8x2y2 . Now differentiate both sides of the equation,
getting
D (x2+y2)3 = D ( 8x2y2 ) ,
3 (x2+y2)2 D (x2+y2) = 8x2 D (y2 ) + D ( 8x2 ) y2 ,
(Remember to use the chain rule on D (y2 ) .)
3 (x2+y2)2 ( 2x + 2 y y’ ) = 8x2 (2 y y’ ) + ( 16 x ) y2 ,
so that (Now solve for y’ .)
6x (x2+y2)2 + 6 y (x2+y2)2 y’ = 16 x2 y y’ + 16 x y2 ,
6 y (x2+y2)2 y’ - 16 x2 y y’ = 16 x y2 - 6x (x2+y2)2 ,
(Factor out y’ .)
y’ [ 6 y (x2+y2)2 - 16 x2 y ] = 16 x y2 - 6x (x2+y2)2 ,
and
.
Thus, the slope of the line tangent to the graph at the point (-1, 1) is
,
and the equation of the tangent line is
y - ( 1 ) = (1) ( x - ( -1 ) )
or
y=x+2
Example 11 Find an equation of the line tangent to the graph of x2 + (y-x)3 = 9 at x=1.
SOLUTION: Begin with x2 + (y-x)3 = 9 . If x=1 , then
(1)2 + ( y-1 )3 = 9
so that
( y-1 )3 = 8 ,
y-1 = 2 ,
y=3,
and the tangent line passes through the point (1, 3) . Now differentiate both sides of the
original equation, getting
D ( x2 + (y-x)3 ) = D ( 9 ) ,
D ( x2 ) + D (y-x)3 = D ( 9 ) ,
2x + 3 (y-x)2 D (y-x) = 0 ,
2x + 3 (y-x)2 (y’-1) = 0 ,
so that (Now solve for y’ .)
2x + 3 (y-x)2 y’- 3 (y-x)2 = 0 ,
3 (y-x)2 y’ = 3 (y-x)2 - 2x ,
.
Thus, the slope of the line tangent to the graph at (1, 3) is
a. x3 + y3 = 1
b. x 2 + 6 xy + y 2 = 8
c. x + y = 1.
Then the function does not have an extreme value at 0. Since f ' does not change sign at
0. But f has a local maximum at 2 since f ' changes sign from positive to negative and
the local maximum value is given by f(2)=21/3(8 –2)= 63 2 . Then using the sign chart and
the extreme value we sketch the graph as bellow.
2 0 2 4 6 8 10
4 2 0 2 4
3
f ( x) := x − 3x + 1
2
Find f ".
f " (x) = 36 ⋅x + 48 ⋅x
Evaluate f " at the critical
numbers where f ' = 0.
20
x
Class Work
Find (a) the intervals of increasing or decreasing, b) the local maximum and minimum
values of the points of inflection. Then use this information to sketch the graph.
a) f(x)=x3 –x b) f ( x) = x x + 1 c) f ( x) = x 1 / 3 ( x + 3) 2 / 3
4.4.3 Curve Sketching
x2
Example If g ( x) = , discuss and sketch the graph of g.
1− x2
Solution:
1. Analyze the first derivative.
Notice that neither g(x) nor its derivative are defined at x = 1 and x = –1.
The derivative is negative for x < 0, except at x = –1, where it is not
defined. It is positive for x > 0, except at x = 1, where it is not defined.
2
x
lim simplifies to −1
2
x→ ∞ 1−x
2
x
lim simplifies to −1
2
x→ −∞ 1−x
h( x) := −1 is a horizontal asymptote.
2
x
lim simplifies to −∞
+ 2
x→ 1 1− x
2
x
lim simplifies to ∞
− 2
x→ 1 1− x
2
x
lim simplifies to ∞
+ 2
x → −1 1 − x
2
x
lim simplifies to −∞
− 2
x → −1 1 − x
g ( r)
h ( r) 4 2 0 2 4
Notice that all the aspects of the graph you found in your analysis
are present: a local minimum at x = 0, vertical asymptotes at x = 1
and x = –1, a horizontal asymptote at y = –1, downward sloping
when x < 0, upward sloping when x > 0.
Class Work
Discuss and sketch the graph of f if
x2 x 2x 2x 2 + 1
a) f ( x) = b) f ( x) = c) f ( x) = d) f ( x) =
x −x−2
2
( x + 1) 2
x2 +1 3x − 5
Note your sketch should look like one of the graphs bellow.
10 5 0 5 10
4 2 0 2 4
2
5
5 0 5 10
10 0 10
⎛ ax ⎞ ax
D x ⎜⎜ ⎟⎟ = a x 10. ∫ a dx = x
+c
⎝ ln a ⎠ ln a
1 1
D x (ln x ) =
x
11. ∫ x dx = ln x + c
∫ (6 x − 5)dx.
2
Example 1.0 Evaluate
−2
∫ 2 x − 5dx = ∫ 2 x − 5 12 2dx
= 1
2 ∫ 2 x − 5 2dx
We now substitute and use the power rule for integration:
∫ 2 x − 5dx = 12 ∫ u du
1
= 1
2 ∫u 2
du
3
1 u
2
= 2 3
+c
2
3
= 13 u 2 + c
3
= 13 (2 x − 5) 2 + c
Example 2 Evaluate ∫ sin 2 xdx.
Solution: We make the substitution
u = 2 x, du = 2dx .
Since du contains the factor 2, we adjust the integrand by multiplying by 2 and
compensate by multiplying the integral by 12 before substituting:
= ∫ sin u du
1
2
= − 12 cos u + c
= − 12 cos 2 x + c
It is not always easy to decide what substitution u = g(x) is needed to transform an
indefinite integral into a form that can be readily evaluated. It may be necessary to try
several different possibilities before finding a suitable substitution. In most cases no
substitution will simplify the integrand properly. The following guidelines may be
helpful.
Guidelines for changing variables in indefinite integrals
1. Decide on a reasonable substitution u = g(x).
2. Calculate du = g ' ( x)dx.
3. Using 1 and 2, try to transform the integral into a form that involves only the variable
u. If necessary, introduce a constant factor k into the integrand and compensate by
1/k. If any part of the resulting integrand contains the variable x, use a different
substitution in 1.
4. Evaluate the integral obtained in 3, obtaining an antiderivative involving u.
= ∫u
1 10
9 du
1 ⎛ u 11 ⎞
= ⎜⎜ ⎟+c
9 ⎝ 11 ⎟⎠
= 991 (3 x 2 + 2)11 + c.
Example 4 Evaluate ∫x 3x − 1dx.
Solution: To simplify the expression 3 x − 1 , we let
u = 3x − 1, so that du = 3dx.
Then
1
67u 8 } 3
du
∫ x 3x − 1dx = ∫ x 3x − 1dx
Thus we still need to find x in terms of u. From the equation u=3x –1 we deduce that
1
x = (u + 1) .
3
Therefore
1 1
( u +1)
} 678 }
u du
3 3
∫ x 3x − 1dx = ∫ x 3x − 1dx = ∫ 13 (u + 1) u 13 du
⎛⎜ u 3 2 + u 12 ⎞⎟du
= ∫⎝
1
9
⎠
1⎛2 5 2 3 ⎞
= ⎜ u 2 + u 2⎟+c
9⎝5 3 ⎠
2 5 2 3
= (3 x − 1) 2 + (3 x − 1) 2 + c.
45 27
Sometimes there is more than one substitution that will work. For instance, in Example 4
we could have let u = 3 x − 1 , then u 2 = 3 x − 1 or x = 13 (u 2 + 1) and
2udu = 3dx so 2
3 udu = dx,
As a result,
= ∫ (u + 1)u 2 du
2 2
9
= ∫ (u + u 2 )du = 92 ( 15 u 5 + 13 u 3 ) + c
2 4
9
2 5 2 3
=
(3 x − 1) 2 + (3 x − 1) 2 + c.
45 27
Even though we used a different substitution, the final answer remains the same. Example 5
Evaluate ∫ xe x dx
2
Solution: We let
u = x 2 , so that du = 2 xdx.
Then
1u
}e
}
2
du
∫ xe dx = ∫ e xdx = ∫ e 12 du
2 2
x x u
1 u
= e +c
2
1 2
= e x + c.
2
1
∫ x (1 + ln x)
4
Example 6 Evaluate dx.
Solution: We let
1
u = 1 + ln x, so than du = dx.
x
Then
1 1
∫ x (1 + ln x) dx = ∫ u du = (1 + ln x) 5 + c.
4 4
5
Example 7 Evaluate ∫ tan xdx.
Solution: First write the integral in the following form
sin x
∫ tan xdx = ∫ cos x dx.
Now let u = cos x, so that du = − sin xdx.
sin x 1
Then ∫ tan xdx = ∫ dx = ∫ (− du ) = − ln u + c = − ln cos x + c.
cos x u
Example 8 Evaluate ∫ sec xdx.
Solution: We first put the integral in the form
sec x + tan x sec 2 x + sec x tan x
∫ sec xdx = ∫ sec x + tan x
sec x dx = ∫ sec x + tan x dx
If we now let u = sec x + tan x, so that du = (sec x tan x + sec 2 x)dx, then
Solution: The integral may be written as in the first formula 12 of table 1.0 by letting a=1
and using the substitution
u = e2x , du = 2e 2 x dx.
Then
e2x 1 1 1 −1 1 −1 2 x
∫ 1 − e 4 x dx = 2 ∫ 1 − u 2 du = 2 sin u + c = 2 sin e + c.
π /2
∫ sin x cos
4
Example 10 Evaluate xdx
0
∫0 = ∫ − = − = −
4 4 5
sin x cos xdx u ( du ) u cos x
5 5 0
1 π 1 1
= − cos 5 + cos 5 0 = .
5 2 5 5
Exercise 1.2 Evaluate the following integrals.
1. ∫ sin 2 xdx 2. ∫ csc xdx
x x
3. ∫ (x 2
+ 5) 3
dx 4. ∫ 3
1 − 2x 2
dx
2
t2
∫x x −1dx ∫
5 2
5. 6. dt
−1 t+2
2 3
e x 1
7. ∫ 2 dx
1 x
8. ∫ x(ln x) 2
dx
2/2
3 sin x x
9. ∫ 1 + 2 cos x dx 10. ∫
0 1− x4
dx
by using the method of substitution we obviously fail. But don’t worry the next formula
will enable us to evaluate not only these, but also many other types of integrals.
∫ = − ∫ = xe x − e x + c.
x x x
x e dx x e e dx
Example 2 Evaluate
π /3
= x tan x + ln cos x + c.
b) The indefinite integral obtained in part (a) is an antiderivative of x sec 2 x. Using the
fundamental theorem of calculus (and dropping the constant of integration c), we
obtain
⎛π π π ⎞
= ⎜⎜ tan + ln cos ⎟⎟ − (0 + ln 1)
⎝3 3 3⎠
⎛π 1⎞
=⎜ 3 + ln ⎟ − (0 + 0)
⎝3 2⎠
π
= 3 − ln 2.
3
Example 3 Evaluate ∫ ln xdx.
Solution: Let u = ln x and dv = dx
1
Then du = dx and v = x
x
and integrating by parts yields:
1
∫ ln xdx = x ln x − ∫ x( x dx) = x ln x − ∫ dx = x ln x − x + c.
Sometimes it is necessary to usse integration by parts more than once in the same
problem. This is illustrated in the next example.
π /2
∫x
2
Example 4 Evaluate sin 2 xdx.
0
Solution: Let
u = x 2 and dv = sin 2 xdx
1
Then du = 2 xdx and v = − cos 2 x .
2
Thus using integration by parts we have;
π /2 π /2 π /2
⎡ 1 2 ⎤ ⎛ 1 ⎞
∫0 = − − ∫ 2 x⎜ − cos 2 x ⎟dx
2
x sin 2 xdx ⎢⎣ 2 x cos 2 x ⎥⎦
0 0 ⎝ 2 ⎠
π /2 π /2
⎡ 1 ⎤
= ⎢− x 2 cos 2 x ⎥
⎣ 2 ⎦0
+ ∫ x cos 2 xdx
0
but then since
π /2 2
⎡ 1 2 ⎤ 1 ⎛π ⎞ π 2
π /2
1 ⎡π π ⎤ 1 ⎡ cos 2 x ⎤
= ⎢ sin 2( ) − 0⎥ − ⎢−
2 ⎣2 2 ⎦ 2⎣ 2 ⎥⎦ 0
1⎡ π ⎤ 1 1
⎢ =
cos 2( ) − cos 0⎥ = [−1 − 1] = −
4⎣ 2 ⎦ 4 2
Hence,
π /2
π 2
1
∫0 x sin 2 xdx = 8 − 2 .
2
The following example illustrates another device for evaluating an integral by means of
two applications of the integration by parts formula.
Example 5 Evaluate ∫ e x cos xdx.
Solution: We could either let dv = cos xdx or let dv = e x dx, since each of these
expression is readily integrable. Let us choose
u = e x and dv = cos xdx
so that du = e x dx and v = sin x
Then by integrating by parts we have;
∫ e cos xdx = e sin x − ∫ e sin xdx.
x x x
(1)
We next apply integration by parts to the integral of the right side of equation (1). Since
we chose a trigonometric form for dv in the first integration by parts, we shall also choose
a trigonometric form for the second. Letting
u = e x and dv = sin xdx so that
du = e x dx and v = − cos x
integrating by parts, we have
∫ e sin xdx = e (− cos x) − ∫ (− cos x)e dx
x x x
If we now use equation (2) to substitute on the right side of equation (1), we obtain
x x x
[
∫ e cos xdx = e sin x − − e cos x + ∫ e cos xdx
x
]
or ∫e cos xdx = e x sin x + e x cos x − ∫ e x cos xdx .
x
Adding ∫ e x
cos xdx to both sides of the last equation gives us
2 ∫ e x cos xdx =e x (sin x + cos x).
Finally, dividing both sides by 2 and adding the constant of integration yiels
1 x
∫ e cos xdx = 2 e (sin x + cos x) + c.
x
We could have evaluated the given integral by using dv = e x dx for both the first and
second applications of the integration by parts formula.
In all except ∫ ( polynomial ) ln xdx , the most effective choice of u is the polynomial,
since the derivatives of a polynomial are simpler than the polynomial itself, while the
choice u = ln x is effective for ∫ ( polynomial ) ln xdx .
Example 6 Evaluate ∫ sin −1 xdx.
Solution: Let
1
u = sin −1 x and dv = dx so that du = dx and v = x .
1− x2
Then
x
∫ sin xdx = x sin −1 x − ∫
−1
dx
1− x2
Now we use substitution to solve the integral to the right. That is let
w = 1 − x 2 or w 2 = 1 − x 2 so that 2 wdw = −2 xdx
we then have
x wdw
∫ 1− x2
dx = − ∫
w
= − ∫ dw = − w + c = − 1 − x 2 + c
Consequently
∫ sin
−1
xdx = x sin −1 x + 1 − x 2 + c.
Consequently,
The left side of the last equation reduces to n ∫ sin n xdx . Dividing both sides by n, we
obtain
1 n −1
∫ sinxdx = − cos x sin n −1 x + ∫ sin n − 2 xdx.
n
n n
In a similar fashion we can show the reduction formula for ∫ cos n xdx is given by:
1 n −1
∫ cos sin x cos n −1 x +
xdx =
n ∫
cos n − 2 xdx.
n
n
Example 8 Evaluate ∫ sin 5 xdx.
Solution: Using the reduction formula for sine with n = 5 gives us
1 4
∫ sin xdx = − 5 cos x sin x + 5 ∫ sin xdx
5 4 3
3 3
1 2
= − cos x sin 2 x − cos x + C1
3 3
Consequently
1 4⎛ 1 2 ⎞
∫ sin xdx = − cos x sin 4 x + ⎜ − cos x sin 2 x − cos x + C1 ⎟
5
5 5⎝ 3 3 ⎠
1 4 8
= − cos x sin 4 x − cos x sin 2 x − cos x + C.
5 15 15
Exercise 1.2
Evaluate the integral
1. ∫ xe − x dx 2. ∫ x ln xdx
∫ sec ∫ x2 dx
3
3. xdx 4. x
π /2
5. ∫ x tan x sec xdx 6. ∫ 2t sin 2tdt
0
Integrating and letting C denote the sum of the constants of integration we have
4 x 2 + 13 x − 9 3 −1 2
∫ x( x + 3)( x − 1) dx = ∫ x dx + ∫ x + 3 dx + ∫ x − 1 dx.
= 3 ln x − ln x + 3 + 2 ln x − 1 + C
2
= ln x 3 − ln x + 3 + ln x − 1 + C
x 3 ( x − 1) 2
= ln + C.
x+3
Another technique for finding A, B, and C is to expand the right-hand side of (*) and
collect like powers of x as follows:
4 x 2 + 13 x − 9 = ( A + B + C ) x 2 + (2 A − B + 3C ) x − 3 A
We now use the fact that if two polynomials are equal, then coefficients of like powers
of x are the same. It is convenient to arrange our work in the following way, which we
call comparing coefficients of x.
Coefficients of x2: A+B +C=4
Coefficients of x: 2 A − B + 3C = 13
Constant terms: - 3A = -9
We may show the solution of this system of equations is A = 3, B = -1, and C = 2.
13 − 7 x
Example 2 Evaluate ∫ dx
( x + 2)( x − 1) 3
Solution: By Rule (a) of the Guidelines the partial fraction of the integrand has the form
This leads to
x 2 + 2 x + 7 = A( x 2 + 2 x + 2) + ( Bx + C )( x − 1) (* )
As in previous examples, substituting x = 1 in (*) gives us
10 = A(5) or A = 2
The remaining constants may be found by combining like powers of x:
x 2 + 2 x + 7 = (2 + B ) x 2 + (4 + C − B ) x + (4 − C ) (**)
and comparing coefficients in (**).
Coefficients of x2: 1 = 2 + B or B = -1
Constant terms: 7=4-C or C = -3
Thus the partial fraction decomposition of the integrand is
Consequently
x 2 + 2x + 7 2 x+3
∫ x 3 + x 2 − 2 dx = ∫ x − 1 dx − ∫ x 2 + 2 x + 2 dx
To evaluate the right-hand integral, we first complete the square in the denominator to
obtain x 2 + 2 x + 2 = ( x + 1) 2 + 1
and substitute u = x + 1, so that du = dx and x +3 = u + 2
Therefore
x+3 x+3 u+2
∫ x 2 + 2 x + 2 dx = ∫ ( x + 1) 2 + 1 dx = ∫ u 2 + 1 du
u 1
=∫ 2 du + 2 ∫ 2 du
u +1 u +1
1 2u 1
= ∫ 2 du + 2∫ 2 du
2 u +1 u +1
1
= ln(u 2 + 1) + 2 arctan u + C
2
1
= ln(( x + 1) 2 + 1) + 2 arctan( x + 1) + C.
2
Hence
x 2 + 2x + 7 2 x+3
∫ x 3 + x 2 − 2 dx = ∫ x − 1 dx − ∫ x 2 + 2 x + 2 dx
= 2 ln x − 1 − 12 ln(( x + 1) 2 + 1) − 2 arctan( x + 1) + C
5 x 3 − 3x 2 + 7 x − 3
Example 4 Evaluate ∫ ( x 2 + 1) 2 dx.
Solution: Applying Rule b) of the Guidelines, with n = 2, yields
5 x 3 − 3x 2 + 7 x − 3 Ax + B Cx + D
= 2 + .
( x 2 + 1) 2 x + 1 ( x 2 + 1) 2
Multiplying by both sides of the equation by ( x 2 + 1) 2 gives
5 x 3 − 3x 2 + 7 x − 3 = ( Ax + B)( x 2 + 1) + Cx + D
5 x 3 − 3 x 2 + 7 x − 3 = Ax 3 + Bx 2 + ( A + C ) x + ( B + D)
We next compare coefficients as follows:
coefficients of x3: 5=A
coefficients of x2: -3 = B
coefficients of x : 7 = A + C or C = 2
constant terms : -3 = B + D or D = 0
Therefore
5 x 3 − 3x 2 + 7 x − 3 5 x − 3 2x
= 2 + 2
( x + 1)
2 2
x + 1 ( x + 1) 2
so that
dx 1 cos x − 1 1 cos x
∫ sin x(2 + cos 2
x)
= ln −
6 cos x + 1 3 2
arctan
2
+ C.
Exercise 1.3
x2 2 x 2 − 12 x + 4
1. ∫ 2 dx 2. ∫ x 3 − 4 x 2 dx
x −1
0
x2 + x +1 − x3 + x2 + x + 3
3. ∫ dx 4. ∫ dx
−1 x2 +1 ( x + 1)( x 2 + 1) 2
ex dx
9. ∫ 1 − e 3 x dx 10. ∫ 1 + 3e x
+ 2e 2 x
= 15 u 5 − 13 u 3 + C
= 15 cos 5 x − 13 cos 3 x + C.
Example 2 Evaluate ∫ sin 2 x cos 4 xdx.
Solution: By guideline 3 we have
∫ sin x cos xdx = ∫ (sin x cos x) cos xdx
2 4 2 2 2
2
⎛1 ⎞ ⎛ 1 + cos 2 x ⎞
= ∫ ⎜ sin 2 x ⎟ ⎜ ⎟dx
⎝2 ⎠ ⎝ 2 ⎠
1 1
= ∫ sin 2 2 xdx + ∫ sin 2 2 x cos 2 xdx
8 8
1 − cos 4 x
Putting sin 2 2 x = and u = sin 2 x so that du = 2 cos 2 xdx in the first and second
2
integrals of the right of the last equation we get:
1 1 − cos 4 x 1 1
= ∫ dx + ∫ u 2 du
8 2 8 2
1 1 1
= x − sin 4 x + u 3 + C
16 64 48
1 1 1
= x − sin 4 x + sin 3 2 x + C.
16 64 48
An alternative way to evaluate ∫ sin x cos xdx when m and n are even is to use the
m n
identity sin 2 x + cos 2 x = 1, but this time we transform the integral into integrals of the form
∫ sin xdx or of the form ∫ cos k xdx , which can be evaluated by the reduction formulas.
k
sec x by using the trigonometric identity tan 2 x = sec 2 x − 1. Make the substitution
u = sec x, du = sec x tan xdx
and evaluate the resulting integral.
2. If n is an even integer: write the integral as
∫ tan x sec xdx = ∫ tan x sec x sec xdx
m n m n−2 2
= ∫ (u 6 − u 4 )du.
= 17 u 7 − 15 u 5 + C
= 17 sec 7 x − 15 sec 5 x + C
∫ tan
3
Example 4 Evaluate x sec 4 xdx.
Solution: By guideline 2 above
∫ tan x sec xdx = ∫ tan x sec x sec xdx
3 4 3 2 2
= ∫ (u 5 + u 3 )du
= 16 u 6 + 14 u 4 + C
= 16 tan 6 x + 14 tan 4 x + C.
Integrals of the form ∫ cot m x csc n xdx may be evaluated in similar fashion.
Finally, the evaluation of integrals of the form ∫ sin ax cos bxdx depends on the
trigonometric identity
1 1
sin x cos y = sin( x − y ) + sin( x + y )
2 2
With the appropriate replacements, this identity becomes
1 1
sin ax cos bx = sin( a − b) x + sin( a + b) x (* )
2 2
Notice that 12 sin( a − b) x and 12 sin( a + b) x are easy to integrate by substitution.
Example 5 Evaluate ∫ sin 4 x cos 2 xdx.
Solution: Using (*) with a = 4 and b = 2, we find that
Table 1.1
1
Example 1 Evaluate ∫x 2
16 − x 2
dx.
1
=∫ (4 cosθ )dθ
16 sin 2 θ 4 1 − sin 2 θ
1 1 1
= ∫ dθ = ∫ csc 2 θdθ
16 sin θ 2
16
1
= − cot θ + C.
16
In order to write the answer in terms of the original variable x, we draw the triangle as
fig1.1, in which x = 4 sin θ .
x 4 16 − x 2
θ cot θ =
x
16 − x 2
Fig 1.1
Thus
1 1 16 − x 2
∫x 2
16 − x 2
dx = − cot θ + C = −
16 16 x
+ C.
5/ 2
Example 2 Evaluate ∫
−5 / 2
25 − 4 x 2 dx
∫ 25 − 4 x dx = ∫ 5 2 − (2 x) 2 dx
2
−5 / 2 −5 / 2
π /2
⎛5 ⎞
=
π
∫
− /2
5 2 − 5 2 sin 2 θ ⎜ cosθ ⎟dθ
⎝2 ⎠
π /2
25
1 − sin 2 θ (cosθ )dθ
2 −π∫/ 2
=
π /2
25
= ∫ cos 2 θdθ
2 −π / 2
π /2
25 ⎛ 1 1 ⎞
= ⎜ θ + sin 2θ ⎟
2 ⎝2 4 ⎠ −π / 2
25 ⎛ π ⎛ π ⎞ ⎞ 25
⎜ − ⎜ − ⎟⎟ = π
=
2 ⎜⎝ 4 ⎝ 4 ⎠ ⎟⎠ 4
1
Example 3 Evaluate ∫ dx.
x 16 + x 2
2
and
1 secθ 1 cosθ
= ∫ dθ = ∫ dθ
16 tan θ 2
16 sin 2 θ
1
=−
16 sin θ
To give the answer in terms of x, we use the triangle in Fig 1.2, with x = 4 tan θ . We then
find that
16 + x 2
x
x sin θ = and
16 + x 2
θ
1 1 16 + x 2
4
∫x 2
16 + x 2
dx = −
16 sin θ
=
16 x
+ C.
Fig 1.1
−3
x2 − 9
Example 4 Evaluate ∫
−6
x
dx.
π π
3 tan θ
= ∫
4π / 3
3 secθ
(3 secθ tan θ )dθ = 3 ∫ tan 2 θdθ
4π / 3
π
π
=3 ∫ (sec θ − 1)dθ = 3(tan θ − θ ) 4π / 3
2
π
4 /3
= π − 3 3.
Integrals containing bx 2 + cx + d
By completing the square in bx 2 + cx + d we can express bx 2 + cx + d in terms of
a 2 − x 2 , x 2 + a 2 , or x 2 − a 2 for suitable a > 0. Then a trigonometric substitution
eliminates the square root as before.
1
Example 5 Evaluate ∫ dx.
x + 8 x + 25
2
and = ∫ secθ dθ
= ln secθ + tan θ + C.
Using our formulas for tan θ and secθ , we conclude that
x 2 + 8 x + 25 x + 4
1
∫ x 2 + 8x + 25 dx = ln 3
+
3
+ C.
6 2
1
5. ∫ x4 x2 − 9
dx 6. ∫ arc sec dx
3 2 2
3x
e 1
7. ∫
1− e 2x
dx 8. ∫
4x − x 2
dx
1 x+5
9. ∫ 2 dx 10. ∫ 2 dx
x − 2x + 2 9 x + 6 x + 17
t
lim ∫ f ( x)dx exists. In that case
t →∞
a
∞ t
∫
−∞
f ( x)dx = lim ∫ f ( x)dx
t → −∞
t
(2)
= lim[ln( x + 1)]0
t
t →∞
= lim[ln(t − 1)] = ∞.
t →∞
Since the limit does not exist, the improper integral diverges.
1
Example 2 Determine whether the integral ∫e dx converges or diverges, and if it
x
−∞
converges, find its value.
Solution: As in Example 1;
[ ]
1 1
∫ e dx = lim ∫ e dx = lim e
x x x 1
t
t → −∞ t → −∞
−∞ t
[
= lim e1 − e t = e.
t → −∞
]
Thus, the integral converges and has the value e.
Finally, for integrals over the range (−∞, ∞) , we write
∞ a ∞
∫
−∞
f ( x)dx = ∫
−∞
f ( x)dx + ∫ f ( x)dx
a
(3)
π π
= lim [arctan 0 − arctan t ] = 0 − (− ) = .
t → −∞ 2 2
Similarly, we may show, by using (1) that
∞
1 π
∫0 1 + x 2 dx = 2 .
π π
Consequently the given improper integral converges and has the value + = π.
2 2
1.6.2 Integrals with Unbounded Integrands
We now consider a function f that is continuous at every point in (a, b] and unbounded
near a. By assumption f is continuous on the interval [t , b] for any t in (a, b), so that
b
∫ f ( x)dx
t
is defined for such t. If the one-sided limit
b
lim+ ∫ f ( x)dx
t →a
t
b
exists, then we define ∫ f ( x)dx
a
to be the limit. This idea leads us to the following
definitions:
(i) If f is continuous on [a, b) and discontinuous at b, then
b t
∫
a
f ( x)dx = lim+ ∫ f ( x)dx,
t →a
t
(5)
Consequently the improper integral diverges, since the limit does not exist.
We give the definition of another improper integral as follows.
If f has a discontinuity at a number c in the open interval (a,b) but continuous elsewhere
on [a, b], then
b c b
∫
a
f ( x)dx = ∫ f ( x)dx + ∫ f ( x)dx,
a c
(6)
provided both of the improper integrals on the right converge. If both converge, then the
b
value of the improper integral ∫ f ( x)dx is the sum of the two values.
a
4
1
Example 6 Determine whether the improper integral ∫ ( x − 3)
0
2
dx converges or diverges.
Solution: The integrand is undefined at x = 3. Since this number is in the interval (0,4),
we use (6), with c = 3:
4 3 4
1 1 1
∫0 ( x − 3) 2 dx = ∫0 ( x − 3) 2 dx + ∫3 ( x − 3) 2 dx
For the integral on the left to converge, both integrals on the right must converge.
However, since
3 t
1 1
∫0 ( x − 3) 2 dx = lim
t →3 − ∫
0 ( x − 3) 2
dx
t
⎡ −1 ⎤
= lim− ⎢
t →3 ⎣ x − 3 ⎥
⎦0
⎡ −1 1⎤
= lim− ⎢ − ⎥=∞
t →3 ⎣ t − 3 3⎦
the given improper integral diverges.
c b
integrals ∫ f ( x)dx
a
and ∫ f ( x)dx
c
converge. Otherwise we say that the integral is
divergent.
1
1 − 2x
Example 7 Determine whether
x − x2
∫
dx diverges.
0
Solution: The integrand is unbounded near both the endpoints 0 and 1 and is continuous
on (0,1). Consequently the integral is of the type under consideration. If we let c = 34 ,then
we need to analyze the convergence of
3/ 4 1
1 − 2x 1 − 2x
∫0 x − x 2 dx and 3∫/ 4 x − x 2 dx
For 0 < t < 34 we have
3/ 4 3/ 4
1 − 2x 1 − 2x 3/ 4
∫
0 x − x2
dx = lim+
t →0 ∫
t x − x2
dx = lim+ [2 x − x 2 ]
t →0 t
= lim+ [2( 3
16 − t − t 2 )] = 2
3
t →0
A similar computation shows that the second improper integral also converges and that
1
1 − 2x 3
∫3 / 4 x − x 2 dx = − 2 .
Therefore the original integral converges, and
1 3/ 4 1
1 − 2x 1 − 2x 1 − 2x 3 3
∫0 x − x 2 dx = ∫0 x − x 2 dx + ∫3 / 4 x − x 2 dx = 2 − 2 = 0 .
Exercise 1.6
Determine whether the integral converges or diverges, and if it converges, find its value.
∞ 0
x 1
1. ∫ dx 2. ∫ dx
0 1 + x 2
−∞ ( x + 3) 2
∞ ∞
1
∫ ∫ xe
−x2
3. dx 4. dx
1 x2 −1 −∞
9 π /2
1
∫ ∫ sec
2
5. dx 6. xdx
0 x 0
0 π
1
7. ∫
−2 4 − x2
dx 8. ∫ sec xdx
0
7 1
1 3x 2 − 1
9. ∫−2 ( x + 1) 2 / 3 dx 10. ∫0 x 3 − x dx
Example 1 Find the area of the region bounded by the graphs of the equations
y = x 2 and y = x .
Solution: First sketch the graphs on the same plane. And find the intesection of the two
graphs by putting x 2 = x . Observe that
x2 = x ⇒ x4 = x ⇔ x4 − x = 0
Hence x=0 or ⇔ x ( x − 1)( x + x + 1) x=1 since
2
32
= .
3
Class Work
Find the area A of the regions bounded between the graphs of the equations bellow.
a) y=x2+1 and y=2x+9 b) x=y2-y and x=y-y2
Volume
The cross –section method
If a solid region D has cross-sectional area A(x) for a ≤ x ≤ b, and if A is continuous on
[a,b] , then we define the volume V of D by the fromula
−r −r
r
⎡ x3 ⎤
= π ⎢r 2 x − ⎥
⎣ 3 ⎦ −r
= 43 πr 3
Class work
Suppose a pyramid is 4 units tall and has a squere base 3 units on a side. Find the volume
V of the pyramid.