Integration by parts

Notes PDF
More Challenging Problems

 

1. ∫ x sin(x) dx

   

Answer

1. -x cos(x) + sin(x) + c

Solution

 

2. Find ∫ ln(x) / x dx

   

Answer

1. ln2(x) / 2 + c

Solution

   1. We do know how to integrate both ln(x) and 1/x. Let’s think about the choice for u: if u = 1/x, then du = x-2, which will be worse. Let’s take u = ln(x), dv = 1/x, so du = 1/x, v = ln(x) Looks funny but it works: ∫ ln(x) / x dx = ln2(x) – ∫ ln(x) / x dx On the right hand side, we have thesame integral that we started with – with the opposite sign. Gather them up on the left and we get:

∫ ln(x) / x dx = ln2(x) / 2 + c

 

3. Find ∫ ln(x) / x2 dx

   

Answer

1. -ln(x) – 1/x + c

Solution

 

4. Find ∫ x2 ex dx

   

Answer

1. [ x2 – 2x + 2 ] ex

   

Solution

The easiest choice for variables is: u = x2, dv = ex, so du = 2x, v = ex ∫ x2 ex dx =x2 ex – ∫ 2x ex dx We could integrate the right hand side by parts, but we have already done that in the notes so we can use the answer, which said: ∫ x ex dx = x ex – ex Altogether then, we have ∫ x2 ex dx = [x2 – 2x + 2] ex

 

5. Find ∫ arctan(x) dx

   

Answer

1. x arctan(x) -1/2 ln [1 + x2]

   

Solution

1. We have no idea how to integrate arctan(x) (which is the point here), so we cannot make it equal to dv. That leaves us with: u = arctan(x), dv = 1, so du = 1/(1 + x2), v = x Now we get: ∫arctan(x) dx = x arctan(x) – ∫ x/(1 + x2) dx = x arctan(x) -1/2 ln [1 + x2]