You already know that the derivative of x² 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 x², 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.
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).
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:
∫ is the integral sign.f(x) is the integrand — the function being antidifferentiated.dx tells you the variable of integration (here, x). Do not drop it; it is part of the notation and it tells you what is "varying."+ C is the constant of integration, included on every indefinite integral.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.)
Every rule below is just a differentiation rule read in reverse. Verify any of them by differentiating the right side.
| Integral | Antiderivative | Why (differentiate to check) | ||||
|---|---|---|---|---|---|---|
∫ k dx | kx + C | d/dx[kx] = k | ||||
∫ xⁿ dx (n ≠ −1) | xⁿ⁺¹/(n+1) + C | d/dx[xⁿ⁺¹/(n+1)] = xⁿ | ||||
∫ (1/x) dx | `ln | x | + C` | `d/dx[ln | x | ] = 1/x` |
∫ eˣ dx | eˣ + C | d/dx[eˣ] = eˣ | ||||
∫ aˣ dx (a > 0, a ≠ 1) | aˣ/ln a + C | d/dx[aˣ/ln a] = aˣ | ||||
∫ cos x dx | sin x + C | d/dx[sin x] = cos x | ||||
∫ sin x dx | −cos x + C | d/dx[−cos x] = sin x | ||||
∫ sec²x dx | tan x + C | d/dx[tan x] = sec²x | ||||
∫ csc²x dx | −cot x + C | d/dx[−cot x] = csc²x | ||||
∫ sec x tan x dx | sec x + C | d/dx[sec x] = sec x tan x | ||||
∫ csc x cot x dx | −csc x + C | d/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.
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.
The integrand must be a sum of power/trig/exponential terms before the rules apply. Common rewrites:
(x³ − 4x + 1)/x² = x − 4·x⁻¹ + x⁻².(x² + 1)² = x⁴ + 2x² + 1.1/√x = x^(−1/2).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.
A particular antiderivative is one specific member of the family, pinned down by an initial condition — a known value F(a) = b. The procedure:
F(x) + C.C.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. ✓)
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.
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⁴ dx = 3 · x⁵/5 = (3/5)x⁵∫ −2x⁻³ dx = −2 · x⁻²/(−2) = x⁻² = 1/x²∫ x^(1/2) dx = x^(3/2)/(3/2) = (2/3)x^(3/2)∫ (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².
Problem. Find ∫ (x³ − 4x + 1)/x² dx.
Strategy. You cannot integrate a quotient directly. Split the single fraction into separate terms over x², simplify each, and watch for the 1/x term.
Solution. Divide each term in the numerator by x²:
(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 dx = x²/2∫ −4·(1/x) dx = −4 ln|x|∫ x⁻² dx = x⁻¹/(−1) = −1/x∫ (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.
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 dx = 4 sin x∫ −3 sec²x dx = −3 tan x∫ 2eˣ dx = 2eˣ∫ (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.
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.
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.
∫ (x³ − 2x + 7) dx =∫ √x dx =∫ (5/x²) dx =∫ (1/x) dx =∫ sin x dx =∫ (4 cos x + 2ˣ) dx =∫ (x² + 1)² dx =f'(x) = 3x² + 2 and f(0) = 4, then f(x) =∫ (3eˣ − sec²x) dx =f(x) = 1/x?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).
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 ≥ 0seconds is given bya(t) = 6t − 4(in meters per second squared). At timet = 0, the particle has velocityv(0) = 2meters per second and positions(0) = 5meters.(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
(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.
3t² − 4t + 2; 1 point for using v(0) = 2 to find C₁ = 2. Trap: writing v(t) = 3t² − 4t + C₁ and never solving for C₁ — that loses the second point, and also breaks parts (b)–(d).v(t) = 0; 1 point for the discriminant (or equivalent) showing no real solution; 1 point for justifying the direction via the sign of v. Trap: stating "the particle moves forward" without showing v > 0 — direction claims must be justified by the sign of velocity, not asserted.C₂ = 5. Trap: integrating a(t) instead of v(t), or forgetting + C₂ and so missing the initial-condition point.5 m/s; 1 point for a correct interpretation in context (net displacement over elapsed time). Trap: confusing average velocity (displacement ÷ time) with average speed or with the average value of acceleration. On the AP rubric, units and a context-grounded sentence are what earn the interpretation point.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 2ˣ.
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 eˣ. (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 t³ alone at t = 2.
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 ✓.
| Part | Points | Earned for |
|---|---|---|
| (a) | 2 | Antiderivative 3t² − 4t + C₁ (1); applies v(0)=2 ⇒ C₁=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)=5 ⇒ C₂=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).