AP Calculus AB · Lesson 26 of 35
CalcIQ · AP Calculus AB

Lesson 26: Antiderivatives & Indefinite Integrals

Unit 6 · Integration and Accumulation of Change · Exam Weight:** 17–20% · 26/35 lessons · Mathematical Practice:** 1 — Implementing Mathematical Processes
Calculator:** Primarily non-calculator
Objectives:
  • Reverse the differentiation process to find the family of antiderivatives of a function, and write the result as an indefinite integral with +C.
  • Apply the basic antiderivative rules — power rule (including the n = −1 special case), exponential, and trigonometric rules — rewriting expressions first when needed.
  • Use an initial condition to find a particular antiderivative, including recovering velocity and position from acceleration in rectilinear motion.

(a) Opening Question

You already know that the derivative of is 2x. Now run the machine backward.

Find a function whose derivative is 2x. Then find another one. How many are there?

Take a minute before reading on.

The obvious answer is , since d/dx[x²] = 2x. But x² + 1 also works, because the derivative of the constant 1 is 0. So does x² − 7, and x² + 1000. In fact, every function of the form x² + C, where C is any constant, has derivative 2x — and it turns out these are the only functions that do.

This is the central idea of this lesson. Differentiation sends a whole family of functions (all the x² + C) to a single derivative (2x). Going backward, then, we never recover just one function — we recover the entire family. That little + C is not optional decoration; it is the honest answer to the question "which function?" When you run differentiation in reverse, you are doing antidifferentiation, and the family you get is the set of antiderivatives.


(b) Core Concepts

The antiderivative

A function F is an antiderivative of f on an interval if F'(x) = f(x) for every x in that interval. So finding an antiderivative means answering: what function has f as its derivative?

Differentiation and antidifferentiation are inverse processes:

              differentiate
    F(x)  ───────────────────▶  f(x)
          ◀───────────────────
              antidifferentiate

Because the derivative of a constant is zero, if F is one antiderivative of f, then F(x) + C is also an antiderivative for any constant C. A theorem from Unit 5 (a consequence of the Mean Value Theorem) guarantees there are no others: if two functions have the same derivative on an interval, they differ by a constant. So the complete answer to "what are the antiderivatives of f?" is a one-parameter family.

The constant C is called the constant of integration. It is there because antidifferentiation loses information — the derivative throws away constants, and we have no way to recover the specific one without more information (an initial condition, coming later).

Indefinite integral notation

We write the family of all antiderivatives of f using the indefinite integral:

∫ f(x) dx = F(x) + C,   where F'(x) = f(x)

Read this as "the integral of f of x, dee x." The pieces:

The word indefinite signals that the answer is a family of functions, not a single number. (Definite integrals, which produce numbers, come in Lesson 28.)

The basic antiderivative rules

Every rule below is just a differentiation rule read in reverse. Verify any of them by differentiating the right side.

IntegralAntiderivativeWhy (differentiate to check)
∫ k dxkx + Cd/dx[kx] = k
∫ xⁿ dx (n ≠ −1)xⁿ⁺¹/(n+1) + Cd/dx[xⁿ⁺¹/(n+1)] = xⁿ
∫ (1/x) dx`lnx+ C``d/dx[lnx] = 1/x`
∫ eˣ dxeˣ + Cd/dx[eˣ] = eˣ
∫ aˣ dx (a > 0, a ≠ 1)aˣ/ln a + Cd/dx[aˣ/ln a] = aˣ
∫ cos x dxsin x + Cd/dx[sin x] = cos x
∫ sin x dx−cos x + Cd/dx[−cos x] = sin x
∫ sec²x dxtan x + Cd/dx[tan x] = sec²x
∫ csc²x dx−cot x + Cd/dx[−cot x] = csc²x
∫ sec x tan x dxsec x + Cd/dx[sec x] = sec x tan x
∫ csc x cot x dx−csc x + Cd/dx[−csc x] = csc x cot x

The power rule for integrals is the workhorse:

