Difference between revisions of "Integration by Parts"

From Grad Wiki
Jump to navigation Jump to search
Line 154: Line 154:
 
== Exercise 1 ==
 
== Exercise 1 ==
  
Evaluate &nbsp;<math style="vertical-align: -13px">\int x^3 e^{-2x}~dx.</math>
+
Evaluate &nbsp;<math style="vertical-align: -13px">\int x \sec^2 x~dx.</math>
  
First, we need to know the derivative of &nbsp;<math style="vertical-align: 0px">\csc x.</math>&nbsp; Recall
+
Since we know the antiderivative of &nbsp;<math style="vertical-align: -3px">\sec^2 x,</math>
  
::<math>\csc x =\frac{1}{\sin x}.</math>
+
we let &nbsp;<math style="vertical-align: 0px">u=x</math>&nbsp; and &nbsp;<math style="vertical-align: 0px">dv=\sec^2 x~dx.</math>
  
Now, using the Quotient Rule, we have
+
Then, &nbsp;<math style="vertical-align: 0px">du=dx</math>&nbsp; and &nbsp;<math style="vertical-align: -1px">v=\tan x.</math>
 +
 
 +
Using integration by parts, we get
  
 
::<math>\begin{array}{rcl}
 
::<math>\begin{array}{rcl}
\displaystyle{\frac{d}{dx}(\csc x)} & = & \displaystyle{\frac{d}{dx}\bigg(\frac{1}{\sin x}\bigg)}\\
+
\displaystyle{\int x \sec^2 x~dx} & = & \displaystyle{x\tan x -\int \tan x~dx}\\
&&\\
 
& = & \displaystyle{\frac{\sin x (1)'-1(\sin x)'}{\sin^2 x}}\\
 
&&\\
 
& = & \displaystyle{\frac{\sin x (0)-\cos x}{\sin^2 x}}\\
 
&&\\
 
& = & \displaystyle{\frac{-\cos x}{\sin^2 x}} \\
 
 
&&\\
 
&&\\
& = & \displaystyle{-\csc x \cot x.}
+
& = & \displaystyle{x\tan x -\int \frac{\sin x}{\cos x}~dx.}
 
\end{array}</math>
 
\end{array}</math>
  
Using the Product Rule and Power Rule, we have
+
For the remaining integral, we use &nbsp;<math style="vertical-align: 0px">u-</math>substitution.
 +
 
 +
Let &nbsp;<math style="vertical-align: 0px">u=\cos x.</math>&nbsp; Then, &nbsp;<math style="vertical-align: -1px">du=-\sin x~dx.</math>
 +
 
 +
So, we get
  
 
::<math>\begin{array}{rcl}
 
::<math>\begin{array}{rcl}
\displaystyle{f'(x)} & = & \displaystyle{\frac{1}{x^2}(\csc x-4)'+\bigg(\frac{1}{x^2}\bigg)'(\csc x-4)}\\
+
\displaystyle{\int x \sec^2 x~dx} & = & \displaystyle{x\tan x +\int \frac{1}{u}~du}\\
 
&&\\
 
&&\\
& = & \displaystyle{\frac{1}{x^2}(-\csc x \cot x+0)+(-2x^{-3})(\csc x-4)}\\
+
& = & \displaystyle{x\tan x + \ln |u|+C}\\
 
&&\\
 
&&\\
& = & \displaystyle{\frac{-\csc x \cot x}{x^2}+\frac{-2(\csc x-4)}{x^3}.}
+
& = & \displaystyle{x\tan x+ \ln |\cos x|+C.}
 
\end{array}</math>
 
\end{array}</math>
  
 
So, we have  
 
So, we have  
::<math>f'(x)=\frac{-\csc x \cot x}{x^2}+\frac{-2(\csc x-4)}{x^3}.</math>
+
::<math>\int x \sec^2 x~dx=x\tan x+ \ln |\cos x|+C.</math>
  
 
== Exercise 2 ==
 
== Exercise 2 ==

Revision as of 10:10, 27 October 2017

Introduction

Let's say we want to integrate

Here, we can compute this antiderivative by using  substitution.

While  substitution is an important integration technique, it will not help us evaluate all integrals.

For example, consider the integral

There is no substitution that will allow us to integrate this integral.

We need another integration technique called integration by parts.

The formula for integration by parts comes from the product rule for derivatives.

Recall from the product rule,

Then, we have

If we solve the last equation for the second integral, we obtain

This formula is the formula for integration by parts.

But, as it is currently stated, it is long and hard to remember.

So, we make a substitution to obtain a nicer formula.

Let    and  

Then,    and  

Plugging these into our formula, we obtain

Warm-Up

Evaluate the following integrals.

1)  

Solution:  
We have two options when doing integration by parts.
We can let    or  
In this case, we let    be the polynomial.
So, we let    and  
Then,    and  
Hence, by integration by parts, we get
Final Answer:  
       

2)  

Solution:  

We have a choice to make.

We can let    or  
In this case, we let    be the polynomial.
So, we let    and  
Then,   
By  substitution,  
Hence, by integration by parts, we get
where we use   substitution to evaluate the last integral.
Final Answer:  
       

3)  

Solution:  
We have a choice to make.
We can let    or  
In this case, we don't want to let    since we don't know how to integrate    yet.
So, we let    and  
Then,    and  
Hence, by integration by parts, we get
Final Answer:  
       

Exercise 1

Evaluate  

Since we know the antiderivative of  

we let    and  

Then,    and  

Using integration by parts, we get

For the remaining integral, we use  substitution.

Let    Then,  

So, we get

So, we have

Exercise 2

Evaluate  

Notice that the function    is the product of three functions.

We start by grouping two of the functions together. So, we have  

Using the Product Rule, we get

Now, we need to use the Product Rule again. So,

So, we have

But, there is another way to do this problem. Notice

Now, you would only need to use the Product Rule once instead of twice.

Exercise 3

Evaluate  

Using the Quotient Rule, we have

Now, we need to use the Product Rule. So, we have

So, we get

Exercise 4

Evaluate  

First, using the Quotient Rule, we have

Now, we need to use the Product Rule. So, we have

So, we have

Exercise 5

Evaluate  

First, using the Quotient Rule, we have

Now, we need to use the Product Rule. So, we have

So, we have

Exercise 6

Evaluate  

First, using the Quotient Rule, we have

Now, we need to use the Product Rule. So, we have

So, we have