How calculus works
Calculus works by computing with straight pieces and letting the pieces shrink until the error disappears. That one move, a limit, answers two questions: how fast something is changing right now, which is the derivative, and how much has built up over an interval, which is the integral. A single theorem connects the two, which is why they form one subject.
For students and parents planning test prep or coursework: one hour with George Li, one to one by video, is $180, $200 or $160, by subject. You leave with a written plan within one working day.
Book your first session| Step h | Second point | Slope of the line | Gap from 6 |
|---|---|---|---|
| 1 | (4, 16) | 7 | 1 |
| 0.1 | (3.1, 9.61) | 6.1 | 0.1 |
| 0.01 | (3.01, 9.0601) | 6.01 | 0.01 |
| 0.001 | (3.001, 9.006001) | 6.001 | 0.001 |
As the second point moves closer, the slope settles on 6. That number is the slope of the curve at x = 3.
Computed exactly for this page: the slope between x = 3 and x = 3 + h is ((3 + h) squared minus 9) over h, which equals 6 + h
What is the first idea, rate of change?
A straight line has one slope, so you can read a rate off two points. A curve has a different slope at every point, so two points only give an average over the gap between them. The trick is to make the gap smaller. The line through two nearby points on the curve is called a secant, and its slope is a number you can calculate. As the second point slides toward the first, the secant slopes approach a single value.
The table shows that for y = x squared at x = 3. The slope between x = 3 and x = 3 + h simplifies to 6 + h, so as h shrinks to 0 the slope is squeezed onto 6. That limit is the derivative at 3. It is the slope of the tangent line, and it is the instantaneous rate of change: if y is distance and x is time, it is the speed at one moment.
The same steps give a formula for every point. Replace 3 by x and the slope between x and x + h is 2x + h, so the derivative of x squared is 2x. At x = 3 that is 6, as the table said.
What is the second idea, accumulation?
Adding up a quantity that changes is the second problem. Take the area under y = x squared between x = 0 and x = 3. A rectangle is easy to measure, so cover the region with thin rectangles, add their areas, and make them thinner.
With n rectangles of equal width and the height read at each right end, the sum works out to 9 plus 13.5 over n plus 4.5 over n squared. The left-end version approaches from below. Both squeeze toward 9.
| Rectangles n | Left-end sum | Right-end sum | Right-end gap from 9 |
|---|---|---|---|
| 3 | 5 | 14 | 5 |
| 6 | 6.875 | 11.375 | 2.375 |
| 12 | 7.90625 | 10.15625 | 1.15625 |
| 100 | 8.86545 | 9.13545 | 0.13545 |
| 1000 | 8.9865 | 9.0135 | 0.0135 |
Source: Computed exactly for this page; the right-end sum equals 9 + 13.5/n + 4.5/n squared. The exact area is 9. Right-end sums sit above it and left-end sums below, and both close in as n grows.
Read the last column. Each time n becomes ten times larger, the gap becomes about ten times smaller, so the sums approach 9 steadily. The limit of the sums is the definite integral, and it is the exact area.
What links the two ideas?
The Fundamental Theorem of Calculus links them. It says that if you find a function whose derivative is the one you are integrating, the integral from a to b is that function at b minus that function at a. Here the derivative of x cubed over 3 is x squared, so the area is 3 cubed over 3 minus 0, which is 9, the same number the rectangles were closing in on.
That is why a table of limits is not needed every time. You learn derivative rules once and then reverse them to find areas. The rectangles show what the answer means, and the theorem shortens the work to arithmetic.
Worked example: Check the area by two routes
Find the area under y = x squared from x = 0 to x = 3.
- By rectangles with n = 1000 on the right ends, the sum is 9 + 13.5/1000 + 4.5/1000000, which is 9.0135045. It is above 9 by about 0.0135, so the limit looks like 9.
- By the theorem, an antiderivative is x cubed over 3. At x = 3 it is 9, and at x = 0 it is 0, so the area is 9 minus 0.
- The two routes agree: 9.
When a calculus problem seems to ask for a limit, a slope and an area at once, this is the picture behind it.
Source: Computed exactly for this page; no calculator needed beyond arithmetic.
Where do students get lost?
Students usually get lost in the same three places. They treat a limit as plugging in the value, and then hit 0 over 0, which is the signal that the shrinking idea is needed. They memorize derivative rules without the slope picture, so they cannot tell when an answer is unreasonable. And they treat the integral as a separate subject, when it is the same limit idea applied to sums.
A good check on any derivative answer is to sketch the curve and ask whether the sign and size of the slope match. For x squared at 3, the curve is rising steeply, so a slope of 6 passes and a slope of -6 does not.
To see the rate idea in another form, read average rate of change, and for course support see calculus tutoring, the college calculus course page or book a first session.
Common questions
Is calculus mostly memorizing formulas?
The formulas matter, but each one comes from a limit and a picture. Students who know the picture can rebuild a forgotten formula and spot a wrong answer.
What do I need before starting calculus?
Fluency with algebra, functions, and basic trigonometry. Slips in algebra are the most common cause of lost points in a first calculus course.
Why does the area table use rectangles?
Rectangles are the one shape whose area is easy to measure. Calculus covers a curved region with them and lets the width shrink.
What is the difference between a derivative and an integral?
A derivative is a rate of change at a point. An integral is an accumulated total over an interval, and the Fundamental Theorem says one undoes the other.