|   |   | 
| Line 236: | Line 236: | 
|  | == Exercise 4 == |  | == Exercise 4 == | 
|  |  |  |  | 
| − | Evaluate   <math style="vertical-align: -14px">\int x\sqrt{x+1}~dx.</math> | + | Evaluate   <math style="vertical-align: -13px">\int x^2e^{-2x}~dx.</math> | 
|  |  |  |  | 
| − | First,using the Quotient Rule, we have
 | + | We start by letting  <math style="vertical-align: 0px">u=x^2</math>  and  <math style="vertical-align: 0px">dv=e^{-2x}~dx.</math> | 
|  | + |   | 
|  | + | Then,  <math style="vertical-align: 0px">du=2x~dx.</math> | 
|  | + |   | 
|  | + | Also, by  <math style="vertical-align: 0px">u-</math>substitution, we have   | 
|  | + |   | 
|  | + | ::<math style="vertical-align: 0px">v=\int e^{-2x}~dx=\frac{e^{-2x}}{-2}.</math> | 
|  | + |   | 
|  | + | Hence, by integration by parts, we get | 
|  |  |  |  | 
|  | ::<math>\begin{array}{rcl} |  | ::<math>\begin{array}{rcl} | 
| − | \displaystyle{f'(x)} & = & \displaystyle{\frac{x^2\sin x (e^x)'-e^x(x^2\sin x)'}{(x^2\sin x)^2}}\\ | + | \displaystyle{\int x^2 e^{-2x}~dx} & = & \displaystyle{\frac{x^2e^{-2x}}{-2}-\int 2x\frac{e^{-2x}}{-2}~dx}\\ | 
|  | &&\\ |  | &&\\ | 
| − | & = & \displaystyle{\frac{x^2\sin x e^x -e^x(x^2\sin x)'}{x^4\sin^2 x}.} | + | & = & \displaystyle{\frac{x^2e^{-2x}}{-2}+\int xe^{-2x}~dx.} | 
|  | \end{array}</math> |  | \end{array}</math> | 
|  |  |  |  | 
| − | Now, we need to use the Product Rule.So, wehave | + | Now, we need to use integration by parts a second time. | 
|  | + |   | 
|  | + | Let  <math style="vertical-align: 0px">u=x</math>  and  <math style="vertical-align: 0px">dv=e^{-2x}~dx.</math> | 
|  | + |   | 
|  | + | Then,  <math style="vertical-align: 0px">du=dx</math>  and  <math style="vertical-align: -13px">v=\frac{e^{-2x}}{-2}.</math> | 
|  | + |   | 
|  | + | Therefore, using integration by parts again, we get | 
|  |  |  |  | 
|  | ::<math>\begin{array}{rcl} |  | ::<math>\begin{array}{rcl} | 
| − | \displaystyle{f'(x)} & = & \displaystyle{\frac{x^2\sin x e^x -e^x(x^2(\sin x)'+(x^2)'\sin x)}{x^4\sin^2x}}\\ | + | \displaystyle{\int x^2 e^{-2x}~dx} & = & \displaystyle{\frac{x^2 e^{-2x} }{-2}+\frac{x e^{-2x} }{-2}-\int \frac{e^{-2x}}{-2}~dx}\\ | 
|  | &&\\ |  | &&\\ | 
| − | & = & \displaystyle{\frac{x^2\sin x e^x - e^x(x^2\cos x+2x\sin x)}{x^4\sin^2 x}.} | + | & = & \displaystyle{\frac{x^2e^{-2x}}{-2}+\frac{xe^{-2x}}{-2}+\frac{e^{-2x}}{-4}+C.} | 
|  | \end{array}</math> |  | \end{array}</math> | 
|  |  |  |  | 
|  | So, we have   |  | So, we have   | 
| − | ::<math>f'(x)=\frac{x^2\sin x e^x - e^x(x^2\cos x+2x\sin x)}{x^4\sin^2 x}.</math> | + | ::<math>\int x^2e^{-2x}~dx=\frac{x^2e^{-2x}}{-2}+\frac{xe^{-2x}}{-2}+\frac{e^{-2x}}{-4}+C.</math> | 
|  |  |  |  | 
|  | == Exercise 5 == |  | == Exercise 5 == | 
Introduction
Let's say we want to integrate
 
 
Here, we can compute this antiderivative by using   substitution.
substitution.
While   substitution is an important integration technique, it will not help us evaluate all integrals.
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
  and   
Then,   and
  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)    
| 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
  and   
Then,   and
  and   
Using integration by parts, we get 
 
 
For the remaining integral, we use   substitution.
substitution.
Let   Then,
  Then,   
So, we get
 
 
So, we have 
 
 
Exercise 2
Evaluate   
We start by letting   and
  and   
Then,   and
  and   
So, using integration by parts, we get
 
 
So, we have 
 
 
Exercise 3
Evaluate   
We start by letting   and
  and   
Then,   
Also, by   substitution, we have
substitution, we have 
 
 
Hence, by integration by parts, we get
 
 
where we use   substitution to evaluate the last integral.
 substitution to evaluate the last integral.
So, we have
 
 
Exercise 4
Evaluate    
We start by letting   and
  and   
Then,   
Also, by   substitution, we have
substitution, we have 
 
 
Hence, by integration by parts, we get
 
 
Now, we need to use integration by parts a second time.
Let   and
  and   
Then,   and
  and   
Therefore, using integration by parts again, we get
 
 
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 
