Antiderivatives and Indefinite Integrals
Find antiderivatives with the power, exponential and trig rules, understand the + C, and solve initial value problems from a known rate.
Welcome back!
Step 1 of 14Learn
Running calculus backward
A delivery drone logs its vertical velocity every instant, but its altimeter is broken. Its velocity is v(t) = 3t² − 4t + 2 meters per second, and it started 10 meters above the ground. Where is it after 3 seconds?
In Calculus I you went from position to velocity by differentiating. Now you need to go the other way: find a function whose derivative is 3t² − 4t + 2. That reverse process is called antidifferentiation, and the function you find is an antiderivative.
A function F is an antiderivative of f if F′(x) = f(x). Try it: the derivative of t³ − 2t² + 2t is 3t² − 4t + 2, so t³ − 2t² + 2t is an antiderivative of the velocity. But so is t³ − 2t² + 2t + 10, and t³ − 2t² + 2t − 7, because constants differentiate to zero.
That is why we write the indefinite integral with a constant:
∫ f(x) dx = F(x) + C
The symbol ∫ is the integral sign, f(x) is the integrand, dx names the variable, and C is the constant of integration. The answer is not one function but a whole family of vertical shifts of the same curve. All of them have the same slope at every x, which is exactly what the derivative measures.
For the drone, the extra fact "started at 10 meters" picks one member of the family. You'll finish that problem in a few steps.
Step 2 of 14Explore
A family of antiderivatives
Every function s(t) = t³ − 2t² + 2t + C has the drone's velocity 3t² − 4t + 2 as its derivative. Slide C: the curve shifts up and down without changing shape. The starting height picks the one curve that matches reality (C = 10).
- Height at t = 0
- 10 m
- Height at t = 3
- 25 m
Step 3 of 14Practice · Choose one
Which function is an antiderivative of f(x) = 6x²?
Step 4 of 14Learn
The basic antiderivative rules
Every differentiation rule you know becomes an integration rule when you read it backward.
- Power rule: ∫ xⁿ dx = xⁿ⁺¹/(n + 1) + C, for any n ≠ −1. Raise the power by one, then divide by the new power.
- The missing case n = −1: ∫ (1/x) dx = ln|x| + C. The absolute value lets the formula work for negative x too.
- Exponential: ∫ eˣ dx = eˣ + C.
- Trig: ∫ cos x dx = sin x + C, ∫ sin x dx = −cos x + C, ∫ sec²x dx = tan x + C.
- Inverse trig: ∫ 1/(1 + x²) dx = arctan x + C, and ∫ 1/√(1 − x²) dx = arcsin x + C.
- Constant multiples and sums: constants factor out, and you can integrate a sum term by term.
Rewrite before you integrate. Roots and fractions become powers: √x = x^(1/2) and 6/x² = 6x^(-2).
Worked example. Find ∫ (4x³ − 6/x² + 5) dx.
Rewrite as ∫ (4x³ − 6x^(-2) + 5) dx. Term by term: 4x³ becomes x⁴; −6x^(-2) becomes −6x^(-1)/(−1) = 6x^(-1); 5 becomes 5x. Result: x⁴ + 6/x + 5x + C.
Notice that only one C appears at the end. Each term technically has its own constant, but a sum of arbitrary constants is just another arbitrary constant.
Step 5 of 14Flashcards
Basic antiderivatives
Tap a card to flip it.
Step 6 of 14Practice · Match the pairs
Match each integrand with an antiderivative.
Tap an answer, then tap the place where it belongs (or drag it there).
- x⁵
- 1/x
- sin x
- sec²x
- 1/(1 + x²)
Step 7 of 14Practice · Work it out
∫ 3√x dx = k·x^(3/2) + C. What is k?
Step 8 of 14Learn
Initial value problems
An initial value problem gives you a rate of change and one known value, then asks for the exact function. The method has two moves: integrate to get the family, then use the known value to solve for C.
Back to the drone. Velocity is the derivative of position, so
s(t) = ∫ (3t² − 4t + 2) dt = t³ − 2t² + 2t + C.
At t = 0 the drone was at 10 meters, so s(0) = 0 − 0 + 0 + C = 10, which gives C = 10. The position function is
s(t) = t³ − 2t² + 2t + 10.
After 3 seconds: s(3) = 27 − 18 + 6 + 10 = 25 meters.
The same idea works twice over when you start from acceleration. If a ball is thrown upward at 20 m/s from a height of 2 m, its acceleration is about −9.8 m/s². Integrate once: v(t) = −9.8t + C₁, and v(0) = 20 gives C₁ = 20. Integrate again: s(t) = −4.9t² + 20t + C₂, and s(0) = 2 gives C₂ = 2. Each integration introduces a new constant, and each needs its own condition.
A useful habit: solve for C immediately after each integration, before doing anything else. Waiting until the end and juggling two unknowns is where errors creep in.
Step 9 of 14Practice · Diagram
Solving an initial value problem
Which step turns infinitely many possible answers into exactly one?
Tap the shape that answers the question, then press Check.
- Start with the rate f′(x)
For the drone: v(t) = 3t² − 4t + 2.
- Integrate: get a family + C
s(t) = t³ − 2t² + 2t + C. Infinitely many candidates.
- Plug in the known value
s(0) = 10 gives 0 + C = 10.
- Solve for C
C = 10.
- Write the exact function
s(t) = t³ − 2t² + 2t + 10, then answer the question: s(3) = 25 m.
Step 10 of 14Practice · Work it out
A function satisfies f′(x) = 4x − 3 and f(2) = 5. What is f(0)?
Step 11 of 14Note
Step 12 of 14Learn
Check every answer by differentiating
Integration is harder than differentiation, but checking an integral is easy: differentiate your answer and see whether you get the integrand back. This takes thirty seconds and catches most mistakes.
Here's a case where checking also explains a puzzle. Find ∫ (2x + 1)² dx.
Method 1: expand first. (2x + 1)² = 4x² + 4x + 1, so the integral is (4/3)x³ + 2x² + x + C.
Method 2: think backward from the chain rule. The derivative of (2x + 1)³ is 3(2x + 1)² · 2 = 6(2x + 1)². So the integral is (2x + 1)³/6 + C.
These answers look different. Are they both right? Expand the second: (2x + 1)³/6 = (8x³ + 12x² + 6x + 1)/6 = (4/3)x³ + 2x² + x + 1/6. It differs from the first answer only by the constant 1/6, which the + C absorbs. Both are correct.
This happens often in Calculus II. Two classmates, a textbook and an online calculator may give four different-looking answers to the same integral. Before deciding someone made a mistake, differentiate each answer or check whether their difference is a constant. Trig integrals are especially prone to this, since identities like sin²x = 1 − cos²x let the same family wear very different clothes.
Step 13 of 14Practice · True or false
∫ x·cos x dx = (x²/2)·sin x + C.
Step 14 of 14Practice · Choose one
Find ∫ (x² + 1)/x dx.
Lesson complete!