Integration by Parts: Mastering the Product Rule for Integration

Master integration by parts: comprehensive guide with step-by-step solutions, methods, and visual explanations for the product rule of integration.

Exercise Solutions 1 to 3
1 Basic Polynomial-Exponential
Exercise 1
Find ∫ xe^x dx using integration by parts.
Definition:

Integration by parts: A technique that reverses the product rule for differentiation. The formula is ∫u dv = uv - ∫v du, where u and dv are chosen strategically from the integrand.

Integration by parts method:

1. Choose u and dv from the integrand

2. Find du by differentiating u

3. Find v by integrating dv

4. Apply the formula: ∫u dv = uv - ∫v du

5. Simplify and evaluate the remaining integral

Step 1
Choose u and dv
Step 2
Find du and v
Step 3
Apply formula
Step 1: Choose u and dv

For ∫ xe^x dx, we need to split the integrand into u and dv.

Following the LIATE rule (Logarithmic, Inverse, Algebraic, Trigonometric, Exponential), we choose:

u = x (Algebraic function)

dv = e^x dx (Exponential function)

Step 2: Find du and v

du/dx = d/dx[x] = 1

Therefore: du = dx

v = ∫dv = ∫e^x dx = e^x

Step 3: Apply the integration by parts formula

∫u dv = uv - ∫v du

∫ xe^x dx = x·e^x - ∫e^x·dx

= xe^x - ∫e^x dx

= xe^x - e^x + C

= e^x(x - 1) + C

∫ xe^x dx = e^x(x - 1) + C
Final answer:

∫ xe^x dx = e^x(x - 1) + C

Applied rules:

• Integration by parts: ∫u dv = uv - ∫v du

• LIATE rule: Helps choose u strategically

• Exponential integral: ∫e^x dx = e^x

2 Logarithmic Function
Exercise 2
Find ∫ ln(x) dx using integration by parts.
Definition:

Integration by parts for logarithmic functions: When integrating functions like ln(x), we often need to rewrite the integrand as ln(x)·1 to apply integration by parts, treating 1 as dv.

Step 1
Rewrite and choose
Step 2
Find du and v
Step 3
Apply formula
Step 1: Rewrite and choose u and dv

∫ ln(x) dx = ∫ ln(x)·1 dx

Following LIATE, we choose:

u = ln(x) (Logarithmic function)

dv = 1 dx (Algebraic function)

Step 2: Find du and v

du/dx = d/dx[ln(x)] = 1/x

Therefore: du = (1/x) dx

v = ∫dv = ∫1 dx = x

Step 3: Apply the integration by parts formula

∫u dv = uv - ∫v du

∫ ln(x) dx = ln(x)·x - ∫x·(1/x) dx

= x ln(x) - ∫1 dx

= x ln(x) - x + C

= x(ln(x) - 1) + C

∫ ln(x) dx = x(ln(x) - 1) + C
Final answer:

∫ ln(x) dx = x(ln(x) - 1) + C

Applied rules:

• Integration by parts: ∫u dv = uv - ∫v du

• Logarithmic derivative: d/dx[ln(x)] = 1/x

• Algebraic integral: ∫1 dx = x

3 Trigonometric-Polynomial
Exercise 3
Find ∫ x sin(x) dx using integration by parts.
Definition:

Integration by parts for trigonometric-polynomial products: When integrating products of polynomials and trigonometric functions, choose the polynomial as u and the trigonometric function as dv (following LIATE).

Step 1
Choose u and dv
Step 2
Find du and v
Step 3
Apply formula
Step 1: Choose u and dv

For ∫ x sin(x) dx, following LIATE:

u = x (Algebraic function)

dv = sin(x) dx (Trigonometric function)

Step 2: Find du and v

du/dx = d/dx[x] = 1

Therefore: du = dx

v = ∫dv = ∫sin(x) dx = -cos(x)

Step 3: Apply the integration by parts formula

∫u dv = uv - ∫v du

∫ x sin(x) dx = x·(-cos(x)) - ∫(-cos(x))·dx

= -x cos(x) - ∫(-cos(x)) dx

= -x cos(x) + ∫cos(x) dx

= -x cos(x) + sin(x) + C

∫ x sin(x) dx = -x cos(x) + sin(x) + C
Final answer:

∫ x sin(x) dx = -x cos(x) + sin(x) + C

Applied rules:

• Integration by parts: ∫u dv = uv - ∫v du

• Trigonometric integrals: ∫sin(x) dx = -cos(x), ∫cos(x) dx = sin(x)

• LIATE rule: Helps choose u strategically

Key Concepts & Formulas
\(\int u \, dv = uv - \int v \, du\)
Integration by Parts Formula
Product Rule
\(d(uv) = u\,dv + v\,du\)
Origin of formula
LIATE Rule
L > I > A > T > E
Choosing u strategy
Repeated Parts
May need multiple applications
For complex products
Key definitions:

Integration by parts: A technique derived from the product rule for differentiation, allowing integration of products of functions.

LIATE rule: A mnemonic for choosing u: Logarithmic, Inverse trigonometric, Algebraic, Trigonometric, Exponential.

