| Study Guides
AP · Integration by substitution (u-sub) · 14 min read · Updated 2026-05-10

Integration by substitution (u-sub) — AP Calculus BC Study Guide

For: AP Calculus BC candidates sitting AP Calculus BC.

Covers: Indefinite u-substitution for composite functions, definite integral u-substitution with changing limits of integration, reverse chain rule application, and u-sub for trigonometric, exponential, and rational integrands.

You should already know: Chain rule for derivatives, antiderivatives of basic functions, definite integral notation and net change interpretation.

A note on the practice questions: All worked questions in the "Practice Questions" section below are original problems written by us in the AP Calculus BC style for educational use. They are not reproductions of past College Board / Cambridge / IB papers and may differ in wording, numerical values, or context. Use them to practise the technique; cross-check with official mark schemes for grading conventions.


1. What Is Integration by substitution (u-sub)?

Integration by substitution (commonly called u-substitution) is the core technique for integrating composite functions, and it is the inverse of the chain rule for differentiation. It rewrites complex integrands into a form that matches the standard library of basic antiderivatives for power, trigonometric, exponential, and logarithmic functions. According to the AP Calculus BC Course and Exam Description (CED), this topic is part of Unit 6: Integration and Accumulation of Change, which accounts for 17–20% of the total AP exam score. U-substitution appears in both multiple-choice (MCQ) and free-response (FRQ) sections every year, and it is a prerequisite for every advanced integration technique covered in BC, from integration by parts to partial fraction decomposition. Synonyms for this method include the reverse chain rule and change of variables integration.

2. Indefinite U-Substitution for Composite Functions

Indefinite u-substitution is used to find the general antiderivative (with constant of integration) of a composite function. It follows directly from reversing the chain rule: if we have a derivative of the form , integrating both sides gives: To apply substitution, we set , the inner function of the composite. By the chain rule, , which rearranges to . Substituting into the original integral simplifies it to , which we can integrate using basic antiderivative rules, then substitute back to get the final result in terms of . The key requirement is that all -terms must be replaced with -terms after substitution; if a non-constant -term remains, your initial choice is incorrect.

Worked Example

Evaluate .

  1. Identify the inner composite function: the argument of cosine is , so set .
  2. Calculate : , so , which exactly matches the remaining terms in the integrand.
  3. Substitute into the original integral: .
  4. Integrate with respect to : .
  5. Substitute back to get the final antiderivative in terms of : . (Differentiating the result confirms it matches the original integrand.)

Exam tip: Always substitute back to the original variable for indefinite integrals; leaving your answer in terms of will cost you points on FRQ and is incorrect on MCQ.

3. Definite U-Substitution and Changing Limits of Integration

For definite integrals, the most efficient approach (and the one most commonly expected on the AP exam) is to change the limits of integration to match the new variable , eliminating the need to substitute back to after integration. For a definite integral over to , if , the lower limit for is and the upper limit for is . The formula becomes: This method reduces arithmetic error by removing the extra substitution step required if you first find the indefinite antiderivative in terms of . While you can technically solve for the indefinite antiderivative, substitute back, then evaluate at the original limits, this adds unnecessary work and room for error.

Worked Example

Evaluate .

  1. Identify the inner function: the exponent of is , so set .
  2. Calculate : , which matches the remaining terms in the integrand.
  3. Change the limits of integration: when , (new lower limit); when , (new upper limit).
  4. Substitute into the definite integral: .
  5. Evaluate directly at the limits: , no substitution back required.

Exam tip: Always confirm the direction of limits after changing variables: if is decreasing over , your upper -limit will be smaller than your lower -limit, which is fine—do not swap them unless you are explicitly correcting a sign error.

4. U-Substitution with a Missing Constant Factor

A very common scenario in u-substitution problems is when does not exactly match the remaining -terms in the integrand, but only differs by a constant multiple. For example, if we have , setting gives , but the integrand only has , not . In this case, we can rearrange the equation to solve for the missing term: . This works only when the difference is a constant factor—you can always pull constant factors out of an integral, so this adjustment is valid. If the leftover term is a non-constant function of that cannot be rewritten in terms of , u-substitution will not work for that integrand, and you need another technique like integration by parts.

Worked Example

Evaluate .

  1. Notice the numerator is proportional to the derivative of the denominator, so set .
  2. Calculate : , so .
  3. Rearrange to get the term from the integrand: .
  4. Substitute into the integral: .
  5. Integrate and substitute back: .

