Skip to content
🎯⭐ INTERACTIVE LESSON

u-Substitution

Learn step-by-step with interactive practice!

u-Substitution - Complete Interactive Lesson

Part 1: Basic u-Substitution

u-Substitution

Part 1 of 7 — Basic u-Substitution

PartTopic
1Basic u-Substitution
2Adjusting for Missing Constants
3Definite Integrals with u-Sub
4Trickier Substitutions
5Long Division & Completing the Square
6Problem-Solving Workshop
7Comprehensive Review

The Big Idea

u-Substitution is the REVERSE of the Chain Rule\boxed{\text{u-Substitution is the REVERSE of the Chain Rule}}

The Chain Rule says: ddx[F(g(x))]=F′(g(x))⋅g′(x)=f(g(x))⋅g′(x)\frac{d}{dx}[F(g(x))] = F'(g(x)) \cdot g'(x) = f(g(x)) \cdot g'(x).

Working backwards: ∫f(g(x))⋅g′(x) dx=F(g(x))+C\int f(g(x)) \cdot g'(x)\,dx = F(g(x)) + C.

The 5-Step Method

StepActionExample: ∫2xcos⁡(x2) dx\int 2x\cos(x^2)\,dx
1Choose uu = inner functionu=x2u = x^2
2Find dududu=2x dxdu = 2x\,dx
3Rewrite in terms of uu∫cos⁡(u) du\int \cos(u)\,du
4Integratesin⁡(u)+C\sin(u) + C
5Substitute backsin⁡(x2)+C\sin(x^2) + C

How to Choose uu

u=the inner function of a composition\boxed{u = \text{the inner function of a composition}}

Look ForChoose uuWhy
(stuff)n(\text{stuff})^n with its derivative nearbyu=stuffu = \text{stuff}Power of a function
estuffe^{\text{stuff}} with derivative of stuffu=stuffu = \text{stuff}Exponential compound
sin⁡(stuff)\sin(\text{stuff}), cos⁡(stuff)\cos(\text{stuff})u=stuffu = \text{stuff}Trig compound
ln⁡(stuff)\ln(\text{stuff}) in denominatoru=stuffu = \text{stuff}Log pattern

Worked Examples

Example 1: ∫3x2ex3 dx\int 3x^2 e^{x^3}\,dx

u=x3u = x^3, du=3x2 dxdu = 3x^2\,dx → ∫eu du=ex3+C\int e^u\,du = e^{x^3} + C

Example 2: ∫5(5x+1)3 dx\int \frac{5}{(5x+1)^3}\,dx

u=5x+1u = 5x+1, du=5 dxdu = 5\,dx → ∫u−3 du=−12u−2+C=−12(5x+1)2+C\int u^{-3}\,du = -\frac{1}{2}u^{-2} + C = -\frac{1}{2(5x+1)^2} + C

Example 3: ∫xx2+1 dx\int x\sqrt{x^2+1}\,dx

u=x2+1u = x^2+1, du=2x dxdu = 2x\,dx, so x dx=du2x\,dx = \frac{du}{2}

12∫u1/2 du=12⋅23u3/2=13(x2+1)3/2+C\frac{1}{2}\int u^{1/2}\,du = \frac{1}{2} \cdot \frac{2}{3}u^{3/2} = \frac{1}{3}(x^2+1)^{3/2} + C

AP Tip: Always check your answer by differentiating! If ddx[answer]=integrand\frac{d}{dx}[\text{answer}] = \text{integrand}, you're correct.

Basic u-Substitution 🎯

The Linear Substitution Shortcut

For ∫f(ax+b) dx\int f(ax + b)\,dx where ff has a known antiderivative FF:

∫f(ax+b) dx=1aF(ax+b)+C\boxed{\int f(ax+b)\,dx = \frac{1}{a}F(ax+b) + C}