UV minus VDU: The memorable phrase for the formula ∫u dv = uv - ∫v du.

Strategic selection: Choosing u and dv to make the resulting integral ∫v du simpler than the original.

Integration by parts methodology:
  1. Identify the product: Recognize the integrand as a product of two functions
  2. Choose u and dv: Use LIATE rule or experience to select strategically
  3. Find du and v: Differentiate u and integrate dv
  4. Apply the formula: ∫u dv = uv - ∫v du
  5. Evaluate: Compute the new integral if possible
  6. Simplify: Combine terms and add the constant of integration
Tip 1: Choose u as the function that becomes simpler when differentiated (usually algebraic functions).
Tip 2: Choose dv as the function that is easy to integrate (usually exponential or basic trigonometric).
Tip 3: If the resulting integral is more complex, try swapping your choice of u and dv.
Advantages: Handles products of functions, works with logarithmic functions, complements other integration techniques.
When to use: When integrand is a product of different function types, when u-substitution fails.
Critical formulas to memorize:

• Integration by parts: ∫u dv = uv - ∫v du

• Product rule derivation: d(uv) = u dv + v du

• Common derivatives: d/dx[ln(x)] = 1/x, d/dx[xⁿ] = nxⁿ⁻¹

• Common integrals: ∫eˣ dx = eˣ, ∫sin(x) dx = -cos(x), ∫cos(x) dx = sin(x)

LIATE Strategy
🎯
L - Logarithmic
ln(x), log(x)

• Choose as u when present

• Becomes simpler when differentiated

• Examples: ln(x), log₂(x)

I - Inverse Trig
arcsin(x), arctan(x)

• Choose as u when present

• Derivatives are algebraic

• Examples: arcsin(x), arctan(x)

A - Algebraic
xⁿ, polynomials

• Good choice for u

• Becomes simpler when differentiated

• Examples: x, x², x³

T - Trigonometric
sin(x), cos(x)

• Usually for dv

• Easy to integrate

• Examples: sin(x), cos(x)

E - Exponential
eˣ, aˣ

• Usually for dv

• Integrates to same form

• Examples: eˣ, 2ˣ

Exercise Solutions 4 to 5
4 Exponential-Polynomial
Exercise 4
Find ∫ x²e^x dx using integration by parts.
Definition:

Repeated integration by parts: When the resulting integral after applying integration by parts still contains a product of functions, we may need to apply integration by parts again. This is common with higher-degree polynomials multiplied by exponentials.

Step 1
First application
Step 2
Second application
Step 3
Final result
Step 1: First application of integration by parts

For ∫ x²e^x dx, following LIATE:

u = x², dv = e^x dx

du = 2x dx, v = e^x

∫ x²e^x dx = x²e^x - ∫e^x·2x dx = x²e^x - 2∫xe^x dx

Step 2: Apply integration by parts to ∫xe^x dx

We need to find ∫xe^x dx (from Exercise 1):

u = x, dv = e^x dx

du = dx, v = e^x

∫ xe^x dx = xe^x - ∫e^x dx = xe^x - e^x = e^x(x - 1)

Step 3: Substitute back and simplify

∫ x²e^x dx = x²e^x - 2∫xe^x dx

= x²e^x - 2[e^x(x - 1)]

= x²e^x - 2e^x(x - 1)

= x²e^x - 2xe^x + 2e^x

= e^x(x² - 2x + 2) + C

∫ x²e^x dx = e^x(x² - 2x + 2) + C
Final answer:

∫ x²e^x dx = e^x(x² - 2x + 2) + C

Applied rules:

• Integration by parts: ∫u dv = uv - ∫v du

• Repeated application: When first result still needs integration by parts

• Algebraic simplification: Factoring and combining terms

5 Trigonometric-Inverse
Exercise 5
Find ∫ arctan(x) dx using integration by parts.
Definition:

Integration by parts for inverse trigonometric functions: Similar to logarithmic functions, we rewrite the integrand as arctan(x)·1 and apply integration by parts with the inverse trigonometric function as u.

Step 1
Rewrite and choose
Step 2
Find du and v
Step 3
Apply formula
Step 1: Rewrite and choose u and dv

∫ arctan(x) dx = ∫ arctan(x)·1 dx

Following LIATE (Inverse trigonometric comes before Algebraic):

u = arctan(x) (Inverse trigonometric function)

dv = 1 dx (Algebraic function)

Step 2: Find du and v

du/dx = d/dx[arctan(x)] = 1/(1 + x²)

Therefore: du = 1/(1 + x²) dx

v = ∫dv = ∫1 dx = x

Step 3: Apply the integration by parts formula

∫u dv = uv - ∫v du

∫ arctan(x) dx = arctan(x)·x - ∫x·1/(1 + x²) dx

= x arctan(x) - ∫x/(1 + x²) dx

For ∫x/(1 + x²) dx, use u-substitution with w = 1 + x²:

dw = 2x dx, so x dx = (1/2) dw

∫x/(1 + x²) dx = ∫(1/w)·(1/2) dw = (1/2)ln|w| = (1/2)ln(1 + x²)

