0% found this document useful (0 votes)
192 views8 pages

1 - Integration by Parts

The document discusses the technique of integration by parts. Integration by parts provides a method to evaluate integrals of the form ∫f(x)g'(x) dx by expressing them in terms of an integral of the form ∫F(x)g(x) dx, where F(x) is an antiderivative of f(x). The key is choosing f(x) and g(x) such that the second integral is easier to evaluate. Examples are provided working through integrals using integration by parts, including cases where it must be applied multiple times. A tabular method is also introduced for systematically keeping track of the work when integration by parts is used repeatedly.

Uploaded by

Aika Galino
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
192 views8 pages

1 - Integration by Parts

The document discusses the technique of integration by parts. Integration by parts provides a method to evaluate integrals of the form ∫f(x)g'(x) dx by expressing them in terms of an integral of the form ∫F(x)g(x) dx, where F(x) is an antiderivative of f(x). The key is choosing f(x) and g(x) such that the second integral is easier to evaluate. Examples are provided working through integrals using integration by parts, including cases where it must be applied multiple times. A tabular method is also introduced for systematically keeping track of the work when integration by parts is used repeatedly.

Uploaded by

Aika Galino
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Joe Foster

Integration by Parts
To reverse the chain rule we have the method of u-substitution. To reverse the product rule we also have a method, called
Integration by Parts. The formula is given by:

Theorem (Integration by Parts Formula)


ˆ ˆ
f (x)g(x) dx = F (x)g(x) − F (x)g ′ (x) dx

where F (x) is an anti-derivative of f (x).

Remember, all of the techniques that we talk about are supposed to make integrating easier! Even though this formula
´
expresses one integral in terms of a second integral, the idea is that the second integral, F (x)g ′ (x) dx, is easier to evaluate.
The key to integration by parts is making the right choice for f (x) and g(x). Sometimes we may need to try multiple
options before we can apply the formula. Let’s see it in action.

Example 1 Find
ˆ
x cos(x) dx.

We have to decide what to assign to f (x) and what to assign to g(x). Our goal is to make the integral easier. One thing
to bear in mind is that whichever term we let equal g(x) we need to differentiate - so if differentiating makes a part of the
integrand simpler that’s probably what we want! In this cases differentiating cos(x) gives − sin(x), which is no easier to
deal with. But differentiating x gives 1 which is simpler. So we have,

ˆ ˆ
g(x) = x f (x) = cos(x) x cos(x) dx = x sin(x) − sin(x) dx

g ′ (x) = 1 F (x) = sin(x) = x sin(x) + cos(x) + C

Example 2 Evaluate
ˆ 4
xe−x dx.
0

ˆ 4 4 ˆ 4
xe−x dx = −xe−x − −e−x dx

0 0 0
4
−x −x
= −xe − e
g(x) = x f (x) = e−x 0
   
g ′ (x) = 1 F (x) = −e−x = −4e−4 − e−4 − 0 − e−0
= −5e−4 + 1

= 1 − 5e−4

Page 1 of 8
MATH 142 - Integration by Parts Joe Foster

Example 3 Evaluate
ˆ
x2 ex dx.

g(x) = x2 f (x) = ex
ˆ ˆ
x2 ex dx = x2 ex − 2 xex dx.
′ x
g (x) = 2x F (x) = e

It’s at this point we see that we still cannot integrate the integral on the write easily. This is okay. Sometimes we may
have to apply the integration by parts formula more than once!
ˆ ˆ
x2 ex dx = x2 ex − 2xex dx
 ˆ 
2 x x x
g1 (x) = x f1 (x) = ex = x e − 2 xe − e dx
g1′ (x) = 1 F1 (x) = ex
= x2 ex − 2xex + 2ex + C

= x2 − 2x + 2 ex + C


ˆ
The previous technique works for any integral of the form xn emx dx, where n is any positive integer and m is any integer.
What if n was negative? Then this case we would set g(x) = ex .

Example 4 In Example 3 we have to apply the Integration by Parts Formula multiple times. There is a convenient way
to “book-keep” our work. This is done by creating a table. Let’s see how by examining Example 3 again.
ˆ
x2 ex dx.

Let g(x) = x2 and f (x) = ex . Then,

Differentiate g(x) Integrate f (x)

x2 + ex
2x − ex
2 + ex
0 ex

Then the integral is,


