Let’s take the simplest interesting function. f(x) = x²
Step 1 — the function
At x=1 the height is 1. At x=2 the height is 4. At x=3 the height is 9. A curve that starts flat and bends upward.
Step 2 — the derivative
A function makes a plot, and each plot at each point has a slope. And we can plot this slope as well. And since this plot is derived from the function, it is called a derivative.
Before going further.
What is a slope? For a straight line, slope is simple: how much does y rise for every one step you take in x. A slope of 2 means every time x increases by 1, y increases by 2. But for a curve, the steepness is changing constantly. So the slope at any point on a curve means: if you zoomed in close enough on just that point, the curve would start to look like a straight line. The slope of that line is the slope of the curve at that moment. This is why the slope of a curve is not one fixed number but a moving reading, like a speedometer that updates at every x.
Unlike a straight line, which has the same slope everywhere, a curve like x² has a different slope at every single point. At x=1 it is climbing gently. At x=3 it is climbing much faster.
So the derivative is not one number. It is a whole new curve that tells you the slope at any x you want.
There is a rule for functions of the form xⁿ. The derivative is nxⁿ⁻¹. You bring the power down as a multiplier, then subtract one from the power.
For x², n=2. So the derivative is 2x²⁻¹ = 2x.
Check it makes sense:
At x=1 the slope is 2, at x=2 the slope is 4, at x=3 the slope is 6.
The curve is getting steeper as x grows, which is exactly what x² looks like.
Step 3 — the antiderivative
We know: f(x) = x² gives f′(x) = 2x.
Now run it backward. Given only the slope 2x, can we get back to x²?
Not exactly. Because derivation loses the starting height.
Think of an elevator again. You go from floor 2 to floor 9. Your rise is 7 floors. Someone else goes from floor 7 to floor 14. Same rise: 7 floors. The slope. the rise per step, is identical. But the starting floors are different.
Derivation throws away the "where did you start?" information.
That means: if you only know the derivative 2x, you cannot reconstruct the original x² uniquely. Any vertical shift of x² has the same slope.
So when we go backward, when we anti-differentiate , we're not "recovering" the original function. We're building a new curve that has the given derivative. That new curve could be x², or x² + 5, or x² - 100. They all have the same slope.
We call any of these an antiderivative. It's a whole family, not one answer. When we compute the area between two points in the next step, that missing starting height cancels out. It doesn't matter which curve from the family you pick . The area difference is the same.
Derivation loses height. Antiderivation builds a new curve. Area doesn't need the original.
Step 4 — the area from x=1 to x=3
Area = F(b) - F(a)
This next part seems like a jump , we were talking about slopes, and now we are computing an area. It turns out these are the same operation in disguise, which took mathematicians centuries to figure out. For now, take it on faith: evaluating the antiderivative at two endpoints and subtracting gives you the exact area between them. Here is what that looks like.
Before we compute, notice what happens to C.
F(3) is 27/3 + C.
F(1) is 1/3 + C.
When you subtract one from the other, the C on both sides cancels out and disappears. This is why the y-intercept stops mattering the moment you have two endpoints , whatever vertical shift the curve has, it vanishes in the subtraction.
F(3) = 27/3 = 9
F(1) = 1/3
F(3) − F(1) = 9 − 1/3 = 26/3 ≈ 8.67
That is the exact area under x² between 1 and 3.