Integration by parts formula: \(\int u dv = uv - \int v du\), derived from the product rule for differentiation
- Choose \(u\) and \(dv\) from the integrand
- Compute \(du\) by differentiating \(u\)
- Compute \(v\) by integrating \(dv\)
- Apply the formula: \(\int u dv = uv - \int v du\)
- Simplify the resulting expression
For \(\int x e^x dx\), we use the LIATE rule (Logarithmic, Inverse trig, Algebraic, Trigonometric, Exponential) to guide our choice.
Since we have algebraic (\(x\)) and exponential (\(e^x\)), choose \(u = x\) (algebraic) and \(dv = e^x dx\) (exponential).
If \(u = x\), then \(du = dx\).
If \(dv = e^x dx\), then \(v = \int e^x dx = e^x\).
\(\int u dv = uv - \int v du\)
\(\int x e^x dx = x \cdot e^x - \int e^x \cdot dx\)
\(= x e^x - \int e^x dx\)
\(\int x e^x dx = x e^x - e^x + C = e^x(x - 1) + C\)
Take the derivative: \(\frac{d}{dx}[e^x(x - 1) + C] = e^x(x - 1) + e^x = e^x(x - 1 + 1) = xe^x\) ✓
\(\int x e^x dx = e^x(x - 1) + C\)
• Integration by parts: \(\int u dv = uv - \int v du\)
• LIATE rule: Choose \(u\) according to: Logarithmic, Inverse trig, Algebraic, Trigonometric, Exponential
• Exponential integration: \(\int e^x dx = e^x\)
Trigonometric integration by parts: When dealing with products of algebraic and trigonometric functions, choose the algebraic part as \(u\) and the trigonometric part as \(dv\)
For \(\int x \cos x dx\), we have algebraic (\(x\)) and trigonometric (\(\cos x\)).
Following LIATE: choose \(u = x\) (algebraic) and \(dv = \cos x dx\) (trigonometric).
If \(u = x\), then \(du = dx\).
If \(dv = \cos x dx\), then \(v = \int \cos x dx = \sin x\).
\(\int x \cos x dx = x \sin x - \int \sin x dx\)
\(\int x \cos x dx = x \sin x - (-\cos x) + C = x \sin x + \cos x + C\)
Take the derivative: \(\frac{d}{dx}[x \sin x + \cos x + C] = \sin x + x \cos x - \sin x = x \cos x\) ✓
\(\int x \cos x dx = x \sin x + \cos x + C\)
• Integration by parts: \(\int u dv = uv - \int v du\)
• LIATE rule: Choose \(u\) according to priority order
• Trigonometric integration: \(\int \cos x dx = \sin x\), \(\int \sin x dx = -\cos x\)
Logarithmic integration by parts: When integrating \(\ln x\), treat it as \((\ln x) \cdot 1\) and choose \(u = \ln x\), \(dv = 1 dx\)
\(\int \ln x dx = \int \ln x \cdot 1 dx\)
Now we have a product: \(\ln x\) and \(1\).
Following LIATE, choose \(u = \ln x\) (logarithmic) and \(dv = 1 dx\).
If \(u = \ln x\), then \(du = \frac{1}{x} dx\).
If \(dv = 1 dx\), then \(v = \int 1 dx = x\).
\(\int \ln x dx = \int \ln x \cdot 1 dx = \ln x \cdot x - \int x \cdot \frac{1}{x} dx\)
\(= x \ln x - \int 1 dx\)
\(\int \ln x dx = x \ln x - x + C\)
Take the derivative: \(\frac{d}{dx}[x \ln x - x + C] = \ln x + x \cdot \frac{1}{x} - 1 = \ln x + 1 - 1 = \ln x\) ✓
\(\int \ln x dx = x \ln x - x + C\)
• Integration by parts: \(\int u dv = uv - \int v du\)
• LIATE rule: Logarithmic functions are first priority for \(u\)
• Logarithmic derivative: \(\frac{d}{dx}[\ln x] = \frac{1}{x}\)
Integration by parts: A technique that reverses the product rule for differentiation, allowing us to integrate products of functions by converting to a simpler integral
LIATE rule: A mnemonic for choosing \(u\): Logarithmic, Inverse trigonometric, Algebraic, Trigonometric, Exponential functions (in order of priority)
Product rule: \(\frac{d}{dx}[uv] = u\frac{dv}{dx} + v\frac{du}{dx}\), which leads to the integration by parts formula
- Identify the product: Recognize that the integrand is a product of two functions
- Choose \(u\) and \(dv\): Use LIATE rule to select which function to differentiate and which to integrate
- Compute \(du\) and \(v\): Differentiate \(u\) and integrate \(dv\)
- Apply the formula: \(\int u dv = uv - \int v du\)
- Simplify: Evaluate the new integral, which should be simpler than the original
- Repeat if necessary: Sometimes multiple applications are needed
• Integration by parts: \(\int u dv = uv - \int v du\)
• LIATE order: Logarithmic, Inverse trig, Algebraic, Trigonometric, Exponential
• Common choices: For \(\int x^n e^x dx\), choose \(u = x^n\), \(dv = e^x dx\)
• For \(\int x^n \sin x dx\), choose \(u = x^n\), \(dv = \sin x dx\)
• For \(\int \ln x dx\), choose \(u = \ln x\), \(dv = 1 dx\)
\(\int x e^x dx\)
\(\int x \sin x dx\)
\(\int x \ln x dx\)
Analysis: Demonstrating integration by parts with various function types.
- \(\int x e^x dx = e^x(x - 1) + C\) (polynomial-exponential)
- \(\int x \sin x dx = -x\cos x + \sin x + C\) (polynomial-trigonometric)
- \(\int x \ln x dx = \frac{x^2}{2}\ln x - \frac{x^2}{4} + C\) (polynomial-logarithmic)
Repeated integration by parts: When the resulting integral after one application of integration by parts is still a product, apply the formula again
For \(\int x^2 e^x dx\), choose \(u = x^2\) (algebraic) and \(dv = e^x dx\) (exponential).
Then \(du = 2x dx\) and \(v = e^x\).
\(\int x^2 e^x dx = x^2 e^x - \int e^x \cdot 2x dx = x^2 e^x - 2\int x e^x dx\)
We now need \(\int x e^x dx\). From our earlier exercise: \(\int x e^x dx = e^x(x - 1) + C\).
\(\int x^2 e^x dx = x^2 e^x - 2[e^x(x - 1)] + C\)
\(= x^2 e^x - 2x e^x + 2e^x + C\)
\(= e^x(x^2 - 2x + 2) + C\)
Take the derivative: \(\frac{d}{dx}[e^x(x^2 - 2x + 2)] = e^x(x^2 - 2x + 2) + e^x(2x - 2) = e^x(x^2 - 2x + 2 + 2x - 2) = e^x x^2 = x^2 e^x\) ✓
We could have recognized the pattern: for \(\int x^n e^x dx\), repeated integration by parts reduces the power of \(x\) each time until it becomes a constant.
For \(\int x^2 e^x dx\): After 2 applications, we get \(\int e^x dx\) which is elementary.
\(\int x^2 e^x dx = e^x(x^2 - 2x + 2) + C\)
• Integration by parts: \(\int u dv = uv - \int v du\)
• Repeated application: Apply the formula multiple times when necessary
• Pattern recognition: For \(\int x^n e^x dx\), repeated applications reduce to elementary integral
Cyclic integration by parts: When applying integration by parts twice leads back to the original integral, we can solve algebraically for the result
For \(\int e^x \sin x dx\), choose \(u = \sin x\) (trigonometric) and \(dv = e^x dx\) (exponential).
Then \(du = \cos x dx\) and \(v = e^x\).
\(\int e^x \sin x dx = e^x \sin x - \int e^x \cos x dx\)
For \(\int e^x \cos x dx\), choose \(u = \cos x\) and \(dv = e^x dx\).
Then \(du = -\sin x dx\) and \(v = e^x\).
\(\int e^x \cos x dx = e^x \cos x - \int e^x (-\sin x) dx = e^x \cos x + \int e^x \sin x dx\)
From Step 1: \(\int e^x \sin x dx = e^x \sin x - \int e^x \cos x dx\)
From Step 2: \(\int e^x \cos x dx = e^x \cos x + \int e^x \sin x dx\)
Substituting: \(\int e^x \sin x dx = e^x \sin x - [e^x \cos x + \int e^x \sin x dx]\)
\(\int e^x \sin x dx = e^x \sin x - e^x \cos x - \int e^x \sin x dx\)
\(\int e^x \sin x dx + \int e^x \sin x dx = e^x \sin x - e^x \cos x\)
\(2\int e^x \sin x dx = e^x \sin x - e^x \cos x\)
\(\int e^x \sin x dx = \frac{e^x \sin x - e^x \cos x}{2} = \frac{e^x(\sin x - \cos x)}{2}\)
\(\int e^x \sin x dx = \frac{e^x(\sin x - \cos x)}{2} + C\)
Take the derivative: \(\frac{d}{dx}\left[\frac{e^x(\sin x - \cos x)}{2}\right] = \frac{1}{2}[e^x(\sin x - \cos x) + e^x(\cos x + \sin x)] = \frac{1}{2}[e^x(\sin x - \cos x + \cos x + \sin x)] = \frac{1}{2}[2e^x \sin x] = e^x \sin x\) ✓
\(\int e^x \sin x dx = \frac{e^x(\sin x - \cos x)}{2} + C\)
• Integration by parts: \(\int u dv = uv - \int v du\)
• Cyclic pattern: When the second application returns to the original integral
• Algebraic manipulation: Solve for the integral when it appears on both sides
Integration by parts: A technique derived from the product rule for differentiation, allowing us to integrate products of functions by distributing the derivative
LIATE rule: A mnemonic for choosing \(u\): L (Logarithmic), I (Inverse trigonometric), A (Algebraic), T (Trigonometric), E (Exponential) in order of priority
Cyclic integration: When repeated applications of integration by parts lead back to the original integral, allowing algebraic solution
- Identify the product: Recognize that the integrand is a product of two functions
- Choose \(u\) and \(dv\): Use LIATE rule to decide which function to differentiate and which to integrate
- Compute \(du\) and \(v\): Differentiate \(u\) and integrate \(dv\)
- Apply the formula: Use \(\int u dv = uv - \int v du\)
- Evaluate: Check if the new integral is simpler; if not, reconsider your choice
- Repeat if necessary: For higher powers, apply the formula multiple times
- Verify: Differentiate the result to ensure it matches the original integrand
• Integration by parts: \(\int u dv = uv - \int v du\)
• LIATE order: Logarithmic, Inverse trig, Algebraic, Trigonometric, Exponential
• Common integrals: \(\int \ln x dx = x\ln x - x\), \(\int \arctan x dx = x\arctan x - \frac{1}{2}\ln(1+x^2)\)
• Polynomial-exponential: \(\int x^n e^x dx\) requires \(n\) applications of integration by parts
• Cyclic integrals: \(\int e^x \sin x dx = \frac{e^x(\sin x - \cos x)}{2}\), \(\int e^x \cos x dx = \frac{e^x(\cos x + \sin x)}{2}\)
\(\int x^2 \sin x dx\)
\(\int x \ln x dx\)
\(\int \arctan x dx\)
Analysis: Advanced integration by parts applications.
- \(\int x^2 \sin x dx = -x^2\cos x + 2x\sin x + 2\cos x + C\) (apply IBP twice)
- \(\int x \ln x dx = \frac{x^2}{2}\ln x - \frac{x^2}{4} + C\) (choose \(u = \ln x\), \(dv = x dx\))
- \(\int \arctan x dx = x\arctan x - \frac{1}{2}\ln(1+x^2) + C\) (choose \(u = \arctan x\), \(dv = 1 dx\))