Skip to lesson content

Lesson 2 of 9

Integrals · Lesson 2 of 9

Integration by Substitution

“Turn composite integrands into familiar forms by changing the variable carefully.”

Learning Objectives

• Recognise an inner function whose derivative appears in the integrand. • Transform the whole integrand and its differential into one new variable. • Use successive substitutions where needed and return to the original variable. • Derive the integrals of tangent, cotangent, secant, and cosecant. • Use algebra and trigonometric rewritings to reveal a substitution.

Reading the chain rule backwards

Inspection works when a derivative is easy to recognise. A composite expression can hide that derivative: in , the factor is the derivative of the inner expression . Naming that inner expression changes the integral into a standard sine integral. The method is called substitution, or change of variable.

Suppose . Then , so every occurrence of , including its differential, must be transformed. Alternatively, when choosing , write . These are coordinated changes to the expression, not permission to discard unwanted factors.

Change of variableLaTeX
The right side is integrated with respect to . For an indefinite integral, substitute back at the end so the result answers the original question.

This formula is supported by the chain rule. If , then differentiating gives . Thus the transformed integrand has exactly the antiderivative expected from the original one. The derivative factor is what makes the method work.

Example — A constant chain factor

Problem
Find for a nonzero constant .

  1. 1.Put . Then , so .
  2. 2.The integral becomes .
  3. 3.Replace by : the answer is . If , the original integrand is zero and the answer is a constant instead.
Example — A visible inner derivative

Problem
Evaluate .

  1. 1.Set , so . The entire remaining expression becomes .
  2. 2.Integrate to obtain .
  3. 3.Substitute back: . Its derivative is , including the required chain factor.
Example — Two substitutions working together

Problem
Evaluate for .

  1. 1.Put . Then , so the integral is .
  2. 2.Now put , with . The integral becomes .
  3. 3.Undo both changes: . One can also choose directly; its derivative combines both changes.
Example — An inverse-trigonometric inner function

Problem
Evaluate .

  1. 1.Choose , because .
  2. 2.The transformed integral is .
  3. 3.The answer is . An inverse trigonometric expression can be the inner function just as a polynomial can.

Four trigonometric integrals with logarithms

The remaining elementary trigonometric functions do not integrate by the power rule. Their formulas arise by rewriting each function as a quotient whose numerator is a derivative of its denominator. We use natural logarithms and absolute values because the functions can be positive or negative on different intervals.

Tangent and cotangentLaTeX
These formulas hold on intervals avoiding the zeros of their denominators.

For tangent, write and set . Since , the integral is . For cotangent, write and set ; now the differential has a positive sign, giving .

Secant and cosecantLaTeX
An equivalent cosecant answer is , because .

For secant, multiply numerator and denominator by . The numerator becomes , which is the derivative of the new denominator. Substituting that denominator reduces the integral to . For cosecant, multiply by . The numerator is the negative of the denominator's derivative, so the result is . The reciprocal identity explains the alternative formula above.

Rewriting before substituting

A useful substitution is sometimes concealed by an extra power, a shifted angle, or a numerator that is nearly a derivative. Before changing variables, look for a rewrite that creates a matching derivative. A few lines of algebra can make the actual integration short and transparent.

Example — Reserve one sine factor

Problem
Evaluate .

  1. 1.Write . Reserving one sine factor prepares the derivative of cosine.
  2. 2.Put , so . The integral is .
  3. 3.Integrate the polynomial and substitute back: .
Example — A shifted trigonometric quotient

Problem
Evaluate , where is constant.

  1. 1.Let , so and . Expand .
  2. 2.Divide by : the new integrand is .
  3. 3.Integration gives .
  4. 4.Replace by . The constant is absorbed into , leaving on an interval where the original quotient exists.
Example — Create a denominator derivative

Problem
Evaluate .

  1. 1.Where the original expression is defined, rewrite it as .
  2. 2.Split the numerator: .
  3. 3.The first resulting integral is . In the second, choose , whose derivative is .
  4. 4.The answer is . The rewrite does not extend the domain of the original expression through a point where tangent is undefined.
Example — A logarithmic inner function

Problem
Evaluate for .

  1. 1.Choose because .
  2. 2.Integrate .
  3. 3.Therefore the answer is . The factor is essential; without it this substitution would not give the same simple power integral.
Common mistake

After substitution, keep only one integration variable in the transformed expression. For example, changes to , not alone. Also return to after an indefinite integral; a result in an undefined temporary variable is incomplete.

Quiz

Quick check

For , which substitution immediately removes the derivative factor?

Quick check

What is ?

Quick check

If , which differential is correct?

Quick check

Which is ?

Quick check

Why does help with ?

Practice Problems

Practice Problems
  1. Find .
  2. Find on an appropriate interval.
  3. Find .
  4. Find .
  5. Find .
  6. Find .
  7. Find and explain how it relates to the worked tangent-quotient example.
  8. Find for .

Key Takeaways

Key Takeaways

Substitution reverses the chain rule by changing both the expression and its differential. Choose an inner function whose derivative is present or can be created by a rewrite. All terms in the transformed integral must use the same variable. Tangent, cotangent, secant, and cosecant have logarithmic antiderivatives. Substitute back and differentiate the final answer to check it.