Integration Techniques: Substitution, Parts and Standard Forms

Most integrals in entry tests are not in the basic table; they have to be turned into a table form first. Three techniques do almost all of that work: substitution, integration by parts, and reducing a quadratic to one of the standard forms in a² ± x². This lesson goes beyond the basics: choosing the right substitution, using ILATE and repeated parts, completing the square, splitting a linear numerator, and spotting the eˣ[f + f′] and cyclic patterns that save minutes in ECAT, NUST NET and JEE Main.

Asked in: ECAT, NUST NET, JEE Main, FSc and Class 11-12 boards

Substitution: spot a function and its derivative

If the integrand contains a function g(x) together with its derivative g′(x), put u = g(x). Then du = g′(x) dx and the integral becomes a simpler one in u. Typical signals are ln x with 1/x, tan x with sec²x, sin x with cos x, and eˣ with eˣ.

In a definite integral, change the limits to u-values as well; then you never need to return to x. If the derivative is only off by a constant factor, adjust with that constant; if it is off by a variable, the substitution is wrong.

Standard forms with a² ± x²

Six results cover most quadratic denominators. They come from the trigonometric substitutions x = a tan θ, x = a sin θ and x = a sec θ, but in an exam you should simply quote them.

Watch the factor in front: 1/a for the tan⁻¹ form, 1/(2a) for the two logarithm forms, and no factor at all for the three square-root forms.

Completing the square

For ∫ dx/(ax² + bx + c) or ∫ dx/√(ax² + bx + c), complete the square so the quadratic becomes a(x + p)² ± q². Then put u = x + p and use a standard form with the same a² value.

Example of the move: x² + 6x + 13 = (x + 3)² + 4, so the integral is a tan⁻¹ form with a = 2. If the x² coefficient is negative, take out a minus sign first: 5 − 4x − x² = 9 − (x + 2)².

Linear over quadratic: split the numerator

For ∫ (px + q)/(ax² + bx + c) dx, write the numerator as A × (derivative of the denominator) + B. The A-part integrates to A ln|denominator| and the B-part is a completing-the-square integral.

Find A by matching x-coefficients, then B by matching constants. The same split works with a square root in the denominator, where the A-part gives 2A√(denominator).

Integration by parts and ILATE

For a product of two different kinds of function, ∫ u dv = uv − ∫ v du. Choose u by ILATE: Inverse trig, Logarithmic, Algebraic, Trigonometric, Exponential; the one earlier in the list is differentiated.

A single ln x or tan⁻¹x is integrated by parts with dv = dx. A polynomial times eˣ or sin x needs repeated parts; the tabular method (differentiate the polynomial until it vanishes, integrate the other factor, alternate signs + − + …) does it in one line.

The eˣ[f + f′] pattern and cyclic integrals

Since d/dx [eˣ f(x)] = eˣ[f(x) + f′(x)], any integrand of that shape integrates at sight to eˣ f(x). The skill is to rewrite the bracket so that one part is the derivative of the other, for example (1 + x)/(2 + x)² = 1/(x + 2) − 1/(x + 2)².

Integrals like ∫ eᵃˣ sin bx dx return to themselves after two rounds of parts. Call the integral I, solve the resulting linear equation for I, or simply quote the result.

