What Calculus Is and the Two Questions It Answers
Calculus asks how fast something is changing and how much has built up. See both questions worked out, and why they turn out to be linked.
Key takeaways
- A derivative measures the rate of change of a quantity at a single instant, such as the reading on a speedometer.
- An integral adds up the effect of a changing rate, such as the distance covered while your speed keeps varying.
- Both are defined through limits, which describe what a sequence of better and better approximations is heading toward.
- The fundamental theorem of calculus shows that differentiation and integration undo each other.
- Algebra, functions and some trigonometry are the working tools, and most early struggles come from them.
Calculus is the mathematics of change and accumulation. It answers two questions: how fast is a quantity changing at a particular instant, and how much of it has built up over a stretch of time or space when the rate keeps varying?
The first question leads to the derivative. The second leads to the integral. The surprise at the center of the subject is that these two are inverse operations, so progress on one is progress on the other. Everything else in a first course is a method for computing these two things, or a use for them.
Why ordinary arithmetic falls short
School arithmetic handles steady situations well. If a car travels at a constant 80 kilometers per hour for 3 hours, it covers 80 × 3 = 240 kilometers. If it covers 240 kilometers in 3 hours, its speed was 80.
Real motion is rarely steady. A car speeds up, brakes and idles at lights. A falling stone gets faster every moment. A tank drains quickly when full and slowly when nearly empty.
Multiplication and division still tell you about averages, but they cannot say how fast the stone is moving at exactly 3 seconds. An instant has no duration, so the distance covered during it is zero, and 0 ÷ 0 means nothing. Calculus gives that question a precise meaning.
The inputs to calculus are functions, which are rules assigning one output to each input. Position depending on time is a function. So is the cost of producing a number of items, or air pressure depending on altitude.
Question one: how fast right now?
Suppose a ball falls so that after t seconds it has dropped s(t) = 5t² meters. (Near Earth's surface, ignoring air resistance, the coefficient is about 4.9; using 5 keeps the arithmetic clean.) How fast is it going at t = 3?
You can compute an average speed over a short interval starting at 3: distance covered divided by time taken.
| Time interval | Distance fallen in the interval | Average speed |
|---|---|---|
| 3 to 4 seconds | 35 m | 35 m/s |
| 3 to 3.1 seconds | 3.05 m | 30.5 m/s |
| 3 to 3.01 seconds | 0.3005 m | 30.05 m/s |
| 3 to 3.001 seconds | 0.030005 m | 30.005 m/s |
The averages close in on 30. Algebra shows why. Over an interval of length h, with h ≠ 0:
average speed = [5(3 + h)² − 5·3²] ÷ h
= (30h + 5h²) ÷ h expand and subtract
= 30 + 5h cancel h As h shrinks toward 0, the expression 30 + 5h approaches 30. That value is the instantaneous speed, and it is the derivative of s at t = 3. On a graph of distance against time, it is the slope of the tangent line at that point. You can read more in the derivative as an instantaneous rate of change.
Question two: how much has built up?
Now run the problem backward. Suppose you know only the speed, v(t) = 10t meters per second, and want the distance covered from t = 0 to t = 3.
If the speed were constant, you would multiply. It is not, so cut the 3 seconds into short pieces and pretend the speed is constant on each. With three pieces of 1 second, using the speed at the start of each piece, you get 0 + 10 + 20 = 30 meters. That is too small, because the ball speeds up during every piece. Using the speed at the end of each piece gives 10 + 20 + 30 = 60 meters, which is too large.
| Number of pieces | Using starting speeds | Using ending speeds |
|---|---|---|
| 3 | 30 m | 60 m |
| 6 | 37.5 m | 52.5 m |
| 30 | 43.5 m | 46.5 m |
| 300 | 44.85 m | 45.15 m |
The true distance is trapped between the two columns, and both close in on 45 meters. That limiting value is the integral of v from 0 to 3. Pictured on a graph of speed against time, it is the area under the line, here a triangle with base 3 and height 30. The method of slicing and adding is explained in Riemann sums.
The idea that holds both together
Both answers came from the same move. You made an approximation that you could compute, improved it again and again, and asked what value it was approaching. That target is called a limit.
A limit does not require you to ever reach the final step. In the speed table, h never equals 0. In the distance table, the number of pieces is never infinite. The limit is the number the results get as close to as you like, provided you refine far enough. Limits explained before any formulas builds that idea carefully.
Why the two questions are one
Look again at the numbers. Differentiating the distance 5t² gives the speed 10t at any time t. Accumulating the speed 10t from 0 to 3 gives 45, which equals 5 × 3². The second process recovered what the first one started with.
This is no accident. The fundamental theorem of calculus says, for a continuous rate, that accumulating the rate of change of a quantity gives the total change in that quantity. It also says that if you accumulate a continuous function up to a moving endpoint, the rate at which the total grows is the value of the function at that endpoint.
The practical payoff is large. Adding thousands of thin slices is laborious. If you can find a function whose derivative is the rate you care about, you evaluate it at the two ends and subtract. The fundamental theorem in plain terms shows why this works.
One tank, both questions
Here is a case that uses both ideas on the same object. Say water flows into an empty tank, and after t minutes the tank holds W(t) = 12t − t² liters, for t between 0 and 6.
How fast is it filling at minute 2? Compare the volume at time 2 with the volume a short time h later:
[W(2 + h) − W(2)] ÷ h
= [12(2 + h) − (2 + h)² − 20] ÷ h since W(2) = 24 − 4 = 20
= (8h − h²) ÷ h simplify
= 8 − h cancel h ≠ 0
→ 8 liters per minute as h → 0 The same steps at a general time t give a flow rate of 12 − 2t liters per minute. The flow starts at 12, weakens steadily and reaches 0 at minute 6, when the tank holds 36 liters.
How much water arrives between minute 2 and minute 6? Start from the rate 12 − 2t and accumulate it. On a graph, the rate is a straight line falling from 8 at minute 2 to 0 at minute 6. The area beneath it is a triangle with base 4 and height 8, which is 16 liters.
You can confirm this from the volume formula: W(6) − W(2) = 36 − 20 = 16. Adding up the rate and subtracting two volumes give the same number. Notice that the accumulation tells you only the change. To know the total in the tank, you also need the amount you started with.
Where the two questions show up
Any time you can name a quantity and ask how it responds to another, calculus has something to say.
- Physics: velocity is the derivative of position, acceleration is the derivative of velocity, and work is an integral of force over distance.
- Economics: marginal cost is the rate at which total cost grows as output increases.
- Biology and medicine: growth rates are derivatives, and the total exposure of the body to a drug over time is often summarized as an area under a concentration curve.
- Design: finding the largest volume or the least material usually means finding where a derivative is zero.
- Probability: for a continuous random quantity, probabilities are areas under a density curve.
The same two tools serve all of these, because the mathematics does not care what the letters stand for. Only the units change. A derivative has the units of output divided by input, and an integral has the units of output multiplied by input. Checking units is a quick way to catch a wrong setup.
What a first course covers
A typical sequence starts with limits and continuity, then derivatives and the rules for computing them, then uses of derivatives such as optimization and curve sketching. Integrals follow, with techniques for finding them. Later courses add infinite series, which represent functions as endless sums, and calculus with several variables, which handles surfaces, flows and fields.
The ideas took shape over a long time. Methods for particular areas and tangents existed before the 17th century, when Isaac Newton and Gottfried Leibniz independently organized them into a general method. The careful definition of a limit came in the 19th century. The long road to a rigorous calculus tells that part of the story.
Common misconceptions
Calculus is often described as hard because of its new ideas. In practice, many errors in a first course are algebra errors: expanding (a + b)² as a² + b², or canceling terms that are added instead of multiplied. Time spent on fractions, factoring, exponents and function notation pays back quickly. Preparing for a first calculus course gives a checklist.
A second mistake is thinking that instantaneous speed involves dividing by zero. It does not. You divide only by nonzero lengths of time and then ask where the results are heading.
A third is believing that integrals are only areas. Area is one picture. The integral is a total built from many small contributions, and those contributions might be distance, mass, energy, money or probability. Areas below the horizontal axis count as negative, which matches a velocity that points backward.