Difference between revisions of "Integration by Parts"

From Grad Wiki
Jump to navigation Jump to search
Line 6: Line 6:
 
Here, we can compute this antiderivative by using &nbsp;<math>u-</math>substitution.
 
Here, we can compute this antiderivative by using &nbsp;<math>u-</math>substitution.
  
While &nbsp;<math>u-</math> is an important integration technique, it will not help us evaluate all integrals.
+
While &nbsp;<math>u-</math>substitution is an important integration technique, it will not help us evaluate all integrals.
  
For example, consider the integral &nbsp;<math>\int xe^x~dx.</math>
+
For example, consider the integral  
 +
 
 +
::<math>\int xe^x~dx.</math>
  
 
There is no substitution that will allow us to integrate this integral.  
 
There is no substitution that will allow us to integrate this integral.  
Line 16: Line 18:
 
The formula for integration by parts comes from the product rule for derivatives.
 
The formula for integration by parts comes from the product rule for derivatives.
  
Taking the derivatives of <em>simple functions</em> (i.e. polynomials) is easy using the power rule.
+
Recall from the product rule,  
 
 
For example, if &nbsp;<math style="vertical-align: -5px">f(x)=x^3+2x^2+5x+3,</math>&nbsp; then &nbsp;<math style="vertical-align: -5px">f'(x)=3x^2+4x+5.</math>
 
 
 
But, what about more <em>complicated functions</em>?
 
 
 
For example, what is &nbsp;<math style="vertical-align: -5px">f'(x)</math>&nbsp; when &nbsp;<math style="vertical-align: -5px">f(x)=\sin x \cos x?</math>
 
 
 
Or what about &nbsp;<math style="vertical-align: -5px">g'(x)</math>&nbsp; when &nbsp;<math style="vertical-align: -15px">g(x)=\frac{x}{x+1}?</math>
 
 
 
Notice &nbsp;<math style="vertical-align: -5px">f(x)</math>&nbsp; is a product, and &nbsp;<math style="vertical-align: -5px">g(x)</math>&nbsp; is a quotient. So, to answer the question of how to calculate these derivatives, we look to the Product Rule and the Quotient Rule. The Product Rule and the Quotient Rule give us formulas for calculating these derivatives.
 
 
 
'''Product Rule'''
 
 
 
Let &nbsp;<math style="vertical-align: -5px">h(x)=f(x)g(x).</math>&nbsp; Then,
 
 
 
::<math>h'(x)=f(x)g'(x)+f'(x)g(x).</math>
 
 
 
'''Quotient Rule'''
 
 
 
Let &nbsp;<math style="vertical-align: -19px">h(x)=\frac{f(x)}{g(x)}.</math>&nbsp; Then,
 
  
::<math>h'(x)=\frac{g(x)f'(x)-f(x)g'(x)}{(g(x))^2}.</math>
+
::<math>(fg)'=f'g+g'f.</math>
  
 
==Warm-Up==
 
==Warm-Up==

Revision as of 10:50, 26 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,

Warm-Up

Calculate  

1)  

Solution:  
Using the Product Rule, we have
Then, using the Power Rule, we have
NOTE: It is not necessary to use the Product Rule to calculate the derivative of this function.
You can distribute the terms and then use the Power Rule.
In this case, we have
Now, using the Power Rule, we get
In general, calculating derivatives in this way is tedious. It would be better to use the Product Rule.
Final Answer:  
       
or equivalently
       

2)  

Solution:  

Using the Quotient Rule, we have

Then, using the Power Rule, we have
NOTE: It is not necessary to use the Quotient Rule to calculate the derivative of this function.
You can divide and then use the Power Rule.
In this case, we have
Now, using the Power Rule, we get
Final Answer:  
       
or equivalently
       

3)  

Solution:  
Using the Quotient Rule, we get
since    and  
Since    we have
Final Answer:  
       

Exercise 1

Calculate the derivative of  

First, we need to know the derivative of    Recall

Now, using the Quotient Rule, we have

Using the Product Rule and Power Rule, we have

So, we have

Exercise 2

Calculate the derivative of  

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

Calculate the derivative of  

Using the Quotient Rule, we have

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

So, we get

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle h'(x)=\frac{(x^2\cos x+3)(x^2\cos x+2x\sin x)-(x^2\sin x+1)(-x^2\sin x+2x\cos x)}{(x^2\cos x+3)^2}.}

Exercise 4

Calculate the derivative of  

First, using the Quotient Rule, we have

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

So, we have