Solved examples

  1. Evaluate ∫ (ln x)²/x dx.
    1. The integrand contains ln x and its derivative 1/x, so put u = ln x, du = dx/x.
    2. The integral becomes ∫ u² du = u³/3 + C.
    3. Return to x: (ln x)³/3 + C.
    Answer: (ln x)³/3 + C
  2. Evaluate ∫ dx/(x² + 6x + 13).
    1. Complete the square: x² + 6x + 13 = (x + 3)² + 4 = (x + 3)² + 2².
    2. Put u = x + 3 and use ∫ du/(u² + a²) = (1/a) tan⁻¹(u/a) with a = 2.
    3. Result: (1/2) tan⁻¹((x + 3)/2) + C.
    Answer: (1/2) tan⁻¹((x + 3)/2) + C
  3. Evaluate ∫ dx/√(5 − 4x − x²).
    1. Take out the minus sign and complete the square: 5 − 4x − x² = 5 − (x² + 4x) = 5 − [(x + 2)² − 4] = 9 − (x + 2)².
    2. This is the form ∫ du/√(a² − u²) with u = x + 2 and a = 3.
    3. Result: sin⁻¹((x + 2)/3) + C.
    Answer: sin⁻¹((x + 2)/3) + C
  4. Evaluate ∫ x² eˣ dx.
    1. By ILATE the algebraic factor x² is differentiated and eˣ is integrated. Parts is needed twice, so use the tabular method.
    2. Derivatives of x²: x², 2x, 2, 0. Integrals of eˣ: eˣ, eˣ, eˣ. Signs: +, −, +.
    3. So ∫ x² eˣ dx = x² eˣ − 2x eˣ + 2eˣ + C = eˣ(x² − 2x + 2) + C.
    4. Check: the derivative is eˣ(x² − 2x + 2) + eˣ(2x − 2) = x² eˣ.
    Answer: eˣ(x² − 2x + 2) + C
  5. Evaluate ∫ eˣ (1 + x)/(2 + x)² dx.
    1. Write 1 + x = (x + 2) − 1, so (1 + x)/(2 + x)² = 1/(x + 2) − 1/(x + 2)².
    2. With f(x) = 1/(x + 2), f′(x) = −1/(x + 2)², so the integrand is eˣ[f(x) + f′(x)].
    3. Hence the integral is eˣ f(x) + C = eˣ/(x + 2) + C.
    Answer: eˣ/(x + 2) + C
  6. Evaluate ∫ (2x + 3)/(x² + 4x + 8) dx.
    1. The derivative of the denominator is 2x + 4, so write 2x + 3 = (2x + 4) − 1.
    2. The first part gives ∫ (2x + 4)/(x² + 4x + 8) dx = ln(x² + 4x + 8). No modulus is needed because the quadratic is always positive.
    3. For the second part, x² + 4x + 8 = (x + 2)² + 2², so ∫ dx/(x² + 4x + 8) = (1/2) tan⁻¹((x + 2)/2).
    4. Answer: ln(x² + 4x + 8) − (1/2) tan⁻¹((x + 2)/2) + C.
    Answer: ln(x² + 4x + 8) − (1/2) tan⁻¹((x + 2)/2) + C

Exam shortcuts

Common mistakes

