Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›AP Calculus AB
  3. ›6 Integration and Accumulation of Change
  4. ›6.9 Integration by substitution

AP Calculus AB · Unit 6 · Integration and Accumulation of Change

6.9 Integration by substitution

Identify when substitution helps, rewrite integrals using a new variable, and find antiderivatives of composite functions.

  • 2 min read
  • 4 parts
  • 10 questions
  • Draft
Start a Quick 5 on this topic→Jump to the 10 questions
1/4Substitution reverses the chain rule in integration
  1. 1Substitution reverses the chain rule in integration
  2. 2A useful substitution rewrites the entire integrand
  3. 3Integrate in the new variable before substituting back
  4. 4Definite integrals need consistent bounds after substitution
  5. Check your recall
  6. Practice: 10 questions
1

Part 1 of 4: Substitution reverses the chain rule in integration

The chain rule differentiates a composite function by multiplying by the inner function’s derivative. Substitution reverses this process. It works when an integrand contains an inner expression and a factor proportional to its derivative. For example, the derivative of x2+1x^2+1x2+1 is 2x2x2x. This makes substitution useful for ∫2x(x2+1)3 dx\int 2x(x^2+1)^3\,dx∫2x(x2+1)3dx.

Choose the inner expression as uuu. Then express the remaining factor using dududu. Once the integral uses only uuu, find its antiderivative. Replace uuu with the original expression afterward.

Common mistake

An inner expression alone does not guarantee substitution will work. Check whether its derivative also appears, apart from a constant factor.

Key terms · tap one for its definition

chain rule

The chain rule differentiates a composite function by multiplying the outer derivative by the inner function’s derivative.

substitution

Substitution rewrites an integral using a new variable, often to reverse the chain rule.

Part 1 done

2

Part 2 of 4: A useful substitution rewrites the entire integrand

Set u=g(x)u=g(x)u=g(x) for the inner expression. Its differential is du=g′(x) dxdu=g'(x)\,dxdu=g′(x)dx. This equation shows which factors replace dxdxdx when rewriting the integral. For example, if u=x2+1u=x^2+1u=x2+1, then du=2x dxdu=2x\,dxdu=2xdx. The whole expression ∫2x(x2+1)3 dx\int 2x(x^2+1)^3\,dx∫2x(x2+1)3dx becomes ∫u3 du\int u^3\,du∫u3du.

A constant factor can be adjusted before integrating. If the integrand contains x dxx\,dxxdx instead, use x dx=12dux\,dx=\frac12duxdx=21​du. Do not leave any xxx in an integral written with respect to uuu. If an xxx remains, rewrite it in terms of uuu or reconsider the choice.

Key terms · tap one for its definition

differential

For u=g(x)u=g(x)u=g(x), the differential equation du=g′(x) dxdu=g'(x)\,dxdu=g′(x)dx relates the new variable to the original one.

constant factor

A constant factor can be moved outside an integral without changing its value.

Part 2 done

Quick check

One question on the part you just read

Easy

Identify the integral for which substitution with the inner expression x2+5x^2+5x2+5 is especially helpful.
Show answer and explanation

Answer: A · Worked explanation

The derivative of the inner expression x2+5x^2+5x2+5 is 2x2x2x, which is proportional to the factor 3x3x3x in the first integral. This lets the entire integrand be rewritten using u=x2+5u=x^2+5u=x2+5 and du=2x dxdu=2x\,dxdu=2xdx. The integral with no factor proportional to xxx is a tempting choice, but its inner derivative is missing.
3

Part 3 of 4: Integrate in the new variable before substituting back

After rewriting, apply a familiar antiderivative rule in uuu. The constant of integration belongs in every indefinite integral. Substitute the original expression back for uuu to give an answer in xxx. Differentiating that answer checks the result.

Worked example

Antiderivative with a constant adjustment

Find ∫x(x2+1)3 dx\int x(x^2+1)^3\,dx∫x(x2+1)3dx.
  1. 1
    Let u=x2+1u=x^2+1u=x2+1, so du=2x dxdu=2x\,dxdu=2xdx.
  2. 2
    Rewrite x dx=12dux\,dx=\frac12duxdx=21​du, giving 12∫u3 du\frac12\int u^3\,du21​∫u3du.
  3. 3
    Integrate: 12⋅u44+C=u48+C\frac12\cdot\frac{u^4}{4}+C=\frac{u^4}{8}+C21​⋅4u4​+C=8u4​+C.
  4. 4
    Substitute back: (x2+1)48+C\frac{(x^2+1)^4}{8}+C8(x2+1)4​+C.

