Integration by Parts is a powerful technique in calculus that allows us to integrate products of functions. It's essentially the inverse of the product rule for differentiation. When you encounter an integral that looks like a product of two different types of functions (e.g., a polynomial times an exponential, or a polynomial times a trigonometric function), integration by parts is often the key to solving it.
The Integration by Parts Formula
The formula for integration by parts is derived directly from the product rule:
If u and v are differentiable functions of x, then the product rule states:
dxd(uv)=udxdv+vdxdu
Integrating both sides with respect to x:
∫dxd(uv)dx=∫udxdvdx+∫vdxdudx
This simplifies to:
uv=∫udv+∫vdu
Rearranging to solve for ∫udv, we get the Integration by Parts Formula:
∫udv=uv−∫vdu
The Strategy: Choosing u and dv (LIATE)
The success of integration by parts heavily depends on how you choose u and dv. The goal is to make the new integral, ∫vdu, simpler to solve than the original integral, ∫udv. A helpful mnemonic for choosing u is LIATE:
- Logarithmic functions (e.g., lnx)
- Inverse trigonometric functions (e.g., arcsinx, arctanx)
- Algebraic functions (e.g., xn, polynomials)
- Trigonometric functions (e.g., sinx, cosx)
- Exponential functions (e.g., ex, ax)
Choose u as the function that comes first in the LIATE order. The remaining part of the integrand will be dv. This rule generally works because functions earlier in LIATE simplify when differentiated, and functions later in LIATE are easy to integrate.
Step-by-Step Process
- Choose u and dv from the integrand using the LIATE rule.
- Differentiate u to find du.
- Integrate dv to find v.
- Apply the formula: ∫udv=uv−∫vdu.
- Evaluate the new integral (∫vdu). If it's still complex, you might need to apply integration by parts again!
10 Solved Problems
Let's put the formula into practice with various examples.
Problem 1: Basic Example (Algebraic x Exponential)
Evaluate: ∫xexdx
Solution:
- Choose u and dv: According to LIATE, Algebraic (x) comes before Exponential (ex).
- u=x
- dv=exdx
- Find du and v:
- du=1dx
- v=∫exdx=ex
- Apply the formula: ∫udv=uv−∫vdu
∫xexdx=xex−∫ex(1)dx
- Evaluate the new integral:
∫xexdx=xex−ex+C
Answer: ex(x−1)+C
Problem 2: Basic Example (Algebraic x Trigonometric)
Evaluate: ∫xcosxdx
Solution:
- Choose u and dv:
- u=x
- dv=cosxdx
- Find du and v:
- du=1dx
- v=∫cosxdx=sinx
- Apply the formula:
∫xcosxdx=xsinx−∫sinxdx
- Evaluate the new integral:
∫xcosxdx=xsinx−(−cosx)+C
∫xcosxdx=xsinx+cosx+C
Answer: xsinx+cosx+C
Problem 3: Involving Logarithmic Functions
Evaluate: ∫lnxdx
Solution:
- Choose u and dv: Logarithmic functions are first in LIATE. There's no other function, so we let dv=dx.
- u=lnx
- dv=dx
- Find du and v:
- du=x1dx
- v=∫dx=x
- Apply the formula:
∫lnxdx=(lnx)(x)−∫x(x1)dx
- Evaluate the new integral:
∫lnxdx=xlnx−∫1dx
∫lnxdx=xlnx−x+C
Answer: xlnx−x+C
Problem 4: Repeated Integration by Parts
Evaluate: ∫x2exdx
Solution:
- First application:
- u=x2⟹du=2xdx
- dv=exdx⟹v=ex
∫x2exdx=x2ex−∫ex(2x)dx=x2ex−2∫xexdx
- Second application (on ∫xexdx, which we solved in Problem 1):
- We know ∫xexdx=xex−ex+C.
- Substitute back:
∫x2exdx=x2ex−2(xex−ex)+C
∫x2exdx=x2ex−2xex+2ex+C
Answer: ex(x2−2x+2)+C
Problem 5: Cycling Integrals (Requires solving for the integral)
Evaluate: ∫exsinxdx
Solution:
This type of integral often requires two applications of integration by parts, leading back to the original integral, allowing you to solve for it algebraically.
- First application:
- u=sinx⟹du=cosxdx
- dv=exdx⟹v=ex
I=∫exsinxdx=exsinx−∫excosxdx
- Second application (on ∫excosxdx):
- u=cosx⟹du=−sinxdx
- dv=exdx⟹v=ex
∫excosxdx=excosx−∫ex(−sinx)dx
∫excosxdx=excosx+∫exsinxdx
- Substitute back into the first equation:
I=exsinx−(excosx+∫exsinxdx)
I=exsinx−excosx−I
- Solve for I:
2I=exsinx−excosx
I=21(exsinx−excosx)+C
Answer: 21ex(sinx−cosx)+C
Problem 6: Definite Integral
Evaluate: ∫0π/2xsinxdx
Solution:
First, find the indefinite integral ∫xsinxdx.
- Choose u and dv:
- u=x⟹du=dx
- dv=sinxdx⟹v=−cosx
- Apply the formula:
∫xsinxdx=x(−cosx)−∫(−cosx)dx
=−xcosx+∫cosxdx
=−xcosx+sinx
Now, evaluate from 0 to π/2:
[−xcosx+sinx]0π/2=(−2πcos2π+sin2π)−(−0cos0+sin0)
=(−2π⋅0+1)−(0+0)
=1−0=1
Answer: 1
Problem 7: Inverse Trigonometric Function
Evaluate: ∫arctanxdx
Solution:
- Choose u and dv:
- u=arctanx⟹du=1+x21dx
- dv=dx⟹v=x
- Apply the formula:
∫arctanxdx=xarctanx−∫x1+x21dx
- Evaluate the new integral (use substitution: let w=1+x2, then dw=2xdx):
∫x1+x21dx=21∫w1dw=21ln∣w∣=21ln(1+x2)
- Substitute back:
∫arctanxdx=xarctanx−21ln(1+x2)+C
Answer: xarctanx−21ln(1+x2)+C
Problem 8: Algebraic and Logarithmic
Evaluate: ∫x3lnxdx
Solution:
- Choose u and dv:
- u=lnx⟹du=x1dx
- dv=x3dx⟹v=4x4
- Apply the formula:
∫x3lnxdx=(lnx)(4x4)−∫4x4(x1)dx
=4x4lnx−∫4x3dx
- Evaluate the new integral:
=4x4lnx−414x4+C
=4x4lnx−16x4+C
Answer: 4x4(lnx−41)+C
Problem 9: Algebraic and Trigonometric (Repeated)
Evaluate: ∫x2sinxdx
Solution:
- First application:
- u=x2⟹du=2xdx
- dv=sinxdx⟹v=−cosx
∫x2sinxdx=−x2cosx−∫(−cosx)(2x)dx
=−x2cosx+2∫xcosxdx
- Second application (on ∫xcosxdx, from Problem 2):
- We know ∫xcosxdx=xsinx+cosx.
- Substitute back:
=−x2cosx+2(xsinx+cosx)+C
=−x2cosx+2xsinx+2cosx+C
Answer: 2xsinx+(2−x2)cosx+C
Problem 10: Definite Integral with Cycling (Implicit Solving)
Evaluate: ∫0πe2xcosxdx
Solution:
First, find the indefinite integral I=∫e2xcosxdx.
- First application:
- u=cosx⟹du=−sinxdx
- dv=e2xdx⟹v=21e2x
I=21e2xcosx−∫21e2x(−sinx)dx
I=21e2xcosx+21∫e2xsinxdx
- Second application (on ∫e2xsinxdx):
- u=sinx⟹du=cosxdx
- dv=e2xdx⟹v=21e2x
∫e2xsinxdx=21e2xsinx−∫21e2xcosxdx
=21e2xsinx−21I
- Substitute back:
I=21e2xcosx+21(21e2xsinx−21I)
I=21e2xcosx+41e2xsinx−41I
- Solve for I:
I+41I=21e2xcosx+41e2xsinx
45I=41e2x(2cosx+sinx)
I=51e2x(2cosx+sinx)
Now, evaluate the definite integral from 0 to π:
[51e2x(2cosx+sinx)]0π
=51e2π(2cosπ+sinπ)−51e2(0)(2cos0+sin0)
=51e2π(2(−1)+0)−51(1)(2(1)+0)
=51e2π(−2)−51(2)
=−52e2π−52
Answer: −52(e2π+1)
Common Pitfalls and Tips
- Incorrect u and dv selection: Always use LIATE as a guideline. A bad choice can make the integral harder.
- Forgetting the dx: du and dv always include dx.
- Sign errors: Be careful with minus signs, especially when integrating trigonometric functions or when vdu has a negative.
- Recursion: For cycling integrals, remember to bring the integral to the left side and solve algebraically.
- Definite Integrals: Don't forget to evaluate the uv term at the limits of integration.
With practice, integration by parts becomes a valuable tool in your calculus toolkit.