Practice MCQs

  1. ∫ dx/(x² + 9) equals:
    A) (1/9) tan⁻¹(x/9) + C
    B) tan⁻¹(x/3) + C
    C) 3 tan⁻¹(x/3) + C
    D) (1/3) tan⁻¹(x/3) + C
    Answer: D) (1/3) tan⁻¹(x/3) + C — Here a = 3, so ∫ dx/(x² + a²) = (1/a) tan⁻¹(x/a) = (1/3) tan⁻¹(x/3) + C. Dropping the 1/a factor or multiplying by a gives derivatives 3 and 9 times too large, and using a² = 9 in place of a misreads the formula.
  2. ∫ dx/√(16 − x²) equals:
    A) (1/4) sin⁻¹(x/4) + C
    B) 4 sin⁻¹(x/4) + C
    C) sin⁻¹(x/16) + C
    D) sin⁻¹(x/4) + C
    Answer: D) sin⁻¹(x/4) + C — With a = 4, ∫ dx/√(a² − x²) = sin⁻¹(x/a) + C, with no factor in front. A factor of 1/4 or 4 is borrowed wrongly from the tan⁻¹ form, and x/16 uses a² instead of a.
  3. ∫ cos(ln x)/x dx, for x positive, equals:
    A) x sin(ln x) + C
    B) sin(ln x) + C
    C) sin(ln x)/x + C
    D) −sin(ln x) + C
    Answer: B) sin(ln x) + C — Put u = ln x, du = dx/x: the integral becomes ∫ cos u du = sin u = sin(ln x) + C. A minus sign would come from integrating sin, not cos. Leaving 1/x or multiplying by x shows the substitution was not completed; their derivatives do not match.
  4. ∫ sec²x/(1 + tan x) dx equals:
    A) (1 + tan x)²/2 + C
    B) −1/(1 + tan x) + C
    C) ln|1 + tan x| + C
    D) ln|sec x| + tan x + C
    Answer: C) ln|1 + tan x| + C — The numerator sec²x is exactly the derivative of the denominator 1 + tan x, so the answer is ln|1 + tan x| + C. −1/(1 + tan x) would integrate sec²x/(1 + tan x)², (1 + tan x)²/2 integrates (1 + tan x) sec²x, and ln|sec x| + tan x integrates the two pieces separately, which is not allowed for a quotient.
  5. ∫ dx/(x² − 25) equals:
    A) (1/5) ln|(x − 5)/(x + 5)| + C
    B) (1/10) ln|(x − 5)/(x + 5)| + C
    C) (1/5) tan⁻¹(x/5) + C
    D) (1/10) ln|(x + 5)/(x − 5)| + C
    Answer: B) (1/10) ln|(x − 5)/(x + 5)| + C — With a = 5, ∫ dx/(x² − a²) = (1/(2a)) ln|(x − a)/(x + a)| = (1/10) ln|(x − 5)/(x + 5)| + C. Using 1/a instead of 1/(2a) doubles the answer, inverting the fraction flips the sign, and the tan⁻¹ form belongs to x² + a², not x² − a².
  6. ∫ x e³ˣ dx equals:
    A) e³ˣ(3x − 1)/9 + C
    B) e³ˣ(x − 1)/3 + C
    C) x e³ˣ/3 + C
    D) e³ˣ(3x + 1)/9 + C
    Answer: A) e³ˣ(3x − 1)/9 + C — By parts with u = x and dv = e³ˣ dx: x e³ˣ/3 − ∫ e³ˣ/3 dx = x e³ˣ/3 − e³ˣ/9 = e³ˣ(3x − 1)/9 + C. A plus sign forgets the minus in uv − ∫ v du, (x − 1)/3 treats e³ˣ like eˣ in the second step, and x e³ˣ/3 stops after the first term.
  7. ∫ x² ln x dx, for x positive, equals:
    A) x² (x ln x − x) + C
    B) (x³ ln x)/3 − x³/9 + C
    C) (x³ ln x)/3 + x³/9 + C
    D) (x³ ln x)/3 − x³/3 + C
    Answer: B) (x³ ln x)/3 − x³/9 + C — ILATE puts the log first, so u = ln x and dv = x² dx: (x³/3) ln x − ∫ (x³/3)(1/x) dx = (x³ ln x)/3 − x³/9 + C. Writing −x³/3 forgets to integrate x²/3, the plus sign drops the minus in parts, and x²(x ln x − x) wrongly treats x² as a constant.
  8. ∫ dx/(x² + 4x + 13) equals:
    A) (1/3) tan⁻¹((x + 2)/3) + C
    B) (1/3) tan⁻¹((x − 2)/3) + C
    C) (1/9) tan⁻¹((x + 2)/9) + C
    D) tan⁻¹((x + 2)/3) + C
    Answer: A) (1/3) tan⁻¹((x + 2)/3) + C — x² + 4x + 13 = (x + 2)² + 9 = (x + 2)² + 3², so the integral is (1/3) tan⁻¹((x + 2)/3) + C. x − 2 has the wrong sign in the completed square, dropping 1/3 forgets the factor 1/a, and 9 in place of 3 uses a² instead of a.
  9. ∫ dx/√(x² + 6x + 10) equals:
    A) ln|x + √(x² + 6x + 10)| + C
    B) sin⁻¹(x + 3) + C
    C) ln|x + 3 + √(x² + 6x + 10)| + C
    D) tan⁻¹(x + 3) + C
    Answer: C) ln|x + 3 + √(x² + 6x + 10)| + C — x² + 6x + 10 = (x + 3)² + 1, a √(u² + a²) form with u = x + 3 and a = 1, giving ln|u + √(u² + 1)| = ln|x + 3 + √(x² + 6x + 10)| + C. sin⁻¹ needs a² − u² under the root, tan⁻¹ needs no root at all, and ln|x + √…| forgets to shift x to x + 3.
  10. ∫ eˣ(1/x − 1/x²) dx, for x positive, equals:
    A) eˣ/x + C
    B) −eˣ/x² + C
    C) eˣ ln x + C
    D) eˣ/x² + C
    Answer: A) eˣ/x + C — With f(x) = 1/x we have f′(x) = −1/x², so the integrand is eˣ[f + f′] and the integral is eˣ f(x) = eˣ/x + C. −eˣ/x² and eˣ/x² pick the wrong function as f, and eˣ ln x integrates only the 1/x part.
  11. ∫ tan⁻¹x dx equals:
    A) x tan⁻¹x − (1/2) ln(1 + x²) + C
    B) x tan⁻¹x + (1/2) ln(1 + x²) + C
    C) x tan⁻¹x − ln(1 + x²) + C
    D) 1/(1 + x²) + C
    Answer: A) x tan⁻¹x − (1/2) ln(1 + x²) + C — By parts with u = tan⁻¹x and dv = dx: x tan⁻¹x − ∫ x/(1 + x²) dx = x tan⁻¹x − (1/2) ln(1 + x²) + C. The plus sign drops the minus of parts, the missing 1/2 forgets that the derivative of 1 + x² is 2x, and 1/(1 + x²) is the derivative of tan⁻¹x, not its integral.
  12. ∫ eˣ sin x dx equals:
    A) eˣ(cos x − sin x)/2 + C
    B) eˣ(sin x + cos x)/2 + C
    C) eˣ(sin x − cos x) + C
    D) eˣ(sin x − cos x)/2 + C
    Answer: D) eˣ(sin x − cos x)/2 + C — Using ∫ eᵃˣ sin bx dx = eᵃˣ(a sin bx − b cos bx)/(a² + b²) with a = b = 1 gives eˣ(sin x − cos x)/2 + C. The plus version is the integral of eˣ cos x, the reversed bracket has the wrong overall sign, and leaving out the 2 forgets to solve 2I = eˣ(sin x − cos x).
  13. ∫ (x + 2)/(x² + 2x + 5) dx equals:
    A) (1/2) ln(x² + 2x + 5) − (1/2) tan⁻¹((x + 1)/2) + C
    B) (1/2) ln(x² + 2x + 5) + tan⁻¹((x + 1)/2) + C
    C) (1/2) ln(x² + 2x + 5) + (1/2) tan⁻¹((x + 1)/2) + C
    D) ln(x² + 2x + 5) + (1/2) tan⁻¹((x + 1)/2) + C
    Answer: C) (1/2) ln(x² + 2x + 5) + (1/2) tan⁻¹((x + 1)/2) + C — Write x + 2 = (1/2)(2x + 2) + 1. The first part gives (1/2) ln(x² + 2x + 5); the second gives ∫ dx/((x + 1)² + 2²) = (1/2) tan⁻¹((x + 1)/2). Using ln without the 1/2 ignores the factor in front of 2x + 2, dropping the 1/2 before tan⁻¹ forgets 1/a, and a minus sign comes from writing x + 2 = (1/2)(2x + 2) − 1.
  14. ∫ dx/(1 + eˣ) equals:
    A) ln(1 + e⁻ˣ) + C
    B) x − ln(1 + eˣ) + C
    C) x + ln(1 + eˣ) + C
    D) ln(1 + eˣ) + C
    Answer: B) x − ln(1 + eˣ) + C — Write 1/(1 + eˣ) = 1 − eˣ/(1 + eˣ). The first term gives x and the second is an f′/f form giving ln(1 + eˣ), so the integral is x − ln(1 + eˣ) + C. ln(1 + eˣ) integrates eˣ/(1 + eˣ) only, the plus sign has the second term wrong, and ln(1 + e⁻ˣ) has the right size but the wrong sign (its derivative is −1/(1 + eˣ)).
  15. Evaluate ∫ from 0 to 1 of dx/(x² + x + 1).
    A) π/(6√3)
    B) π/3
    C) π/(3√3)
    D) 2π/(3√3)
    Answer: C) π/(3√3) — x² + x + 1 = (x + 1/2)² + (√3/2)², so the antiderivative is (2/√3) tan⁻¹((2x + 1)/√3). At x = 1 this is (2/√3)(π/3) and at x = 0 it is (2/√3)(π/6); the difference is (2/√3)(π/6) = π/(3√3). π/(6√3) uses 1/√3 in front instead of 1/a = 2/√3, 2π/(3√3) uses only the upper limit, and π/3 ignores the 1/a factor completely.

Questions

How do I decide between substitution and integration by parts?

If one factor is (up to a constant) the derivative of something inside another factor, substitute. If the integrand is a product of two unrelated kinds of function, such as x eˣ or x² ln x, use parts with ILATE to choose u.

Do I need to learn the trigonometric substitutions, or just the standard forms?

For MCQs, quoting the six standard forms is enough and much faster. Knowing that x = a tan θ, x = a sin θ and x = a sec θ produce them helps you rebuild a formula if you forget it.

Why is there no modulus in ln(x² + 4x + 8)?

Because x² + 4x + 8 = (x + 2)² + 4 is always positive, so its absolute value is itself. Keep the modulus only when the expression inside can be negative.

What is the quickest way to check an indefinite integral?

Differentiate your answer. If you get back the integrand, the answer is right; the constant C never affects this check.