Antidifferentiation | Free AP Calculus AB Course
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AP Calculus AB: Antidifferentiation | The School of Mathematics</title>
<meta name="description" content="Learn antidifferentiation for AP Calculus AB with this free, complete lesson: basic antiderivative formulas, u-substitution, logarithmic and arcsin/arctan forms, and applications to initial-value problems and motion. Includes 20 free original practice problems with instant feedback and full step-by-step explanations.">
<style>
:root {
--blue: #4285f4;
--green: #34a853;
--red: #ea4335;
--gray-bg: #f8f9fa;
--border: #e0e0e0;
}
* { box-sizing: border-box; }
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
background: #ffffff;
color: #202124;
line-height: 1.65;
margin: 0;
padding: 0;
}
.wrap { max-width: 820px; margin: 0 auto; padding: 32px 20px 80px; }
h1 { font-size: 2rem; line-height: 1.25; margin-bottom: 10px; }
h2 {
font-size: 1.5rem;
margin-top: 48px;
padding-top: 8px;
border-top: 2px solid var(--border);
}
h3 { font-size: 1.15rem; margin-bottom: 6px; }
.intro { font-size: 1.05rem; color: #3c4043; }
.cta-group {
display: flex;
gap: 12px;
flex-wrap: wrap;
margin: 22px 0 32px;
}
.cta-btn {
flex: 1 1 220px;
text-align: center;
text-decoration: none;
font-weight: 700;
font-size: 1rem;
padding: 15px 18px;
border-radius: 10px;
}
.cta-primary { background: var(--blue); color: #fff; }
.cta-primary:hover { background: #3367d6; }
.cta-secondary { background: #fff; color: var(--blue); border: 2px solid var(--blue); }
.cta-secondary:hover { background: #eef3fd; }
nav.toc {
background: var(--gray-bg);
border: 1px solid var(--border);
border-radius: 10px;
padding: 18px 22px;
margin-bottom: 36px;
}
nav.toc h2 { margin-top: 0; border-top: none; font-size: 1.1rem; }
nav.toc ol { margin: 0; padding-left: 22px; }
nav.toc a { color: var(--blue); text-decoration: none; }
nav.toc a:hover { text-decoration: underline; }
.note-box {
background: #fff8e1;
border-left: 4px solid #f9a825;
border-radius: 6px;
padding: 14px 18px;
margin: 18px 0;
font-size: 0.95rem;
}
table.ref {
width: 100%;
border-collapse: collapse;
margin: 18px 0 26px;
font-size: 0.92rem;
}
table.ref th, table.ref td {
border: 1px solid var(--border);
padding: 9px 11px;
text-align: left;
vertical-align: top;
}
table.ref th { background: var(--gray-bg); }
.example {
background: var(--gray-bg);
border-left: 4px solid var(--blue);
border-radius: 6px;
padding: 16px 20px;
margin: 18px 0;
}
.example p { margin: 6px 0; }
.step-math { font-family: "Cambria Math", Georgia, serif; }
.frac {
display: inline-flex;
flex-direction: column;
vertical-align: middle;
text-align: center;
font-size: 0.85em;
line-height: 1;
margin: 0 2px;
position: relative;
top: 0.1em;
}
.frac .num { border-bottom: 1.3px solid #202124; padding: 0 4px 1px; }
.frac .den { padding: 1px 4px 0; }
.problem {
border: 1px solid var(--border);
border-radius: 10px;
padding: 18px 22px 20px;
margin: 18px 0;
}
.problem .prompt { font-weight: 600; margin-bottom: 12px; }
.options { display: flex; flex-direction: column; gap: 8px; margin: 0 0 4px; }
.option-btn {
text-align: left;
padding: 10px 14px;
border: 1px solid #ccc;
border-radius: 6px;
background: #fff;
cursor: pointer;
font-size: 0.98rem;
font-family: inherit;
}
.option-btn:hover:not(:disabled) { background: #f1f3f4; }
.option-btn.correct { background: #e6f4ea; border-color: var(--green); font-weight: 600; }
.option-btn.incorrect { background: #fce8e6; border-color: var(--red); }
.option-btn:disabled { cursor: default; }
.explanation {
margin-top: 0;
padding: 0 16px;
background: var(--gray-bg);
border-left: 4px solid var(--blue);
border-radius: 4px;
max-height: 0;
opacity: 0;
overflow: hidden;
transition: max-height 0.35s ease, opacity 0.35s ease, margin-top 0.35s ease, padding 0.35s ease;
}
.explanation.show {
max-height: 600px;
opacity: 1;
margin-top: 14px;
padding: 14px 16px;
}
.explanation p { margin: 6px 0; }
.explanation .label { font-weight: 700; }
.mistake-list li { margin-bottom: 10px; }
.faq-item { margin-bottom: 18px; }
.faq-item h3 { margin-bottom: 4px; }
footer.cta-final { margin-top: 56px; }
</style>
</head>
<body>
<div class="wrap">
<h1>AP Calculus AB: Antidifferentiation</h1>
<p class="intro">
Antidifferentiation reverses the process you've been building fluency with all along: given a derivative, find the function it came from. This free, complete lesson covers basic antiderivative formulas, u-substitution, logarithmic and arcsin/arctan forms, and applications to initial-value problems and motion along a line. Each idea is followed by a fully worked example, and then a set of original practice problems with instant feedback and full explanations. Everything here is free, and you can keep practicing afterward with the full AP Calculus AB Question Bank linked below.
</p>
<div class="note-box">
Every antiderivative comes with an arbitrary constant of integration, C, since the derivative of any constant is 0. Two functions with the same derivative on an interval can only differ by a constant.
</div>
<div class="cta-group">
<a class="cta-btn cta-primary" href="https://theschoolofmathematics.com/quiz/antidifferentiation-quiz-1">Practice Antidifferentiation Free</a>
<a class="cta-btn cta-secondary" href="https://theschoolofmathematics.com/quiz/course/AP-Calculus-AB-QBank">Explore the Full AP Calculus AB Qbank</a>
</div>
<nav class="toc" aria-label="Table of contents">
<h2>What's covered in this lesson</h2>
<ol>
<li><a href="#basic-formulas">Basic Antiderivative Formulas</a></li>
<li><a href="#u-sub">U-Substitution</a></li>
<li><a href="#log-arc">Logarithmic and Arcsin/Arctan Forms</a></li>
<li><a href="#applications">Applications: Initial-Value Problems and Motion</a></li>
<li><a href="#mistakes">Common Mistakes to Avoid</a></li>
<li><a href="#faq">Frequently Asked Questions</a></li>
</ol>
</nav>
<!-- ============ SECTION 1 ============ -->
<h2 id="basic-formulas">1. Basic Antiderivative Formulas</h2>
<p>The <strong>antiderivative</strong> (or indefinite integral) of f(x) is a function F(x) whose derivative is f(x), written ∫f(x) dx = F(x) + C. A constant factor pulls out of the integral, and the integral of a sum is the sum of the integrals:</p>
<table class="ref">
<tr><th>Rule</th><th>Formula</th></tr>
<tr><td>Power Rule</td><td>∫u<sup>n</sup> du = <span class="frac"><span class="num">u<sup>n+1</sup></span><span class="den">n + 1</span></span> + C (n ≠ −1)</td></tr>
<tr><td>Cosine</td><td>∫cos u du = sin u + C</td></tr>
<tr><td>Sine</td><td>∫sin u du = −cos u + C</td></tr>
<tr><td>Secant squared</td><td>∫sec² u du = tan u + C</td></tr>
<tr><td>Exponential</td><td>∫e<sup>u</sup> du = e<sup>u</sup> + C</td></tr>
</table>
<div class="example">
<p><strong>Worked Example:</strong> Find ∫(3x⁴ − 2x + 7) dx.</p>
<p class="step-math">3<span class="frac"><span class="num">x⁵</span><span class="den">5</span></span> − 2<span class="frac"><span class="num">x²</span><span class="den">2</span></span> + 7x + C = <span class="frac"><span class="num">3</span><span class="den">5</span></span>x⁵ − x² + 7x + C</p>
</div>
<div class="problem" id="p1-1">
<p class="prompt">1. Find ∫7x³ dx.</p>
<div class="options">
<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'p1-1',true)">A) <span class="frac"><span class="num">7</span><span class="den">4</span></span>x⁴ + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p1-1',false)">B) 7x⁴ + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p1-1',false)">C) <span class="frac"><span class="num">7</span><span class="den">3</span></span>x⁴ + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p1-1',false)">D) 21x² + C</button>
</div>
<div class="explanation">
<p><span class="label">Explanation:</span> By the Power Rule: 7 · <span class="frac"><span class="num">x⁴</span><span class="den">4</span></span> + C = <span class="frac"><span class="num">7</span><span class="den">4</span></span>x⁴ + C.</p>
</div>
</div>
<div class="problem" id="p1-2">
<p class="prompt">2. Find ∫(4 − 6x + 3x²) dx.</p>
<div class="options">
<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'p1-2',true)">A) 4x − 3x² + x³ + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p1-2',false)">B) 4x − 6x² + 3x³ + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p1-2',false)">C) −6x + 3x² + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p1-2',false)">D) 4x + 3x² − x³ + C</button>
</div>
<div class="explanation">
<p><span class="label">Explanation:</span> Integrating term by term: 4x − 6(x²/2) + 3(x³/3) + C = 4x − 3x² + x³ + C.</p>
</div>
</div>
<div class="problem" id="p1-3">
<p class="prompt">3. Find ∫cos(3x) dx.</p>
<div class="options">
<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'p1-3',true)">A) <span class="frac"><span class="num">1</span><span class="den">3</span></span>sin(3x) + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p1-3',false)">B) 3sin(3x) + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p1-3',false)">C) sin(3x) + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p1-3',false)">D) −<span class="frac"><span class="num">1</span><span class="den">3</span></span>sin(3x) + C</button>
</div>
<div class="explanation">
<p><span class="label">Explanation:</span> The inside function 3x has derivative 3, so dividing by that factor: <span class="frac"><span class="num">1</span><span class="den">3</span></span>sin(3x) + C.</p>
</div>
</div>
<div class="problem" id="p1-4">
<p class="prompt">4. Find ∫sec²(5x) dx.</p>
<div class="options">
<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'p1-4',true)">A) <span class="frac"><span class="num">1</span><span class="den">5</span></span>tan(5x) + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p1-4',false)">B) tan(5x) + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p1-4',false)">C) 5tan(5x) + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p1-4',false)">D) <span class="frac"><span class="num">1</span><span class="den">5</span></span>sec(5x) + C</button>
</div>
<div class="explanation">
<p><span class="label">Explanation:</span> Dividing by the inside function's derivative (5): <span class="frac"><span class="num">1</span><span class="den">5</span></span>tan(5x) + C.</p>
</div>
</div>
<div class="problem" id="p1-5">
<p class="prompt">5. Find ∫e<sup>4x</sup> dx.</p>
<div class="options">
<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'p1-5',true)">A) <span class="frac"><span class="num">1</span><span class="den">4</span></span>e<sup>4x</sup> + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p1-5',false)">B) e<sup>4x</sup> + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p1-5',false)">C) 4e<sup>4x</sup> + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p1-5',false)">D) <span class="frac"><span class="num">1</span><span class="den">4</span></span>e<sup>x</sup> + C</button>
</div>
<div class="explanation">
<p><span class="label">Explanation:</span> Dividing by the inside function's derivative (4): <span class="frac"><span class="num">1</span><span class="den">4</span></span>e<sup>4x</sup> + C.</p>
</div>
</div>
<!-- ============ SECTION 2 ============ -->
<h2 id="u-sub">2. U-Substitution</h2>
<p>When an integral contains a function and (a multiple of) its own derivative, let u equal the "inside" function, compute du, then rewrite the whole integral in terms of u before applying a basic formula.</p>
<div class="example">
<p><strong>Worked Example:</strong> Find ∫3(2 − 5x)⁴ dx.</p>
<p>Let u = 2 − 5x, so du = −5 dx.</p>
<p class="step-math">3∫u⁴ · <span class="frac"><span class="num">du</span><span class="den">−5</span></span> = −<span class="frac"><span class="num">3</span><span class="den">5</span></span> · <span class="frac"><span class="num">u⁵</span><span class="den">5</span></span> + C = −<span class="frac"><span class="num">3</span><span class="den">25</span></span>(2 − 5x)⁵ + C</p>
</div>
<div class="problem" id="p2-1">
<p class="prompt">1. Find ∫4(1 − 3x)³ dx.</p>
<div class="options">
<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'p2-1',true)">A) −<span class="frac"><span class="num">1</span><span class="den">3</span></span>(1 − 3x)⁴ + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p2-1',false)">B) <span class="frac"><span class="num">1</span><span class="den">3</span></span>(1 − 3x)⁴ + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p2-1',false)">C) −<span class="frac"><span class="num">4</span><span class="den">3</span></span>(1 − 3x)⁴ + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p2-1',false)">D) −4(1 − 3x)⁴ + C</button>
</div>
<div class="explanation">
<p><span class="label">Explanation:</span> u = 1 − 3x, du = −3 dx. 4∫u³(du/−3) = −<span class="frac"><span class="num">4</span><span class="den">3</span></span> · <span class="frac"><span class="num">u⁴</span><span class="den">4</span></span> + C = −<span class="frac"><span class="num">1</span><span class="den">3</span></span>(1 − 3x)⁴ + C.</p>
</div>
</div>
<div class="problem" id="p2-2">
<p class="prompt">2. Find ∫(3x² − 1)⁴ · x dx.</p>
<div class="options">
<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'p2-2',true)">A) <span class="frac"><span class="num">1</span><span class="den">30</span></span>(3x² − 1)⁵ + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p2-2',false)">B) <span class="frac"><span class="num">1</span><span class="den">6</span></span>(3x² − 1)⁵ + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p2-2',false)">C) <span class="frac"><span class="num">1</span><span class="den">5</span></span>(3x² − 1)⁵ + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p2-2',false)">D) <span class="frac"><span class="num">1</span><span class="den">30</span></span>(3x² − 1)⁴ + C</button>
</div>
<div class="explanation">
<p><span class="label">Explanation:</span> u = 3x² − 1, du = 6x dx, so x dx = du/6. ∫u⁴(du/6) = <span class="frac"><span class="num">1</span><span class="den">6</span></span> · <span class="frac"><span class="num">u⁵</span><span class="den">5</span></span> + C = <span class="frac"><span class="num">1</span><span class="den">30</span></span>(3x² − 1)⁵ + C.</p>
</div>
</div>
<div class="problem" id="p2-3">
<p class="prompt">3. Find ∫x√(4 − x²) dx.</p>
<div class="options">
<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'p2-3',true)">A) −<span class="frac"><span class="num">1</span><span class="den">3</span></span>(4 − x²)<sup>3/2</sup> + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p2-3',false)">B) <span class="frac"><span class="num">1</span><span class="den">3</span></span>(4 − x²)<sup>3/2</sup> + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p2-3',false)">C) −<span class="frac"><span class="num">1</span><span class="den">2</span></span>(4 − x²)<sup>3/2</sup> + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p2-3',false)">D) −<span class="frac"><span class="num">2</span><span class="den">3</span></span>(4 − x²)<sup>3/2</sup> + C</button>
</div>
<div class="explanation">
<p><span class="label">Explanation:</span> u = 4 − x², du = −2x dx, so x dx = du/−2. ∫u<sup>1/2</sup>(du/−2) = −<span class="frac"><span class="num">1</span><span class="den">3</span></span>u<sup>3/2</sup> + C = −<span class="frac"><span class="num">1</span><span class="den">3</span></span>(4 − x²)<sup>3/2</sup> + C.</p>
</div>
</div>
<div class="problem" id="p2-4">
<p class="prompt">4. Find ∫sin²x · cos x dx.</p>
<div class="options">
<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'p2-4',true)">A) <span class="frac"><span class="num">1</span><span class="den">3</span></span>sin³x + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p2-4',false)">B) sin³x + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p2-4',false)">C) <span class="frac"><span class="num">1</span><span class="den">3</span></span>cos³x + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p2-4',false)">D) −<span class="frac"><span class="num">1</span><span class="den">3</span></span>sin³x + C</button>
</div>
<div class="explanation">
<p><span class="label">Explanation:</span> u = sin x, du = cos x dx. ∫u² du = <span class="frac"><span class="num">u³</span><span class="den">3</span></span> + C = <span class="frac"><span class="num">1</span><span class="den">3</span></span>sin³x + C.</p>
</div>
</div>
<div class="problem" id="p2-5">
<p class="prompt">5. Find ∫x²e<sup>x³</sup> dx.</p>
<div class="options">
<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'p2-5',true)">A) <span class="frac"><span class="num">1</span><span class="den">3</span></span>e<sup>x³</sup> + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p2-5',false)">B) e<sup>x³</sup> + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p2-5',false)">C) 3e<sup>x³</sup> + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p2-5',false)">D) <span class="frac"><span class="num">1</span><span class="den">3</span></span>e<sup>x</sup> + C</button>
</div>
<div class="explanation">
<p><span class="label">Explanation:</span> u = x³, du = 3x² dx, so x² dx = du/3. ∫e<sup>u</sup>(du/3) = <span class="frac"><span class="num">1</span><span class="den">3</span></span>e<sup>u</sup> + C = <span class="frac"><span class="num">1</span><span class="den">3</span></span>e<sup>x³</sup> + C.</p>
</div>
</div>
<!-- ============ SECTION 3 ============ -->
<h2 id="log-arc">3. Logarithmic and Arcsin/Arctan Forms</h2>
<p class="step-math" style="text-align:center;">∫<span class="frac"><span class="num">du</span><span class="den">u</span></span> = ln|u| + C ∫<span class="frac"><span class="num">du</span><span class="den">√(a² − u²)</span></span> = sin⁻¹<span class="frac"><span class="num">u</span><span class="den">a</span></span> + C ∫<span class="frac"><span class="num">du</span><span class="den">a² + u²</span></span> = <span class="frac"><span class="num">1</span><span class="den">a</span></span>tan⁻¹<span class="frac"><span class="num">u</span><span class="den">a</span></span> + C</p>
<div class="example">
<p><strong>Worked Example:</strong> Find ∫<span class="frac"><span class="num">x</span><span class="den">x² + 9</span></span> dx.</p>
<p>u = x² + 9, du = 2x dx, so x dx = du/2.</p>
<p class="step-math"><span class="frac"><span class="num">1</span><span class="den">2</span></span>∫<span class="frac"><span class="num">du</span><span class="den">u</span></span> = <span class="frac"><span class="num">1</span><span class="den">2</span></span>ln|x² + 9| + C</p>
</div>
<div class="problem" id="p3-1">
<p class="prompt">1. Find ∫<span class="frac"><span class="num">2x</span><span class="den">x² − 4</span></span> dx.</p>
<div class="options">
<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'p3-1',true)">A) ln|x² − 4| + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p3-1',false)">B) <span class="frac"><span class="num">1</span><span class="den">2</span></span>ln|x² − 4| + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p3-1',false)">C) 2ln|x² − 4| + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p3-1',false)">D) ln|2x| + C</button>
</div>
<div class="explanation">
<p><span class="label">Explanation:</span> u = x² − 4, du = 2x dx, matching the numerator exactly: ∫du/u = ln|x² − 4| + C.</p>
</div>
</div>
<div class="problem" id="p3-2">
<p class="prompt">2. Find ∫<span class="frac"><span class="num">dx</span><span class="den">x² + 16</span></span>.</p>
<div class="options">
<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'p3-2',true)">A) <span class="frac"><span class="num">1</span><span class="den">4</span></span>tan⁻¹<span class="frac"><span class="num">x</span><span class="den">4</span></span> + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p3-2',false)">B) tan⁻¹<span class="frac"><span class="num">x</span><span class="den">4</span></span> + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p3-2',false)">C) 4tan⁻¹<span class="frac"><span class="num">x</span><span class="den">4</span></span> + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p3-2',false)">D) <span class="frac"><span class="num">1</span><span class="den">16</span></span>tan⁻¹<span class="frac"><span class="num">x</span><span class="den">4</span></span> + C</button>
</div>
<div class="explanation">
<p><span class="label">Explanation:</span> Here a² = 16, so a = 4: <span class="frac"><span class="num">1</span><span class="den">4</span></span>tan⁻¹<span class="frac"><span class="num">x</span><span class="den">4</span></span> + C.</p>
</div>
</div>
<div class="problem" id="p3-3">
<p class="prompt">3. Find ∫<span class="frac"><span class="num">dx</span><span class="den">√(25 − x²)</span></span>.</p>
<div class="options">
<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'p3-3',true)">A) sin⁻¹<span class="frac"><span class="num">x</span><span class="den">5</span></span> + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p3-3',false)">B) <span class="frac"><span class="num">1</span><span class="den">5</span></span>sin⁻¹<span class="frac"><span class="num">x</span><span class="den">5</span></span> + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p3-3',false)">C) 5sin⁻¹<span class="frac"><span class="num">x</span><span class="den">5</span></span> + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p3-3',false)">D) sin⁻¹(5x) + C</button>
</div>
<div class="explanation">
<p><span class="label">Explanation:</span> Here a² = 25, so a = 5: sin⁻¹<span class="frac"><span class="num">x</span><span class="den">5</span></span> + C.</p>
</div>
</div>
<div class="problem" id="p3-4">
<p class="prompt">4. Find ∫tan(2x) dx.</p>
<div class="options">
<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'p3-4',true)">A) <span class="frac"><span class="num">1</span><span class="den">2</span></span>ln|sec(2x)| + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p3-4',false)">B) ln|sec(2x)| + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p3-4',false)">C) 2ln|sec(2x)| + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p3-4',false)">D) <span class="frac"><span class="num">1</span><span class="den">2</span></span>ln|sin(2x)| + C</button>
</div>
<div class="explanation">
<p><span class="label">Explanation:</span> ∫tan u du = ln|sec u| + C with u = 2x; dividing by the inside derivative (2): <span class="frac"><span class="num">1</span><span class="den">2</span></span>ln|sec(2x)| + C.</p>
</div>
</div>
<div class="problem" id="p3-5">
<p class="prompt">5. Find ∫<span class="frac"><span class="num">dx</span><span class="den">x + 7</span></span>.</p>
<div class="options">
<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'p3-5',true)">A) ln|x + 7| + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p3-5',false)">B) ln|x| + 7 + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p3-5',false)">C) 7ln|x + 7| + C</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p3-5',false)">D) <span class="frac"><span class="num">1</span><span class="den">(x + 7)²</span></span> + C</button>
</div>
<div class="explanation">
<p><span class="label">Explanation:</span> u = x + 7, du = dx, so ∫du/u = ln|x + 7| + C.</p>
</div>
</div>
<!-- ============ SECTION 4 ============ -->
<h2 id="applications">4. Applications: Initial-Value Problems and Motion</h2>
<p>Given f'(x) and a single known point (a, f(a)), antidifferentiate to find the general form (with an unknown constant C), then substitute the known point to solve for C. This same idea extends directly to motion: antidifferentiate acceleration to get velocity, and velocity to get position, using an initial condition at each stage.</p>
<div class="example">
<p><strong>Worked Example:</strong> Find f(x) if f'(x) = 4x³ and f(1) = 6.</p>
<p>f(x) = ∫4x³ dx = x⁴ + C.</p>
<p class="step-math">f(1) = 1 + C = 6, so C = 5. Thus f(x) = x⁴ + 5.</p>
</div>
<div class="problem" id="p4-1">
<p class="prompt">1. Find f(x) if f'(x) = 6x² and f(2) = 10.</p>
<div class="options">
<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'p4-1',true)">A) f(x) = 2x³ − 6</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p4-1',false)">B) f(x) = 2x³ + 6</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p4-1',false)">C) f(x) = 2x³ + 10</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p4-1',false)">D) f(x) = 6x³ − 6</button>
</div>
<div class="explanation">
<p><span class="label">Explanation:</span> f(x) = 2x³ + C. f(2) = 16 + C = 10, so C = −6. f(x) = 2x³ − 6.</p>
</div>
</div>
<div class="problem" id="p4-2">
<p class="prompt">2. Find a curve whose slope at each point (x, y) equals <span class="frac"><span class="num">1</span><span class="den">x²</span></span>, if the curve passes through (1, 3).</p>
<div class="options">
<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'p4-2',true)">A) y = −<span class="frac"><span class="num">1</span><span class="den">x</span></span> + 4</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p4-2',false)">B) y = <span class="frac"><span class="num">1</span><span class="den">x</span></span> + 4</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p4-2',false)">C) y = −<span class="frac"><span class="num">1</span><span class="den">x</span></span> + 3</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p4-2',false)">D) y = −<span class="frac"><span class="num">1</span><span class="den">x</span></span> − 4</button>
</div>
<div class="explanation">
<p><span class="label">Explanation:</span> dy/dx = x⁻², so y = ∫x⁻² dx = −x⁻¹ + C = −1/x + C. At (1, 3): 3 = −1 + C, so C = 4. y = −1/x + 4.</p>
</div>
</div>
<div class="problem" id="p4-3">
<p class="prompt">3. A particle moves along a line with velocity v(t) = 6t² − 4t. If x(0) = 5, find the position function x(t).</p>
<div class="options">
<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'p4-3',true)">A) x(t) = 2t³ − 2t² + 5</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p4-3',false)">B) x(t) = 2t³ − 2t²</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p4-3',false)">C) x(t) = 6t³ − 4t² + 5</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p4-3',false)">D) x(t) = 2t³ + 2t² + 5</button>
</div>
<div class="explanation">
<p><span class="label">Explanation:</span> x(t) = ∫(6t² − 4t) dt = 2t³ − 2t² + C. x(0) = 0 + C = 5, so C = 5.</p>
</div>
</div>
<div class="problem" id="p4-4">
<p class="prompt">4. Using x(t) = 2t³ − 2t² + 5 from the previous problem, find the particle's position at t = 2.</p>
<div class="options">
<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'p4-4',true)">A) 13</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p4-4',false)">B) 16</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p4-4',false)">C) 8</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p4-4',false)">D) 21</button>
</div>
<div class="explanation">
<p><span class="label">Explanation:</span> x(2) = 2(8) − 2(4) + 5 = 16 − 8 + 5 = 13.</p>
</div>
</div>
<div class="problem" id="p4-5">
<p class="prompt">5. A particle's acceleration is a(t) = 6t − 4, and v(0) = 3. Find the velocity function v(t).</p>
<div class="options">
<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'p4-5',true)">A) v(t) = 3t² − 4t + 3</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p4-5',false)">B) v(t) = 3t² − 4t</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p4-5',false)">C) v(t) = 3t² + 4t + 3</button>
<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'p4-5',false)">D) v(t) = 6t² − 4t + 3</button>
</div>
<div class="explanation">
<p><span class="label">Explanation:</span> v(t) = ∫(6t − 4) dt = 3t² − 4t + C. v(0) = 0 + C = 3, so C = 3.</p>
</div>
</div>
<!-- ============ MISTAKES ============ -->
<h2 id="mistakes">Common Mistakes to Avoid</h2>
<ul class="mistake-list">
<li><strong>Forgetting the constant of integration, C.</strong> Every indefinite integral needs it, dropping it is one of the most common and easily avoidable point losses.</li>
<li><strong>Forgetting to divide by the "extra" constant factor when the inside function's derivative isn't exactly 1.</strong> If u = 3x, du = 3 dx, not just dx, always account for that factor before applying the basic formula.</li>
<li><strong>Choosing u incorrectly for substitution.</strong> Look for a function whose derivative (up to a constant multiple) also appears in the integral, that's the signal for what to let u equal.</li>
<li><strong>Mixing up the arcsin and arctan forms.</strong> The arcsin form has a square root and a minus sign under it (√(a² − u²)); the arctan form has no square root and a plus sign (a² + u²). Confusing these leads to entirely the wrong antiderivative.</li>
<li><strong>Substituting the initial condition before finishing the general antiderivative.</strong> Always integrate completely first, including any leftover constant multiples, before plugging in the known point to solve for C.</li>
</ul>
<!-- ============ FAQ ============ -->
<h2 id="faq">Frequently Asked Questions</h2>
<div class="faq-item">
<h3>How can I tell when a problem needs u-substitution instead of a direct formula?</h3>
<p>If the integrand isn't a basic function of x alone, but instead involves a composite function (like (2 − 5x)⁴ or e<sup>x³</sup>) together with something resembling its derivative, that's the signal to try substitution.</p>
</div>
<div class="faq-item">
<h3>Why does the antiderivative of 1/u involve an absolute value, but the derivative of ln u doesn't need one?</h3>
<p>ln u is only defined for positive u, but 1/u is defined for any nonzero u, including negative values. Using ln|u| extends the antiderivative to work correctly on both sides of 0.</p>
</div>
<div class="faq-item">
<h3>What's the difference between finding f(x) from f'(x) and solving a motion problem?</h3>
<p>They use exactly the same technique, antidifferentiate, then use a given condition to solve for C. A motion problem is simply this same process applied twice in a row: once from acceleration to velocity, and again from velocity to position, each stage getting its own initial condition.</p>
</div>
<div class="faq-item">
<h3>Where can I practice more problems like these?</h3>
<p>The <a href="https://theschoolofmathematics.com/quiz/antidifferentiation-quiz-1">Antidifferentiation quizzes</a> in the AP Calculus AB Question Bank include additional original problems on this topic, along with quizzes covering every other topic tested throughout the course.</p>
</div>
<footer class="cta-final">
<div class="cta-group">
<a class="cta-btn cta-primary" href="https://theschoolofmathematics.com/quiz/antidifferentiation-quiz-1">Practice Antidifferentiation Free</a>
<a class="cta-btn cta-secondary" href="https://theschoolofmathematics.com/quiz/course/AP-Calculus-AB-QBank">Explore the Full AP Calculus AB Qbank</a>
</div>
</footer>
</div>
<script>
function checkAnswer(btn, problemId, isCorrect) {
var problem = document.getElementById(problemId);
var buttons = problem.querySelectorAll('.option-btn');
buttons.forEach(function(b) { b.disabled = true; });
if (isCorrect) {
btn.classList.add('correct');
} else {
btn.classList.add('incorrect');
var correctBtn = problem.querySelector('.option-btn[data-correct="true"]');
if (correctBtn) { correctBtn.classList.add('correct'); }
}
var exp = problem.querySelector('.explanation');
if (exp) { exp.classList.add('show'); }
}
</script>
</body>
</html>