ˆ
x2 ex dx = +x2 · ex − 2x · ex + 2 · ex + C

x2 − 2x + 2 ex + C

=

We have actually used the integration by parts formula, but we have just made our lives easier by condensing the work
into a neat table. This method is extremely useful when Integration by Parts needs to be used over and over again.

Page 2 of 8
MATH 142 - Integration by Parts Joe Foster

The next example exposes a potential flaw in always using the tabular method above. Sometimes applying the integration
by parts formula may never terminate, thus your table will get awfully big.

Example 5 Find the integral


ˆ
ex sin(x) dx.

We need to apply Integration by


Parts twice before we see something:
ˆ ˆ
(1) ex sin(x) dx = −ex cos(x) + ex cos(x) dx
 ˆ 
x x x
u = ex dv = sin(x) = −e cos(x) + e sin(x) − e sin(x) dx

du = ex dx
ˆ
v = − cos(x)
= −ex cos(x) + ex sin(x) − ex sin(x) dx

(2) ˆ
Notice that now the integral we are interested in, ex sin(x) dx, appears on both the
u = ex dv = cos(x) left and right hand side of the equation. So, if we add this integral to both sides we
du = ex dx v = sin(x) get
ˆ
=⇒ 2 ex sin(x) dx = ex (− cos(x) + sin(x))

ex (sin(x) − cos(x))
ˆ
=⇒ ex sin(x) dx =
2
This “trick” comes up often when we are dealing with the product of two functions with “non-terminating” derivatives.
By this we mean that you can keep differentiating functions like ex and trig functions indefinitely and never reach
0. Polynomials on the other hand will eventually “terminate” and their nth derivative (where n is the degree of the
polynomial) is identically 0.

Page 3 of 8
MATH 142 - Integration by Parts Joe Foster

Practice Problems
Try some of the problems below. If you get stuck, don’t worry! There are hints on the next page! But do try without
looking at them first, chances are you won’t get hints on your exam.

ˆ √
2 √
ˆ
(ln(x))2
ˆ
1. t sin(2t) dt 9. dx 17. x3 ln( 3 x) dx
1 x3
ˆ ˆ ˆ
2
2. x cos(3x) dx 10. (ln(x))2 dx 18. t sec2 (2t) dt
ˆ ˆ ˆ
3. sin−1 (x) dx 11. 4x cos(2 − 3x) dx 19. e−θ cos(2θ) dθ
ˆ ˆ
4. p5 ln(p) dp 0
e2z cos(z/4) dz
ˆ
20.
12. (2 + 5x)ex/3 dx
6
ˆ 1 2
ln(x)
ˆ
2 −x
5. (x + 1)e dx
ˆ
13. 2
(t + 3t) sin(2t) dt 21. dx
0 1 x2
9
ln(y)
ˆ 1
π y
ˆ ˆ
6. √ dy 2 22. dy
4 y 14. x cos(4x) dx e2y
0 0
ˆ π ˆ ˆ 1/2
7. x3 cos(x) dx 15. 3 2
(4z − 9z + 7z + 3)e −z
dz 23. cos(x) ln(sin(x)) dx
0
0

ˆ 3 ˆ ˆ
7t
8. tan −1
(1/x) dx 16. 8te dt 24. x4 (ln(x))2 dx
1

Challenge Problems
ˆ ˆ ˆ
2
1. ln(x) dx 4. tan−1 (x) dx 7. t3 e−t dt
ˆ ˆ ˆ
2. t7 sin(2t4 ) dt 5. sin−1 (x) dx 8. x ln(1 + x) dx

4

ˆ ˆ ˆ
3. (2 − x)2 ln(4x) dx 6. cos( x) dx 9. sin(ln(x)) dx
1

Page 4 of 8
MATH 142 - Integration by Parts Joe Foster

Hints to Practice Problems


1. g(t) = t 9. Apply twice, 16. g(t) = 8t
2
start with g(x) = (ln(x))
2. Apply twice, 17. g(x) = ln(x)
2
start with g(x) = x 10. g(x) = (ln(x)) 2
18. g(t) = t
3. g(x) = sin−1 (x) 11. g(x) = 4x
19. Think Example 5.
4. g(p) = ln(p) 12. g(x) = 2 + 5x
20. Think Example 5.
5. Apply twice, 13. Apply twice,
start with g(x) = x2 + 1 21. g(x) = ln(x)
start with g(t) = t2 + 3t
6. g(y) = ln(y) 22. g(y) = y
14. Apply twice,
7. Apply three times, start with g(x) = x2 23. g(x) = ln(sin(x))
3
start with g(x) = x
15. Apply three times, 24. Apply twice,
3 2
8. g(x) = tan −1
(1/x) start with g(z) = 4z −9z +7z+3 start with g(x) = (ln(x))2

