Integration by Parts
Introduction
Let's say we want to integrate
- 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^2e^{x^3}~dx.}
Here, we can compute this antiderivative by using 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-} substitution.
While 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-} substitution is an important integration technique, it will not help us evaluate all integrals.
For example, consider the integral
- 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 xe^x~dx.}
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,
- 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)g(x))'=f'(x)g(x)+f(x)g'(x).}
Then, 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)g(x)} & = & \displaystyle{\int (f(x)g(x))'~dx}\\ &&\\ & = & \displaystyle{\int f'(x)g(x)+f(x)g'(x)~dx}\\ &&\\ & = & \displaystyle{\int f'(x)g(x)~dx+\int f(x)g'(x)~dx.} \end{array}}
If we solve the last equation for the second integral, we obtain
- 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 f(x)g'(x)~dx = f(x)g(x)-\int f'(x)g(x)~dx.}
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 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 dv=g'(x)~dx.}
Then, 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 du=f'(x)~dx} and 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 v=g(x).}
Plugging these into our formula, we obtain
- 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 u~dv=uv-\int v~du.}
Warm-Up
Evaluate the following integrals.
1) 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 xe^x~dx}
Solution: |
---|
We have two options when doing integration by parts. |
We can 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=x} or 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=e^x.} |
In this case, we 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} be the polynomial. |
So, we 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=x} and 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 dv=e^x~dx.} |
Then, 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 du=dx} and 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 v=e^x.} |
Hence, by integration by parts, we get |
|
Final Answer: |
---|
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 xe^x-e^x+C} |
2) 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\cos (2x)~dx}
Solution: |
---|
We have a choice to make. |
We can 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=x} 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 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 dv=\sec^2 x~dx.}
Then, 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 du=dx} 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
We start by letting and
Then, and
So, using integration by parts, we get
So, we have
Exercise 3
Evaluate
We start by letting and
Then,
Also, by substitution, we have
Hence, by integration by parts, we get
where we use substitution to evaluate the last integral.
So, we have
Exercise 4
Evaluate
We start by letting and
Then,
Also, by substitution, we have
Hence, by integration by parts, we get
Now, we need to use integration by parts a second time.
Let and
Then, and
Therefore, using integration by parts again, we get
So, we have
Exercise 5
Evaluate
We begin by letting and
Then,
Also, by substitution, we have
Hence, by integration by parts, we have
Now, we need to use integration by parts a second time.
Let and
Then, and
Therefore, using integration by parts again, we get
Now, we have the exact same integral that we had at the beginning of the problem.
So, we add this integral to the other side of the equation.
When we do this, we get
Therefore, we get
Exercise 6
Evaluate
We begin by letting and
Then,
Also, by substitution, we have
Hence, by integration by parts, we have
Now, we need to use integration by parts a second time.
Let and
Then, and
Therefore, using integration by parts again, we get
Now, we have the exact same integral that we had at the beginning of the problem.
So, we subtract this integral to the other side of the equation.
When we do this, we get
Therefore, we get