Therefore: ∫ arctan(x) dx = x arctan(x) - (1/2)ln(1 + x²) + C

∫ arctan(x) dx = x arctan(x) - (1/2)ln(1 + x²) + C
Final answer:

∫ arctan(x) dx = x arctan(x) - (1/2)ln(1 + x²) + C

Applied rules:

• Integration by parts: ∫u dv = uv - ∫v du

• Inverse trig derivative: d/dx[arctan(x)] = 1/(1 + x²)

• U-substitution: For the remaining integral

Comprehensive Summary: Integration by Parts

Key Definitions

Integration by Parts: A technique that reverses the product rule for differentiation, allowing integration of products of functions using the formula ∫u dv = uv - ∫v du.

LIATE Rule: A mnemonic for choosing u: Logarithmic, Inverse trigonometric, Algebraic, Trigonometric, Exponential (in order of preference).

UV minus VDU: The memorable phrase for the formula ∫u dv = uv - ∫v du.

Repeated Integration by Parts: Applying the technique multiple times when the resulting integral still requires integration by parts.

Core Formulas

Main Formula: ∫u dv = uv - ∫v du

Derivation: From d(uv) = u dv + v du

Common Derivatives: d/dx[ln(x)] = 1/x, d/dx[arctan(x)] = 1/(1+x²), d/dx[xⁿ] = nxⁿ⁻¹

Common Integrals: ∫eˣ dx = eˣ, ∫sin(x) dx = -cos(x), ∫cos(x) dx = sin(x)

Strategy: Choose u to become simpler when differentiated, dv to be easy to integrate.

Step-by-Step Method

1. Identify the product: Recognize that the integrand is a product of two functions.

2. Choose u and dv: Use LIATE rule or strategic thinking to select u and dv.

3. Find du and v: Differentiate u to get du, integrate dv to get v.

4. Apply the formula: Substitute into ∫u dv = uv - ∫v du.

5. Evaluate: Compute the new integral ∫v du if possible.

6. Simplify: Combine terms and add the constant of integration.

Common Patterns

Polynomial-Exponential: ∫xⁿeˣ dx → Choose u = xⁿ, dv = eˣ dx

Logarithmic: ∫ln(x) dx → Choose u = ln(x), dv = 1 dx

Trigonometric-Polynomial: ∫x sin(x) dx → Choose u = x, dv = sin(x) dx

Inverse Trigonometric: ∫arctan(x) dx → Choose u = arctan(x), dv = 1 dx

Repeated Applications: For higher-degree polynomials with exponentials.

Tips & Common Pitfalls

Tips: Use LIATE as a guide; if the result is more complex, swap u and dv; remember to add +C at the end.

Pitfalls: Choosing u and dv incorrectly leading to more complex integrals; forgetting to change signs; not applying the formula correctly.

Verification: Differentiate your answer to check if you get back the original integrand.

Strategy: Choose u to become simpler when differentiated and dv to be easy to integrate.

Memory Aids

"UV minus VDU": Helps remember the formula ∫u dv = uv - ∫v du.

"LIATE order": Logarithmic, Inverse, Algebraic, Trigonometric, Exponential.

"Differentiate to simplify": Choose u so that du is simpler than u.

"Integrate to stay manageable": Choose dv so that v is not more complex than dv.

Questions & Answers

Question: How do I decide which function to choose as u and which as dv in integration by parts?

Answer: Use the LIATE rule as a guideline:

  • L - Logarithmic functions (ln x, log x)
  • I - Inverse trigonometric functions (arcsin x, arctan x)
  • A - Algebraic functions (polynomials, x, x²)
  • T - Trigonometric functions (sin x, cos x)
  • E - Exponential functions (eˣ, aˣ)

Choose u as the function that appears first in the LIATE order. The idea is to choose u so that it becomes simpler when differentiated, and dv so that it's easy to integrate.

Question: What should I do if the integral after applying integration by parts still requires integration by parts?

Answer: This is called "repeated integration by parts" and is quite common. For example, with ∫x²eˣ dx:

First application: ∫x²eˣ dx = x²eˣ - ∫2xeˣ dx

Second application: ∫2xeˣ dx = 2xeˣ - ∫2eˣ dx = 2xeˣ - 2eˣ

Final result: ∫x²eˣ dx = x²eˣ - 2xeˣ + 2eˣ + C = eˣ(x² - 2x + 2) + C

You continue applying integration by parts until the resulting integral can be computed directly. With polynomials of degree n, you typically need n applications of integration by parts.

Question: How can I verify that my integration by parts answer is correct?

Answer: The best way to verify your answer is to differentiate it and check if you get back the original integrand:

For example, if you found that ∫x sin(x) dx = -x cos(x) + sin(x) + C, then differentiate:

d/dx[-x cos(x) + sin(x)] = -cos(x) - x(-sin(x)) + cos(x) = -cos(x) + x sin(x) + cos(x) = x sin(x)

This matches the original integrand, confirming your answer is correct.

You can also check by ensuring that your application of the formula ∫u dv = uv - ∫v du was done correctly.