Hints to Challenge Problems


1. g(x) = ln(x), f (x) = 1 4. g(x) = tan−1 (x) 7. u = −t2 , then parts.

2. g(t) = t4 5. g(x) = sin−1 (x) 8. u = 1 + x, then parts.



3. g(x) = ln(4x) 6. u = x, then parts. 9. eu = x, then parts.

Page 5 of 8
MATH 142 - Integration by Parts Joe Foster

Answers to Practice Problems


1 1
−2t2 − 6t + 1 cos(2t) + (2t + 3) sin(2t) + C
 
1. (sin(2t) − 2t cos(2t)) + C 13.
4 4
1 π
2. (9x2 − 2) sin(3x) + 6x cos(3x) + C
 14.
27 8
√ 15. −(4z 3 + 3z + 13z + 16)e−z + C
3. x sin−1 (x) + 1 − x2 + C
1 7t
1 6 16. e (56t − 8) + C
4. p (6 ln(p) − 1) + C 49
36
2 5/2
3e − 6 17. x (5 ln(x) − 2) + C
5. 75
e
1
  
27
 18. (2t tan(2t) + ln | cos(2t|) + C
6. 4 ln −1 4
4
19.
7. 3 4 − π 2

4 2z  z   z 
20. e 8 cos + sin +C
√ 65 4 4
1  
8. 2 3 − 3 π + ln(64) 1 − ln(2)
12 21.
2
1
9. (3 − ln(2)(ln(2) + 1)) 1

3

16 22. 1− 2
4 e
10. x ln(x)2 − 2 ln(x) + 2 + C

      
1 1
1 23. sin ln sin −1
11. (4 cos(2 − 3x) − 12x sin(2 − 3x)) + C 2 2
9
1 5 
12. −39 − 51e2 24. x 25 ln(x)2 − 10 ln(x) + 2 + C
125

Answers to Challenge Problems


√ √ √
1. x (ln(x) − 1) + C 6. 2 x sin( x) + 2 cos( x) + C
1 1 2
sin(2t4 ) − 2t4 cos(2t4 ) + C

2. 7. − et t2 + 1 + C

16 2
3. ln 65, 536 · 22/3 − 4

1 
√ 8. 2(x2 − 1) ln(1 + x) − x + 2 + C
4. x tan−1 (x) − ln( 1 + x2 ) + C 4
√ 1
5. x sin−1 (x) + 1 − x2 + C 9. x (sin(ln(x)) − cos(ln(x))) + C
2

Page 6 of 8
MATH 142 - Integration by Parts Joe Foster

Solutions to Practice Problems


1
1. Let g(t) = t and f (t) = sin(2t). So g ′ (t) = 1 and F (t) = − cos(2t). Then,
2

1 1 1 1 1
ˆ ˆ
t sin(2t) dt = − t cos(2t) + cos(2t) dt = − t cos(2t) + sin(2t) + C = (sin(2t) − 2t cos(2t)) + C
2 2 2 4 4

2. Let g(x) = x2 and f (x) = cos(3x). Then,

Differentiate g(x) Integrate f (x)


1 2 2 2
ˆ
x2 + cos(3x) x2 cos(3x) dx = x sin(3x) + x cos(3x) − sin(3x) + C
2x 1
sin(3x) 3 9 27
− 3
2 − 91 cos(3x) 1
9x2 − 2 sin(3x) + 6x cos(3x) + C
 
+ =
1 27
0 − 27 sin(3x)

1
3. Let g(x) = sin−1 (x) and f (x) = 1. So g ′ (x) = √ and F (x) = x.
1 − x2
1
Let u = 1 − x2 . So − du = x dx. Then,
2

x 1 1 √
ˆ ˆ ˆ p
−1 −1 −1
sin (x) dx = x sin (x) − √ dx = x sin (x) + √ du = x sin−1 (x) + u + C = x sin−1 (x) + 1 − x2 + C
1 − x2 2 u

1 1
4. Let g(p) = ln(p) and f (p) = p5 . So g ′ (p) = and F (p) = p6 . Then,
p 6

1 1 1 6 1 1 6
ˆ ˆ
p ln(p) dp = p6 ln(p) −
5
p5 dp = p ln(p) − p6 + C = p (6 ln(p) − 1) + C
6 6 6 36 36

5. Let g(x) = x2 + 1 and f (x) = e−x . Then,


ˆ 1 1
(x2 + 1)e−x dx = −(x2 + 1)e−x − 2xe−x − 2e−x

0
Differentiate g(x) Integrate f (x) 0
−x 2
 1
= −e x + 2x + 3
x2 + 1 + e−x 0
−x
2x − −e = −6e −1
+3
−x
2 + e 3e − 6
0 − e−x =
e

6. Let g(y) = ln(y) and f (y) = y −1/2 . So g ′ (y) = y −1 and F (y) = 2y 1/2 . Then,

9 ˆ 9
ln(y) √ 9 √ √ 9
ˆ
√ dy = 2 y ln(y) − 2 y −1/2 dy = 2 y ln(y) − 4 y = 6 ln(9) − 12 − [4 ln(4) − 8]

4 y 4 4 4
   
27
= 4 ln(27) − 4 − 4 ln(4) = 4 ln −1
4

Page 7 of 8
MATH 142 - Integration by Parts Joe Foster

7. Let g(x) = x3 and f (x) = cos(x). Then,


ˆ π π
Differentiate g(x) Integrate f (x) x3 cos(x) dx = x3 sin(x) + 3x2 cos(x) − 6x sin(x) − 6 cos(x)

0 0
π
x3 + cos(x)
= x x2 − 6 sin(x) + 3 x2 − 2 cos(x)
 
3x2 − sin(x) 0
2

6x + − cos(x) = 0 − 3 π − 2 − [0 − 6]
6 − sin(x) = 3 4 − π2


0 cos(x)

1
8. Let g(x) = tan−1 (1/x) and f (x) = 1. So g ′ (x) = − and F (x) = x.
x2 + 1
1
Let u = x2 + 1. So du = x dx. Then,
2
√   √ ˆ √3   √ ˆ x=√3
3  
1 1 3 x 1 3 1 1
ˆ
tan−1 dx = x tan−1 (x) + dx = x tan−1 + du

x x 1 x2+1 x 1 2 u
1 1 x=1
  √
x= 3   √
1 1 1 1 3
= x tan−1 + ln |u| = x tan−1 + ln(x2 + 1)

x 2 x=1 x 2 1
√ 

 
3 1 1
= 3 tan−1 + ln(4) − tan−1 (1) + ln(2)
3 2 2
√ π π 1
= 3 + ln(2) − − ln(2)
6 4 2
1  √ 
= (2 3 − 3)π + ln(64)
12

1 2 ln(x) 1
9. Let g1 (x) = (ln(x))2 and f1 (x) = 3
. So g1′ (x) = and F1 (x) = − 2 .
x x 2x
1 ′ 1 1
Let g2 (x) = ln(x) and f2 (x) = 3 . So g2 (x) = and F2 (x) = − 2 . Then,
x x 2x

(ln(x))2 (ln(x))2 ln(x) (ln(x))2 ln(x) 1 1 (ln(x))2 + ln(x) 1


ˆ ˆ ˆ
dx = − + dx = − − + dx = − − 2 + C.
x 2x2 x3 2x2 2x2 2 x3 2x2 4x

2
(ln(x))2 2(ln(x))2 + 2 ln(x) + 1 2 2(ln(2))2 + 2 ln(2) + 1
 
0+0+1 1
ˆ
3 − 2(ln(2))2 − 2 ln(2)

dx = − 2
= − − − =
x 4x 16 4 16

1 1

2 ln(x)
10. Let g1 (x) = (ln(x))2 and f1 (x) = 1. So g1′ (x) = and F1 (x) = x.
x
1
Let g2 (x) = ln(x) and f2 (x) = 1. So g2′ (x) = and F2 (x) = x. Then,
x
ˆ ˆ  ˆ 
2 2 2
(ln(x)) dx = x(ln(x)) − 2 ln(x) dx = x(ln(x)) − 2 x ln(x) − 1 dx

= x(ln(x))2 − 2 [x ln(x) − x] + C = x (ln(x))2 − 2 ln(x) + 2 + C




Page 8 of 8

You might also like