Answer: ∫x(x2+1)3 dx=(x2+1)48+C\displaystyle\int x(x^2+1)^3\,dx=\frac{(x^2+1)^4}{8}+C∫x(x2+1)3dx=8(x2+1)4​+C.

Exam tip

Check by differentiating: the chain rule gives 18⋅4(x2+1)3⋅2x=x(x2+1)3\frac18\cdot4(x^2+1)^3\cdot2x=x(x^2+1)^381​⋅4(x2+1)3⋅2x=x(x2+1)3.

Key term

constant of integration

The constant of integration represents all possible constant differences between antiderivatives.

Part 3 done

4

Part 4 of 4: Definite integrals need consistent bounds after substitution

For a definite integral, change each bound when changing variables. If u=g(x)u=g(x)u=g(x), an xxx-bound of aaa becomes a uuu-bound of g(a)g(a)g(a). For example, u=x2+1u=x^2+1u=x2+1 changes the bounds x=0x=0x=0 and x=1x=1x=1 into u=1u=1u=1 and u=2u=2u=2.

Thus ∫012x(x2+1)3 dx=∫12u3 du\int_0^1 2x(x^2+1)^3\,dx=\int_1^2 u^3\,du∫01​2x(x2+1)3dx=∫12​u3du. Evaluate using the new bounds: [u44]12=154\left[\frac{u^4}{4}\right]_1^2=\frac{15}{4}[4u4​]12​=415​. Alternatively, substitute back to xxx before using the original bounds. Never apply xxx-bounds to an antiderivative written in uuu.

Key term

definite integral

A definite integral has bounds and gives a value rather than a family of antiderivatives.

Note read

Check your recall[12 marks]

5 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.Identify[1 mark]

    Identify a helpful substitution for ∫6x(3x2+4)5 dx\int 6x(3x^2+4)^5\,dx∫6x(3x2+4)5dx.

    Show mark schemeHide mark scheme

    Model answer

    Let u=3x2+4u=3x^2+4u=3x2+4.

    • 1 mark for choosing u=3x2+4u=3x^2+4u=3x2+4
  2. 2.Explain[2 marks]

    Explain why substitution is helpful for ∫6x(3x2+4)5 dx\int 6x(3x^2+4)^5\,dx∫6x(3x2+4)5dx.

    Show mark schemeHide mark scheme

    Model answer

    The integrand contains the inner expression 3x2+43x^2+43x2+4. Its derivative, 6x6x6x, is also present.

    • 1 mark for identifying 3x2+43x^2+43x2+4 as the inner expression
    • 1 mark for stating that its derivative 6x6x6x appears in the integrand
  3. 3.Calculate[4 marks]

    Calculate ∫6x(3x2+4)5 dx\int 6x(3x^2+4)^5\,dx∫6x(3x2+4)5dx using substitution.

    Show mark schemeHide mark scheme

    Model answer

    Let u=3x2+4u=3x^2+4u=3x2+4, so du=6x dxdu=6x\,dxdu=6xdx. Then ∫u5 du=u66+C=(3x2+4)66+C\int u^5\,du=\frac{u^6}{6}+C=\frac{(3x^2+4)^6}{6}+C∫u5du=6u6​+C=6(3x2+4)6​+C.

    • 1 mark for choosing u=3x2+4u=3x^2+4u=3x2+4
    • 1 mark for obtaining du=6x dxdu=6x\,dxdu=6xdx and rewriting the integral as ∫u5 du\int u^5\,du∫u5du
    • 1 mark for integrating to obtain u66\frac{u^6}{6}6u6​
    • 1 mark for substituting back and including CCC
  4. 4.Rewrite[3 marks]

    Rewrite ∫022x(x2+1)4 dx\int_0^2 2x(x^2+1)^4\,dx∫02​2x(x2+1)4dx entirely in terms of u=x2+1u=x^2+1u=x2+1.

    Show mark schemeHide mark scheme

    Model answer

    Since du=2x dxdu=2x\,dxdu=2xdx, the new lower bound is u=1u=1u=1 and the upper bound is u=5u=5u=5. The integral becomes ∫15u4 du\int_1^5 u^4\,du∫15​u4du.

    • 1 mark for finding du=2x dxdu=2x\,dxdu=2xdx
    • 1 mark for changing the bounds to 1 and 5
    • 1 mark for writing ∫15u4 du\int_1^5 u^4\,du∫15​u4du
  5. 5.Explain[2 marks]

    Explain why the original bounds cannot be applied to an antiderivative written in uuu.

    Show mark schemeHide mark scheme

    Model answer

    The original bounds are values of xxx, not uuu. Convert them using u=g(x)u=g(x)u=g(x), or substitute back to xxx before evaluating.

    • 1 mark for stating that the original bounds represent xxx-values rather than uuu-values
    • 1 mark for describing either conversion to uuu-bounds or substitution back to xxx

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the quick check in the note above.

