While basic integration rules allow us to solve simple functions, we quickly run into trouble when faced with the product of two distinct types of functions—such as an algebraic function multiplied by a trigonometric or exponential function. To solve these complex expressions, we need a powerful tool: Integration by Parts.
This comprehensive guide will demystify integration by parts. We will explore its theoretical origins, derive its formula from first principles, establish a foolproof strategy for choosing your variables, walk through diverse step-by-step examples, and examine how this mathematical technique is utilized in physics and engineering.
The Theoretical Foundation: Where Does It Come From?
Just as substitution is the reverse of the Chain Rule for differentiation, integration by parts is the direct counterpart to the Product Rule of differentiation. To understand why integration by parts works, we must look at how we differentiate the product of two functions.
Let u(x) and v(x) be two differentiable functions. According to the Product Rule, the derivative of their product is expressed as:
d/dx [u(x) · v(x)] = u'(x) · v(x) + u(x) · v'(x)
To simplify the notation, we can write this in differential form:
d(uv) = v · du + u · dv
Now, let us integrate both sides of this equation with respect to x:
∫ d(uv) = ∫ v · du + ∫ u · dv
Since integration and differentiation are inverse operations, the integral of the differential d(uv) is simply uv. This yields:
uv = ∫ v · du + ∫ u · dv
By rearranging the terms to isolate the integral of u · dv, we arrive at the classic Integration by Parts formula:
∫ u · dv = uv - ∫ v · du
This elegant formula allows us to trade one difficult integral, ∫ u · dv, for a different, hopefully much simpler integral, ∫ v · du.
The Golden Rule: How to Choose 'u' and 'dv' (LIATE)
The most challenging part of using integration by parts is deciding which part of your integrand should be assigned to u and which part should be assigned to dv. If you make the wrong choice, the new integral ∫ v · du can become far more complicated than the original one.
To assist with this decision, mathematicians developed a highly reliable rule of thumb known as the LIATE rule. This acronym ranks function types from top to bottom. You should choose your u based on whichever function type appears closest to the top of this list:
L - Logarithmic functions: ln(x), log(x)
I - Inverse trigonometric functions: arctan(x), arcsin(x)
A - Algebraic functions: x2, 3x, xn
T - Trigonometric functions: sin(x), cos(x)
E - Exponential functions: ex, 2x
The logic behind LIATE is straightforward: functions near the top (like logarithms and inverse trig functions) are difficult to integrate but easy to differentiate. Functions near the bottom (like exponentials and trig functions) are highly resilient and easy to integrate, making them ideal candidates for dv.
Step-by-Step Guide to Integration by Parts
Whenever you approach a problem requiring integration by parts, follow these five consistent steps:
Identify: Choose u using the LIATE rule, and assign everything else (including the dx) to dv.
Differentiate: Compute the derivative of u to find du.
Integrate: Integrate dv to find v (you can omit the constant of integration + C at this stage).
Substitute: Plug your expressions for u, v, du, and dv into the integration by parts formula.
Evaluate: Solve the remaining integral ∫ v · du and add the constant of integration + C.
Practical Examples and Detailed Solutions
Example 1: The Classic Product (∫ x · ex dx)
Let's integrate ∫ x · ex dx.
Step 1: Choose u and dv.
We have an algebraic function (x) and an exponential function (ex). According to LIATE, Algebraic (A) comes before Exponential (E). Therefore:
u = x
dv = ex dx
Step 2: Differentiate and Integrate.
du = 1 · dx = dx
v = ∫ ex dx = ex
Step 3: Apply the formula.
∫ u · dv = uv - ∫ v · du
∫ x · ex dx = x · ex - ∫ ex dx
Step 4: Evaluate.
∫ x · ex dx = x · ex - ex + C
We can clean this up by factoring out ex:
ex(x - 1) + C
Example 2: The Logarithmic Trick (∫ ln(x) dx)
At first glance, ∫ ln(x) dx doesn't look like a product of two functions. However, we can treat it as a product by rewriting it as ∫ ln(x) · 1 dx.
Step 1: Choose u and dv.
Logarithmic (L) is at the very top of LIATE. Thus:
u = ln(x)
dv = 1 dx
Step 2: Differentiate and Integrate.
du = (1/x) dx
v = x
Step 3: Apply the formula.
∫ ln(x) dx = ln(x) · x - ∫ x · (1/x) dx
∫ ln(x) dx = x · ln(x) - ∫ 1 dx
Step 4: Evaluate.
x · ln(x) - x + C
Example 3: Repeated Integration by Parts (∫ x2 · cos(x) dx)
Sometimes, you must apply the integration by parts formula more than once because the resulting integral still contains a product.
Let's solve ∫ x2 · cos(x) dx.
First Pass:
We choose u = x2 (Algebraic) and dv = cos(x) dx (Trigonometric).
du = 2x dx
v = sin(x)
Applying the formula:
∫ x2 · cos(x) dx = x2 · sin(x) - ∫ 2x · sin(x) dx
Notice that the new integral, ∫ 2x · sin(x) dx, still cannot be integrated directly. We must apply integration by parts a second time on this new term.
Second Pass:
For ∫ 2x · sin(x) dx, let:
u = 2x ⇒ du = 2 dx
dv = sin(x) dx ⇒ v = -cos(x)
Applying the formula to this sub-integral:
∫ 2x · sin(x) dx = (2x)(-cos(x)) - ∫ (-cos(x))(2 dx)
∫ 2x · sin(x) dx = -2x · cos(x) + 2 ∫ cos(x) dx
∫ 2x · sin(x) dx = -2x · cos(x) + 2 · sin(x)
Final Assembly:
Now, substitute this result back into our original equation:
∫ x2 · cos(x) dx = x2 · sin(x) - [-2x · cos(x) + 2 · sin(x)] + C
x2 · sin(x) + 2x · cos(x) - 2 · sin(x) + C
The Tabular Method (DI Method): A Shortcut for Repeated Calculations
When dealing with integrals that require multiple iterations of integration by parts—especially when one of the functions is a polynomial that eventually differentiates to zero—the Tabular Method (also known as the DI Method) is an exceptionally fast shortcut.
To set up the Tabular Method:
Create two columns: D (for Differentiation) and I (for Integration).
Write your chosen u at the top of the D column and your dv at the top of the I column.
Differentiate down the D column until you reach 0.
Integrate down the I column the same number of times.
Assign alternating signs (+, -, +, -, ...) to each row, starting with a positive sign on the first row.
Multiply diagonally: the term in row n of the D column by the term in row n+1 of the I column, incorporating the sign of row n.
This visual method eliminates algebraic sign errors and saves massive amounts of time during exams and physics derivations.
Common Pitfalls to Avoid
Even experienced calculus students can make mistakes when applying this technique. Keep an eye out for these frequent errors:
Forgetting the Negative Sign: The formula is uv minus ∫ v · du. It is very easy to accidentally write a plus sign, especially when v or du contains negative terms.
Incorrectly Integrating dv: Make sure you integrate dv to find v. A common mistake is accidentally differentiating it instead.
Ignoring the Constant of Integration (+C): Always remember to add your constant of integration at the end of an indefinite integral.
Key Takeaways
Integration by parts is the reverse operation of the Product Rule for differentiation.
The standard formula is ∫ u · dv = uv - ∫ v · du.
Use the LIATE acronym (Logarithmic, Inverse Trig, Algebraic, Trigonometric, Exponential) to choose u.
For integrals requiring multiple iterations, use the Tabular (DI) Method to save time and prevent sign errors.
This method is vital across physics, engineering, and advanced mathematical analysis.







