Integration by Parts
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 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 u=f(x)} 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, Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle du={\frac {1}{x}}~dx} and |
| Hence, by integration by parts, we get |
|
|
| Final Answer: |
|---|
Exercise 1
Evaluate
First, we need to know the derivative of Recall
Now, using the Quotient Rule, we have
- Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle {\begin{array}{rcl}\displaystyle {{\frac {d}{dx}}(\csc x)}&=&\displaystyle {{\frac {d}{dx}}{\bigg (}{\frac {1}{\sin x}}{\bigg )}}\\&&\\&=&\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.}\end{array}}}
Using the Product Rule and Power Rule, we have
So, we have
- Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle f'(x)={\frac {-\csc x\cot x}{x^{2}}}+{\frac {-2(\csc x-4)}{x^{3}}}.}
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 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 g(x)=(2x\sin x)\sec x.}
Using the Product Rule, we get
Now, we need to use the Product Rule again. So,
- 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 \begin{array}{rcl} \displaystyle{g'(x)} & = & \displaystyle{2x\sin x\tan^2 x+(2x(\sin x)'+(2x)'\sin x)\sec x}\\ &&\\ & = & \displaystyle{2x\sin x\tan^2 x+(2x\cos x+2\sin x)\sec x.} \end{array}}
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
- 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
Evaluate 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 \int x\sqrt{x+1}~dx.}
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 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 \int \sin(2x)\cos(3x)~dx.}
First, using the Quotient Rule, we have
- 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 \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{\frac{x^2\sin x e^x - e^x(x^2\sin x)'}{x^4\sin^2 x}.} \end{array}}
Now, we need to use the Product Rule. So, we have
- 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 \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^2 x}}\\ &&\\ & = & \displaystyle{\frac{x^2\sin x e^x - e^x(x^2\cos x+2x\sin x)}{x^4\sin^2 x}.} \end{array}}
So, we have
- 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 f'(x)=\frac{x^2\sin x e^x - e^x(x^2\cos x+2x\sin x)}{x^4\sin^2 x}.}