2.

Easy·State[1 mark]

State the differential equation that results from the substitution u=4x3−2u=4x^3-2u=4x3−2.
Show answer and explanation

Answer: D · Worked explanation

Differentiate u=4x3−2u=4x^3-2u=4x3−2 with respect to xxx to obtain du/dx=12x2du/dx=12x^2du/dx=12x2, so du=12x2 dxdu=12x^2\,dxdu=12x2dx. The factor 4x24x^24x2 is a tempting distractor because it carries over the coefficient of the cubic term without applying the power rule.
3.

Easy·Calculate[1 mark]

Calculate ∫2xcos⁡(x2) dx\int 2x\cos(x^2)\,dx∫2xcos(x2)dx.
Show answer and explanation

Answer: C · Worked explanation

Let u=x2u=x^2u=x2, so du=2x dxdu=2x\,dxdu=2xdx. The integral becomes ∫cos⁡u du=sin⁡u+C=sin⁡(x2)+C\int\cos u\,du=\sin u+C=\sin(x^2)+C∫cosudu=sinu+C=sin(x2)+C. The factor of 2 in the second option incorrectly remains after the matching differential 2x dx2x\,dx2xdx has been replaced by dududu.
4.

Easy·Rewrite[1 mark]

Rewrite ∫134x(x2+2)2 dx\int_1^3 4x(x^2+2)^2\,dx∫13​4x(x2+2)2dx entirely in terms of u=x2+2u=x^2+2u=x2+2.
Show answer and explanation

Answer: B · Worked explanation

With u=x2+2u=x^2+2u=x2+2, we have du=2x dxdu=2x\,dxdu=2xdx, so 4x dx=2du4x\,dx=2du4xdx=2du. The bounds become u=3u=3u=3 at x=1x=1x=1 and u=11u=11u=11 at x=3x=3x=3, giving 2∫311u2 du2\int_3^{11}u^2\,du2∫311​u2du. Keeping the original bounds is tempting, but those bounds are xxx-values, not uuu-values.
5.

Medium·Determine[2 marks]

Determine ∫5x4(x5+3)6 dx\int 5x^4(x^5+3)^6\,dx∫5x4(x5+3)6dx.
Show answer and explanation

Answer: B · Worked explanation

Set u=x5+3u=x^5+3u=x5+3, so du=5x4 dxdu=5x^4\,dxdu=5x4dx. The integral becomes ∫u6 du=u7/7+C\int u^6\,du=u^7/7+C∫u6du=u7/7+C, which gives (x5+3)77+C\frac{(x^5+3)^7}{7}+C7(x5+3)7​+C after substituting back. Dividing by 35 is a tempting error: the factor 5 has already been included in dududu and should not be applied again.
6.

Medium·Identify[1 mark]

Identify the integral for which substitution with the indicated inner expression rewrites the entire integrand using only the new variable and its differential, up to a constant factor.
Show answer and explanation

Answer: D · Worked explanation

For u=x2+7u=x^2+7u=x2+7, the differential is du=2x dxdu=2x\,dxdu=2xdx, so the factor x dxx\,dxxdx in ∫x(x2+7)3 dx\int x(x^2+7)^3\,dx∫x(x2+7)3dx can be replaced by 12du\frac12du21​du. In the other choices, that differential does not account for all the factors involving xxx. The presence of a composite power alone does not ensure a useful substitution.
7.

Medium·Rewrite[2 marks]