IntegralResultUsing a=a =
∫sin⁡(5x) dx\int \sin(5x)\,dx−15cos⁡(5x)+C-\frac{1}{5}\cos(5x) + Ca=5a = 5
∫e−2x dx\int e^{-2x}\,dx−12e−2x+C-\frac{1}{2}e^{-2x} + Ca=−2a = -2
∫(3x+7)4 dx\int (3x+7)^4\,dx(3x+7)515+C\frac{(3x+7)^5}{15} + Ca=3a = 3
∫sec⁡2(4x) dx\int \sec^2(4x)\,dx14tan⁡(4x)+C\frac{1}{4}\tan(4x) + Ca=4a = 4

Key Fact: This shortcut ONLY works for LINEAR inner functions (ax+bax + b). For nonlinear inner functions, you must do the full u-sub process.

Choose the right uu for each integral. 🔍

Compute the integral. ✍️

Key Takeaways — Part 1

ConceptKey Rule
u-Sub = reverse Chain Rule∫f(g(x))g′(x) dx=F(g(x))+C\int f(g(x))g'(x)\,dx = F(g(x)) + C
Choose uuInner function of composition
Find duduDifferentiate uu
Linear shortcut∫f(ax+b)=1aF(ax+b)\int f(ax+b) = \frac{1}{a}F(ax+b)
VerifyDifferentiate your answer!

Up Next: Part 2 — Adjusting for Missing Constants.

Part 2: Adjusting for Constants

u-Substitution

Part 2 of 7 — Adjusting for Missing Constants

When dudu Doesn't Match Exactly

Often the constant coefficient doesn't match. You can multiply and divide by constants to fix this.