∫ xⁿ dx = xⁿ⁺¹/(n+1) + C,   for n ≠ −1

The mechanics: add one to the exponent, then divide by the new exponent. This works for negative and fractional exponents too, as long as you first rewrite radicals and quotients as powers: √x = x^(1/2), 1/x³ = x⁻³.

The n = −1 special case. The power rule fails when n = −1, because adding one gives exponent 0 and you would divide by 0. That single case is patched by the logarithm:

∫ x⁻¹ dx = ∫ (1/x) dx = ln|x| + C

The absolute value matters: 1/x is defined for negative x too, and d/dx[ln|x|] = 1/x on both sides of zero, so ln|x| (not ln x) is the correct antiderivative.

Constant-multiple and sum/difference rules

Antidifferentiation is linear, exactly like differentiation:

∫ k·f(x) dx = k ∫ f(x) dx
∫ [f(x) ± g(x)] dx = ∫ f(x) dx ± ∫ g(x) dx

Constants pull out front, and you integrate sums term by term. (You only need one + C at the very end — combining all the individual constants into a single constant.) There is no product rule or quotient rule for integrals. If you face a product or a quotient, you must rewrite first.

Rewrite before integrating

The integrand must be a sum of power/trig/exponential terms before the rules apply. Common rewrites:

Verify by differentiating

This is the most reliable check in all of calculus: after you integrate, differentiate your answer. If you get the integrand back, you are right. If not, you made an error. The AP exam rewards this discipline — and so does your future self.

Particular antiderivatives and initial conditions

A particular antiderivative is one specific member of the family, pinned down by an initial condition — a known value F(a) = b. The procedure:

  1. Antidifferentiate to get the general family F(x) + C.
  2. Substitute the initial condition and solve for C.
  3. Write the final answer with the specific C (no longer a free constant).

Mini-example. If f'(x) = 6x² − 4x + 1 and f(1) = 2, then f(x) = 2x³ − 2x² + x + C. Substituting: f(1) = 2 − 2 + 1 + C = 1 + C = 2, so C = 1, giving f(x) = 2x³ − 2x² + x + 1. (Check: f'(x) = 6x² − 4x + 1. ✓)

Rectilinear motion: a → v → s

Antiderivatives recover motion. If a particle moves along a line with acceleration a(t), then antidifferentiating once gives velocity and again gives position, each time using an initial condition to fix the constant:

v(t) = ∫ a(t) dt   (use v(0) to find C)
s(t) = ∫ v(t) dt   (use s(0) to find C)

Each integration introduces one constant, so you need one initial condition per integration.


(c) Worked Examples

Example 1 — Power rule with radicals and negative powers (NO CALC)

Problem. Find ∫ (3x⁴ − 2/x³ + √x) dx.

Strategy. Rewrite every term as a power of x, then apply the power rule term by term.

Solution. Rewrite: 3x⁴ − 2x⁻³ + x^(1/2). Integrate each term (add one to the exponent, divide by the new exponent):

∫ (3x⁴ − 2/x³ + √x) dx = (3/5)x⁵ + 1/x² + (2/3)x^(3/2) + C

Verify. Differentiate: 3x⁴ + (−2)x⁻³ + (2/3)(3/2)x^(1/2) = 3x⁴ − 2/x³ + √x. ✓ Note the −2/x³ term: integrating x⁻³ gives x⁻²/(−2), and the leading −2 cancels the −2 in the denominator to give +1/x².

Example 2 — Rewrite a fraction, then integrate (NO CALC)

Problem. Find ∫ (x³ − 4x + 1)/x² dx.

Strategy. You cannot integrate a quotient directly. Split the single fraction into separate terms over , simplify each, and watch for the 1/x term.

Solution. Divide each term in the numerator by :

(x³ − 4x + 1)/x² = x³/x² − 4x/x² + 1/x² = x − 4·(1/x) + x⁻²

Now integrate term by term. The middle term is the n = −1 case:

∫ (x³ − 4x + 1)/x² dx = x²/2 − 4 ln|x| − 1/x + C