Exam tip: Never adjust a non-constant leftover term by pulling it out as a constant; if you have a leftover term that cannot be rewritten in terms of , your initial choice is wrong and you need a different approach.

5. Common Pitfalls (and how to avoid them)

  • Wrong move: For definite integrals, you change variables to , then substitute back the original and plug in the -limits to evaluate. Why: Students mix the two methods for evaluating definite u-sub, confusing the changed-limits approach with the substitute-back approach. Correct move: If you change the limits to -values, evaluate the antiderivative directly at the -limits, do not substitute back to . If you do not change limits, keep the original -limits and substitute back to before evaluating.
  • Wrong move: When differs by a constant factor, you forget the reciprocal constant, writing instead of . Why: Students rush through substitution and forget to account for the extra constant factor. Correct move: Always explicitly solve for the -term in the equation, so the constant factor is included before you integrate.
  • Wrong move: Choosing as the outer function instead of the inner function of the composite, for example setting instead of . Why: Students do not remember the reverse chain rule structure, which targets the inner function for substitution. Correct move: Always set equal to the inside function of the composite, the in the chain rule structure.
  • Wrong move: Forgetting the absolute value when integrating , writing instead of . Why: Students remember the antiderivative of but forget the rule carries over to substituted variables. Correct move: Whenever you integrate , immediately write before substituting back to .
  • Wrong move: After substituting and , you leave a leftover term in the integrand and treat it as a constant when integrating with respect to . Why: Students rush to integrate and do not check that all -terms are rewritten. Correct move: After substitution, always check for leftover -terms; if any remain, rewrite them using or pick a new .

6. Practice Questions (AP Calculus BC Style)

Question 1 (Multiple Choice)

Evaluate A) B) C) D)

Worked Solution: First, identify the inner function of the composite: the exponent of is , so set . Calculate : , so . Rearranging gives , which matches the remaining terms in the integrand. Substitute to get , then substitute back to get . Correct answer:


Question 2 (Free Response)

Let . (a) Find the general indefinite integral of . (b) Given that the antiderivative passes through , find the constant of integration . (c) Evaluate .

Worked Solution: (a) Let , so , which rearranges to . Substitute into the integral:

(b) Substitute to solve for :

(c) Change limits of integration: when , ; when , . Evaluate:


Question 3 (Application / Real-World Style)

The rate of change of the number of bacteria in a petri dish hours after the start of an experiment is given by bacteria per hour. What is the net change in the number of bacteria from to hours? Round to the nearest whole number and include units.

Worked Solution: Net change is the integral of the rate function over the interval, so we calculate . Let , so , which means . Change limits: ; . The integral becomes: Interpretation: The bacteria population increases by approximately 178 bacteria over the 3-hour period.

7. Quick Reference Cheatsheet

Category Formula Notes
Indefinite U-Sub Rule , ; always substitute back to
Definite U-Sub (Change Limits) No need to substitute back to ; evaluate directly at limits
Missing Constant Adjustment If , then Only valid for constant ; never use for non-constant terms
Rational Integrand U-Sub Set denominator when numerator = Results in $\int \frac{1}{u} du = \ln
Exponential Integrand U-Sub Set exponent of the exponential function Simplifies to
Trigonometric Integrand U-Sub Set inner argument of the trigonometric function Matches reverse chain rule structure
Antiderivative of $\int \frac{1}{u} du = \ln u
Indefinite Integral Requirement Always add Forgetting costs points on all indefinite integral problems

8. What's Next

Integration by u-substitution is the foundational integration technique that every advanced integration method builds on. Immediately after mastering u-sub, you will apply it to integration using algebraic rearrangement (long division, completing the square) for rational functions, where u-sub is almost always used as a final step after algebraic manipulation. More importantly, u-substitution is required for all other key BC integration topics: integration by parts, trigonometric substitution, and partial fraction decomposition all rely on recognizing substitution structures and correctly executing substitution steps to get the final result. Without mastering u-sub, you will struggle to complete complex integration problems on the AP exam, even if you understand the more advanced techniques.

Follow-up topics: Integration by parts Trigonometric substitution Partial fraction decomposition Net change from rate functions

← Back to topic

Stuck on a specific question?
Snap a photo or paste your problem — Ollie (our AI tutor) walks through it step-by-step with diagrams.
Try Ollie free →