• Practice
  • About 15 min
  • 5 practice questions

Substitution patterns: choosing u by what is differentiated

Spot the hidden derivative in the integrand to choose the substitution at once: u = cos x, eˣ, ln x or x⁴, and reach the standard forms for tan⁻¹ and powers.

If something looks wrong, please tell us.

Substitution is the quickest method when it works, and the whole skill is choosing u. A good choice is the expression whose derivative (up to a constant) is also present in the integrand. After the substitution, the integral must be a standard one: a power, 1/u, 1/(1 + u²) or similar. This lesson trains the eye for six patterns that appear again and again.

The idea: look for the pair

Scan the integrand for a function and its derivative. In sin x/(1 + cos²x), the numerator sin x is minus the derivative of cos x, which appears inside the denominator. In eˣ/(1 + e²ˣ), the numerator eˣ is the derivative of eˣ. In 1/(x ln x), the 1/x is the derivative of ln x. Each of these tells you what u should be.

Choose u as the inner expression whose derivative (up to a constant factor) is the rest of the integrand. After substituting, you should see a standard integral. If you do not, try another u.

Worked example 1: u = cos x

Find ∫ sin x/(1 + cos²x) dx. Let u = cos x, so du = −sin x dx. The integral is −∫ du/(1 + u²) = −tan⁻¹u + C = −tan⁻¹(cos x) + C. Check: the derivative of −tan⁻¹(cos x) is −(1/(1 + cos²x))(−sin x) = sin x/(1 + cos²x). Over [0, π/2] the value is −tan⁻¹0 + tan⁻¹1 = π/4.

Worked example 2: u = eˣ

Find ∫ eˣ/(1 + e²ˣ) dx. Let u = eˣ, so du = eˣ dx and e²ˣ = u². The integral is ∫ du/(1 + u²) = tan⁻¹(eˣ) + C. A related one is ∫ dx/(eˣ + e⁻ˣ). Multiply the top and bottom by eˣ: ∫ eˣ/(e²ˣ + 1) dx, which is the same integral. So ∫ dx/(eˣ + e⁻ˣ) = tan⁻¹(eˣ) + C as well.

Worked example 3: u = ln x

Find ∫ dx/(x ln x). Let u = ln x, so du = dx/x. The integral is ∫ du/u = ln|u| + C = ln|ln x| + C. By the same pattern, ∫ (ln x)²/x dx = (ln x)³/3 + C.

Worked example 4: u = 1 + sin x

Find ∫ cos x/(1 + sin x)² dx. Let u = 1 + sin x, so du = cos x dx. The integral is ∫ u⁻² du = −1/u + C = −1/(1 + sin x) + C. The power of the bracket is −2, so the integral is −1/u, with no logarithm. A logarithm only appears when the power is exactly −1.

Worked example 5: a higher power as u

Find ∫ x³/(1 + x⁸) dx. The denominator has x⁸ = (x⁴)², and the derivative of x⁴ is 4x³, so let u = x⁴ and x³ dx = du/4. The integral is (1/4) ∫ du/(1 + u²) = (1/4) tan⁻¹(x⁴) + C. The step to take is to read x⁸ as (x⁴)² and then spot the derivative of x⁴ in the numerator.

Checks on your choice

  • If a constant factor is missing, supply it: x³ dx = du/4. Multiply by the constant outside the integral.
  • If the integral still contains x after substituting, change the choice or express x in terms of u.
  • A power of −1 gives a logarithm, any other power gives a power.
  • In a definite integral, change the limits with the substitution, or return to x before substituting the limits.

Key takeaways: look for a function and its derivative in the integrand. Typical choices are u = cos x, sin x, eˣ, ln x or a power of x. Adjust constants and reach a standard form: 1/(1 + u²) gives tan⁻¹u, 1/u gives ln|u| and u⁻² gives −1/u.

Check your understanding

  1. 1. What is ∫ sin x/(1 + cos²x) dx?

    1. tan⁻¹(cos x) + C
    2. −tan⁻¹(sin x) + C
    3. −tan⁻¹(cos x) + C
    4. ln(1 + cos²x) + C
    Show answer

    Answer: C. Let u = cos x, du = −sin x dx. The integral is −∫ du/(1 + u²) = −tan⁻¹u = −tan⁻¹(cos x).

  2. 2. What is ∫ eˣ/(1 + e²ˣ) dx?

    1. tan⁻¹(eˣ) + C
    2. ln(1 + e²ˣ) + C
    3. tan⁻¹(e²ˣ) + C
    4. eˣ tan⁻¹x + C
    Show answer

    Answer: A. Let u = eˣ, du = eˣ dx. The integral becomes ∫ du/(1 + u²) = tan⁻¹u = tan⁻¹(eˣ).

  3. 3. What is ∫ dx/(x ln x)?

    1. (ln x)²/2 + C
    2. 1/(ln x) + C
    3. ln|x| + C
    4. ln|ln x| + C
    Show answer

    Answer: D. Let u = ln x, du = dx/x. The integral is ∫ du/u = ln|u| = ln|ln x|.

  4. 4. What is ∫ cos x/(1 + sin x)² dx?

    1. 1/(1 + sin x) + C
    2. −1/(1 + sin x) + C
    3. ln|1 + sin x| + C
    4. −1/(1 + sin x)² + C
    Show answer

    Answer: B. Let u = 1 + sin x, du = cos x dx. The integral is ∫ u⁻² du = −1/u. Check: the derivative of −1/(1 + sin x) is cos x/(1 + sin x)².

  5. 5. What is ∫ x³/(1 + x⁸) dx?

    1. (1/4) tan⁻¹(x⁴) + C
    2. tan⁻¹(x⁴) + C
    3. (1/8) tan⁻¹(x⁸) + C
    4. (1/4) ln(1 + x⁸) + C
    Show answer

    Answer: A. Let u = x⁴, so x³ dx = du/4. The integral is (1/4) ∫ du/(1 + u²) = (1/4) tan⁻¹(x⁴).

Privacy · Terms · Refunds · Delivery