Verify. d/dx[x²/2 − 4 ln|x| − 1/x] = x − 4/x + 1/x² = (x³ − 4x + 1)/x². ✓ The middle term is the trap: −4/x is not a power-rule term — it integrates to a logarithm.

Example 3 — Trig and exponential antiderivatives (NO CALC)

Problem. Find ∫ (4 cos x − 3 sec²x + 2eˣ) dx.

Strategy. Each term matches a basic rule directly. Pull constants out front and watch the sign on the trig pieces.

Solution.

∫ (4 cos x − 3 sec²x + 2eˣ) dx = 4 sin x − 3 tan x + 2eˣ + C

Verify. d/dx[4 sin x − 3 tan x + 2eˣ] = 4 cos x − 3 sec²x + 2eˣ. ✓ (Recall d/dx[tan x] = sec²x.) Had the first term been sin x instead of cos x, the sign would flip: ∫ sin x dx = −cos x + C.

Example 4 — Rectilinear motion: acceleration to position (NO CALC)

Problem. A particle moves along a line with acceleration a(t) = 6t − 4 (units: m/s²). At t = 0 its velocity is 2 m/s and its position is 5 m. Find the position function s(t).

Strategy. Antidifferentiate a(t) to get v(t), using v(0) = 2 to find the constant. Then antidifferentiate v(t) to get s(t), using s(0) = 5.

Solution. First integration:

v(t) = ∫ (6t − 4) dt = 3t² − 4t + C₁

Apply v(0) = 2: 3(0)² − 4(0) + C₁ = 2, so C₁ = 2, giving v(t) = 3t² − 4t + 2.

Second integration:

s(t) = ∫ (3t² − 4t + 2) dt = t³ − 2t² + 2t + C₂

Apply s(0) = 5: 0 − 0 + 0 + C₂ = 5, so C₂ = 5. Therefore:

s(t) = t³ − 2t² + 2t + 5

Verify. s'(t) = 3t² − 4t + 2 = v(t) ✓ and v'(t) = 6t − 4 = a(t) ✓, with s(0) = 5 and v(0) = 2 matching the initial conditions.


(d) Common Mistakes

