Methods of Integration
Methods of Integration
Structure
11.1 Introduction
Objectives
11.2 Basic Definitions
Standard Integrals
Algebra of Integrals
11.3 Integration by Substitution
Method of Substitution
Integrals using Trigonometric Formulas
Trigonometric and Hyperbolic Substitutions
Two Properties o f Definite Integrals
11.4 Integration by Parts 49
Integral of a Product of Two Functions
11.1 INTRODUCTION
b
/
In the last unit we have seen that the definite integral f(x) dx represents the signed
a
area bounded by the curve y = f(x), the x-axis and the lines x = a and x = b. The
Fundamental Theorem of Galculus gives us an easy way of evaluating such an integral, .
by first finding the antiderivative of the given function, whenever it exists. Starting from
this unit, we shall study various methods and techniques of integration. In this unit, we
shall consider two main methods: the method of substitution and the method of
integration by parts.'The next two units will cover some special integrals, which can be
evaluated using these two methods.
Objectives
After reading this unit you should be able to
define the indefinite integral of a function
evaluate certain standard integrals by finding the antiderivatives of the integrands
use the rules of the algebra of integrals to evaluate some integrals
use the method of substitution to simplify and evaluate certain integrals
integrate by parts a product of two functions.
We have seen in Unit 10, that the antideri;ative of a function is not unique. More
->--:--I-. L --.-"--- *I--* :s- s-.-- A:-- c :"a- --*:A-A..a*:..- -c s &L-- n ,-
l
s notation here: We shall use the symbol f(x) dx to denote the class of all
antiderivatives of f. We call it the indefinite integral or just the integral off. You must
have noticed that we use the same sign 1 , here that we have used for definite integrals
in Unit 10. Thus, if F(x) is an antiderh stive of f(x) , then we can write
I f(x) dx = F(x) + F.
This c is called the constant of integration. As in the case of definite integrals, f(x) is
called the integrand and dx indicates that f(x) is integrated with respect to the variable
x. For example, in the equation
I (av+ b14 dv =
(av+ b)'
5a + c,
( a ~ + bis) the
~ integrand, v is the variable of integration, and (av+b)'
5a
+c is the
integral of the integrand ( a ~ + b ) ~ .
+
You will also agree that the indefinite integral of cosx is sinx c, since we know that
sinx is an antiderivative of cosx. Similarly, the indefinite integral of e2" is
I 1 e2'
e" dx = -
2
+ c, and the indefinite integral of x' + 1 i s l (x3f 1)dx = -
x4 + x + c.
4
You have seen in Unit 10 that the definite integral dx is a uniquely defined
red number whose value depends on a, b and the functidn f.
l
On the other hand, the indefinite integral f(x) dx is a class of functions which
differ from one another by constants. It is not a definite number; it is not even a definite
. function. We say that the indefinite integral is unique upto an arbitrary constant.
Unlike the definite integral which dependson a, band f, the indefinite integral depends
only on f.
b
I
All the symbols in the notation f(x) dx for the definite integral have an interpretation.
a
j
The symbol reminds us of summatioh, a and b give the limits for x for the summation.
f ( x ) dx shows that we are not considering the sum of just the function values, rather we
are considering the sum of function values multiplied by small increments in the value
of x.
I
In the case of an indefinite integral, however, the notation f(x) dx has no similar
interpretation. The inspiration for this notation iomes from the Fundamental Theorem
of Calculus.
Thus, having defined an indefinite integral, let us get acquainted with the various
techniques for evaluating integrals.
xn
sinx
3. COSX sinx +c
4. sec2x tanx + c
5. cosec2x -cotx + c
6.
1 secxtanx 1 secx + c
7. cosec x cotx ,
8. 1
,/GF
tan-'x + c or
-cot-'x +c
sin hx coshx + c
coshx sinhx c+
sech2x tanhx c+
cosech2x
sechx tanhx
cosechx cothx
Now let us see how to evaluate some functions which are linear combinations of the
functions listed in Table 1.
/
Rule 1 [af(x) + bg(x)]dx = a /f(x)dx + b lg(x)dx
This rule follows from the following two theorems.
Theorem 1 Iff is an integrable function, then so is kf(x) and
/kf(x)dx = k /f(x)dx
~ o o Let
f ]
f(x)dx F(X) + c.
=
Then by definition,- d [F(x)+c] = f(x)
' dx
" dx
[k{F(x) + c)] = kf(x)
Again, by definition, we have
I
Vc"c'- Theorem 2 Iff and g are two integrable functions, then f+g is integrable, and we have
I
1 \
Roof Lct f(x)dx = F(x) + c, g(x)dx = G(x) +c
Then,
[{F(x) + c} + {G(x) + c}] = f(x) + g(x)
dx
\
Thus, [f(x) + g(x)]dx = [F(x) + c] + [G(x) + c]
\
= f(x)dx + 1g(x)dx
Rule (1) may be extended t o include a finite number of functions, that is, we can write
.........Rule 2
Using integral formulas 1 and 11from able 1, we have
Example3 To evaluate the definite integral fix + 2x )2 dx, we first find the indefinite
0
1 f (XI
dx =G (41:
= G (b) - G(a).
Note that for the purpose of evaluating a definite integral, we could take the
antiderivative corresponding to c = 0,that is,
-1- 4 x 5 ,as the constant cancels out.
x3 + x4 + -
I
3 5
See if you can do these exercises now.
'
E E l ) Write down the integrals of the following using Table 1 and Rule 2.
a) (i) x4 (ii) xP3l2 (iii) 4x-' (iv) 3
b) (i) 1 - 2x + x2 (ii) (x - 1x l 2 (iii) (1 + x ) ~
c) (i) ex + e-* +4 (ii) 4cosx - 3sinx + ex + x (iv) 4sech2x + ex - 8x
Integral Cakulns
a) (i) \x4 dx
5
(ii) 1
5
1
dx
You have seen that with the help of Rule 2 we could evaluate a number of integrals. But
I
still there are certain integrals like sin2x dx which cannot be evaluated by using
Rule 2. The method of substitution which we are going to describe in the next section
will come in handy in thes%cases.
11.3 INTEGRATION BY SUBSTITUTION
In this section we shall study the first of the main methods of integration dealt with in
this unit: the method of substitution. This is one of the most commonly used techniques
of integration. We shall illustrate its application through a number of examples.
11.3.1 Method of Substitution
The following theorem will lead us to this method.
The statement of this theorem by itself may not seem very useful to you. But it does
simplify our task of evaluating integrals. For example. to evaluate J s i n ~ xdx. we could
take v = g(x) = 2x and get
sin 2x dx =-
1
2
I sin2x (2) dx
= I
2
I sinv dv by Theorem 3. since g(x) = 2r and g'(x) =2.
-
- -- cosv +
2
- - -cos2x +
2
We make a special mention of the following three cases which follow from Theorem 3.
Case i) If f(v) = v", n f -1 and v = g(x),, then, by Formula 1 of Tilble I.
I
Case iii) 1f f(x) dx = F(r) + c. then
h g(h)
1 flg(x)l gt(x)dx=l f(v) dv, where v = g(x) (The limits of integration are g(a) and g(b)
g( ;I)
1~ ( h )
= d1x(x2+r+l)6 + c.
Therefore, /(2x+l) ( ~ ~ + x + l ) ~
I
Therefore, \(2x+ 1) (x2+x+ 1)' dx = us du by Theorem 3
= 1u6
6
+c by Formula 1 from Table 1.
I
= a l(ax+b).
d (ax+b) dx
Therefore, when n f - 1,
and when n = - I ,
(ax+b)" dx = dx 1
= -In Jax+bl+ c
a
3
.
\ du
-
Example7 Toevaluate xe2"dx, we substitute 2x2 = u. Since dx = 4x, we can write,
Methods oflntepration
E E3) Evaluate 3
Example 8 To evaluate I sin ax dx, we proceed in the same manner as we did for
= - -1 c o s a x + c
a
E E4) Proceeding exactly as in Example 8, fill up the blanks in the table below.
I tanx dx = ,,,
secx tanx dx
Isecx) + c, as -
= In d secx = secx tanx
dx
, iii) T o integrate cosec2x we write
Jcosec~xdx = -
2
1
J 2cosec2x(cosec2x -cot2x)
cosec2x - cot2x
dx
In this example we have used some 'tricks' to put the integrand in some standard form.
After you study various examples and try out a number of exercises, you will be able to
decide on the particular substitution or the particular trick which will reduce the given
integrand to one of the known forms. Let's look at the next example now.
Example 10 Let us evaluate 1eGn2'sinZx dx
1
Therefore. eanZxsin2rdr = 1eudu
= eU + c = esin2xCc
See if you can solve this exercise now.
a) j s e c x dr b) 1sin2x cosx dx
0
c) 1etanxsec2xdr
I
I lntegrrlCakuhw - ' 11.3.2 Integrals using Trigonometric Formulas
In this section, we shall evaluate integrals with the help of the fauowing trigonoq@!ric
formulas:
cos2x ='-1
- (1
2
+ cos2x)
sin" 3 sinx --1 sin 3x
=-
4 4
3 cosx +-1 cos 3x
cos3x = -
4 4
1 [sin(m+n)x
sinmx cosnx = - + sin(m-n)x]
2
1 [cos(m+n)x
cosmx cosnx = -
2
+ cos(m-n)x]
1 [cos(m-n)x
sinmx sinnx = -
2
- cos(m+n)x]
In each of these formulas vou will find that on the left hand side we have either a Dower
of a trigonometric functi6n or a product of two trigonometric functions. And dn the
right hand side we have a sum (or difference) of two trigonometric fuslctians. You d l
realise that the functions on the right hand side car& easily'integrated by making suitable
substitutions.
The f o M n g examples d l illustrate how we make we of theabove formulas in ,
ii) To evaluate Jsim sin211 d x dx, again we express k c pmduct sinx sb2x &X
as a sum of trigonometric functions.
sinx sin2x sin3x = 1sinx (cosx - codx)
2
= -Isinx cosx --1 sinx codx
2. 2
Therefore, lsinx sin2xsin3x d r
b) i) J ( l + c o s ~ ) ~ s de
in~ ii) I sec2ede
1-114 o (1 - ~ t a n 0 ) ~
iii) I sec0 tan0(l+sec0)~d0
0
-
E7) The cost of a transistor radio is Rs. 7001-. Its value is deoreciating with time 1
according to the formula *
dt
=
'
a,
(l+t2)
where Rs.v i~ its value t years after its
purchase. What will be its value 3 years after its purchase? (Don't forget the
constarit of integration! Think how you can find It with the help of the given
information.)
I
11.3.3 Trigonometric and Hyperbolic Substitution
Various trigonometric and hyperbolic identities like sin28 + cos20 = 1,
1 + tan2@= sec26, tanhe = and so on, prove very useful while evaluating certain i
1
integrals. In this section we shall see how. /
1 A trigonometric or hyperbolic substitution is generally used to integrate expressions Methodsof Integration
1 = sin-' (xla) +c
similarly to evaluate I&, a2+x2
we shall put x = atan0
C = 1 tan-' (xla) +c
We can also evaluate dx , by substituting x = atane
We can also evaluate this integral by putting x = asinhe. With this substitution we get,
1 [ , dx -
J Ja'+xL
= sinh-'(xla) + c, and we know that
sinh-'(xla) = In. (see "nit 5)
a
+
i J JxL-aL
= In.
x + J Z F +c
I and
-x&2
dx 1
a
= - KC-'(x/li)
a
+C
Integral Calculus Let us put these results in the form of a table.
Table 3
Sometimes the integrand does not seem to fall in any of the types mentioned in Table
3, but it is possible to modify or rearrange it so that it conforms to one of these types.
We shall illustrate this through some examples.
2
= sin-'l - 0 = iF .
- sin-I0 =
2 2
Example 14 The integrand in x2
l+xh
I-
dx does not again
fall into the types mentioned in Table 3. But let's see what wetan do.
1
1
I
- -1
-
1- :u2 du, by Theorem 3
Here the integrand -can be evaluated using formula 2 in Table 3
1+u2
Thus, we get
If you have followed this discussion, you will certainly be able to solve this exercise.
E E8) Integrate each of the following with respect to the corresponding variables.
i)
1 1 iii) -
1 iv) -1-
t J9-X29-X2 1+4x2 2x2+5
X
vi) -
t2
vii) -u2
t6+ 16 ,/=
viii) ix) 1 1
JzP
xi) -
X' (Hint:. -& = I - _) 1
I +x2' I+x2 I +x
r
Integral Calculus
/
then, c(b-a) r f(x) dx s d(b-a) .
Now we shall use the method of substitution to derive two more properties to add to
this list. Let's consider them one by one.
0 0
1
v) \f(x) dx = jf(x) dx + f(a-x) dx for any integrable function f.
0
0
\
0
/
/f(x) dx = f(x) dx + f(x) dx .
d2
Now if we put x = a-y in the second integral on the right hand side, then since
a 0 ai2 a12
sin ( a - X ) = b i n x. and
-
cos ( a X ) = -COSY
=2 cos'x dx
0
n12 n12
=
0
I
2 [ I CO$X dx + cos'fn-x) dx]
0
n12 nll
= 2 [ I cos'x dx -I cos'x dx ] = 0
I ' 0
Our next property greatly simplifiessome inregrals when the integrands are even or odd
functions.
vi) I f f is an even function of x, then
Pig. I
We shall piove the result for even functions. The result for odd functions follows easily
and is left to you as an exercise. (see E 9) c)).
So let f be an even function of x in [-a,a], that is, f(-x) = f(x) V x c [-a,a].
Then,
-a
f(x) dx - lf(-Y) dY = jf(y) dy = ff(x) dx.
a 0 0
a a
l
b) show that sin& in (tan x) & = 0
U
I d
U(X); (v(x) ) dx = u(x)v(x) - v(x) 1 d
((ux) ) dx ........... (1)
T o express this in a more symmetrical form, we replace u(x) by f(x), and put
The following examples will show you the wide variety of integrals which can be
evaluated by this technique. You should carefully study our choice of first and second
functions in each example'. You may also try to evaluate the integrals by reversing the'
order of functions. This will make you realise why we have chosen these functions the
way we have.
I
Example 16 Let us use the method of integration by parts to evaluate xe' dx.
In the integrand xeXwe choose x as the first factor and ex as the second factor. Thus,
we get .
-
j
Example 17 To evaluate x2cos? dr, w e shall take x2 as the first factor and emx as the
0
second. Let us first evaluate the corresponding indefinite integral.
I 1
x2cow dx = x2 cosx dx - I{ I
d (x2) C O S X ~dx
-
dx
X)
G x2 sinx - 2xsinx dx
= x2 sinx - 2 1 xsinx dx
I
We shall again use the formula of integration by parts to evaluate xsinx dx. Thus,
= -xcosx I
+ cosx dx
= -xcosx + sinx + c
Hence,
NOW 1
0
x2cosx dx = (x2sinx + 2xcosx - 2sinx + e )
While choosing Inlxl as the first factor, we mentioned that it cannot be integrated eqsily.
The method of integration by parts, in fact, helps us in integrating lnx too.
Ex- j
19 We can find lnx dx by taking lnx as the first factor and 1as the semad
factor. Thus,
I lnx dx = 1 (lnx)(l) dx
= xlnx - J dx = xlnx - x + c
= xlnx - xlne + c since lne = 1
= xln(x1e) +c
The trick used in Example 19, that is, considering 1 (unity) as the second factor, helps
us to evaluate many integrals which could not be evaluated earlier. I
You will be able to solve the following exercises by using the method of integration by
parts.
-
E10) Evaluate
a) Ix21nxdx 'ake
r
b) j (1 +x)ex dx Take f(x) = 1 +x and g(x) = ex
11.4.2 Evaluation of
To evaluate re" sinbx dx a n d l eaxcosbx dx, we use the formula for integration by parts.
1
= - - eaXcosbx
b
+ 2b [(em) (- b1 sinbx) - I (ea" : sinbx) dx
= 1 e"xcosb~+ aeaxsinbx - -
--
b b2
a2 edxsinbxdx
b2
I
Therefore, you will notice that the last integral on the right hand side is the same as the
integral on the left hand side. Now we transfer the third term on the right to the left
hand side, and obtain,
(1 + ------)
b2
- 1ea'sinbx dx = e'"
b2
1 cosbx)
(- a sinbx - -
b
This means,
1 eaxcosbxdx =
J m
ea"cos (bx-0) + c, where 0 = tan- I -.b
il
Example 20 Using the formulas discussed in this sub-section, we can easily check that
i) l e x s i n x d x = 1- e ' s i n ( ~ - ~Tr) + ~
and
J
I
Example LI To evaluate c" sinx cos2x dx, wc shall first write
1 (sin3x - sinx) as in Sec. 3.
sinx cos2x = -
2
Therefore,
I e2"sinx cos2x dx =I
2
e"sin3x dx - e" sinx.dx
Mow the two integrals on the right hand side can be evaluated. We see that .
1 I
Then, x3 sin (alnx) dx = x4 sin (alnx) (llx) dx
= J eb sinau du
e4' sin (au - tan-'(al4)) +c
= J~GF
a) e 2 ' d x dx b) 1e3'sin3x dx c) 1
$'COSX cos2x dx
- -
11.4.3 ~valuntionof S dx, $ dx, and dx
- JaL-xL
Shifting the last term on the right hand side to the left we get,
Example23 ~ eustevaluafe 1-
0
dx
Let x + 3= u, Then,
3/2
/,/=dx = 1-du
E14) Verify that
a) I J Z 2 d x = ~ x J Z G ? +2 ~ ~ Xn + Ja'+x'+c
a
In the next sub-section we shall consider another type of integrand which occurs quite
frequently in mathematics.
ex [f(x) + fr(x)]dx = ex f(x) + c and see how it can be used in integrating some
functions.
By the formula for integration by parts
J exf(x) dx = J f(x) ex dx
= f(x) ex - J r(x) ex dx + c
This implies
Methods of Integration
Example 24 Let us evaluate the following integrals.
-
- 1 ex + c,
- since
2+x
Now * shall evaluate ii)
ii) 1+cosx
cos -
X - sin -
X
2 e-d2 dx '
Now
= -2secA
2
e"Q + secJ -r tan $ e-'" dx
Thus,
= -set X e-*
2 +-z 1% 2
tan $ dx - I
2
sec
X
tan $ e-d2cIx
In this unit we have exposed you to various methods of integration, You have also had
a fair amount of practice in using these methods. We are now giving you some
additional exercises. You may like to try your hand at these too. T o solve these you will
have to first identify the method which will suit the particular integrand the best. This
is the crucial step. The next step where you apply the chosen method to get the answer
is relatively easy. If you have studied this unit thoroughly, neither of these steps should
pose any problem. So, good luck!
E15) EvaluateJhe following integrals
where F(x) is the antiderivative of f(x), will make sense only if f(x) exists at every point
of the interval. Hence we have to be careful in using this result.
Thus,
But llx is not defined at x = 0, and In 1x1 is also not differentiable at x = 0. As such, at
this stage, we should use the result only if the interval [a,bl does not include x = 0
Thus,
2
Again, consider
1
We have used this in Example 3. However does not exist at x = 1, and sin-'x is
JTsr;Tr
not differentiable at x = 1. sin-'x)' exists at x = 1,but sin-'x)' does not exist, since
sinL'x itself does not exist when x > 1.
However, the above result is true in some sense. This sense will be elear to you in your
course on analysis.
The antiderivative of every function need not exist, i.e., it need not be any of the
functions we are familiar with. For example, there is no function known to us whose
b
j
derivative is eeX2.However, the value of the definite integral f(x) dx of every
a
function, where f(x) is continuous on the interval [a,b], can be found out by numerical
methods to any degree of approximation. You can study these methods in detail if you
take the course on numerical analysis. You will study two simple numerical methods in
2
Block 4100. Thus, we cannot find the antiderivative of e" ,but still, we can find
the approximate value of
b
e-" dx, for all real.values of a and b. In fact, this integral is every important in
a
probability theory and you will use it very often if you take the course on probability
and statistics.
That brings us to the end of this unit. Let us summarise what we have studied so far.
1.5 SUMMARY
In this unit we have covered the following points.
1) If F(x) is an antiderivative of f(x), then the indefinite integral (or simply, integral)
of f(x) is
a da)
In particular,
\[f(x)l.ff(x) dx = 'f(x)ln+'
n+l + c, n + - 1, and
I U ( X ) V ( X )=
~ Xy(x) I v(x)dx - I
{u'(x) v ( x ) ~ xdx
)
I eaxsinbx d r =
vL2+b2
eaxsin (bx - tan-' z)+ c
\ eaxcosbx dx = ,
1
a2+ b2
a +c
e" cos (bx - tan-' b)
= -cotx + tanx - 2x +c
iii) 6x + - 4 x3/2 - -
3x2 - - 2 xsn +c
2 3 5
b) i) ii) 15
12
a eax + c
7. e ax 1
-
8. amx --
1 amx+
m Ina
b) 7
0
sin" ]=I2- - 1
sin2x cosx dx = -
-
0
C) I f u = tanx, a
dx
secZx
I
+ J eta"" sec2x dx = I e" du = e" + c = eta"' + c
i
E6) a ) i ) M + c ii)- -2 + c
I 6
n/3
I
sin2x
n/3
I
1 cot2x (2cosec2 2x) dx
iii) cot2x cosec22x dx = -
I n/h
2 .n/6
ii) -1
10 (I-5tan0)
= ~8 / d 0 - ~ 1 c o s 2 0 d 80 - ~cos20
1 d0 + -81/ c o d 0 d0
= 2 . g - T T1 sin20
8
, 8 sin40
1
4
+
= 1(20 1 sin40) + c
- sin 20 + -
4 2 8
EIZ) a) lxsin-'x dx = 2 1I -
sin-'x - - x2 dx
) 2 ./--
I,
Put x = sinu in I JI-;;T
x2 d x = I S B m S u d u
COSU
--7 u1- - s i n 1
2u+c=- 1 u - 1 sinu cosu +c
4 2
= 1 [sin-',
2
- xcos(sin-'x)] +c
.'. lxsin:'x dx -2
-
1
x2 sin-'x - - [sin-' x - x
4 m ] +c
b) I1n(l+x2) cix = I 1.1n (1+x2) dx
c) I e4' cosx m s h dx = 1
2
1 + coax) cix
e4x (COS~X
8 e2. (2cos~x+ ~ s i n ~ +
=L{L x )1-
1 e2'] +c
e) \ cosh ax sinbx dx \ (
=
eax+e-ax
) sinbx dx
f) \ xeaxsinbx dx = \
4 eax sinbx dx
- \- eY (asinbx - beosbx) dx
-
-- eU (asinbx - bcosbx)
a2+b2
beY(acosbx+bsinbx) ] +c
h) -!-tan-'
3
(3x) +c
sinx cosx dx
i, i ~ s
=
i [ -dt~
= I [ j t7 dt - 2 j t6 dt]
2
j x 3 s i n x d x = l x3 -d2 (-sinx) dx
dx2
= - x3cosx + 3x2 sinx -6 1x sinx dx
= - x3cosx + 3x2 sinx - 6 [ -xcou + 1cosx dx]
= - x3cosx + 3x2sinx + 6(xcosx - sinx) + c