∫f(g(x))⋅k⋅g′(x) dx=k∫f(u) du\boxed{\int f(g(x)) \cdot k \cdot g'(x)\,dx = k \int f(u)\,du}

Worked Example

∫x2ex3 dx\int x^2 e^{x^3}\,dx

u=x3u = x^3, du=3x2 dxdu = 3x^2\,dx. We have x2 dxx^2\,dx but need 3x2 dx3x^2\,dx:

13∫3x2ex3 dx=13∫eu du=ex33+C\frac{1}{3}\int 3x^2 e^{x^3}\,dx = \frac{1}{3}\int e^u\,du = \frac{e^{x^3}}{3} + C

Key Fact: You can ONLY move constants outside the integral. You can NEVER move a variable (xx, tt, etc.) outside!

Essential Patterns to Recognize

PatternChoose uuResult
∫f(ax+b) dx\int f(ax+b)\,dxu=ax+bu = ax+b1aF(ax+b)+C\frac{1}{a}F(ax+b) + C
∫xn−1f(xn) dx\int x^{n-1} f(x^n)\,dxu=xnu = x^n1nF(xn)+C\frac{1}{n}F(x^n) + C
∫f(sin⁡x)cos⁡x dx\int f(\sin x)\cos x\,dxu=sin⁡xu = \sin xF(sin⁡x)+CF(\sin x) + C
∫f(cos⁡x)sin⁡x dx\int f(\cos x)\sin x\,dxu=cos⁡xu = \cos x−F(cos⁡x)+C-F(\cos x) + C
∫f(tan⁡x)sec⁡2x dx\int f(\tan x)\sec^2 x\,dxu=tan⁡xu = \tan xF(tan⁡x)+CF(\tan x) + C
∫f(ex)ex dx\int f(e^x)e^x\,dxu=exu = e^xF(ex)+CF(e^x) + C
∫f(ln⁡x)1x dx\int f(\ln x)\frac{1}{x}\,dxu=ln⁡xu = \ln xF(ln⁡x)+CF(\ln x) + C
∫f′(x)f(x) dx\int \frac{f'(x)}{f(x)}\,dxu=f(x)u = f(x)$\ln

The f′f→ln⁡\frac{f'}{f} \to \ln Pattern

This is one of the most important patterns:

∫f′(x)f(x) dx=ln⁡∣f(x)∣+C\boxed{\int \frac{f'(x)}{f(x)}\,dx = \ln|f(x)| + C}

Example: ∫tan⁡x dx=∫sin⁡xcos⁡x dx\int \tan x\,dx = \int \frac{\sin x}{\cos x}\,dx

u=cos⁡xu = \cos x, du=−sin⁡x dxdu = -\sin x\,dx: −∫duu=−ln⁡∣cos⁡x∣+C=ln⁡∣sec⁡x∣+C-\int \frac{du}{u} = -\ln|\cos x| + C = \ln|\sec x| + C

Pattern Recognition 🎯

What u-Sub CANNOT Do

Invalid OperationWhy It Fails
Move xx outside: x∫…x\int \ldotsVariables aren't constant!
∫ex2 dx\int e^{x^2}\,dxNo elementary antiderivative exists
∫sin⁡(x2) dx\int \sin(x^2)\,dxNo closed form (Fresnel integral)
Product of unrelated functionsu-sub needs f(g(x))⋅g′(x)f(g(x)) \cdot g'(x) pattern

AP Tip: If you can't find a uu that works, the problem might require a different technique (rewriting, inverse trig, etc.) or the integrand might already be in a recognized form.

Identify the pattern. 🔍

Apply the pattern. ✍️

Key Takeaways — Part 2

ConceptKey Rule
Constant adjustmentMultiply/divide by constants to match dudu
f′/ff'/f pattern$\int \frac{f'}{f} = \ln
CANNOT move variables outsideOnly constants can come out of ∫\int
No elementary formSome integrals (like ex2e^{x^2}) have no closed form

Up Next: Part 3 — Definite Integrals with u-Sub.

Part 3: Definite Integrals with u-Sub

u-Substitution

Part 3 of 7 — Definite Integrals with u-Substitution

Two Approaches

When evaluating a definite integral with u-substitution, you have two choices:

MethodStepsWhen to Use
Change the limitsConvert everything to uu, including boundsCleaner — preferred on AP Exam
Back-substituteFind antiderivative in terms of xx, then evaluateWhen limits are easy to convert back

∫abf(g(x))g′(x) dx=∫g(a)g(b)f(u) du\boxed{\int_a^b f(g(x))g'(x)\,dx = \int_{g(a)}^{g(b)} f(u)\,du}

Key Fact: When you change limits, you NEVER need to convert back to xx. Evaluate directly in uu.

Method 1: Change the Limits (Recommended)

Step-by-step process:

StepActionExample: ∫02x(x2+1)3 dx\int_0^2 x(x^2+1)^3\,dx
1Choose uuu=x2+1u = x^2+1
2Find dududu=2x dx⇒x dx=du2du = 2x\,dx \Rightarrow x\,dx = \frac{du}{2}
3Convert lower limitx=0⇒u=02+1=1x=0 \Rightarrow u = 0^2+1 = 1
4Convert upper limitx=2⇒u=22+1=5x=2 \Rightarrow u = 2^2+1 = 5
5Rewrite & evaluate$\frac{1}{2}\int_1^5 u^3,du = \frac{1}{2}\cdot\frac{u^4}{4}\Big

Common Mistakes When Changing Limits

MistakeProblemFix
Keeping old limits∫02u3 du\int_0^2 u^3\,du is WRONGConvert: ∫15u3 du\int_1^5 u^3\,du
Back-substituting anywayUnnecessary extra workJust evaluate in uu
Forgetting the constantMissing 12\frac{1}{2} out frontTrack the dudu adjustment

Practice with changing limits. 🎯

Method 2: Back-Substitute

With this method, you integrate in uu, convert back to xx, then evaluate with original limits.

Example: ∫0πsin⁡2(x)cos⁡(x) dx\int_0^{\pi} \sin^2(x)\cos(x)\,dx

u=sin⁡xu = \sin x, du=cos⁡x dxdu = \cos x\,dx:

∫u2 du=u33+C\int u^2\,du = \frac{u^3}{3} + C

Back-substitute: sin⁡3(x)3∣0π=sin⁡3(π)3−sin⁡3(0)3=0−0=0\frac{\sin^3(x)}{3}\Big|_0^{\pi} = \frac{\sin^3(\pi)}{3} - \frac{\sin^3(0)}{3} = 0 - 0 = 0

AP Tip: The answer being 00 makes sense! sin⁡2(x)cos⁡(x)\sin^2(x)\cos(x) is an odd function about x=π/2x = \pi/2 on [0,π][0,\pi].

Side-by-Side Comparison

FeatureChange LimitsBack-Substitute
Convert bounds?Yes, to uuNo
Convert back to xx?NoYes
Risk of errorsSlightly lowerSlightly higher
SpeedUsually fasterMay be slower

Even/Odd Shortcuts with u-Sub

If f is even: ∫−aaf(x) dx=2∫0af(x) dx\boxed{\text{If } f \text{ is even: } \int_{-a}^a f(x)\,dx = 2\int_0^a f(x)\,dx}

If f is odd: ∫−aaf(x) dx=0\boxed{\text{If } f \text{ is odd: } \int_{-a}^a f(x)\,dx = 0}

IntegrandEven/Odd∫−aa\int_{-a}^a
x2e−x2x^2 e^{-x^2}Even ((−x)2e−(−x)2=x2e−x2(-x)^2 e^{-(-x)^2} = x^2 e^{-x^2})=2∫0a= 2\int_0^a
x3cos⁡xx^3 \cos xOdd (odd ×\times even = odd)=0= 0
sin⁡3x\sin^3 xOdd=0= 0
x4+x2x^4 + x^2Even=2∫0a= 2\int_0^a

Key Fact: Spotting symmetry on the AP Exam can save significant time and avoid messy computations.

Choose the best approach. 🔍

Evaluate a definite integral. ✍️

Key Takeaways — Part 3

ConceptKey Rule
Change limits (preferred)∫ab→∫g(a)g(b)\int_a^b \to \int_{g(a)}^{g(b)}, evaluate in uu
Back-substituteIntegrate in uu, convert to xx, use original limits
Even function shortcut∫−aaf=2∫0af\int_{-a}^a f = 2\int_0^a f
Odd function shortcut∫−aaf=0\int_{-a}^a f = 0

Up Next: Part 4 — Trickier Substitutions.

Part 4: Trickier Substitutions

u-Substitution

Part 4 of 7 — Trickier Substitutions

Beyond Basic Patterns

Some integrals require creative choices of uu or algebraic manipulation before substitution.

CategoryExampleStrategy
Exponential inside∫ex1+ex dx\int \frac{e^x}{1+e^x}\,dxu=1+exu = 1 + e^x
Log inside∫ln⁡xx dx\int \frac{\ln x}{x}\,dxu=ln⁡xu = \ln x
Square root∫xx+1 dx\int x\sqrt{x+1}\,dxu=x+1u = x+1, then x=u−1x = u-1
Nested functions∫sin⁡(ln⁡x)1x dx\int \sin(\ln x)\frac{1}{x}\,dxu=ln⁡xu = \ln x
Radical denominator∫1x(1+x) dx\int \frac{1}{\sqrt{x}(1+\sqrt{x})}\,dxu=1+xu = 1 + \sqrt{x}

Exponential Substitutions

∫exf(ex) dx: let u=ex or u=f(ex)\boxed{\int \frac{e^x}{f(e^x)}\,dx: \text{ let } u = e^x \text{ or } u = f(e^x)}

Example 1: ∫e2xex+3 dx\int \frac{e^{2x}}{e^x + 3}\,dx

Let u=ex+3u = e^x + 3, du=ex dxdu = e^x\,dx. Rewrite e2x=ex⋅exe^{2x} = e^x \cdot e^x:

∫ex⋅exex+3 dx=∫u−3u du=∫(1−3u)du=u−3ln⁡∣u∣+C=ex+3−3ln⁡(ex+3)+C\int \frac{e^x \cdot e^x}{e^x + 3}\,dx = \int \frac{u - 3}{u}\,du = \int \left(1 - \frac{3}{u}\right)du = u - 3\ln|u| + C = e^x + 3 - 3\ln(e^x+3) + C

Example 2: ∫exex+1 dx\int e^x \sqrt{e^x + 1}\,dx

u=ex+1u = e^x + 1, du=ex dxdu = e^x\,dx:

∫u du=23u3/2+C=23(ex+1)3/2+C\int \sqrt{u}\,du = \frac{2}{3}u^{3/2} + C = \frac{2}{3}(e^x+1)^{3/2} + C

Key Fact: When exe^x appears both in the integrand and provides dudu, try u=(the other piece)u = \text{(the other piece)}.

Trickier integrals. 🎯

Square Root Substitutions — Solving for xx

When xx appears outside the composition, express xx in terms of uu.

Example: ∫x2x+2 dx\int x^2\sqrt{x+2}\,dx

u=x+2u = x+2, so x=u−2x = u-2, x2=(u−2)2=u2−4u+4x^2 = (u-2)^2 = u^2 - 4u + 4, dx=dudx = du:

∫(u2−4u+4)u du=∫(u5/2−4u3/2+4u1/2) du\int (u^2-4u+4)\sqrt{u}\,du = \int (u^{5/2} - 4u^{3/2} + 4u^{1/2})\,du

=2u7/27−8u5/25+8u3/23+C= \frac{2u^{7/2}}{7} - \frac{8u^{5/2}}{5} + \frac{8u^{3/2}}{3} + C

Substitute back: replace uu with x+2x+2.

StepPurpose
Choose uu = expression under radicalSimplifies the root
Express all other xx's as u±cu \pm cEverything becomes a uu-integral
Expand and integrate term by termStandard power rule
Back-substitute u→x+cu \to x+cReturn to original variable

Logarithmic Substitutions

When ln⁡x\ln x appears as an argument and 1/x1/x is present (or producible):

u=ln⁡x,du=1x dx\boxed{u = \ln x, \quad du = \frac{1}{x}\,dx}

IntegralSubstitutionResult
∫(ln⁡x)nx dx\int \frac{(\ln x)^n}{x}\,dxu=ln⁡xu = \ln x(ln⁡x)n+1n+1+C\frac{(\ln x)^{n+1}}{n+1} + C
∫cos⁡(ln⁡x)x dx\int \frac{\cos(\ln x)}{x}\,dxu=ln⁡xu = \ln xsin⁡(ln⁡x)+C\sin(\ln x) + C
∫1xln⁡x dx\int \frac{1}{x\ln x}\,dxu=ln⁡xu = \ln x$\ln

AP Tip: The combination "stuff with ln⁡xx\frac{\text{stuff with } \ln x}{x}" almost always signals u=ln⁡xu = \ln x.

Choose the correct substitution. 🔍

Try a tricky one. ✍️

Key Takeaways — Part 4

TechniqueWhen to Use
u=ex+cu = e^x + cExponential in denominator or under root
u=ln⁡xu = \ln xln⁡x\ln x in numerator with 1/x1/x present
u=u = radical expressionSolve for x=f(u)x = f(u) and substitute
Nested: u=u = inner function1/x1/x or exe^x provides dudu

Up Next: Part 5 — Long Division & Completing the Square.

Part 5: Long Division and Completing the Square

u-Substitution

Part 5 of 7 — Long Division & Completing the Square

Algebraic Manipulation Before Integrating

Some rational functions or quadratics need algebraic prep work BEFORE substitution. Two key techniques:

TechniqueWhen to UseGoal
Long divisionDegree of numerator ≥\geq degree of denominatorReduce to polynomial ++ proper fraction
Completing the squareIrreducible quadratic in denominatorCreate arctan⁡\arctan or arcsin⁡\arcsin form

Long Division for Improper Rational Functions

If deg⁡(num)≥deg⁡(denom), divide first!\boxed{\text{If } \deg(\text{num}) \geq \deg(\text{denom}), \text{ divide first!}}

Example: ∫x2+1x+1 dx\int \frac{x^2+1}{x+1}\,dx

Perform long division: x2+1x+1=x−1+2x+1\frac{x^2+1}{x+1} = x - 1 + \frac{2}{x+1}

∫(x−1+2x+1)dx=x22−x+2ln⁡∣x+1∣+C\int \left(x - 1 + \frac{2}{x+1}\right)dx = \frac{x^2}{2} - x + 2\ln|x+1| + C

Quick Division Patterns

FractionAfter DivisionIntegral
x2x+1\frac{x^2}{x+1}x−1+1x+1x - 1 + \frac{1}{x+1}$\frac{x^2}{2} - x + \ln
x3x2+1\frac{x^3}{x^2+1}x−xx2+1x - \frac{x}{x^2+1}x22−12ln⁡(x2+1)+C\frac{x^2}{2} - \frac{1}{2}\ln(x^2+1) + C
2x+5x+2\frac{2x+5}{x+2}2+1x+22 + \frac{1}{x+2}$2x + \ln

AP Tip: If you see bigger polynomialsmaller polynomial\frac{\text{bigger polynomial}}{\text{smaller polynomial}}, long division is almost certainly the first step.

Long division practice. 🎯

Completing the Square

When the denominator is a quadratic that doesn't factor nicely:

ax2+bx+c=a(x+b2a)2+(c−b24a)\boxed{ax^2 + bx + c = a\left(x + \frac{b}{2a}\right)^2 + \left(c - \frac{b^2}{4a}\right)}

Why? This creates forms you know:

Resulting FormIntegral
1u2+k2\frac{1}{u^2 + k^2}1karctan⁡uk+C\frac{1}{k}\arctan\frac{u}{k} + C
1k2−u2\frac{1}{\sqrt{k^2 - u^2}}arcsin⁡uk+C\arcsin\frac{u}{k} + C

Worked Example

∫1x2+6x+13 dx\int \frac{1}{x^2 + 6x + 13}\,dx

Complete the square: x2+6x+13=(x+3)2+4x^2 + 6x + 13 = (x+3)^2 + 4

∫1(x+3)2+4 dx\int \frac{1}{(x+3)^2 + 4}\,dx

u=x+3u = x+3, du=dxdu = dx:

∫duu2+22=12arctan⁡u2+C=12arctan⁡x+32+C\int \frac{du}{u^2 + 2^2} = \frac{1}{2}\arctan\frac{u}{2} + C = \frac{1}{2}\arctan\frac{x+3}{2} + C

More Completing the Square Examples

Example 2: ∫13−2x−x2 dx\int \frac{1}{\sqrt{3-2x-x^2}}\,dx

Rewrite: 3−2x−x2=−(x2+2x−3)=−(x2+2x+1−4)=4−(x+1)23-2x-x^2 = -(x^2+2x-3) = -(x^2+2x+1-4) = 4-(x+1)^2

∫dx4−(x+1)2=arcsin⁡x+12+C\int \frac{dx}{\sqrt{4-(x+1)^2}} = \arcsin\frac{x+1}{2} + C

Decision Guide

DenominatorComplete the Square?Result Type
x2+bx+cx^2 + bx + c (positive leading coeff, no real roots)Yesarctan⁡\arctan form
c−bx−x2c - bx - x^2 (under square root, positive)Yesarcsin⁡\arcsin form
Factors into (x−r1)(x−r2)(x-r_1)(x-r_2)Use partial fractions insteadln⁡\ln terms

Key Fact: If the quadratic has real roots, it factors — use partial fractions (BC topic). If it has no real roots, complete the square for arctan⁡\arctan.

Identify the technique. 🔍

Combine techniques. ✍️

Key Takeaways — Part 5

TechniqueWhenResult
Long divisiondeg⁡(num)≥deg⁡(denom)\deg(\text{num}) \geq \deg(\text{denom})Polynomial ++ simple fraction
Complete the squareIrreducible quadraticarctan⁡\arctan or arcsin⁡\arcsin form
Factor & partial fractionsReducible quadratic (BC only)Sum of ln⁡\ln terms

Up Next: Part 6 — Problem-Solving Workshop.

Part 6: Problem-Solving Workshop

u-Substitution

Part 6 of 7 — Problem-Solving Workshop

Integration Strategy Flowchart

StepQuestionAction
1Is it a known basic form?∫xn,ex,sin⁡x\int x^n, e^x, \sin x, etc. — integrate directly
2Can you simplify algebraically?Expand, factor, split fractions, trig identities
3Is it ∫f(g(x))g′(x) dx\int f(g(x))g'(x)\,dx?u-substitution
4Is the fraction improper?Long division first
5Irreducible quadratic in denominator?Complete the square →arctan⁡/arcsin⁡\to \arctan/\arcsin
6Is f′f\frac{f'}{f} present?$\to \ln
7Linear argument (ax+b)(ax+b)?Linear shortcut: 1aF(ax+b)\frac{1}{a}F(ax+b)

Worked Examples — Full Solutions

Example 1: ∫x3x2+1 dx\int \frac{x^3}{x^2+1}\,dx

Long division: x3x2+1=x−xx2+1\frac{x^3}{x^2+1} = x - \frac{x}{x^2+1}

∫x dx−∫xx2+1 dx=x22−12ln⁡(x2+1)+C\int x\,dx - \int \frac{x}{x^2+1}\,dx = \frac{x^2}{2} - \frac{1}{2}\ln(x^2+1) + C

For the second integral: u=x2+1u = x^2+1, du=2x dxdu = 2x\,dx.


Example 2: ∫sin⁡x1+cos⁡2x dx\int \frac{\sin x}{1 + \cos^2 x}\,dx

u=cos⁡xu = \cos x, du=−sin⁡x dxdu = -\sin x\,dx:

−∫du1+u2=−arctan⁡(cos⁡x)+C-\int \frac{du}{1+u^2} = -\arctan(\cos x) + C


Example 3: ∫xex2 dx\int x e^{x^2}\,dx

u=x2u = x^2, du=2x dxdu = 2x\,dx:

12∫eu du=ex22+C\frac{1}{2}\int e^u\,du = \frac{e^{x^2}}{2} + C


Example 4: ∫ex−e−xex+e−x dx\int \frac{e^x - e^{-x}}{e^x + e^{-x}}\,dx

Recognize f′/ff'/f pattern: the numerator IS the derivative of the denominator!

=ln⁡∣ex+e−x∣+C=ln⁡(ex+e−x)+C= \ln|e^x + e^{-x}| + C = \ln(e^x + e^{-x}) + C

AP Tip: This is ∫tanh⁡x dx\int \tanh x\,dx (hyperbolic tangent). The f′/ff'/f pattern saves enormous work.

Classify and solve. 🎯

Common AP Exam Mistakes

MistakeExampleCorrect Approach
Moving xx outside integral"x∫cos⁡(x2) dxx \int \cos(x^2)\,dx"Use u-sub: u=x2u=x^2
Forgetting to change limits∫01→∫01\int_0^1 \to \int_0^1 in uuConvert: u(0)u(0) to u(1)u(1)
Wrong constant factordu=2x dxdu = 2x\,dx, forgetting 1/21/2Track adjustment carefully
Not simplifying firstIntegrating x3+xx\frac{x^3+x}{x} as-isSimplify to x2+1x^2+1 first
Mixing up +C+C on definiteAdding +C+C to ∫ab\int_a^bNo +C+C for definite integrals
Wrong sign on cos⁡x\cos x subu=cos⁡xu = \cos x, du=sin⁡x dxdu = \sin x\,dxdu=−sin⁡x dxdu = -\sin x\,dx (negative!)

Classify each integral. 🔍

Mixed practice. ✍️

Key Takeaways — Part 6

Problem TypeFirst Step
Improper fractionLong division
Factorable numerator/denominatorCancel common factors
Composite function with derivative presentu-substitution
Irreducible quadraticComplete the square
f′/ff'/f pattern$\ln
Linear argumentShortcut: 1aF(ax+b)\frac{1}{a}F(ax+b)

Up Next: Part 7 — Comprehensive Assessment.

Part 7: Comprehensive Assessment

u-Substitution

Part 7 of 7 — Comprehensive Assessment

Complete Formula Reference

IntegralFormula
∫[f(x)]nf′(x) dx\int [f(x)]^n f'(x)\,dx[f(x)]n+1n+1+C\frac{[f(x)]^{n+1}}{n+1} + C (n≠−1)(n \neq -1)
∫f′(x)f(x) dx\int \frac{f'(x)}{f(x)}\,dx$\ln
∫ef(x)f′(x) dx\int e^{f(x)} f'(x)\,dxef(x)+Ce^{f(x)} + C
∫sin⁡(f(x))f′(x) dx\int \sin(f(x)) f'(x)\,dx−cos⁡(f(x))+C-\cos(f(x)) + C
∫cos⁡(f(x))f′(x) dx\int \cos(f(x)) f'(x)\,dxsin⁡(f(x))+C\sin(f(x)) + C
∫sec⁡2(f(x))f′(x) dx\int \sec^2(f(x)) f'(x)\,dxtan⁡(f(x))+C\tan(f(x)) + C
∫f(ax+b) dx\int f(ax+b)\,dx1aF(ax+b)+C\frac{1}{a}F(ax+b) + C
∫f′(x)[f(x)]2+a2 dx\int \frac{f'(x)}{[f(x)]^2+a^2}\,dx1aarctan⁡f(x)a+C\frac{1}{a}\arctan\frac{f(x)}{a} + C

Top AP Mistakes to Avoid

MistakeCorrection
Moving variables outside ∫\intOnly CONSTANTS can exit
Forgetting 1a\frac{1}{a} in linear shortcutAlways divide by inner coefficient
Wrong sign: d(cos⁡x)=−sin⁡x dxd(\cos x) = -\sin x\,dxTrack negative signs carefully
Not changing limits with uu-subConvert: x→u(x)x \to u(x)
Adding +C+C to definite integralsNo +C+C when bounds are present
Forgetting to back-substituteIf using original limits, convert u→xu \to x

AP-Style Questions — Set 1 🎯

AP-Style Questions — Set 2 🎯

Final classification challenge. 🔍

Final challenge. ✍️

u-Substitution — Complete Summary

ConceptKey Idea
Basic u-subReverse chain rule: ∫f(g(x))g′(x) dx\int f(g(x))g'(x)\,dx
Constant adjustmentMultiply/divide by constants (NEVER variables)
Definite integralsChange limits to uu-values, or back-substitute
Linear shortcut∫f(ax+b) dx=1aF(ax+b)+C\int f(ax+b)\,dx = \frac{1}{a}F(ax+b)+C
f′/ff'/f pattern$\int f'/f = \ln
Trickier subsExpress extra xx's in terms of uu
Long divisionWhen deg⁡(num)≥deg⁡(denom)\deg(\text{num}) \geq \deg(\text{denom})
Complete the squareIrreducible quadratic →arctan⁡/arcsin⁡\to \arctan/\arcsin
SymmetryOdd integrand on [−a,a]→0[-a,a] \to 0

Congratulations! You've mastered u-substitution — the most important integration technique on the AP Calculus AB exam.