Omitting + C (the #1 error). Writing ∫ 2x dx = x² is incomplete. The indefinite integral is a family of functions, so the answer is x² + C. On the AP exam this drops easy points. Fix: make + C the last thing you write on every indefinite integral, automatically.

Using the power rule when n = −1. Students write ∫ (1/x) dx = ∫ x⁻¹ dx = x⁰/0, which is undefined. Fix: memorize the special case ∫ (1/x) dx = ln|x| + C. Whenever you see an exponent of −1 (an x in the denominator to the first power), the answer is a logarithm — and keep the absolute value.

Sign error on ∫ sin x dx. Many write ∫ sin x dx = cos x + C. But d/dx[cos x] = −sin x, the wrong sign. Fix: ∫ sin x dx = −cos x + C. Check by differentiating: d/dx[−cos x] = sin x. ✓ (Memory hook: integrating introduces the minus sign that the cosine derivative removes.)

Not rewriting before integrating. Students try to integrate products and quotients term-as-written — e.g., treating ∫ (x² + 1)/x dx as if the rules apply directly. There is no product or quotient rule for integrals. Fix: always split fractions and expand products into a sum of powers first. Here: (x² + 1)/x = x + 1/x, so the integral is x²/2 + ln|x| + C.

Forgetting to solve for C with the initial condition. After finding F(x) + C, students stop and report the general family even when given F(a) = b. Fix: an initial-condition problem demands a particular answer — substitute, solve for C, and write the specific function with the number plugged in.

(e) Practice Problems

Question 1NO CALC
∫ (x³ − 2x + 7) dx =
Question 2NO CALC
∫ √x dx =
Question 3NO CALC
∫ (5/x²) dx =
Question 4NO CALC
∫ (1/x) dx =
Question 5NO CALC
∫ sin x dx =
Question 6NO CALC
∫ (4 cos x + 2ˣ) dx =
Question 7NO CALC
∫ (x² + 1)² dx =
Question 8NO CALC
If f'(x) = 3x² + 2 and f(0) = 4, then f(x) =
Question 9NO CALC
∫ (3eˣ − sec²x) dx =
Question 10NO CALC
Which of the following is an antiderivative of f(x) = 1/x?
Question 11CALC
A particle moves with velocity v(t) = 3t² − 6t for t ≥ 0, with position s(0) = 4. Find s(2).

12 (short answer). [NO CALC] Find ∫ (x³ − 4x + 1)/x² dx. Show the rewrite step.

13 (short answer, justification). [NO CALC] A student writes ∫ (1/x) dx = x⁰/0 + C. Identify the error and give the correct antiderivative. Explain why the power rule does not apply here.

14 (short answer, justification/interpretation). [NO CALC] Acceleration of a particle is a(t) = 4 − 2t (m/s²), with v(0) = 1 m/s. Find v(t), and explain the meaning of the constant of integration in this context.

15 (short answer, initial condition). [NO CALC] If f'(x) = 6√x + 1/x² and f(1) = 0, find the particular function f(x).


(f) AP Exam Focus

This is a non-calculator free-response question (AP Section II, Part B style). Budget about 15 minutes. Show all antiderivative work and label units where appropriate.

FRQ. A particle moves along the x-axis. Its acceleration at time t ≥ 0 seconds is given by a(t) = 6t − 4 (in meters per second squared). At time t = 0, the particle has velocity v(0) = 2 meters per second and position s(0) = 5 meters.

(a) Find the velocity function v(t). (2 points)

(b) Show that the particle is never at rest for t ≥ 0, and state whether the particle is moving in the positive or negative direction. Justify your answer. (3 points)

(c) Find the position function s(t). (2 points)

(d) Find the average velocity of the particle over the interval 0 ≤ t ≤ 3, and explain what this value represents about the particle's motion. (2 points)

Total: 9 points

Model Solution

(a) Velocity is the antiderivative of acceleration:

v(t) = ∫ (6t − 4) dt = 3t² − 4t + C₁

Use the initial condition v(0) = 2: 3(0)² − 4(0) + C₁ = 2, so C₁ = 2.

v(t) = 3t² − 4t + 2   (m/s)

(b) The particle is at rest when v(t) = 0. Solving 3t² − 4t + 2 = 0, the discriminant is (−4)² − 4(3)(2) = 16 − 24 = −8 < 0, so there are no real solutions. Therefore v(t) = 0 has no solution, and the particle is never at rest for t ≥ 0. Since v is continuous with no zeros and the leading coefficient 3 > 0 (so the parabola opens upward and never crosses the axis), v(t) > 0 for all t ≥ 0. (As a check, v(0) = 2 > 0.) Because the velocity is always positive, the particle is always moving in the positive direction.

(c) Position is the antiderivative of velocity:

s(t) = ∫ (3t² − 4t + 2) dt = t³ − 2t² + 2t + C₂

Use the initial condition s(0) = 5: 0 − 0 + 0 + C₂ = 5, so C₂ = 5.

s(t) = t³ − 2t² + 2t + 5   (m)

(d) Average velocity over [0, 3] is the change in position divided by the change in time:

average velocity = [s(3) − s(0)] / (3 − 0)

Compute s(3) = 27 − 18 + 6 + 5 = 20 and s(0) = 5. So:

average velocity = (20 − 5)/3 = 15/3 = 5 m/s

Interpretation: Over the first 3 seconds, the particle's net displacement is 15 meters in the positive direction, so on average it moved at 5 meters per second. Because the velocity is always positive (part b), this average reflects steady forward motion with no backtracking.

Scoring Commentary — where students lose points


🔑 Answer Key

Multiple Choice

1. (D) x⁴/4 − x² + 7x + C. Power rule term by term: ∫x³ dx = x⁴/4, ∫−2x dx = −x², ∫7 dx = 7x; include + C. Verify: d/dx[x⁴/4 − x² + 7x] = x³ − 2x + 7. ✓ (A) differentiated instead of integrating. (B) failed to divide by the new exponents. (C) dropped + C.

2. (A) (2/3)x^(3/2) + C. √x = x^(1/2); ∫x^(1/2) dx = x^(3/2)/(3/2) = (2/3)x^(3/2). Verify: d/dx[(2/3)x^(3/2)] = (2/3)(3/2)x^(1/2) = √x. ✓ (B) differentiated. (D) inverted the fraction (3/2 instead of 2/3). (C) forgot to divide by 3/2.

3. (C) −5/x + C. Rewrite 5/x² = 5x⁻²; ∫5x⁻² dx = 5·x⁻¹/(−1) = −5x⁻¹ = −5/x. Verify: d/dx[−5/x] = −5·(−1)x⁻² = 5/x². ✓ (B) wrongly used the ln|x| rule (that is for 1/x, not 1/x²). (D) differentiated. (A) sign error (dropped the minus from the −1 exponent).

4. (B) ln|x| + C. This is the n = −1 special case. Verify: d/dx[ln|x|] = 1/x. ✓ (A) shows the power rule failing (division by zero) — exactly why we need the special case. (C) misses the absolute value, which is needed for negative x. (D) differentiated 1/x.

5. (D) −cos x + C. Verify: d/dx[−cos x] = −(−sin x) = sin x. ✓ (C) sign error — d/dx[cos x] = −sin x, the wrong sign. (A) differentiated. (B) unrelated rule.

6. (A) 4 sin x + 2ˣ/ln 2 + C. ∫4 cos x dx = 4 sin x; ∫2ˣ dx = 2ˣ/ln 2. Verify: d/dx[4 sin x + 2ˣ/ln 2] = 4 cos x + (2ˣ ln 2)/ln 2 = 4 cos x + 2ˣ. ✓ (D) sign error on cosine and misplaced ln 2. (C) forgot to divide by ln 2. (B) wrongly applied the power rule to .

7. (C) x⁵/5 + (2/3)x³ + x + C. Expand first: (x² + 1)² = x⁴ + 2x² + 1, then integrate. Verify: d/dx[x⁵/5 + (2/3)x³ + x] = x⁴ + 2x² + 1 = (x²+1)². ✓ (A) there is no "chain rule for integrals." (B) failed to divide by new exponents. (D) differentiated using the chain rule.

8. (C) x³ + 2x + 4. f(x) = x³ + 2x + C; f(0) = C = 4. Verify: d/dx[x³ + 2x + 4] = 3x² + 2. ✓ (D) found the family but never applied the initial condition. (A) differentiated. (B) left C unsolved despite the given condition.

9. (A) 3eˣ − tan x + C. ∫3eˣ dx = 3eˣ; ∫sec²x dx = tan x. Verify: d/dx[3eˣ − tan x] = 3eˣ − sec²x. ✓ (C) wrongly applied the power rule to . (B) sign error. (D) ∫sec²x dx = tan x, not sec x (that distractor uses the sec x tan x rule).

10. (B) ln|x| − 5. Any function of the form ln|x| + C is an antiderivative of 1/x; C = −5 here. Verify: d/dx[ln|x| − 5] = 1/x. ✓ (C) is the derivative-style guess; d/dx[1/x²] ≠ 1/x. (A) undefined (power rule fails). (D) d/dx[eˣ] = eˣ ≠ 1/x.

11. (B) s(2) = 0. Antidifferentiate: s(t) = ∫(3t² − 6t) dt = t³ − 3t² + C; apply s(0) = 4 to get C = 4, so s(t) = t³ − 3t² + 4. Then s(2) = 8 − 12 + 4 = 0. Verify: s'(t) = 3t² − 6t = v(t) ✓ and s(0) = 4 ✓. (A) −4 is the displacement s(2) − s(0), not the position. (C) 4 keeps only the constant and forgets the t³ − 3t² contribution. (D) 8 is alone at t = 2.

Short Answer

12. Rewrite (x³ − 4x + 1)/x² = x − 4·(1/x) + x⁻². Integrate: ∫x dx = x²/2, ∫−4(1/x) dx = −4 ln|x|, ∫x⁻² dx = −1/x.

Answer: x²/2 − 4 ln|x| − 1/x + C.

Verify: d/dx[x²/2 − 4 ln|x| − 1/x] = x − 4/x + 1/x² = (x³ − 4x + 1)/x². ✓ Key point: the −4/x term is the n = −1 case and integrates to a logarithm, not a power.

13. Error: the student applied the power rule ∫xⁿ dx = xⁿ⁺¹/(n+1) with n = −1, which produces x⁰/0 — division by zero, undefined. The power rule explicitly requires n ≠ −1. Correct antiderivative: ∫(1/x) dx = ln|x| + C. Why: the power rule fails because adding one to the exponent gives 0, and dividing by the new exponent n + 1 = 0 is undefined; the case is instead covered by the logarithm, since d/dx[ln|x|] = 1/x.

14. v(t) = ∫(4 − 2t) dt = 4t − t² + C₁. Apply v(0) = 1: C₁ = 1, so v(t) = 4t − t² + 1 (m/s). Verify: v'(t) = 4 − 2t = a(t) ✓, v(0) = 1 ✓. Meaning of the constant: C₁ is the particle's initial velocity at t = 0. Antidifferentiating acceleration recovers velocity only up to an additive constant; the initial condition v(0) = 1 supplies the specific starting velocity that the acceleration alone cannot determine.

15. Rewrite 6√x = 6x^(1/2) and 1/x² = x⁻². Integrate: ∫6x^(1/2) dx = 6·x^(3/2)/(3/2) = 4x^(3/2); ∫x⁻² dx = −1/x. So f(x) = 4x^(3/2) − 1/x + C. Apply f(1) = 0: 4(1) − 1 + C = 3 + C = 0, so C = −3.

Answer: f(x) = 4x^(3/2) − 1/x − 3.

Verify: d/dx[4x^(3/2) − 1/x − 3] = 4·(3/2)x^(1/2) + 1/x² = 6√x + 1/x² ✓, and f(1) = 4 − 1 − 3 = 0 ✓.

FRQ Rubric (9 points)

| Part | Points | Earned for |

|---|---|---|

| (a) | 2 | Antiderivative 3t² − 4t + C₁ (1); applies v(0)=2C₁=2, so v(t)=3t²−4t+2 (1) |

| (b) | 3 | Sets v(t)=0 (1); discriminant −8 < 0 ⇒ no real roots, never at rest (1); justifies positive direction via v(t) > 0 for all t (1) |

| (c) | 2 | Antiderivative t³−2t²+2t+C₂ (1); applies s(0)=5C₂=5, so s(t)=t³−2t²+2t+5 (1) |

| (d) | 2 | Average velocity [s(3)−s(0)]/3 = 15/3 = 5 m/s (1); correct interpretation as net displacement over elapsed time (1) |

Most common point losses: (1) leaving + C unsolved in (a) and (c); (2) claiming a direction in (b) without justifying the sign of v; (3) in (d), computing average acceleration or average speed instead of average velocity, or omitting units/interpretation.

CalcIQ · Lesson 26 of 35 · Unit 6: Integration and Accumulation of Change · Antiderivatives & Indefinite Integrals

This lesson is independent study material for AP Calculus AB exam preparation and is not endorsed by or affiliated with the College Board. "AP" and "Advanced Placement" are registered trademarks of the College Board.

Accuracy review: Every antiderivative in this lesson was verified by differentiating the result back to the original integrand (confirmed symbolically). Special attention was given to the n = −1 case (∫(1/x) dx = ln|x| + C), the sign on ∫sin x dx = −cos x + C, and the presence of + C on every indefinite integral. Reviewed by Isaac (retired actuary).

← Lesson 25
Lesson 27 →
Score: 0/0 correct