Integration by Parts
In differential calculus, the product rule provides a formula for the derivative of a product of two differentiable functions \(u(x)\) and \(v(x)\):
Integration by parts is simply the integral counterpart of this product rule.
Integrating both sides with respect to \(x\):
Rearranging the terms yields:
The Product Formula for Two Functions
Suppose we are given an integrand that is a product of two functions, \(f(x)g(x)\).
If we identify \(u(x) = f(x)\) and \(v'(x) = g(x)\) (so that \(v(x) = \int g(x)\,dx\)), the formula takes the practical form:
Because multiplication of real functions is commutative, \(f(x)g(x) = g(x)f(x)\). We could equally well assign the roles in reverse:
At first glance, this identity appears complicated: it replaces one unsolved integral with another integral.
However, the power of integration by parts lies in the fact that differentiation often simplifies a function (for example, lowering the power of a polynomial or converting an inverse trigonometric function into an algebraic fraction). If chosen strategically, the new integral on the right-hand side is substantially easier to evaluate than the original one.
Choosing Function I and Function II
To apply the formula systematically, we adopt a standard naming convention:
- Function I (First Function): The function chosen to be differentiated.
- Function II (Second Function): The function chosen to be integrated.
In words, the formula reads:
The Logic Behind the Choice
The success of integration by parts hinges entirely on three practical conditions:
- The derivative of Function I must be simpler than Function I itself. For example, algebraic powers \(x^n\) reduce to \(n x^{n-1}\), while functions like \(\ln x\) and \(\tan^{-1} x\) lose their transcendental character and become simple rational functions.
- Function II must be integrable using known standard integration formulas. If we cannot integrate Function II in closed form, the formula cannot even get started.
- The resulting product \(\left( \frac{d}{dx}(\text{I}) \cdot \int \text{II}\,dx \right)\) must be easier to integrate than the original integrand \(\text{I} \cdot \text{II}\).
A Direct Comparison of Choices
Consider the integral:
Here we have two factors: the algebraic factor \(x\) and the exponential factor \(e^x\).
Strategic Choice: Let \(\text{I} = x\) and \(\text{II} = e^x\).
Differentiating \(\text{I}\) gives \(\frac{d}{dx}(x) = 1\).
Integrating \(\text{II}\) gives \(\int e^x\,dx = e^x\).
Applying the formula:
The derivative of \(x\) eliminated the algebraic term entirely, reducing the problem to a standard elementary integral.
Unfavorable Choice: What if we had chosen \(\text{I} = e^x\) and \(\text{II} = x\)?
Differentiating \(\text{I}\) gives \(\frac{d}{dx}(e^x) = e^x\).
Integrating \(\text{II}\) gives \(\int x\,dx = \frac{x^2}{2}\).
Applying the formula:
Instead of simplifying the problem, this choice replaced \(\int x e^x\,dx\) with \(\frac{1}{2}\int x^2 e^x\,dx\)—an integral of strictly higher degree!
This contrast demonstrates why the choice of First and Second function cannot be arbitrary.
Example 1
Evaluate:
Solution:
Identify the two factors:
Applying the product formula:
Example 2
Evaluate:
Solution:
Here the algebraic factor is quadratic, \(x^2\). One differentiation will reduce it to linear (\(2x\)), and a second differentiation will reduce it to a constant. Thus, we apply integration by parts twice.
First Application:
Let:
Applying the formula:
Second Application:
For the remaining integral \(\int x e^x\,dx\), let:
Evaluating this integral:
Substitute this back into \(I\):
The ILATE Preference Rule
To help select which function should serve as Function I (the function to differentiate), mathematicians use the mnemonic ILATE.
The letters represent five common families of functions, arranged in order of decreasing priority for being chosen as Function I:
| Letter | Function Family | Representative Examples |
|---|---|---|
| I | Inverse trigonometric | \(\sin^{-1} x, \cos^{-1} x, \tan^{-1} x, \sec^{-1} x\) |
| L | Logarithmic | \(\ln x, \log_{10} x, \log_a(x + 1)\) |
| A | Algebraic | \(x^n, \sqrt{x}, ax + b, x^2 + 1\) |
| T | Trigonometric | \(\sin x, \cos x, \sec^2 x, \csc x\cot x\) |
| E | Exponential | \(e^x, a^x, 2^{3x}\) |
Whichever factor appears earlier in the word ILATE is generally selected as Function I, while the remaining factor becomes Function II.
ILATE is a Rule of Thumb, Not a Law
It is essential to understand that ILATE is only a heuristic guide, not an absolute mathematical theorem. In several situations, strictly following ILATE is either impossible or counterproductive:
-
Both factors belong to the same family: Consider \(\int \sec^3 x\,dx = \int \sec x \cdot \sec^2 x\,dx\). Both \(\sec x\) and \(\sec^2 x\) are trigonometric (T). ILATE offers no preference between them. Here, the choice is governed purely by integrability: \(\sec^2 x\) has an immediate standard antiderivative (\(\tan x\)), so \(\sec^2 x\) must be Function II, leaving \(\sec x\) as Function I.
-
Algebraic grouping inside composite expressions: In an integral such as \(\int x^3 e^{x^2}\,dx\), ILATE would suggest setting Function I as \(x^3\) and Function II as \(e^{x^2}\). But \(e^{x^2}\) has no elementary antiderivative! Instead, we decompose \(x^3\) as \(x^2 \cdot x\) and group \(x\) with \(e^{x^2}\), choosing \(\text{I} = x^2\) and \(\text{II} = x e^{x^2}\) (which integrates cleanly to \(\frac{1}{2}e^{x^2}\)).
-
Denominators containing squares of linear terms: In \(\int \frac{x e^x}{(x + 1)^2}\,dx\), the factor \(\frac{1}{(x + 1)^2}\) is algebraic, yet it must be selected as Function II because its integral \(-\frac{1}{x + 1}\) simplifies the subsequent step.
Integrating Single Functions via a Dummy Factor of 1
A striking application of integration by parts occurs when the integrand consists of a single function whose derivative is known, but whose antiderivative is not elementary—such as \(\ln x\), \(\sin^{-1} x\), or \(\tan^{-1} x\).
In such cases, we introduce the constant \(1\) as an algebraic factor:
According to ILATE, we set:
- Function I: \(f(x)\) (Inverse trigonometric or Logarithmic)
- Function II: \(1\) (Algebraic, since \(1 = x^0\))
Integrating Function II gives \(\int 1\,dx = x\).
Example 3
Evaluate:
Solution:
Write the integrand as \(\ln x \cdot 1\):
Applying the formula:
Example 4
Evaluate:
Solution:
Write the integral as \(\int (\sin^{-1} x \cdot 1)\,dx\):
Applying integration by parts:
For the remaining integral, notice that the derivative of \(1 - x^2\) is \(-2x\).
Rewrite the numerator:
Therefore:
Example 5
Evaluate:
Solution:
Write the integral as \(\int (\tan^{-1} x \cdot 1)\,dx\):
Applying integration by parts:
Multiply and divide by \(2\) to complete the derivative of the denominator:
Therefore:
Example 6
Evaluate:
Solution:
Write the integrand as \(\ln\left(x + \sqrt{1 + x^2}\right) \cdot 1\):
Compute the derivative of Function I using the chain rule:
Applying integration by parts:
Since \(\frac{d}{dx}\left[\sqrt{1 + x^2}\right] = \frac{x}{\sqrt{1 + x^2}}\), the remaining integral evaluates directly:
Therefore:
Cyclic Integrals
In certain problems, applying integration by parts repeatedly does not terminate in an elementary polynomial integral. Instead, the original integral \(I\) reappears on the right-hand side with a sign or coefficient that allows it to be solved algebraically.
Example 7
Evaluate:
Solution:
According to ILATE, let:
First Application:
Second Application:
For the integral \(\int e^x \cos x\,dx\), again choose:
Evaluating:
Notice that the remaining integral is our original integral \(I\):
Substitute this back into the equation for \(I\):
Add \(I\) to both sides:
Example 8
Evaluate:
Solution:
Rewrite the integrand as:
Both factors are trigonometric, so ILATE does not decide between them. However, \(\sec^2 x\) has the immediate integral \(\tan x\), whereas integrating \(\sec x\) produces a logarithm.
Therefore:
Applying integration by parts:
Use the Pythagorean identity \(\tan^2 x = \sec^2 x - 1\):
Recognizing the first term as \(I\):
Substitute this back into our expression for \(I\):
Add \(I\) to both sides:
Further Techniques and Transformations
Example 9
Evaluate:
Solution:
Following ILATE, set:
Applying the formula:
Rewrite the fraction by adding and subtracting \(1\):
Integrating this expression:
Substitute back:
Grouping the \(\tan^{-1} x\) terms:
Example 10
Evaluate:
Solution:
Notice that the factor \(\frac{x}{\sqrt{1 - x^2}}\) is easily integrable:
Choose:
Applying integration by parts:
The radicals cancel cleanly:
Example 11
Evaluate:
Solution:
Rewrite the algebraic part by adjusting the numerator:
The integral becomes:
Apply integration by parts to the first integral \(\int \frac{e^x}{x + 1}\,dx\):
Choose:
Integrating by parts:
Substitute this result back into \(I\):
The remaining integrals cancel out completely:
(Note: This illustrates the general theorem \(\int e^x [f(x) + f'(x)]\,dx = e^x f(x) + C\), which is a direct consequence of integration by parts.)
Example 12
Evaluate:
Solution:
We can establish this fundamental formula using integration by parts by introducing the dummy factor \(1\):
Let:
Applying integration by parts:
Rewrite \(x^2\) in the numerator as \(a^2 - (a^2 - x^2)\):
Substitute this decomposition into the integral:
Notice that the last integral is \(I\):
Using the standard formula \(\int \frac{dx}{\sqrt{a^2 - x^2}} = \sin^{-1}\left(\frac{x}{a}\right)\):
Add \(I\) to both sides:
Dividing by \(2\):