Rewrite ∫023x2x3+4 dx\int_0^2 3x^2\sqrt{x^3+4}\,dx∫02​3x2x3+4​dx entirely in terms of u=x3+4u=x^3+4u=x3+4, including the new bounds.
Show answer and explanation

Answer: B · Worked explanation

The substitution gives du=3x2 dxdu=3x^2\,dxdu=3x2dx, so the factor 3x2 dx3x^2\,dx3x2dx is exactly dududu. The bounds change from x=0x=0x=0 and x=2x=2x=2 to u=4u=4u=4 and u=12u=12u=12, respectively, yielding ∫412u1/2 du\int_4^{12}u^{1/2}\,du∫412​u1/2du. The extra factor of 3 in 3∫412u1/2 du3\int_4^{12}u^{1/2}\,du3∫412​u1/2du counts the 3 from 3x2 dx3x^2\,dx3x2dx twice.
8.

Medium·Calculate[2 marks]

Calculate ∫016x(2x2+1)2 dx\int_0^1 6x(2x^2+1)^2\,dx∫01​6x(2x2+1)2dx using substitution.
Show answer and explanation

Answer: A · Worked explanation

Let u=2x2+1u=2x^2+1u=2x2+1, so du=4x dxdu=4x\,dxdu=4xdx and 6x dx=32du6x\,dx=\frac32du6xdx=23​du. The bounds become 1 and 3. Thus the integral is 32∫13u2 du=12(27−1)=13\frac32\int_1^3u^2\,du=\frac12(27-1)=1323​∫13​u2du=21​(27−1)=13.
9.

Medium·Determine[2 marks]

Determine ∫x(x2+4)5 dx\int x(x^2+4)^5\,dx∫x(x2+4)5dx.
Show answer and explanation

Answer: B · Worked explanation

Let u=x2+4u=x^2+4u=x2+4, so du=2x dxdu=2x\,dxdu=2xdx and x dx=12dux\,dx=\frac12duxdx=21​du. Thus the integral is 12∫u5 du=u612+C\frac12\int u^5\,du=\frac{u^6}{12}+C21​∫u5du=12u6​+C, or (x2+4)612+C\frac{(x^2+4)^6}{12}+C12(x2+4)6​+C. The answer with denominator 6 omits the factor of 12\frac1221​ needed to replace x dxx\,dxxdx.
10.

Hard·Deduce[2 marks]

A student proposes u=3x2+1u=3x^2+1u=3x2+1 for ∫x(3x2+1)4 dx\int x(3x^2+1)^4\,dx∫x(3x2+1)4dx. Deduce the correct antiderivative.
Show answer and explanation

Answer: D · Worked explanation

For u=3x2+1u=3x^2+1u=3x2+1, du=6x dxdu=6x\,dxdu=6xdx, so x dx=16dux\,dx=\frac16duxdx=61​du. Therefore the integral is 16∫u4 du=u530+C\frac16\int u^4\,du=\frac{u^5}{30}+C61​∫u4du=30u5​+C, giving (3x2+1)530+C\frac{(3x^2+1)^5}{30}+C30(3x2+1)5​+C. A denominator of 15 is a tempting result if the factor 16\frac1661​ is mistakenly treated as 13\frac1331​.

Keep going

Next topic6.10 Long division and completing the squarePrevious topic6.8 Antiderivatives and indefinite integrals

More in Unit 6 · Integration and Accumulation of Change

  1. 6.3Summation and definite integral notationNotes · 10 questions
  2. 6.4FTC and accumulation functionsNotes · 10 questions
  3. 6.5Behaviour of accumulation functionsNotes · 10 questions
  4. 6.6Properties of definite integralsNotes · 10 questions
  5. 6.7FTC and definite integralsNotes · 10 questions
  6. 6.8Antiderivatives and indefinite integralsNotes · 10 questions
  7. 6.9Integration by substitutionNotes · 10 questions
  8. 6.10Long division and completing the squareNotes · 10 questions
  9. 6.14Choosing an antidifferentiation techniqueNotes · 10 questions

All AP Calculus AB topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by College Board or any exam board.

On this page

0/4 read

  1. 1Substitution reverses the chain rule in integration
  2. 2A useful substitution rewrites the entire integrand
  3. 3Integrate in the new variable before substituting back
  4. 4Definite integrals need consistent bounds after substitution
  5. Check your recall
  6. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe