# Accumulation and the Two Halves of Calculus

> Two questions that look unrelated, the slope of a curve and the area under one, turn out to be the same question asked from opposite ends. Starting from water running into a tank, we build the accumulation function, the area under a rate graph up to time x, and discover that its slope at every point is the height of the rate graph. A thin strip argument shows why that has to happen for any rate at all, the notation of the definite integral turns it into the Fundamental Theorem of Calculus, and we finish by using the theorem to find the exact area under a parabola in three lines of algebra.

- Canonical watch page: [Accumulation and the Two Halves of Calculus](https://academa.ai/lectures/accumulation-and-rate-of-change)
- Publisher: [Academa, Inc.](https://academa.ai)
- Subject: Mathematics
- Published: 2026-08-28T22:51:31.000Z
- Updated: 2026-08-28T22:51:31.000Z
- Duration: PT942S (15 minutes 42 seconds)
- Chapters: 5
- Views: 0
- Language: en-US
- Access: Free
- Video stream: [HLS content](https://academa.ai/media/l/01M14TZ29ND79HRFMF6W061GNY/0/dark/master.m3u8)
- Audiovisual record: [Semantic JSON](https://academa.ai/media/l/01M14TZ29ND79HRFMF6W061GNY/0/semantic.json)
- Thumbnail: [Image](https://academa.ai/media/l/01M14TZ29ND79HRFMF6W061GNY/0/dark/poster.jpg)

## Description

Build the accumulation function from a rate graph, discover its slope is the rate, and reach the Fundamental Theorem of Calculus.

## Chapters

- [00:00–02:45.736 · What Piles Up](https://academa.ai/lectures/accumulation-and-rate-of-change?t=0)
- [02:45.736–05:41.068 · The Slope of the Area](https://academa.ai/lectures/accumulation-and-rate-of-change?t=165.73575)
- [05:41.068–07:58.456 · Why It Always Works](https://academa.ai/lectures/accumulation-and-rate-of-change?t=341.06822916666664)
- [07:58.456–13:18.931 · Running It Backwards](https://academa.ai/lectures/accumulation-and-rate-of-change?t=478.4562291666666)
- [13:18.931–15:42 · Area Under a Parabola](https://academa.ai/lectures/accumulation-and-rate-of-change?t=798.9311666666666)

## Transcript

### [00:00 · What Piles Up](https://academa.ai/lectures/accumulation-and-rate-of-change?t=0)

Derivatives and integrals. One of them measures how fast something is changing. The other measures how much of something has piled up. Two completely different questions, and this whole lecture is about the fact that they are one question, asked from opposite ends. So let me start with a tank. Somebody has opened a tap, and I know the rate, at every instant, exactly how fast the water is arriving. The question is simple enough. How much water is in there? Let's draw the rate. Time runs along the bottom, and the height of this graph is how fast the water is arriving at that moment. This tap is being opened steadily, so the line climbs. So at time one, the water is arriving at one litre a second. Move out to time three, and it is arriving at three litres a second. Now hold that thought, and imagine a different tap for a moment. Suppose the rate were constant. Say two litres a second, flat, the whole way across. Held there for three seconds, the answer is easy. Two litres a second, for three seconds, is six litres. Rate times time. And on this picture, rate times time is the area of one rectangle. But our tap is not that tap. Our rate climbs the whole way, so there is no single rectangle to draw. So we chop the time up into slivers instead. Over a stretch short enough the rate barely changes, so each sliver is rate times time again. One thin rectangle. Then we add them all up. Now watch what happens as we use more and more of them. The staircase closes on the region underneath the curve, and in the limit the water that has arrived is exactly the area under the rate graph. So here is the object I care about. The amount of water that has arrived by time x is the area under the graph, from the start out to x. Give it a name. A of x, the accumulation function. And notice what kind of object A is. It is a function. You hand it a time, here, and it hands you back a number, the area up to there. Watch what happens when I slide that edge along. More of the region is swept in, and the number gets bigger. Every stopping point gives you one number, so this really is a function of x, built out of nothing but area. Hold on to that picture. The area under a rate graph is itself a function, and everything that follows comes from one question about it. So let me put that question on the board, in as many words. How fast does A grow? Answering that is the whole of the rest of this lecture.

### [02:45.736 · The Slope of the Area](https://academa.ai/lectures/accumulation-and-rate-of-change?t=165.73575)

A moment ago we ended with the accumulation function. A of x is the area under the rate graph, from zero up to x. For this particular tap we can work that area out exactly, and pleasingly, we need no calculus at all to do it. First, one word about the letters, because there are two of them and they are not the same letter. Along the bottom the clock is called t, since t is what sweeps across the region while we shade it in. The letter x is saved for where we stop. So stop the clock at x. There is the mark, on the axis the clock runs along. And look at what is shaded: it is a triangle. Its base runs from zero out to x, so the base is x. Its height is the rate at time x, and for this tap the rate at time x is x as well. The area of a triangle is a half, base, height. Here that is a half times x times x. Which comes to one half x squared. There it is. The accumulation function for this tap, in closed form. Now let us put the two of them side by side, because this is where it gets good. On the left, the rate. A straight line, climbing steadily. On the right, the accumulation. A parabola, bending upward. As the tap opens further, the water piles up faster and faster. Now a question about the curve on the right. How steep is it? The steepness of A at a point is exactly what the symbol A prime of x will mean, so take the tangent line at x equals two and read off its slope. Rise over run, the slope there is two. Now look across at the rate graph. At time two, the height of the rate line is, two. Coincidence? Let's slide x along and watch both pictures at once. Carry on out to x equals three. The tangent on the accumulation curve now has slope three. And the rate line at time three is sitting at height three. The slope of the accumulation is the height of the rate, every single time. That deserves a line of its own. Two things to write down, and the first one is what the symbol is going to mean. A is a function of x, so A prime of x is its rate of change: how fast the shaded area grows as x moves off to the right. And the second is what we just watched. That rate of change is the height of the rate graph at x. So A prime of x equals f of x. The slope of the accumulation curve is the height of the rate curve, at every single point. We got there from one triangle and one parabola, but it has nothing to do with triangles, and I want to show you why it has to be true for absolutely any rate at all.

### [05:41.068 · Why It Always Works](https://academa.ai/lectures/accumulation-and-rate-of-change?t=341.06822916666664)

That was one particular tap, and one particularly friendly shape. But the fact we landed on has nothing to do with triangles. So here is a rate that wanders. No nice formula, and no geometry that will help you. Same set-up as before. A of x is the area underneath it, from zero up to x. We stop the clock here, at x, and everything shaded to the left of that line is A of x. Now nudge it. Push x forward by a small amount, and give that amount a name: h. There is h, on the picture, the little step from x across to x plus h. The area grows by this sliver, the water that arrives between time x and time x plus h. Call that extra area delta A. And here is the whole trick, so let me put it on the screen rather than leave it in the air. That sliver is very nearly a rectangle. There it is, standing on the sliver it is pretending to be. Its width is h, the step we just marked. Its top sits level with the curve at x, at a height of f of x, because over a stretch that short the curve has not had time to change. So delta A is about f of x times h. Now divide both sides by h, and the left-hand side turns into something you have met before. Change in A, divided by change in x. The average rate of change of A. And now let h shrink. Watch the sliver, and watch the rectangle standing on it. The thinner they both get, the better the rectangle fits, and the closer those two sides come to being equal. In the limit, the left-hand side is the derivative of A at x. That is precisely the definition of a derivative. And the right-hand side never moved. So A prime of x equals f of x, for any rate you like. Said out loud, it is almost a tautology. How fast is the water in the tank going up? At the rate the water is coming in. That is the whole theorem. The surprise is not that it is true, the surprise is what it lets you do.

### [07:58.456 · Running It Backwards](https://academa.ai/lectures/accumulation-and-rate-of-change?t=478.4562291666666)

Before we cash this in, we need the notation everybody actually writes. The area under f, from a up to x, has a symbol of its own. A long, stretched S. The function goes in the middle, and dee t closes it off. Out loud: the integral of f of t, dee t, from a to x. And let me say what those two ends are, because nobody ever does. The little a at the bottom is where we start counting. It is the left-hand edge of the region, chosen once and then left exactly where it is. The x on the top is where we stop. So the whole symbol is a function of where you stop, which is exactly what the shaded area was. And the S is for sum, because that is precisely what it is. All those thin rectangles, added up, with dee t as the width of one of them. So in this language, what we proved with the thin sliver reads like this. Differentiate an integral with respect to its upper limit, and you get the integrand straight back. Now the payoff. Here is a rate again, and here is the job in front of us: the area underneath it, between two fixed times. The left-hand end we call a. That is where the counting starts. The right-hand end we call b, and that is where it stops. Everything shaded between those two lines is the area we are trying to find, and we have no formula for a shape like that. Now suppose somebody hands you a function big F whose derivative is little f. Any such function at all will do. There it is, written down: F prime of x equals f of x. And we already have one function like that. Our own area function, A. Last time we proved that A prime of x is f of x too. So big F and our area function A have exactly the same derivative, everywhere, whatever big F happens to be. Which raises a fair question. How different can two functions with the same derivative actually be? Let me draw one of them over here. This is big F, and its slope at every point is the height of the curve beside it. Now take a copy of it, and lift the whole copy upward. Every point goes up by the same amount, so the curve keeps its shape exactly. At every x it is still leaning the way it was leaning. Its slope has not changed anywhere. Push a copy downward and you get the same story again. All three of these are antiderivatives of the same little f. There is a whole family of them stacked up the board, and every one of them is parallel to the others. And here is where the constant comes from. Measure the gap between two of them at x equals a. Now measure it again over at x equals b. It is the same gap. It is the same gap everywhere, and that gap is the number we call C. So two antiderivatives of one function differ by a constant, and only by a constant. Big F of x is our area function A of x, plus some fixed number C. Now watch what that does the moment we subtract. Start from the line we just earned. Big F of x is A of x, plus C. That is true at every single x, so in particular it is true at b. Big F of b is A of b, plus C. And it is just as true at a. Big F of a is A of a, plus C. The very same C both times, because it is the very same big F both times. Now take the second of those two lines away from the first, exactly the way you would take one number off another. So rule a line underneath them both. And there is the whole trick, standing one above the other at the end of those two lines. Plus C on the top, plus C underneath. The same unknown number added on and then taken straight back off. So slash the pair of them out, and whatever C was, it has gone. So what survives on the right is A of b minus A of a. The constant has gone, and it was always going to go, whichever antiderivative you had picked up in the first place. And A of b minus A of a is exactly the area under f between a and b. Which, in the notation we built at the start of this scene, is the integral of f from a to b. So there is the bottom line. Let me write it out properly, because that is the theorem. So there it is, in a single line. The integral of f from a to b equals big F of b, minus big F of a, where big F is any antiderivative of f. That is the Fundamental Theorem of Calculus, and it is the reason integration is something you can actually sit down and do. To find an area, you no longer add up rectangles. You find a function whose derivative is the one you started with, and subtract at the two ends.

### [13:18.931 · Area Under a Parabola](https://academa.ai/lectures/accumulation-and-rate-of-change?t=798.9311666666666)

Let's spend it on a problem you cannot do with geometry. Here is y equals x squared, and here is the piece of it we want: everything under the curve between zero and two. The old route uses thin bars like these, then takes a limit. That is real work, because this is not a triangle, a rectangle, a circle, or any other shape with a school formula. By the new route you need exactly one thing. Some function whose derivative is x squared. So let us go and find one. Start by guessing. Differentiate x cubed, and you get three x squared. Write that down, because it is nearly right. It is three times too big. So divide the whole thing by three before you differentiate it. Now the three on top and the three underneath are the same three, and what comes out is exactly x squared. So there is our big F. F of x is x cubed over three, and its derivative is the x squared we started with. Now the theorem does the rest. The integral from zero to two of x squared, dee x, is F at two minus F at zero. F at two is two cubed over three. F at zero is zero. Take the second one away from the first. And what is left is eight thirds, which is about two point six seven. That is the exact area under the parabola, and we got it by differentiating backwards. No rectangles, no limits, three lines of algebra. Does that number look sensible? The region sits inside this two by four rectangle, which has area eight, and by eye the shaded part is about a third of it. Two point six seven out of eight. That checks out. So here are the two halves of one idea. On the left, differentiate an accumulation, and you get back the rate you were accumulating at. On the right, to total up a rate across an interval, find something that differentiates to it, and subtract at the two ends. Area and slope are not two separate subjects that happen to share a course. They are one machine, run in the two directions. That is the Fundamental Theorem of Calculus.

## About Academa, Inc.

Academa makes technical knowledge easier to understand through visual lectures and lets learners request new lecture videos on the topics they need.

## Complete audiovisual record

Immutable source: [semantic.json](https://academa.ai/media/l/01M14TZ29ND79HRFMF6W061GNY/0/semantic.json)

Record version: 1. Render attempt: 0.

### How to read this timeline

Each scene owns its object identifiers. A beat's board is the complete board when listed, empty when marked empty, and unchanged from the nearest earlier listed board in the same scene when marked unchanged. Action times are absolute positions in the published video.

### Scene 1: [What Piles Up](https://academa.ai/lectures/accumulation-and-rate-of-change?t=0)

Span: 00:00–02:45.736 (0s–165.73575s).

#### Objects

- acc\_words: a Tex \[text\] that says "$A(x) =$ the shaded area"
- axes\_rate: an Axes (x\_range=(0.0, 4.0), y\_range=(0.0, 4.4), x\_ticks\_every=1.0)
- bar\_count: a VariableNumber (initial\_value=6.0)
- bars: a RiemannRectangles \[blue\] drawn in axes\_rate (rectangle\_count=\<VariableNumber bar\_count = 60.0\>, x\_range=(0.0, 2.0), target='rate')
- edge\_foot: a Point \[red\] labelled "x" drawn in axes\_rate (location=(\<VariableNumber x\_edge = 3.5\>, 0.0))
- edge\_line: a Line \[red\] drawn in axes\_rate (start=(\<VariableNumber x\_edge = 3.5\>, 0.0), end=(\<VariableNumber x\_edge = 3.5\>, \<VariableNumber x\_edge = 3.5\>), dashed=True)
- flat: a FunctionPlot \[gray\] drawn in axes\_rate (function=\<function\>, x\_range=(0.0, 3.0))
- flat\_box: a RiemannRectangles \[gray\] drawn in axes\_rate (rectangle\_count=1, x\_range=(0.0, 3.0), stroke\_color='text')
- flat\_law: a Math \[text\] that says "$f(t) = 2$"
- flat\_sum: a Math \[text\] that says "$2 times 3 = 6 thin upright("L")$"
- question: a Panel that says "Water is running into a tank, and at every instant I know the rate it is arriving at. How much water is in the tank?"
- rate: a FunctionPlot \[blue\] drawn in axes\_rate (function=\<function\>, x\_range=(0.0, 4.0))
- rate\_law: a Math \[text\] that says "$f(t) = t$"
- read\_one: a PlotPoint \[yellow\] labelled "(1, 1)" drawn in axes\_rate (target='rate', x=1.0)
- read\_three: a PlotPoint \[yellow\] labelled "(3, 3)" drawn in axes\_rate (target='rate', x=3.0)
- the\_question: a Tex \[text\] that says "How fast does $A$ grow?"
- title\_card: a Title that says "Introductory Calculus — Accumulation and the Two Halves of Calculus"
- water: an AreaUnder \[red\] drawn in axes\_rate (x\_range=(0.0, \<VariableNumber x\_edge = 3.5\>), target='rate')
- x\_edge: a VariableNumber (initial\_value=2.0)

#### Beats

##### [00:00](https://academa.ai/lectures/accumulation-and-rate-of-change?t=0)

Narration: Derivatives and integrals. One of them measures how fast something is changing. The other measures how much of something has piled up. Two completely different questions, and this whole lecture is about the fact that they are one question, asked from opposite ends.

Board: Empty.

Actions:
- [00:00](https://academa.ai/lectures/accumulation-and-rate-of-change?t=0): title\_card is shown on the screen, written out.
- [00:1.5](https://academa.ai/lectures/accumulation-and-rate-of-change?t=1.5): title\_card: enter:write-left-to-right.
- [00:15.534](https://academa.ai/lectures/accumulation-and-rate-of-change?t=15.5345): title\_card is hidden from the screen — left the board.

##### [00:16.735](https://academa.ai/lectures/accumulation-and-rate-of-change?t=16.7345)

Narration: So let me start with a tank. Somebody has opened a tap, and I know the rate, at every instant, exactly how fast the water is arriving. The question is simple enough. How much water is in there?

Board: Unchanged from the preceding beat in this scene.

Actions:
- [00:18.244](https://academa.ai/lectures/accumulation-and-rate-of-change?t=18.244): question is shown on the screen, written out.
- [00:28.821](https://academa.ai/lectures/accumulation-and-rate-of-change?t=28.820999999999998): question moves to a new place on the board.

##### [00:30.021](https://academa.ai/lectures/accumulation-and-rate-of-change?t=30.021)

Narration: Let's draw the rate. Time runs along the bottom, and the height of this graph is how fast the water is arriving at that moment. This tap is being opened steadily, so the line climbs.

Board: question — a Panel that says "Water is running into a tank, and at every instant I know the rate it is arriving at. How much water is in the tank?"

Actions:
- [00:30.636](https://academa.ai/lectures/accumulation-and-rate-of-change?t=30.636000000000003): axes\_rate is shown on the screen, written out.
- [00:30.636](https://academa.ai/lectures/accumulation-and-rate-of-change?t=30.636000000000003): rate is shown on the screen, drawn.
- [00:38.694](https://academa.ai/lectures/accumulation-and-rate-of-change?t=38.694): axes\_rate moves to a new place on the board.
- [00:38.694](https://academa.ai/lectures/accumulation-and-rate-of-change?t=38.694): rate\_law is shown on the screen, written out.

##### [00:41.407](https://academa.ai/lectures/accumulation-and-rate-of-change?t=41.407)

Narration: So at time one, the water is arriving at one litre a second. Move out to time three, and it is arriving at three litres a second.

Board: question — a Panel that says "Water is running into a tank, and at every instant I know the rate it is arriving at. How much water is in the tank?"; rate\_law — a Math \[text\] that says "$f(t) = t$"; axes\_rate — an Axes (x\_range=(0.0, 4.0), y\_range=(0.0, 4.4), x\_ticks\_every=1.0); rate — a FunctionPlot \[blue\] drawn in axes\_rate (function=\<function\>, x\_range=(0.0, 4.0))

Actions:
- [00:42.045](https://academa.ai/lectures/accumulation-and-rate-of-change?t=42.045): read\_one is shown on the screen, written out.
- [00:45.842](https://academa.ai/lectures/accumulation-and-rate-of-change?t=45.842): read\_one is hidden from the screen.
- [00:46.736](https://academa.ai/lectures/accumulation-and-rate-of-change?t=46.736000000000004): read\_three is shown on the screen, written out.

##### [00:50.656](https://academa.ai/lectures/accumulation-and-rate-of-change?t=50.656499999999994)

Narration: Now hold that thought, and imagine a different tap for a moment. Suppose the rate were constant. Say two litres a second, flat, the whole way across.

Board: question — a Panel that says "Water is running into a tank, and at every instant I know the rate it is arriving at. How much water is in the tank?"; rate\_law — a Math \[text\] that says "$f(t) = t$"; axes\_rate — an Axes (x\_range=(0.0, 4.0), y\_range=(0.0, 4.4), x\_ticks\_every=1.0); rate — a FunctionPlot \[blue\] drawn in axes\_rate (function=\<function\>, x\_range=(0.0, 4.0)); read\_three — a PlotPoint \[yellow\] labelled "(3, 3)" drawn in axes\_rate (target='rate', x=3.0)

Actions:
- [00:50.656](https://academa.ai/lectures/accumulation-and-rate-of-change?t=50.656499999999994): read\_three is hidden from the screen.
- [00:56.194](https://academa.ai/lectures/accumulation-and-rate-of-change?t=56.193999999999996): flat is shown on the screen, written out.
- [00:57.82](https://academa.ai/lectures/accumulation-and-rate-of-change?t=57.81999999999999): flat\_law is shown on the screen, written out.

##### [01:2.389](https://academa.ai/lectures/accumulation-and-rate-of-change?t=62.388999999999996)

Narration: Held there for three seconds, the answer is easy. Two litres a second, for three seconds, is six litres. Rate times time. And on this picture, rate times time is the area of one rectangle.

Board: question — a Panel that says "Water is running into a tank, and at every instant I know the rate it is arriving at. How much water is in the tank?"; rate\_law — a Math \[text\] that says "$f(t) = t$"; flat\_law — a Math \[text\] that says "$f(t) = 2$"; axes\_rate — an Axes (x\_range=(0.0, 4.0), y\_range=(0.0, 4.4), x\_ticks\_every=1.0); rate — a FunctionPlot \[blue\] drawn in axes\_rate (function=\<function\>, x\_range=(0.0, 4.0)); flat — a FunctionPlot \[gray\] drawn in axes\_rate (function=\<function\>, x\_range=(0.0, 3.0))

Actions:
- [01:2.737](https://academa.ai/lectures/accumulation-and-rate-of-change?t=62.736999999999995): flat\_box is shown on the screen, written out.
- [01:8.054](https://academa.ai/lectures/accumulation-and-rate-of-change?t=68.054): flat\_sum is shown on the screen, written out.

##### [01:15.968](https://academa.ai/lectures/accumulation-and-rate-of-change?t=75.96849999999999)

Narration: But our tap is not that tap. Our rate climbs the whole way, so there is no single rectangle to draw.

Board: question — a Panel that says "Water is running into a tank, and at every instant I know the rate it is arriving at. How much water is in the tank?"; rate\_law — a Math \[text\] that says "$f(t) = t$"; flat\_law — a Math \[text\] that says "$f(t) = 2$"; flat\_sum — a Math \[text\] that says "$2 times 3 = 6 thin upright("L")$"; axes\_rate — an Axes (x\_range=(0.0, 4.0), y\_range=(0.0, 4.4), x\_ticks\_every=1.0); rate — a FunctionPlot \[blue\] drawn in axes\_rate (function=\<function\>, x\_range=(0.0, 4.0)); flat — a FunctionPlot \[gray\] drawn in axes\_rate (function=\<function\>, x\_range=(0.0, 3.0)); flat\_box — a RiemannRectangles \[gray\] drawn in axes\_rate (rectangle\_count=1, x\_range=(0.0, 3.0), stroke\_color='text')

Actions:
- [01:18.988](https://academa.ai/lectures/accumulation-and-rate-of-change?t=78.98799999999999): flat is hidden from the screen.
- [01:18.988](https://academa.ai/lectures/accumulation-and-rate-of-change?t=78.98799999999999): flat\_box is hidden from the screen.
- [01:22.807](https://academa.ai/lectures/accumulation-and-rate-of-change?t=82.80749999999999): rate\_law moves to a new place on the board.
- [01:22.807](https://academa.ai/lectures/accumulation-and-rate-of-change?t=82.80749999999999): flat\_law is hidden from the screen — left the board.
- [01:22.807](https://academa.ai/lectures/accumulation-and-rate-of-change?t=82.80749999999999): flat\_sum is hidden from the screen — left the board.

##### [01:24.007](https://academa.ai/lectures/accumulation-and-rate-of-change?t=84.0075)

Narration: So we chop the time up into slivers instead. Over a stretch short enough the rate barely changes, so each sliver is rate times time again. One thin rectangle. Then we add them all up.

Board: question — a Panel that says "Water is running into a tank, and at every instant I know the rate it is arriving at. How much water is in the tank?"; rate\_law — a Math \[text\] that says "$f(t) = t$"; axes\_rate — an Axes (x\_range=(0.0, 4.0), y\_range=(0.0, 4.4), x\_ticks\_every=1.0); rate — a FunctionPlot \[blue\] drawn in axes\_rate (function=\<function\>, x\_range=(0.0, 4.0))

Actions:
- [01:24.692](https://academa.ai/lectures/accumulation-and-rate-of-change?t=84.692): bars is shown on the screen, written out.

##### [01:36.984](https://academa.ai/lectures/accumulation-and-rate-of-change?t=96.984)

Narration: Now watch what happens as we use more and more of them. The staircase closes on the region underneath the curve, and in the limit the water that has arrived is exactly the area under the rate graph.

Board: question — a Panel that says "Water is running into a tank, and at every instant I know the rate it is arriving at. How much water is in the tank?"; rate\_law — a Math \[text\] that says "$f(t) = t$"; axes\_rate — an Axes (x\_range=(0.0, 4.0), y\_range=(0.0, 4.4), x\_ticks\_every=1.0); rate — a FunctionPlot \[blue\] drawn in axes\_rate (function=\<function\>, x\_range=(0.0, 4.0)); bars — a RiemannRectangles \[blue\] drawn in axes\_rate (rectangle\_count=\<VariableNumber bar\_count = 60.0\>, x\_range=(0.0, 2.0), target='rate')

Actions:
- [01:38.981](https://academa.ai/lectures/accumulation-and-rate-of-change?t=98.98099999999998): bars is redrawn as the numbers it depends on change.
- [01:38.981](https://academa.ai/lectures/accumulation-and-rate-of-change?t=98.98099999999998): bar\_count ticks to 60.0.
- [01:43.981](https://academa.ai/lectures/accumulation-and-rate-of-change?t=103.98099999999998): water is shown on the screen, faded in.
- [01:43.981](https://academa.ai/lectures/accumulation-and-rate-of-change?t=103.98099999999998): bars is hidden from the screen.

##### [01:48.148](https://academa.ai/lectures/accumulation-and-rate-of-change?t=108.1485)

Narration: So here is the object I care about. The amount of water that has arrived by time x is the area under the graph, from the start out to x. Give it a name. A of x, the accumulation function.

Board: question — a Panel that says "Water is running into a tank, and at every instant I know the rate it is arriving at. How much water is in the tank?"; rate\_law — a Math \[text\] that says "$f(t) = t$"; axes\_rate — an Axes (x\_range=(0.0, 4.0), y\_range=(0.0, 4.4), x\_ticks\_every=1.0); rate — a FunctionPlot \[blue\] drawn in axes\_rate (function=\<function\>, x\_range=(0.0, 4.0)); water — an AreaUnder \[red\] drawn in axes\_rate (x\_range=(0.0, \<VariableNumber x\_edge = 3.5\>), target='rate')

Actions:
- [01:52.874](https://academa.ai/lectures/accumulation-and-rate-of-change?t=112.874): edge\_line is shown on the screen, written out.
- [01:52.874](https://academa.ai/lectures/accumulation-and-rate-of-change?t=112.874): edge\_foot is shown on the screen, written out.
- [01:58.121](https://academa.ai/lectures/accumulation-and-rate-of-change?t=118.121): acc\_words is shown on the screen, written out.

##### [02:2.762](https://academa.ai/lectures/accumulation-and-rate-of-change?t=122.762)

Narration: And notice what kind of object A is. It is a function. You hand it a time, here, and it hands you back a number, the area up to there.

Board: question — a Panel that says "Water is running into a tank, and at every instant I know the rate it is arriving at. How much water is in the tank?"; rate\_law — a Math \[text\] that says "$f(t) = t$"; axes\_rate — an Axes (x\_range=(0.0, 4.0), y\_range=(0.0, 4.4), x\_ticks\_every=1.0); rate — a FunctionPlot \[blue\] drawn in axes\_rate (function=\<function\>, x\_range=(0.0, 4.0)); acc\_words — a Tex \[text\] that says "$A(x) =$ the shaded area"; water — an AreaUnder \[red\] drawn in axes\_rate (x\_range=(0.0, \<VariableNumber x\_edge = 3.5\>), target='rate'); edge\_line — a Line \[red\] drawn in axes\_rate (start=(\<VariableNumber x\_edge = 3.5\>, 0.0), end=(\<VariableNumber x\_edge = 3.5\>, \<VariableNumber x\_edge = 3.5\>), dashed=True); edge\_foot — a Point \[red\] labelled "x" drawn in axes\_rate (location=(\<VariableNumber x\_edge = 3.5\>, 0.0))

Actions:
- [02:8.891](https://academa.ai/lectures/accumulation-and-rate-of-change?t=128.89099999999996): edge\_foot is indicated — a transient flash.
- [02:10.435](https://academa.ai/lectures/accumulation-and-rate-of-change?t=130.435): edge\_line is indicated — a transient flash.

##### [02:13.009](https://academa.ai/lectures/accumulation-and-rate-of-change?t=133.00900000000001)

Narration: Watch what happens when I slide that edge along. More of the region is swept in, and the number gets bigger. Every stopping point gives you one number, so this really is a function of x, built out of nothing but area.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [02:14.437](https://academa.ai/lectures/accumulation-and-rate-of-change?t=134.437): water is redrawn as the numbers it depends on change.
- [02:14.437](https://academa.ai/lectures/accumulation-and-rate-of-change?t=134.437): edge\_line is redrawn as the numbers it depends on change.
- [02:14.437](https://academa.ai/lectures/accumulation-and-rate-of-change?t=134.437): edge\_foot is redrawn as the numbers it depends on change.
- [02:14.437](https://academa.ai/lectures/accumulation-and-rate-of-change?t=134.437): x\_edge ticks to 3.5.

##### [02:26.287](https://academa.ai/lectures/accumulation-and-rate-of-change?t=146.287)

Narration: Hold on to that picture. The area under a rate graph is itself a function, and everything that follows comes from one question about it. So let me put that question on the board, in as many words.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [02:36.632](https://academa.ai/lectures/accumulation-and-rate-of-change?t=156.632): the\_question is shown on the screen, written out.

##### [02:39.24](https://academa.ai/lectures/accumulation-and-rate-of-change?t=159.24)

Narration: How fast does A grow? Answering that is the whole of the rest of this lecture.

Board: question — a Panel that says "Water is running into a tank, and at every instant I know the rate it is arriving at. How much water is in the tank?"; rate\_law — a Math \[text\] that says "$f(t) = t$"; axes\_rate — an Axes (x\_range=(0.0, 4.0), y\_range=(0.0, 4.4), x\_ticks\_every=1.0); rate — a FunctionPlot \[blue\] drawn in axes\_rate (function=\<function\>, x\_range=(0.0, 4.0)); acc\_words — a Tex \[text\] that says "$A(x) =$ the shaded area"; the\_question — a Tex \[text\] that says "How fast does $A$ grow?"; water — an AreaUnder \[red\] drawn in axes\_rate (x\_range=(0.0, \<VariableNumber x\_edge = 3.5\>), target='rate'); edge\_line — a Line \[red\] drawn in axes\_rate (start=(\<VariableNumber x\_edge = 3.5\>, 0.0), end=(\<VariableNumber x\_edge = 3.5\>, \<VariableNumber x\_edge = 3.5\>), dashed=True); edge\_foot — a Point \[red\] labelled "x" drawn in axes\_rate (location=(\<VariableNumber x\_edge = 3.5\>, 0.0))

Actions:
- [02:39.646](https://academa.ai/lectures/accumulation-and-rate-of-change?t=159.646): the\_question is indicated — a transient flash.
- [02:44.694](https://academa.ai/lectures/accumulation-and-rate-of-change?t=164.69408333333334): acc\_words is hidden from the screen — left the board.
- [02:44.694](https://academa.ai/lectures/accumulation-and-rate-of-change?t=164.69408333333334): axes\_rate is hidden from the screen — left the board.
- [02:44.694](https://academa.ai/lectures/accumulation-and-rate-of-change?t=164.69408333333334): rate is hidden from the screen — axes\_rate left the board.
- [02:44.694](https://academa.ai/lectures/accumulation-and-rate-of-change?t=164.69408333333334): water is hidden from the screen — axes\_rate left the board.
- [02:44.694](https://academa.ai/lectures/accumulation-and-rate-of-change?t=164.69408333333334): edge\_line is hidden from the screen — axes\_rate left the board.
- [02:44.694](https://academa.ai/lectures/accumulation-and-rate-of-change?t=164.69408333333334): edge\_foot is hidden from the screen — axes\_rate left the board.
- [02:44.694](https://academa.ai/lectures/accumulation-and-rate-of-change?t=164.69408333333334): question is hidden from the screen — left the board.
- [02:44.694](https://academa.ai/lectures/accumulation-and-rate-of-change?t=164.69408333333334): rate\_law is hidden from the screen — left the board.
- [02:44.694](https://academa.ai/lectures/accumulation-and-rate-of-change?t=164.69408333333334): the\_question is hidden from the screen — left the board.

### Scene 2: [The Slope of the Area](https://academa.ai/lectures/accumulation-and-rate-of-change?t=165.73575)

Span: 02:45.736–05:41.068 (165.73575s–341.06822916666664s).

#### Objects

- acc: a FunctionPlot \[red\] drawn in axes\_acc (function=\<function\>, x\_range=(0.0, 4.0))
- axes\_acc: an Axes (x\_range=(0.0, 4.5), y\_range=(0.0, 8.6), x\_ticks\_every=1.0)
- axes\_rate: an Axes (x\_range=(0.0, 4.5), y\_range=(0.0, 4.4), x\_ticks\_every=1.0)
- dot\_f: a PlotPoint \[yellow\] labelled "f(x)" drawn in axes\_rate (target='rate', x=\<VariableNumber x\_t = 3.0\>)
- heading: a Heading that says "The Slope of the Area"
- heading\_result: a Heading that says "The Big Fact"
- height\_line: a Line \[green\] labelled "f(x) = x" drawn in axes\_rate (start=(3.0, 0.0), end=(3.0, 3.0), dashed=True)
- lbl\_A: a Tex \[text\] that says "The accumulation, $A$"
- lbl\_f: a Tex \[text\] that says "The rate, $f$"
- meaning: a Math \[text\] that says "$A'(x) = frac(dif A, dif x)$"
- note: a Text \[text\] that says "The slope of the accumulation curve is the height of the rate curve, at every single point."
- rate: a FunctionPlot \[blue\] drawn in axes\_rate (function=\<function\>, x\_range=(0.0, 4.0))
- result: a Math \[text\] that says "$A'(x) = f(x)$"
- tangent: a TangentLine \[yellow\] drawn in axes\_acc (target='acc', x=\<VariableNumber x\_t = 3.0\>, slope\_triangle=True)
- tri: an AreaUnder \[red\] drawn in axes\_rate (x\_range=(0.0, 3.0), target='rate')
- work: a Derivation \[text\] that says "$A(x) &= frac(1, 2) dot upright("base") dot upright("height") \\ &= frac(1, 2) dot x dot x \\ &= frac(1, 2) x^2$"
- x\_foot: a Point \[red\] labelled "x" drawn in axes\_rate (location=(3.0, 0.0))
- x\_t: a VariableNumber (initial\_value=2.0)

#### Beats

##### [02:45.736](https://academa.ai/lectures/accumulation-and-rate-of-change?t=165.73575)

Narration: A moment ago we ended with the accumulation function. A of x is the area under the rate graph, from zero up to x. For this particular tap we can work that area out exactly, and pleasingly, we need no calculus at all to do it.

Board: Empty.

Actions:
- [02:45.736](https://academa.ai/lectures/accumulation-and-rate-of-change?t=165.73575): heading is shown on the screen, written out.
- [02:45.736](https://academa.ai/lectures/accumulation-and-rate-of-change?t=165.73575): axes\_rate is shown on the screen, written out.
- [02:45.736](https://academa.ai/lectures/accumulation-and-rate-of-change?t=165.73575): rate is shown on the screen, drawn.

##### [03:2.276](https://academa.ai/lectures/accumulation-and-rate-of-change?t=182.27575)

Narration: First, one word about the letters, because there are two of them and they are not the same letter. Along the bottom the clock is called t, since t is what sweeps across the region while we shade it in. The letter x is saved for where we stop.

Board: axes\_rate — an Axes (x\_range=(0.0, 4.5), y\_range=(0.0, 4.4), x\_ticks\_every=1.0); heading — a Heading that says "The Slope of the Area"; rate — a FunctionPlot \[blue\] drawn in axes\_rate (function=\<function\>, x\_range=(0.0, 4.0))

Actions:
- [03:12.725](https://academa.ai/lectures/accumulation-and-rate-of-change?t=192.72475): tri is shown on the screen, written out.

##### [03:17.449](https://academa.ai/lectures/accumulation-and-rate-of-change?t=197.44875)

Narration: So stop the clock at x. There is the mark, on the axis the clock runs along. And look at what is shaded: it is a triangle.

Board: axes\_rate — an Axes (x\_range=(0.0, 4.5), y\_range=(0.0, 4.4), x\_ticks\_every=1.0); heading — a Heading that says "The Slope of the Area"; rate — a FunctionPlot \[blue\] drawn in axes\_rate (function=\<function\>, x\_range=(0.0, 4.0)); tri — an AreaUnder \[red\] drawn in axes\_rate (x\_range=(0.0, 3.0), target='rate')

Actions:
- [03:20.212](https://academa.ai/lectures/accumulation-and-rate-of-change?t=200.21175): x\_foot is shown on the screen, written out.

##### [03:26.977](https://academa.ai/lectures/accumulation-and-rate-of-change?t=206.97674999999998)

Narration: Its base runs from zero out to x, so the base is x. Its height is the rate at time x, and for this tap the rate at time x is x as well.

Board: axes\_rate — an Axes (x\_range=(0.0, 4.5), y\_range=(0.0, 4.4), x\_ticks\_every=1.0); heading — a Heading that says "The Slope of the Area"; rate — a FunctionPlot \[blue\] drawn in axes\_rate (function=\<function\>, x\_range=(0.0, 4.0)); tri — an AreaUnder \[red\] drawn in axes\_rate (x\_range=(0.0, 3.0), target='rate'); x\_foot — a Point \[red\] labelled "x" drawn in axes\_rate (location=(3.0, 0.0))

Actions:
- [03:31.888](https://academa.ai/lectures/accumulation-and-rate-of-change?t=211.88774999999998): height\_line is shown on the screen, written out.

##### [03:37.718](https://academa.ai/lectures/accumulation-and-rate-of-change?t=217.71825)

Narration: The area of a triangle is a half, base, height. Here that is a half times x times x. Which comes to one half x squared.

Board: axes\_rate — an Axes (x\_range=(0.0, 4.5), y\_range=(0.0, 4.4), x\_ticks\_every=1.0); heading — a Heading that says "The Slope of the Area"; rate — a FunctionPlot \[blue\] drawn in axes\_rate (function=\<function\>, x\_range=(0.0, 4.0)); tri — an AreaUnder \[red\] drawn in axes\_rate (x\_range=(0.0, 3.0), target='rate'); x\_foot — a Point \[red\] labelled "x" drawn in axes\_rate (location=(3.0, 0.0)); height\_line — a Line \[green\] labelled "f(x) = x" drawn in axes\_rate (start=(3.0, 0.0), end=(3.0, 3.0), dashed=True)

Actions:
- [03:38.642](https://academa.ai/lectures/accumulation-and-rate-of-change?t=218.64175): axes\_rate moves to a new place on the board.
- [03:38.642](https://academa.ai/lectures/accumulation-and-rate-of-change?t=218.64175): work is shown on the screen, written out.
- [03:41.196](https://academa.ai/lectures/accumulation-and-rate-of-change?t=221.19575): work is shown on the screen, written out.
- [03:44.505](https://academa.ai/lectures/accumulation-and-rate-of-change?t=224.50475): work is shown on the screen, written out.

##### [03:47.891](https://academa.ai/lectures/accumulation-and-rate-of-change?t=227.89075)

Narration: There it is. The accumulation function for this tap, in closed form. Now let us put the two of them side by side, because this is where it gets good.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [03:54.567](https://academa.ai/lectures/accumulation-and-rate-of-change?t=234.56675): height\_line is hidden from the screen.
- [03:54.567](https://academa.ai/lectures/accumulation-and-rate-of-change?t=234.56675): tri is hidden from the screen.
- [03:54.567](https://academa.ai/lectures/accumulation-and-rate-of-change?t=234.56675): x\_foot is hidden from the screen.
- [03:57.283](https://academa.ai/lectures/accumulation-and-rate-of-change?t=237.28325): axes\_rate moves to a new place on the board.
- [03:57.283](https://academa.ai/lectures/accumulation-and-rate-of-change?t=237.28325): work is hidden from the screen — left the board.

##### [03:58.483](https://academa.ai/lectures/accumulation-and-rate-of-change?t=238.48325)

Narration: On the left, the rate. A straight line, climbing steadily. On the right, the accumulation. A parabola, bending upward. As the tap opens further, the water piles up faster and faster.

Board: axes\_rate — an Axes (x\_range=(0.0, 4.5), y\_range=(0.0, 4.4), x\_ticks\_every=1.0); heading — a Heading that says "The Slope of the Area"; rate — a FunctionPlot \[blue\] drawn in axes\_rate (function=\<function\>, x\_range=(0.0, 4.0))

Actions:
- [03:58.995](https://academa.ai/lectures/accumulation-and-rate-of-change?t=238.99475): lbl\_f is shown on the screen, written out.
- [04:3.128](https://academa.ai/lectures/accumulation-and-rate-of-change?t=243.12775): lbl\_A is shown on the screen, written out.
- [04:3.128](https://academa.ai/lectures/accumulation-and-rate-of-change?t=243.12775): axes\_acc is shown on the screen, written out.
- [04:5.067](https://academa.ai/lectures/accumulation-and-rate-of-change?t=245.06675): acc is shown on the screen, drawn.

##### [04:12.087](https://academa.ai/lectures/accumulation-and-rate-of-change?t=252.08675)

Narration: Now a question about the curve on the right. How steep is it? The steepness of A at a point is exactly what the symbol A prime of x will mean, so take the tangent line at x equals two and read off its slope.

Board: axes\_rate — an Axes (x\_range=(0.0, 4.5), y\_range=(0.0, 4.4), x\_ticks\_every=1.0); heading — a Heading that says "The Slope of the Area"; rate — a FunctionPlot \[blue\] drawn in axes\_rate (function=\<function\>, x\_range=(0.0, 4.0)); lbl\_f — a Tex \[text\] that says "The rate, $f$"; lbl\_A — a Tex \[text\] that says "The accumulation, $A$"; axes\_acc — an Axes (x\_range=(0.0, 4.5), y\_range=(0.0, 8.6), x\_ticks\_every=1.0); acc — a FunctionPlot \[red\] drawn in axes\_acc (function=\<function\>, x\_range=(0.0, 4.0))

Actions:
- [04:22.664](https://academa.ai/lectures/accumulation-and-rate-of-change?t=262.66375): tangent is shown on the screen, written out.

##### [04:26.781](https://academa.ai/lectures/accumulation-and-rate-of-change?t=266.78125)

Narration: Rise over run, the slope there is two. Now look across at the rate graph. At time two, the height of the rate line is, two.

Board: axes\_rate — an Axes (x\_range=(0.0, 4.5), y\_range=(0.0, 4.4), x\_ticks\_every=1.0); heading — a Heading that says "The Slope of the Area"; rate — a FunctionPlot \[blue\] drawn in axes\_rate (function=\<function\>, x\_range=(0.0, 4.0)); lbl\_f — a Tex \[text\] that says "The rate, $f$"; lbl\_A — a Tex \[text\] that says "The accumulation, $A$"; axes\_acc — an Axes (x\_range=(0.0, 4.5), y\_range=(0.0, 8.6), x\_ticks\_every=1.0); acc — a FunctionPlot \[red\] drawn in axes\_acc (function=\<function\>, x\_range=(0.0, 4.0)); tangent — a TangentLine \[yellow\] drawn in axes\_acc (target='acc', x=\<VariableNumber x\_t = 3.0\>, slope\_triangle=True)

Actions:
- [04:30.706](https://academa.ai/lectures/accumulation-and-rate-of-change?t=270.70575): dot\_f is shown on the screen, written out.

##### [04:36.82](https://academa.ai/lectures/accumulation-and-rate-of-change?t=276.82025)

Narration: Coincidence? Let's slide x along and watch both pictures at once.

Board: axes\_rate — an Axes (x\_range=(0.0, 4.5), y\_range=(0.0, 4.4), x\_ticks\_every=1.0); heading — a Heading that says "The Slope of the Area"; rate — a FunctionPlot \[blue\] drawn in axes\_rate (function=\<function\>, x\_range=(0.0, 4.0)); lbl\_f — a Tex \[text\] that says "The rate, $f$"; lbl\_A — a Tex \[text\] that says "The accumulation, $A$"; axes\_acc — an Axes (x\_range=(0.0, 4.5), y\_range=(0.0, 8.6), x\_ticks\_every=1.0); acc — a FunctionPlot \[red\] drawn in axes\_acc (function=\<function\>, x\_range=(0.0, 4.0)); tangent — a TangentLine \[yellow\] drawn in axes\_acc (target='acc', x=\<VariableNumber x\_t = 3.0\>, slope\_triangle=True); dot\_f — a PlotPoint \[yellow\] labelled "f(x)" drawn in axes\_rate (target='rate', x=\<VariableNumber x\_t = 3.0\>)

Actions:
- [04:39.027](https://academa.ai/lectures/accumulation-and-rate-of-change?t=279.02675): tangent is redrawn as the numbers it depends on change.
- [04:39.027](https://academa.ai/lectures/accumulation-and-rate-of-change?t=279.02675): dot\_f is redrawn as the numbers it depends on change.
- [04:39.027](https://academa.ai/lectures/accumulation-and-rate-of-change?t=279.02675): x\_t ticks to 2.6.

##### [04:43.149](https://academa.ai/lectures/accumulation-and-rate-of-change?t=283.14925)

Narration: Carry on out to x equals three. The tangent on the accumulation curve now has slope three. And the rate line at time three is sitting at height three. The slope of the accumulation is the height of the rate, every single time. That deserves a line of its own.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [04:43.498](https://academa.ai/lectures/accumulation-and-rate-of-change?t=283.49775): tangent is redrawn as the numbers it depends on change.
- [04:43.498](https://academa.ai/lectures/accumulation-and-rate-of-change?t=283.49775): dot\_f is redrawn as the numbers it depends on change.
- [04:43.498](https://academa.ai/lectures/accumulation-and-rate-of-change?t=283.49775): x\_t ticks to 3.0.
- [04:59.102](https://academa.ai/lectures/accumulation-and-rate-of-change?t=299.10175): axes\_acc is hidden from the screen — left the board.
- [04:59.102](https://academa.ai/lectures/accumulation-and-rate-of-change?t=299.10175): acc is hidden from the screen — axes\_acc left the board.
- [04:59.102](https://academa.ai/lectures/accumulation-and-rate-of-change?t=299.10175): tangent is hidden from the screen — axes\_acc left the board.
- [04:59.102](https://academa.ai/lectures/accumulation-and-rate-of-change?t=299.10175): axes\_rate is hidden from the screen — left the board.
- [04:59.102](https://academa.ai/lectures/accumulation-and-rate-of-change?t=299.10175): rate is hidden from the screen — axes\_rate left the board.
- [04:59.102](https://academa.ai/lectures/accumulation-and-rate-of-change?t=299.10175): dot\_f is hidden from the screen — axes\_rate left the board.
- [04:59.102](https://academa.ai/lectures/accumulation-and-rate-of-change?t=299.10175): heading is hidden from the screen — left the board.
- [04:59.102](https://academa.ai/lectures/accumulation-and-rate-of-change?t=299.10175): lbl\_A is hidden from the screen — left the board.
- [04:59.102](https://academa.ai/lectures/accumulation-and-rate-of-change?t=299.10175): lbl\_f is hidden from the screen — left the board.

##### [05:0.302](https://academa.ai/lectures/accumulation-and-rate-of-change?t=300.30174999999997)

Narration: Two things to write down, and the first one is what the symbol is going to mean. A is a function of x, so A prime of x is its rate of change: how fast the shaded area grows as x moves off to the right.

Board: Empty.

Actions:
- [05:0.302](https://academa.ai/lectures/accumulation-and-rate-of-change?t=300.30174999999997): heading\_result is shown on the screen, written out.
- [05:9.439](https://academa.ai/lectures/accumulation-and-rate-of-change?t=309.43875): meaning is shown on the screen, written out.

##### [05:15.333](https://academa.ai/lectures/accumulation-and-rate-of-change?t=315.33325)

Narration: And the second is what we just watched. That rate of change is the height of the rate graph at x. So A prime of x equals f of x.

Board: meaning — a Math \[text\] that says "$A'(x) = frac(dif A, dif x)$"; heading\_result — a Heading that says "The Big Fact"

Actions:
- [05:19.13](https://academa.ai/lectures/accumulation-and-rate-of-change?t=319.12975000000006): result is shown on the screen, written out.
- [05:22.706](https://academa.ai/lectures/accumulation-and-rate-of-change?t=322.70575): A box is drawn around result.

##### [05:24.89](https://academa.ai/lectures/accumulation-and-rate-of-change?t=324.89025)

Narration: The slope of the accumulation curve is the height of the rate curve, at every single point. We got there from one triangle and one parabola, but it has nothing to do with triangles, and I want to show you why it has to be true for absolutely any rate at all.

Board: meaning — a Math \[text\] that says "$A'(x) = frac(dif A, dif x)$"; result — a Math \[text\] that says "$A'(x) = f(x)$"; heading\_result — a Heading that says "The Big Fact"

Actions:
- [05:24.89](https://academa.ai/lectures/accumulation-and-rate-of-change?t=324.89025): note is shown on the screen, written out.
- [05:40.027](https://academa.ai/lectures/accumulation-and-rate-of-change?t=340.02656249999995): heading\_result is hidden from the screen — left the board.
- [05:40.027](https://academa.ai/lectures/accumulation-and-rate-of-change?t=340.02656249999995): meaning is hidden from the screen — left the board.
- [05:40.027](https://academa.ai/lectures/accumulation-and-rate-of-change?t=340.02656249999995): note is hidden from the screen — left the board.
- [05:40.027](https://academa.ai/lectures/accumulation-and-rate-of-change?t=340.02656249999995): result is hidden from the screen — left the board.

### Scene 3: [Why It Always Works](https://academa.ai/lectures/accumulation-and-rate-of-change?t=341.06822916666664)

Span: 05:41.068–07:58.456 (341.06822916666664s–478.4562291666666s).

#### Objects

- acc\_area: an AreaUnder \[red\] labelled "A(x)" drawn in axes\_gen (x\_range=(0.0, 2.0), target='curve')
- axes\_gen: an Axes (x\_range=(0.0, 4.0), y\_range=(0.0, 3.8), x\_ticks\_every=1.0)
- curve: a FunctionPlot \[blue\] drawn in axes\_gen (function=\<function\>, x\_range=(0.0, 4.0))
- drop: a Line \[yellow\] drawn in axes\_gen (start=(2.0, 0.0), end=(2.0, 2.08), dashed=True)
- h\_brace: a Brace \[cyan\] labelled "h" drawn in axes\_gen (x\_start=2.0, x\_end=(h\_var + 2.0))
- h\_var: a VariableNumber (initial\_value=0.7)
- heading: a Heading that says "Why It Always Works"
- pt: a PlotPoint \[yellow\] labelled "f(x)" drawn in axes\_gen (target='curve', x=2.0)
- result: a Math \[text\] that says "$A'(x) = f(x)$"
- strip: an AreaUnder \[yellow\] drawn in axes\_gen (x\_range=(2.0, (h\_var + 2.0)), target='curve')
- strip\_box: a RiemannRectangles \[cyan\] drawn in axes\_gen (rectangle\_count=1, x\_range=(2.0, (h\_var + 2.0)), sample\_type='left')
- work: a Derivation \[text\] that says "$Delta A &= A(x + h) - A(x) \\ &approx f(x) dot h \\ frac(Delta A, h) &approx f(x)$"

#### Beats

##### [05:41.068](https://academa.ai/lectures/accumulation-and-rate-of-change?t=341.06822916666664)

Narration: That was one particular tap, and one particularly friendly shape. But the fact we landed on has nothing to do with triangles. So here is a rate that wanders. No nice formula, and no geometry that will help you.

Board: Empty.

Actions:
- [05:41.068](https://academa.ai/lectures/accumulation-and-rate-of-change?t=341.06822916666664): heading is shown on the screen, written out.
- [05:41.068](https://academa.ai/lectures/accumulation-and-rate-of-change?t=341.06822916666664): axes\_gen is shown on the screen, written out.
- [05:41.068](https://academa.ai/lectures/accumulation-and-rate-of-change?t=341.06822916666664): curve is shown on the screen, drawn.

##### [05:55.104](https://academa.ai/lectures/accumulation-and-rate-of-change?t=355.10372916666665)

Narration: Same set-up as before. A of x is the area underneath it, from zero up to x. We stop the clock here, at x, and everything shaded to the left of that line is A of x.

Board: axes\_gen — an Axes (x\_range=(0.0, 4.0), y\_range=(0.0, 3.8), x\_ticks\_every=1.0); heading — a Heading that says "Why It Always Works"; curve — a FunctionPlot \[blue\] drawn in axes\_gen (function=\<function\>, x\_range=(0.0, 4.0))

Actions:
- [05:58.749](https://academa.ai/lectures/accumulation-and-rate-of-change?t=358.7492291666666): acc\_area is shown on the screen, written out.
- [06:2.963](https://academa.ai/lectures/accumulation-and-rate-of-change?t=362.9632291666666): drop is shown on the screen, written out.

##### [06:8.84](https://academa.ai/lectures/accumulation-and-rate-of-change?t=368.83972916666664)

Narration: Now nudge it. Push x forward by a small amount, and give that amount a name: h. There is h, on the picture, the little step from x across to x plus h.

Board: axes\_gen — an Axes (x\_range=(0.0, 4.0), y\_range=(0.0, 3.8), x\_ticks\_every=1.0); heading — a Heading that says "Why It Always Works"; curve — a FunctionPlot \[blue\] drawn in axes\_gen (function=\<function\>, x\_range=(0.0, 4.0)); acc\_area — an AreaUnder \[red\] labelled "A(x)" drawn in axes\_gen (x\_range=(0.0, 2.0), target='curve'); drop — a Line \[yellow\] drawn in axes\_gen (start=(2.0, 0.0), end=(2.0, 2.08), dashed=True)

Actions:
- [06:14.064](https://academa.ai/lectures/accumulation-and-rate-of-change?t=374.0642291666666): h\_brace is shown on the screen, written out.

##### [06:22.104](https://academa.ai/lectures/accumulation-and-rate-of-change?t=382.10422916666664)

Narration: The area grows by this sliver, the water that arrives between time x and time x plus h. Call that extra area delta A.

Board: axes\_gen — an Axes (x\_range=(0.0, 4.0), y\_range=(0.0, 3.8), x\_ticks\_every=1.0); heading — a Heading that says "Why It Always Works"; curve — a FunctionPlot \[blue\] drawn in axes\_gen (function=\<function\>, x\_range=(0.0, 4.0)); acc\_area — an AreaUnder \[red\] labelled "A(x)" drawn in axes\_gen (x\_range=(0.0, 2.0), target='curve'); drop — a Line \[yellow\] drawn in axes\_gen (start=(2.0, 0.0), end=(2.0, 2.08), dashed=True); h\_brace — a Brace \[cyan\] labelled "h" drawn in axes\_gen (x\_start=2.0, x\_end=(h\_var + 2.0))

Actions:
- [06:23.532](https://academa.ai/lectures/accumulation-and-rate-of-change?t=383.53222916666664): strip is shown on the screen, written out.
- [06:29.592](https://academa.ai/lectures/accumulation-and-rate-of-change?t=389.59222916666664): axes\_gen moves to a new place on the board.
- [06:29.592](https://academa.ai/lectures/accumulation-and-rate-of-change?t=389.59222916666664): work is shown on the screen, written out.

##### [06:31.11](https://academa.ai/lectures/accumulation-and-rate-of-change?t=391.1097291666666)

Narration: And here is the whole trick, so let me put it on the screen rather than leave it in the air. That sliver is very nearly a rectangle.

Board: axes\_gen — an Axes (x\_range=(0.0, 4.0), y\_range=(0.0, 3.8), x\_ticks\_every=1.0); heading — a Heading that says "Why It Always Works"; curve — a FunctionPlot \[blue\] drawn in axes\_gen (function=\<function\>, x\_range=(0.0, 4.0)); acc\_area — an AreaUnder \[red\] labelled "A(x)" drawn in axes\_gen (x\_range=(0.0, 2.0), target='curve'); drop — a Line \[yellow\] drawn in axes\_gen (start=(2.0, 0.0), end=(2.0, 2.08), dashed=True); h\_brace — a Brace \[cyan\] labelled "h" drawn in axes\_gen (x\_start=2.0, x\_end=(h\_var + 2.0)); strip — an AreaUnder \[yellow\] drawn in axes\_gen (x\_range=(2.0, (h\_var + 2.0)), target='curve')

Actions:
- [06:38.006](https://academa.ai/lectures/accumulation-and-rate-of-change?t=398.0062291666666): strip\_box is shown on the screen, written out.

##### [06:40.339](https://academa.ai/lectures/accumulation-and-rate-of-change?t=400.33922916666666)

Narration: There it is, standing on the sliver it is pretending to be. Its width is h, the step we just marked. Its top sits level with the curve at x, at a height of f of x, because over a stretch that short the curve has not had time to change.

Board: axes\_gen — an Axes (x\_range=(0.0, 4.0), y\_range=(0.0, 3.8), x\_ticks\_every=1.0); heading — a Heading that says "Why It Always Works"; curve — a FunctionPlot \[blue\] drawn in axes\_gen (function=\<function\>, x\_range=(0.0, 4.0)); acc\_area — an AreaUnder \[red\] labelled "A(x)" drawn in axes\_gen (x\_range=(0.0, 2.0), target='curve'); drop — a Line \[yellow\] drawn in axes\_gen (start=(2.0, 0.0), end=(2.0, 2.08), dashed=True); h\_brace — a Brace \[cyan\] labelled "h" drawn in axes\_gen (x\_start=2.0, x\_end=(h\_var + 2.0)); strip — an AreaUnder \[yellow\] drawn in axes\_gen (x\_range=(2.0, (h\_var + 2.0)), target='curve'); strip\_box — a RiemannRectangles \[cyan\] drawn in axes\_gen (rectangle\_count=1, x\_range=(2.0, (h\_var + 2.0)), sample\_type='left')

Actions:
- [06:48.953](https://academa.ai/lectures/accumulation-and-rate-of-change?t=408.95322916666663): pt is shown on the screen, written out.
- [06:52.657](https://academa.ai/lectures/accumulation-and-rate-of-change?t=412.65722916666664): work is shown on the screen, written out.

##### [06:57.268](https://academa.ai/lectures/accumulation-and-rate-of-change?t=417.26772916666664)

Narration: So delta A is about f of x times h. Now divide both sides by h, and the left-hand side turns into something you have met before. Change in A, divided by change in x. The average rate of change of A.

Board: axes\_gen — an Axes (x\_range=(0.0, 4.0), y\_range=(0.0, 3.8), x\_ticks\_every=1.0); heading — a Heading that says "Why It Always Works"; curve — a FunctionPlot \[blue\] drawn in axes\_gen (function=\<function\>, x\_range=(0.0, 4.0)); acc\_area — an AreaUnder \[red\] labelled "A(x)" drawn in axes\_gen (x\_range=(0.0, 2.0), target='curve'); drop — a Line \[yellow\] drawn in axes\_gen (start=(2.0, 0.0), end=(2.0, 2.08), dashed=True); h\_brace — a Brace \[cyan\] labelled "h" drawn in axes\_gen (x\_start=2.0, x\_end=(h\_var + 2.0)); strip — an AreaUnder \[yellow\] drawn in axes\_gen (x\_range=(2.0, (h\_var + 2.0)), target='curve'); strip\_box — a RiemannRectangles \[cyan\] drawn in axes\_gen (rectangle\_count=1, x\_range=(2.0, (h\_var + 2.0)), sample\_type='left'); pt — a PlotPoint \[yellow\] labelled "f(x)" drawn in axes\_gen (target='curve', x=2.0)

Actions:
- [07:1.035](https://academa.ai/lectures/accumulation-and-rate-of-change?t=421.0352291666666): work is shown on the screen, written out.

##### [07:12.7](https://academa.ai/lectures/accumulation-and-rate-of-change?t=432.69972916666666)

Narration: And now let h shrink. Watch the sliver, and watch the rectangle standing on it. The thinner they both get, the better the rectangle fits, and the closer those two sides come to being equal.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [07:14.151](https://academa.ai/lectures/accumulation-and-rate-of-change?t=434.1512291666666): h\_brace is redrawn as the numbers it depends on change.
- [07:14.151](https://academa.ai/lectures/accumulation-and-rate-of-change?t=434.1512291666666): strip is redrawn as the numbers it depends on change.
- [07:14.151](https://academa.ai/lectures/accumulation-and-rate-of-change?t=434.1512291666666): strip\_box is redrawn as the numbers it depends on change.
- [07:14.151](https://academa.ai/lectures/accumulation-and-rate-of-change?t=434.1512291666666): h\_var ticks to 0.15.

##### [07:26.415](https://academa.ai/lectures/accumulation-and-rate-of-change?t=446.4152291666667)

Narration: In the limit, the left-hand side is the derivative of A at x. That is precisely the definition of a derivative. And the right-hand side never moved. So A prime of x equals f of x, for any rate you like.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [07:31.941](https://academa.ai/lectures/accumulation-and-rate-of-change?t=451.94122916666663): result is shown on the screen, written out.
- [07:39.801](https://academa.ai/lectures/accumulation-and-rate-of-change?t=459.80122916666664): A box is drawn around result.

##### [07:41.876](https://academa.ai/lectures/accumulation-and-rate-of-change?t=461.87572916666664)

Narration: Said out loud, it is almost a tautology. How fast is the water in the tank going up? At the rate the water is coming in. That is the whole theorem. The surprise is not that it is true, the surprise is what it lets you do.

Board: result — a Math \[text\] that says "$A'(x) = f(x)$"; axes\_gen — an Axes (x\_range=(0.0, 4.0), y\_range=(0.0, 3.8), x\_ticks\_every=1.0); heading — a Heading that says "Why It Always Works"; curve — a FunctionPlot \[blue\] drawn in axes\_gen (function=\<function\>, x\_range=(0.0, 4.0)); acc\_area — an AreaUnder \[red\] labelled "A(x)" drawn in axes\_gen (x\_range=(0.0, 2.0), target='curve'); drop — a Line \[yellow\] drawn in axes\_gen (start=(2.0, 0.0), end=(2.0, 2.08), dashed=True); h\_brace — a Brace \[cyan\] labelled "h" drawn in axes\_gen (x\_start=2.0, x\_end=(h\_var + 2.0)); strip — an AreaUnder \[yellow\] drawn in axes\_gen (x\_range=(2.0, (h\_var + 2.0)), target='curve'); strip\_box — a RiemannRectangles \[cyan\] drawn in axes\_gen (rectangle\_count=1, x\_range=(2.0, (h\_var + 2.0)), sample\_type='left'); pt — a PlotPoint \[yellow\] labelled "f(x)" drawn in axes\_gen (target='curve', x=2.0)

Actions:
- [07:44.43](https://academa.ai/lectures/accumulation-and-rate-of-change?t=464.43022916666666): strip is hidden from the screen.
- [07:44.43](https://academa.ai/lectures/accumulation-and-rate-of-change?t=464.43022916666666): strip\_box is hidden from the screen.
- [07:44.43](https://academa.ai/lectures/accumulation-and-rate-of-change?t=464.43022916666666): h\_brace is hidden from the screen.
- [07:57.415](https://academa.ai/lectures/accumulation-and-rate-of-change?t=477.4145625): axes\_gen is hidden from the screen — left the board.
- [07:57.415](https://academa.ai/lectures/accumulation-and-rate-of-change?t=477.4145625): curve is hidden from the screen — axes\_gen left the board.
- [07:57.415](https://academa.ai/lectures/accumulation-and-rate-of-change?t=477.4145625): acc\_area is hidden from the screen — axes\_gen left the board.
- [07:57.415](https://academa.ai/lectures/accumulation-and-rate-of-change?t=477.4145625): drop is hidden from the screen — axes\_gen left the board.
- [07:57.415](https://academa.ai/lectures/accumulation-and-rate-of-change?t=477.4145625): pt is hidden from the screen — axes\_gen left the board.
- [07:57.415](https://academa.ai/lectures/accumulation-and-rate-of-change?t=477.4145625): heading is hidden from the screen — left the board.
- [07:57.415](https://academa.ai/lectures/accumulation-and-rate-of-change?t=477.4145625): result is hidden from the screen — left the board.
- [07:57.415](https://academa.ai/lectures/accumulation-and-rate-of-change?t=477.4145625): work is hidden from the screen — left the board.

### Scene 4: [Running It Backwards](https://academa.ai/lectures/accumulation-and-rate-of-change?t=478.4562291666666)

Span: 07:58.456–13:18.931 (478.4562291666666s–798.9311666666666s).

#### Objects

- F\_dn: a FunctionPlot \[green\] drawn in axes\_F (function=\<function\>, x\_range=(0.0, 4.0))
- F\_mid: a FunctionPlot \[blue\] labelled "F" drawn in axes\_F (function=\<function\>, x\_range=(0.0, 4.0))
- F\_up: a FunctionPlot \[yellow\] drawn in axes\_F (function=\<function\>, x\_range=(0.0, 4.0))
- axes\_F: an Axes (x\_range=(0.0, 4.0), y\_range=(-2.4, 11.6), x\_ticks\_every=1.0)
- axes\_b: an Axes (x\_range=(0.0, 4.0), y\_range=(0.0, 3.8), x\_ticks\_every=1.0)
- band: an AreaUnder \[red\] drawn in axes\_b (x\_range=(1.0, 3.0), target='curve\_b')
- closing: a Math \[text\] that says "$A(b) - A(a) = integral\_a^b f(x) dif x$"
- curve\_b: a FunctionPlot \[blue\] drawn in axes\_b (function=\<function\>, x\_range=(0.0, 4.0))
- defn: a Panel that says "The integral of $f$ from $a$ to $x$ is the area under the graph of $f$ between those two limits, the limit of a sum of thin rectangles."
- difference: an Arithmetic \[text\] that says "$F(b) = A(b) + C F(a) = A(a) + C F(b) - F(a) = A(b) - A(a)$" (operator='-', operands=('F(b) = A(b) + C', 'F(a) = A(a) + C'), result='F(b) - F(a) = A(b) - A(a)')
- fact: a Math \[text\] that says "$F(x) = A(x) + C$"
- ftc1: a Math \[text\] that says "$frac(dif, dif x) integral\_a^x f(t) dif t = f(x)$"
- ftc2: a Math \[text\] that says "$integral\_a^b f(x) dif x = F(b) - F(a)$"
- ftc\_note: a Text \[text\] that says "where $F$ is any antiderivative of $f$, that is, any function at all whose derivative is $f$."
- gap\_a: a Line \[magenta\] labelled "C" drawn in axes\_F (start=(1.0, 2.623333333333333), end=(1.0, 4.223333333333333))
- gap\_b: a Line \[magenta\] labelled "C" drawn in axes\_F (start=(3.0, 6.93), end=(3.0, 8.53))
- goal: a Tex \[text\] that says "We want the area between $a$ and $b$."
- h\_back: a Heading that says "Running It Backwards"
- h\_const: a Heading that says "Where the Constant Comes From"
- h\_ftc: a Heading that says "The Fundamental Theorem"
- h\_notation: a Heading that says "A Symbol for the Area"
- h\_sub: a Heading that says "Subtract, and Watch C Go"
- lbl\_family: a Tex \[text\] that says "Every antiderivative of it"
- lbl\_rate: a Tex \[text\] that says "The rate, and the area we want"
- line\_a: a Line \[green\] labelled "a" drawn in axes\_b (start=(1.0, 0.0), end=(1.0, 2.3200000000000003), dashed=True)
- line\_b: a Line \[green\] labelled "b" drawn in axes\_b (start=(3.0, 0.0), end=(3.0, 2.28), dashed=True)
- notation: a Math \[text\] that says "$A(x) = integral\_a^x f(t) dif t$"
- same: a Derivation \[text\] that says "$F'(x) &= f(x) \\ A'(x) &= f(x) \\ F'(x) &= A'(x)$"

#### Beats

##### [07:58.456](https://academa.ai/lectures/accumulation-and-rate-of-change?t=478.4562291666666)

Narration: Before we cash this in, we need the notation everybody actually writes. The area under f, from a up to x, has a symbol of its own.

Board: Empty.

Actions:
- [07:58.456](https://academa.ai/lectures/accumulation-and-rate-of-change?t=478.4562291666666): h\_notation is shown on the screen, written out.
- [08:6.397](https://academa.ai/lectures/accumulation-and-rate-of-change?t=486.3972291666666): notation is shown on the screen, written out.

##### [08:8.391](https://academa.ai/lectures/accumulation-and-rate-of-change?t=488.39072916666663)

Narration: A long, stretched S. The function goes in the middle, and dee t closes it off. Out loud: the integral of f of t, dee t, from a to x.

Board: notation — a Math \[text\] that says "$A(x) = integral\_a^x f(t) dif t$"; h\_notation — a Heading that says "A Symbol for the Area"

Actions:
- [08:11.223](https://academa.ai/lectures/accumulation-and-rate-of-change?t=491.2232291666666): notation (the "f(t)" part) is emphasized.
- [08:12.779](https://academa.ai/lectures/accumulation-and-rate-of-change?t=492.7792291666666): notation (the "dif t" part) is emphasized.
- [08:12.779](https://academa.ai/lectures/accumulation-and-rate-of-change?t=492.7792291666666): notation (the "f(t)" part) is no longer emphasized.
- [08:14.811](https://academa.ai/lectures/accumulation-and-rate-of-change?t=494.81122916666664): defn is shown on the screen, written out.
- [08:14.811](https://academa.ai/lectures/accumulation-and-rate-of-change?t=494.81122916666664): notation (the "dif t" part) is no longer emphasized.

##### [08:20.647](https://academa.ai/lectures/accumulation-and-rate-of-change?t=500.6467291666666)

Narration: And let me say what those two ends are, because nobody ever does. The little a at the bottom is where we start counting. It is the left-hand edge of the region, chosen once and then left exactly where it is.

Board: notation — a Math \[text\] that says "$A(x) = integral\_a^x f(t) dif t$"; defn — a Panel that says "The integral of $f$ from $a$ to $x$ is the area under the graph of $f$ between those two limits, the limit of a sum of thin rectangles."; h\_notation — a Heading that says "A Symbol for the Area"

Actions:
- [08:25.952](https://academa.ai/lectures/accumulation-and-rate-of-change?t=505.9522291666666): notation (the "a" part) is emphasized.

##### [08:34.136](https://academa.ai/lectures/accumulation-and-rate-of-change?t=514.1357291666666)

Narration: The x on the top is where we stop. So the whole symbol is a function of where you stop, which is exactly what the shaded area was.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [08:35.169](https://academa.ai/lectures/accumulation-and-rate-of-change?t=515.1692291666666): notation (the "a" part) is no longer emphasized.
- [08:35.169](https://academa.ai/lectures/accumulation-and-rate-of-change?t=515.1692291666666): notation (the "x#2" part) is emphasized.

##### [08:42.7](https://academa.ai/lectures/accumulation-and-rate-of-change?t=522.7002291666666)

Narration: And the S is for sum, because that is precisely what it is. All those thin rectangles, added up, with dee t as the width of one of them.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [08:44.012](https://academa.ai/lectures/accumulation-and-rate-of-change?t=524.0122291666667): notation (the "integral\_a^x" part) is emphasized.
- [08:44.012](https://academa.ai/lectures/accumulation-and-rate-of-change?t=524.0122291666667): notation (the "x#2" part) is no longer emphasized.
- [08:50.955](https://academa.ai/lectures/accumulation-and-rate-of-change?t=530.9552291666666): notation (the "dif t" part) is emphasized.
- [08:50.955](https://academa.ai/lectures/accumulation-and-rate-of-change?t=530.9552291666666): notation (the "integral\_a^x" part) is no longer emphasized.

##### [08:52.937](https://academa.ai/lectures/accumulation-and-rate-of-change?t=532.9367291666666)

Narration: So in this language, what we proved with the thin sliver reads like this. Differentiate an integral with respect to its upper limit, and you get the integrand straight back.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [08:52.937](https://academa.ai/lectures/accumulation-and-rate-of-change?t=532.9367291666666): notation (the "dif t" part) is no longer emphasized.
- [08:56.187](https://academa.ai/lectures/accumulation-and-rate-of-change?t=536.1872291666666): ftc1 is shown on the screen, written out.
- [09:3.525](https://academa.ai/lectures/accumulation-and-rate-of-change?t=543.5247291666666): defn is hidden from the screen — left the board.
- [09:3.525](https://academa.ai/lectures/accumulation-and-rate-of-change?t=543.5247291666666): ftc1 is hidden from the screen — left the board.
- [09:3.525](https://academa.ai/lectures/accumulation-and-rate-of-change?t=543.5247291666666): h\_notation is hidden from the screen — left the board.
- [09:3.525](https://academa.ai/lectures/accumulation-and-rate-of-change?t=543.5247291666666): notation is hidden from the screen — left the board.

##### [09:4.725](https://academa.ai/lectures/accumulation-and-rate-of-change?t=544.7247291666666)

Narration: Now the payoff. Here is a rate again, and here is the job in front of us: the area underneath it, between two fixed times.

Board: Empty.

Actions:
- [09:4.725](https://academa.ai/lectures/accumulation-and-rate-of-change?t=544.7247291666666): h\_back is shown on the screen, written out.
- [09:7.035](https://academa.ai/lectures/accumulation-and-rate-of-change?t=547.0352291666666): axes\_b is shown on the screen, written out.
- [09:7.035](https://academa.ai/lectures/accumulation-and-rate-of-change?t=547.0352291666666): curve\_b is shown on the screen, drawn.
- [09:9.148](https://academa.ai/lectures/accumulation-and-rate-of-change?t=549.1482291666666): goal is shown on the screen, written out.

##### [09:14.613](https://academa.ai/lectures/accumulation-and-rate-of-change?t=554.6132291666667)

Narration: The left-hand end we call a. That is where the counting starts. The right-hand end we call b, and that is where it stops. Everything shaded between those two lines is the area we are trying to find, and we have no formula for a shape like that.

Board: axes\_b — an Axes (x\_range=(0.0, 4.0), y\_range=(0.0, 3.8), x\_ticks\_every=1.0); goal — a Tex \[text\] that says "We want the area between $a$ and $b$."; h\_back — a Heading that says "Running It Backwards"; curve\_b — a FunctionPlot \[blue\] drawn in axes\_b (function=\<function\>, x\_range=(0.0, 4.0))

Actions:
- [09:16.227](https://academa.ai/lectures/accumulation-and-rate-of-change?t=556.2272291666666): line\_a is shown on the screen, written out.
- [09:21.172](https://academa.ai/lectures/accumulation-and-rate-of-change?t=561.1722291666666): line\_b is shown on the screen, written out.
- [09:24.806](https://academa.ai/lectures/accumulation-and-rate-of-change?t=564.8062291666666): band is shown on the screen, written out.

##### [09:32.111](https://academa.ai/lectures/accumulation-and-rate-of-change?t=572.1112291666666)

Narration: Now suppose somebody hands you a function big F whose derivative is little f. Any such function at all will do. There it is, written down: F prime of x equals f of x.

Board: axes\_b — an Axes (x\_range=(0.0, 4.0), y\_range=(0.0, 3.8), x\_ticks\_every=1.0); goal — a Tex \[text\] that says "We want the area between $a$ and $b$."; h\_back — a Heading that says "Running It Backwards"; curve\_b — a FunctionPlot \[blue\] drawn in axes\_b (function=\<function\>, x\_range=(0.0, 4.0)); line\_a — a Line \[green\] labelled "a" drawn in axes\_b (start=(1.0, 0.0), end=(1.0, 2.3200000000000003), dashed=True); line\_b — a Line \[green\] labelled "b" drawn in axes\_b (start=(3.0, 0.0), end=(3.0, 2.28), dashed=True); band — an AreaUnder \[red\] drawn in axes\_b (x\_range=(1.0, 3.0), target='curve\_b')

Actions:
- [09:40.249](https://academa.ai/lectures/accumulation-and-rate-of-change?t=580.2492291666666): axes\_b moves to a new place on the board.
- [09:40.249](https://academa.ai/lectures/accumulation-and-rate-of-change?t=580.2492291666666): goal is hidden from the screen — left the board.
- [09:40.249](https://academa.ai/lectures/accumulation-and-rate-of-change?t=580.2492291666666): same is shown on the screen, written out.

##### [09:45.075](https://academa.ai/lectures/accumulation-and-rate-of-change?t=585.0752291666666)

Narration: And we already have one function like that. Our own area function, A. Last time we proved that A prime of x is f of x too.

Board: axes\_b — an Axes (x\_range=(0.0, 4.0), y\_range=(0.0, 3.8), x\_ticks\_every=1.0); h\_back — a Heading that says "Running It Backwards"; curve\_b — a FunctionPlot \[blue\] drawn in axes\_b (function=\<function\>, x\_range=(0.0, 4.0)); line\_a — a Line \[green\] labelled "a" drawn in axes\_b (start=(1.0, 0.0), end=(1.0, 2.3200000000000003), dashed=True); line\_b — a Line \[green\] labelled "b" drawn in axes\_b (start=(3.0, 0.0), end=(3.0, 2.28), dashed=True); band — an AreaUnder \[red\] drawn in axes\_b (x\_range=(1.0, 3.0), target='curve\_b')

Actions:
- [09:51.379](https://academa.ai/lectures/accumulation-and-rate-of-change?t=591.3792291666666): same is shown on the screen, written out.

##### [09:55.451](https://academa.ai/lectures/accumulation-and-rate-of-change?t=595.4507291666666)

Narration: So big F and our area function A have exactly the same derivative, everywhere, whatever big F happens to be.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [09:59.689](https://academa.ai/lectures/accumulation-and-rate-of-change?t=599.6892291666667): same is shown on the screen, written out.
- [10:3.915](https://academa.ai/lectures/accumulation-and-rate-of-change?t=603.9147291666666): axes\_b moves to a new place on the board.
- [10:3.915](https://academa.ai/lectures/accumulation-and-rate-of-change?t=603.9147291666666): h\_back is hidden from the screen — left the board.
- [10:3.915](https://academa.ai/lectures/accumulation-and-rate-of-change?t=603.9147291666666): same is hidden from the screen — left the board.

##### [10:4.915](https://academa.ai/lectures/accumulation-and-rate-of-change?t=604.9147291666666)

Narration: Which raises a fair question. How different can two functions with the same derivative actually be? Let me draw one of them over here. This is big F, and its slope at every point is the height of the curve beside it.

Board: axes\_b — an Axes (x\_range=(0.0, 4.0), y\_range=(0.0, 3.8), x\_ticks\_every=1.0); curve\_b — a FunctionPlot \[blue\] drawn in axes\_b (function=\<function\>, x\_range=(0.0, 4.0)); line\_a — a Line \[green\] labelled "a" drawn in axes\_b (start=(1.0, 0.0), end=(1.0, 2.3200000000000003), dashed=True); line\_b — a Line \[green\] labelled "b" drawn in axes\_b (start=(3.0, 0.0), end=(3.0, 2.28), dashed=True); band — an AreaUnder \[red\] drawn in axes\_b (x\_range=(1.0, 3.0), target='curve\_b')

Actions:
- [10:4.915](https://academa.ai/lectures/accumulation-and-rate-of-change?t=604.9147291666666): h\_const is shown on the screen, written out.
- [10:6.319](https://academa.ai/lectures/accumulation-and-rate-of-change?t=606.3192291666667): lbl\_rate is shown on the screen, written out.
- [10:11.788](https://academa.ai/lectures/accumulation-and-rate-of-change?t=611.7882291666667): lbl\_family is shown on the screen, written out.
- [10:11.788](https://academa.ai/lectures/accumulation-and-rate-of-change?t=611.7882291666667): axes\_F is shown on the screen, written out.
- [10:13.309](https://academa.ai/lectures/accumulation-and-rate-of-change?t=613.3092291666667): F\_mid is shown on the screen, drawn.

##### [10:18.46](https://academa.ai/lectures/accumulation-and-rate-of-change?t=618.4597291666666)

Narration: Now take a copy of it, and lift the whole copy upward. Every point goes up by the same amount, so the curve keeps its shape exactly. At every x it is still leaning the way it was leaning. Its slope has not changed anywhere.

Board: axes\_b — an Axes (x\_range=(0.0, 4.0), y\_range=(0.0, 3.8), x\_ticks\_every=1.0); curve\_b — a FunctionPlot \[blue\] drawn in axes\_b (function=\<function\>, x\_range=(0.0, 4.0)); line\_a — a Line \[green\] labelled "a" drawn in axes\_b (start=(1.0, 0.0), end=(1.0, 2.3200000000000003), dashed=True); line\_b — a Line \[green\] labelled "b" drawn in axes\_b (start=(3.0, 0.0), end=(3.0, 2.28), dashed=True); band — an AreaUnder \[red\] drawn in axes\_b (x\_range=(1.0, 3.0), target='curve\_b'); lbl\_rate — a Tex \[text\] that says "The rate, and the area we want"; lbl\_family — a Tex \[text\] that says "Every antiderivative of it"; axes\_F — an Axes (x\_range=(0.0, 4.0), y\_range=(-2.4, 11.6), x\_ticks\_every=1.0); h\_const — a Heading that says "Where the Constant Comes From"; F\_mid — a FunctionPlot \[blue\] labelled "F" drawn in axes\_F (function=\<function\>, x\_range=(0.0, 4.0))

Actions:
- [10:21.211](https://academa.ai/lectures/accumulation-and-rate-of-change?t=621.2112291666666): F\_up is shown on the screen, drawn.

##### [10:33.143](https://academa.ai/lectures/accumulation-and-rate-of-change?t=633.1427291666666)

Narration: Push a copy downward and you get the same story again. All three of these are antiderivatives of the same little f. There is a whole family of them stacked up the board, and every one of them is parallel to the others.

Board: axes\_b — an Axes (x\_range=(0.0, 4.0), y\_range=(0.0, 3.8), x\_ticks\_every=1.0); curve\_b — a FunctionPlot \[blue\] drawn in axes\_b (function=\<function\>, x\_range=(0.0, 4.0)); line\_a — a Line \[green\] labelled "a" drawn in axes\_b (start=(1.0, 0.0), end=(1.0, 2.3200000000000003), dashed=True); line\_b — a Line \[green\] labelled "b" drawn in axes\_b (start=(3.0, 0.0), end=(3.0, 2.28), dashed=True); band — an AreaUnder \[red\] drawn in axes\_b (x\_range=(1.0, 3.0), target='curve\_b'); lbl\_rate — a Tex \[text\] that says "The rate, and the area we want"; lbl\_family — a Tex \[text\] that says "Every antiderivative of it"; axes\_F — an Axes (x\_range=(0.0, 4.0), y\_range=(-2.4, 11.6), x\_ticks\_every=1.0); h\_const — a Heading that says "Where the Constant Comes From"; F\_mid — a FunctionPlot \[blue\] labelled "F" drawn in axes\_F (function=\<function\>, x\_range=(0.0, 4.0)); F\_up — a FunctionPlot \[yellow\] drawn in axes\_F (function=\<function\>, x\_range=(0.0, 4.0))

Actions:
- [10:34.037](https://academa.ai/lectures/accumulation-and-rate-of-change?t=634.0372291666666): F\_dn is shown on the screen, drawn.

##### [10:47.149](https://academa.ai/lectures/accumulation-and-rate-of-change?t=647.1487291666666)

Narration: And here is where the constant comes from. Measure the gap between two of them at x equals a. Now measure it again over at x equals b. It is the same gap. It is the same gap everywhere, and that gap is the number we call C.

Board: axes\_b — an Axes (x\_range=(0.0, 4.0), y\_range=(0.0, 3.8), x\_ticks\_every=1.0); curve\_b — a FunctionPlot \[blue\] drawn in axes\_b (function=\<function\>, x\_range=(0.0, 4.0)); line\_a — a Line \[green\] labelled "a" drawn in axes\_b (start=(1.0, 0.0), end=(1.0, 2.3200000000000003), dashed=True); line\_b — a Line \[green\] labelled "b" drawn in axes\_b (start=(3.0, 0.0), end=(3.0, 2.28), dashed=True); band — an AreaUnder \[red\] drawn in axes\_b (x\_range=(1.0, 3.0), target='curve\_b'); lbl\_rate — a Tex \[text\] that says "The rate, and the area we want"; lbl\_family — a Tex \[text\] that says "Every antiderivative of it"; axes\_F — an Axes (x\_range=(0.0, 4.0), y\_range=(-2.4, 11.6), x\_ticks\_every=1.0); h\_const — a Heading that says "Where the Constant Comes From"; F\_mid — a FunctionPlot \[blue\] labelled "F" drawn in axes\_F (function=\<function\>, x\_range=(0.0, 4.0)); F\_up — a FunctionPlot \[yellow\] drawn in axes\_F (function=\<function\>, x\_range=(0.0, 4.0)); F\_dn — a FunctionPlot \[green\] drawn in axes\_F (function=\<function\>, x\_range=(0.0, 4.0))

Actions:
- [10:50.318](https://academa.ai/lectures/accumulation-and-rate-of-change?t=650.3182291666666): gap\_a is shown on the screen, written out.
- [10:54.324](https://academa.ai/lectures/accumulation-and-rate-of-change?t=654.3242291666667): gap\_b is shown on the screen, written out.

##### [11:3.533](https://academa.ai/lectures/accumulation-and-rate-of-change?t=663.5327291666666)

Narration: So two antiderivatives of one function differ by a constant, and only by a constant. Big F of x is our area function A of x, plus some fixed number C. Now watch what that does the moment we subtract.

Board: axes\_b — an Axes (x\_range=(0.0, 4.0), y\_range=(0.0, 3.8), x\_ticks\_every=1.0); curve\_b — a FunctionPlot \[blue\] drawn in axes\_b (function=\<function\>, x\_range=(0.0, 4.0)); line\_a — a Line \[green\] labelled "a" drawn in axes\_b (start=(1.0, 0.0), end=(1.0, 2.3200000000000003), dashed=True); line\_b — a Line \[green\] labelled "b" drawn in axes\_b (start=(3.0, 0.0), end=(3.0, 2.28), dashed=True); band — an AreaUnder \[red\] drawn in axes\_b (x\_range=(1.0, 3.0), target='curve\_b'); lbl\_rate — a Tex \[text\] that says "The rate, and the area we want"; lbl\_family — a Tex \[text\] that says "Every antiderivative of it"; axes\_F — an Axes (x\_range=(0.0, 4.0), y\_range=(-2.4, 11.6), x\_ticks\_every=1.0); h\_const — a Heading that says "Where the Constant Comes From"; F\_mid — a FunctionPlot \[blue\] labelled "F" drawn in axes\_F (function=\<function\>, x\_range=(0.0, 4.0)); F\_up — a FunctionPlot \[yellow\] drawn in axes\_F (function=\<function\>, x\_range=(0.0, 4.0)); F\_dn — a FunctionPlot \[green\] drawn in axes\_F (function=\<function\>, x\_range=(0.0, 4.0)); gap\_a — a Line \[magenta\] labelled "C" drawn in axes\_F (start=(1.0, 2.623333333333333), end=(1.0, 4.223333333333333)); gap\_b — a Line \[magenta\] labelled "C" drawn in axes\_F (start=(3.0, 6.93), end=(3.0, 8.53))

Actions:
- [11:19.136](https://academa.ai/lectures/accumulation-and-rate-of-change?t=679.1362291666667): axes\_F is hidden from the screen — left the board.
- [11:19.136](https://academa.ai/lectures/accumulation-and-rate-of-change?t=679.1362291666667): F\_mid is hidden from the screen — axes\_F left the board.
- [11:19.136](https://academa.ai/lectures/accumulation-and-rate-of-change?t=679.1362291666667): F\_up is hidden from the screen — axes\_F left the board.
- [11:19.136](https://academa.ai/lectures/accumulation-and-rate-of-change?t=679.1362291666667): F\_dn is hidden from the screen — axes\_F left the board.
- [11:19.136](https://academa.ai/lectures/accumulation-and-rate-of-change?t=679.1362291666667): gap\_a is hidden from the screen — axes\_F left the board.
- [11:19.136](https://academa.ai/lectures/accumulation-and-rate-of-change?t=679.1362291666667): gap\_b is hidden from the screen — axes\_F left the board.
- [11:19.136](https://academa.ai/lectures/accumulation-and-rate-of-change?t=679.1362291666667): axes\_b is hidden from the screen — left the board.
- [11:19.136](https://academa.ai/lectures/accumulation-and-rate-of-change?t=679.1362291666667): curve\_b is hidden from the screen — axes\_b left the board.
- [11:19.136](https://academa.ai/lectures/accumulation-and-rate-of-change?t=679.1362291666667): line\_a is hidden from the screen — axes\_b left the board.
- [11:19.136](https://academa.ai/lectures/accumulation-and-rate-of-change?t=679.1362291666667): line\_b is hidden from the screen — axes\_b left the board.
- [11:19.136](https://academa.ai/lectures/accumulation-and-rate-of-change?t=679.1362291666667): band is hidden from the screen — axes\_b left the board.
- [11:19.136](https://academa.ai/lectures/accumulation-and-rate-of-change?t=679.1362291666667): h\_const is hidden from the screen — left the board.
- [11:19.136](https://academa.ai/lectures/accumulation-and-rate-of-change?t=679.1362291666667): lbl\_family is hidden from the screen — left the board.
- [11:19.136](https://academa.ai/lectures/accumulation-and-rate-of-change?t=679.1362291666667): lbl\_rate is hidden from the screen — left the board.

##### [11:20.336](https://academa.ai/lectures/accumulation-and-rate-of-change?t=680.3362291666666)

Narration: Start from the line we just earned. Big F of x is A of x, plus C.

Board: Empty.

Actions:
- [11:20.336](https://academa.ai/lectures/accumulation-and-rate-of-change?t=680.3362291666666): h\_sub is shown on the screen, written out.
- [11:22.977](https://academa.ai/lectures/accumulation-and-rate-of-change?t=682.9772291666666): fact is shown on the screen, written out.

##### [11:26.993](https://academa.ai/lectures/accumulation-and-rate-of-change?t=686.9932291666667)

Narration: That is true at every single x, so in particular it is true at b. Big F of b is A of b, plus C.

Board: fact — a Math \[text\] that says "$F(x) = A(x) + C$"; h\_sub — a Heading that says "Subtract, and Watch C Go"

Actions:
- [11:29.587](https://academa.ai/lectures/accumulation-and-rate-of-change?t=689.5872291666666): difference is shown on the screen, written out.

##### [11:35.579](https://academa.ai/lectures/accumulation-and-rate-of-change?t=695.5787291666666)

Narration: And it is just as true at a. Big F of a is A of a, plus C. The very same C both times, because it is the very same big F both times.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [11:36.385](https://academa.ai/lectures/accumulation-and-rate-of-change?t=696.3852291666666): difference is shown on the screen, written out.

##### [11:46.829](https://academa.ai/lectures/accumulation-and-rate-of-change?t=706.8292291666667)

Narration: Now take the second of those two lines away from the first, exactly the way you would take one number off another. So rule a line underneath them both.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [11:53.876](https://academa.ai/lectures/accumulation-and-rate-of-change?t=713.8762291666667): difference is shown on the screen, drawn.
- [11:54.676](https://academa.ai/lectures/accumulation-and-rate-of-change?t=714.6762291666666): difference is shown on the screen, drawn.

##### [11:57.366](https://academa.ai/lectures/accumulation-and-rate-of-change?t=717.3662291666666)

Narration: And there is the whole trick, standing one above the other at the end of those two lines. Plus C on the top, plus C underneath. The same unknown number added on and then taken straight back off. So slash the pair of them out, and whatever C was, it has gone.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [12:11.089](https://academa.ai/lectures/accumulation-and-rate-of-change?t=731.0892291666667): difference (the "C" part) is slashed through — it cancels.
- [12:11.089](https://academa.ai/lectures/accumulation-and-rate-of-change?t=731.0892291666667): difference (the "C" part) is slashed through — it cancels.

##### [12:16.973](https://academa.ai/lectures/accumulation-and-rate-of-change?t=736.9727291666666)

Narration: So what survives on the right is A of b minus A of a. The constant has gone, and it was always going to go, whichever antiderivative you had picked up in the first place.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [12:17.739](https://academa.ai/lectures/accumulation-and-rate-of-change?t=737.7392291666666): difference is shown on the screen, written out.

##### [12:28.914](https://academa.ai/lectures/accumulation-and-rate-of-change?t=748.9137291666666)

Narration: And A of b minus A of a is exactly the area under f between a and b. Which, in the notation we built at the start of this scene, is the integral of f from a to b. So there is the bottom line. Let me write it out properly, because that is the theorem.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [12:35.949](https://academa.ai/lectures/accumulation-and-rate-of-change?t=755.9492291666667): closing is shown on the screen, written out.
- [12:47.095](https://academa.ai/lectures/accumulation-and-rate-of-change?t=767.0952291666666): closing is hidden from the screen — left the board.
- [12:47.095](https://academa.ai/lectures/accumulation-and-rate-of-change?t=767.0952291666666): difference is hidden from the screen — left the board.
- [12:47.095](https://academa.ai/lectures/accumulation-and-rate-of-change?t=767.0952291666666): fact is hidden from the screen — left the board.
- [12:47.095](https://academa.ai/lectures/accumulation-and-rate-of-change?t=767.0952291666666): h\_sub is hidden from the screen — left the board.

##### [12:48.295](https://academa.ai/lectures/accumulation-and-rate-of-change?t=768.2952291666666)

Narration: So there it is, in a single line. The integral of f from a to b equals big F of b, minus big F of a, where big F is any antiderivative of f.

Board: Empty.

Actions:
- [12:48.295](https://academa.ai/lectures/accumulation-and-rate-of-change?t=768.2952291666666): h\_ftc is shown on the screen, written out.
- [12:51.894](https://academa.ai/lectures/accumulation-and-rate-of-change?t=771.8942291666667): ftc2 is shown on the screen, written out.
- [12:58.709](https://academa.ai/lectures/accumulation-and-rate-of-change?t=778.7092291666667): ftc\_note is shown on the screen, written out.

##### [13:0.842](https://academa.ai/lectures/accumulation-and-rate-of-change?t=780.8417291666666)

Narration: That is the Fundamental Theorem of Calculus, and it is the reason integration is something you can actually sit down and do. To find an area, you no longer add up rectangles. You find a function whose derivative is the one you started with, and subtract at the two ends.

Board: ftc2 — a Math \[text\] that says "$integral\_a^b f(x) dif x = F(b) - F(a)$"; ftc\_note — a Text \[text\] that says "where $F$ is any antiderivative of $f$, that is, any function at all whose derivative is $f$."; h\_ftc — a Heading that says "The Fundamental Theorem"

Actions:
- [13:1.701](https://academa.ai/lectures/accumulation-and-rate-of-change?t=781.7012291666666): A box is drawn around ftc2.
- [13:17.889](https://academa.ai/lectures/accumulation-and-rate-of-change?t=797.8895): ftc2 is hidden from the screen — left the board.
- [13:17.889](https://academa.ai/lectures/accumulation-and-rate-of-change?t=797.8895): ftc\_note is hidden from the screen — left the board.
- [13:17.889](https://academa.ai/lectures/accumulation-and-rate-of-change?t=797.8895): h\_ftc is hidden from the screen — left the board.

### Scene 5: [Area Under a Parabola](https://academa.ai/lectures/accumulation-and-rate-of-change?t=798.9311666666666)

Span: 13:18.931–15:41.753 (798.9311666666666s–941.7526041666666s).

#### Objects

- axes\_p: an Axes (x\_range=(0.0, 2.4), y\_range=(0.0, 4.4), x\_ticks\_every=1.0)
- box\_check: a Polygon \[gray\] drawn in axes\_p (vertices=((0.0, 0.0), (2.0, 0.0), (2.0, 4.0), (0.0, 4.0)), filled=False, dashed=True)
- ftc1\_final: a Math \[text\] that says "$frac(dif, dif x) integral\_a^x f(t) dif t = f(x)$"
- ftc2\_final: a Math \[text\] that says "$integral\_a^b F'(x) dif x = F(b) - F(a)$"
- guess: a Math \[text\] that says "$F(x) = frac(x^3, 3)$"
- guesswork: a Derivation \[text\] that says "$frac(dif, dif x) x^3 &= 3 x^2 \\ frac(dif, dif x) frac(x^3, 3) &= frac(3 x^2, 3) = x^2$"
- h\_sum: a Heading that says "Two Halves of One Idea"
- ladder: a Derivation \[text\] that says "$integral\_0^2 x^2 dif x &= F(2) - F(0) \\ &= frac(2^3, 3) - frac(0^3, 3) \\ &= frac(8, 3) approx 2.67$"
- lbl\_left: a Tex \[text\] that says "Differentiate an accumulation"
- lbl\_right: a Tex \[text\] that says "Add up a rate"
- old\_bars: a RiemannRectangles \[blue\] drawn in axes\_p (rectangle\_count=8, x\_range=(0.0, 2.0), opacity=0.5)
- para: a FunctionPlot \[blue\] labelled "y = x^2" drawn in axes\_p (function=\<function\>, x\_range=(0.0, 2.0))
- problem: a Tex \[text\] that says "Find the area under $y = x^2$, from $x = 0$ to $x = 2$."
- shade: an AreaUnder \[red\] drawn in axes\_p (x\_range=(0.0, 2.0), target='para')

#### Beats

##### [13:18.931](https://academa.ai/lectures/accumulation-and-rate-of-change?t=798.9311666666666)

Narration: Let's spend it on a problem you cannot do with geometry. Here is y equals x squared, and here is the piece of it we want: everything under the curve between zero and two.

Board: Empty.

Actions:
- [13:18.931](https://academa.ai/lectures/accumulation-and-rate-of-change?t=798.9311666666666): problem is shown on the screen, written out.
- [13:18.931](https://academa.ai/lectures/accumulation-and-rate-of-change?t=798.9311666666666): axes\_p is shown on the screen, written out.
- [13:18.931](https://academa.ai/lectures/accumulation-and-rate-of-change?t=798.9311666666666): para is shown on the screen, drawn.
- [13:26.64](https://academa.ai/lectures/accumulation-and-rate-of-change?t=806.6401666666666): shade is shown on the screen, written out.

##### [13:29.893](https://academa.ai/lectures/accumulation-and-rate-of-change?t=809.8926666666666)

Narration: The old route uses thin bars like these, then takes a limit. That is real work, because this is not a triangle, a rectangle, a circle, or any other shape with a school formula.

Board: axes\_p — an Axes (x\_range=(0.0, 2.4), y\_range=(0.0, 4.4), x\_ticks\_every=1.0); problem — a Tex \[text\] that says "Find the area under $y = x^2$, from $x = 0$ to $x = 2$."; para — a FunctionPlot \[blue\] labelled "y = x^2" drawn in axes\_p (function=\<function\>, x\_range=(0.0, 2.0)); shade — an AreaUnder \[red\] drawn in axes\_p (x\_range=(0.0, 2.0), target='para')

Actions:
- [13:31.35](https://academa.ai/lectures/accumulation-and-rate-of-change?t=811.3501666666666): old\_bars is shown on the screen, written out.

##### [13:41.958](https://academa.ai/lectures/accumulation-and-rate-of-change?t=821.9576666666667)

Narration: By the new route you need exactly one thing. Some function whose derivative is x squared. So let us go and find one.

Board: axes\_p — an Axes (x\_range=(0.0, 2.4), y\_range=(0.0, 4.4), x\_ticks\_every=1.0); problem — a Tex \[text\] that says "Find the area under $y = x^2$, from $x = 0$ to $x = 2$."; para — a FunctionPlot \[blue\] labelled "y = x^2" drawn in axes\_p (function=\<function\>, x\_range=(0.0, 2.0)); shade — an AreaUnder \[red\] drawn in axes\_p (x\_range=(0.0, 2.0), target='para'); old\_bars — a RiemannRectangles \[blue\] drawn in axes\_p (rectangle\_count=8, x\_range=(0.0, 2.0), opacity=0.5)

Actions:
- [13:41.958](https://academa.ai/lectures/accumulation-and-rate-of-change?t=821.9576666666667): old\_bars is hidden from the screen.

##### [13:50.919](https://academa.ai/lectures/accumulation-and-rate-of-change?t=830.9191666666666)

Narration: Start by guessing. Differentiate x cubed, and you get three x squared. Write that down, because it is nearly right.

Board: axes\_p — an Axes (x\_range=(0.0, 2.4), y\_range=(0.0, 4.4), x\_ticks\_every=1.0); problem — a Tex \[text\] that says "Find the area under $y = x^2$, from $x = 0$ to $x = 2$."; para — a FunctionPlot \[blue\] labelled "y = x^2" drawn in axes\_p (function=\<function\>, x\_range=(0.0, 2.0)); shade — an AreaUnder \[red\] drawn in axes\_p (x\_range=(0.0, 2.0), target='para')

Actions:
- [13:57.154](https://academa.ai/lectures/accumulation-and-rate-of-change?t=837.1541666666666): axes\_p moves to a new place on the board.
- [13:57.154](https://academa.ai/lectures/accumulation-and-rate-of-change?t=837.1541666666666): guesswork is shown on the screen, written out.

##### [14:0.796](https://academa.ai/lectures/accumulation-and-rate-of-change?t=840.7956666666666)

Narration: It is three times too big. So divide the whole thing by three before you differentiate it. Now the three on top and the three underneath are the same three, and what comes out is exactly x squared.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [14:3.686](https://academa.ai/lectures/accumulation-and-rate-of-change?t=843.6861666666666): guesswork is shown on the screen, written out.

##### [14:13.83](https://academa.ai/lectures/accumulation-and-rate-of-change?t=853.8296666666666)

Narration: So there is our big F. F of x is x cubed over three, and its derivative is the x squared we started with.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [14:14.317](https://academa.ai/lectures/accumulation-and-rate-of-change?t=854.3171666666666): guess is shown on the screen, written out.

##### [14:23.291](https://academa.ai/lectures/accumulation-and-rate-of-change?t=863.2906666666667)

Narration: Now the theorem does the rest. The integral from zero to two of x squared, dee x, is F at two minus F at zero.

Board: guess — a Math \[text\] that says "$F(x) = frac(x^3, 3)$"; axes\_p — an Axes (x\_range=(0.0, 2.4), y\_range=(0.0, 4.4), x\_ticks\_every=1.0); problem — a Tex \[text\] that says "Find the area under $y = x^2$, from $x = 0$ to $x = 2$."; para — a FunctionPlot \[blue\] labelled "y = x^2" drawn in axes\_p (function=\<function\>, x\_range=(0.0, 2.0)); shade — an AreaUnder \[red\] drawn in axes\_p (x\_range=(0.0, 2.0), target='para')

Actions:
- [14:24.01](https://academa.ai/lectures/accumulation-and-rate-of-change?t=864.0101666666667): ladder is shown on the screen, written out.

##### [14:33.272](https://academa.ai/lectures/accumulation-and-rate-of-change?t=873.2716666666666)

Narration: F at two is two cubed over three. F at zero is zero. Take the second one away from the first.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [14:35.059](https://academa.ai/lectures/accumulation-and-rate-of-change?t=875.0591666666667): ladder is shown on the screen, written out.

##### [14:42.08](https://academa.ai/lectures/accumulation-and-rate-of-change?t=882.0796666666666)

Narration: And what is left is eight thirds, which is about two point six seven. That is the exact area under the parabola, and we got it by differentiating backwards. No rectangles, no limits, three lines of algebra.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [14:42.846](https://academa.ai/lectures/accumulation-and-rate-of-change?t=882.8461666666666): ladder is shown on the screen, written out.
- [14:47.025](https://academa.ai/lectures/accumulation-and-rate-of-change?t=887.0251666666666): A box is drawn around ladder.

##### [14:56.484](https://academa.ai/lectures/accumulation-and-rate-of-change?t=896.4836666666666)

Narration: Does that number look sensible? The region sits inside this two by four rectangle, which has area eight, and by eye the shaded part is about a third of it. Two point six seven out of eight. That checks out.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [15:1.279](https://academa.ai/lectures/accumulation-and-rate-of-change?t=901.2791666666666): box\_check is shown on the screen, written out.
- [15:10.254](https://academa.ai/lectures/accumulation-and-rate-of-change?t=910.2536666666666): axes\_p is hidden from the screen — left the board.
- [15:10.254](https://academa.ai/lectures/accumulation-and-rate-of-change?t=910.2536666666666): para is hidden from the screen — axes\_p left the board.
- [15:10.254](https://academa.ai/lectures/accumulation-and-rate-of-change?t=910.2536666666666): shade is hidden from the screen — axes\_p left the board.
- [15:10.254](https://academa.ai/lectures/accumulation-and-rate-of-change?t=910.2536666666666): box\_check is hidden from the screen — axes\_p left the board.
- [15:10.254](https://academa.ai/lectures/accumulation-and-rate-of-change?t=910.2536666666666): guess is hidden from the screen — left the board.
- [15:10.254](https://academa.ai/lectures/accumulation-and-rate-of-change?t=910.2536666666666): guesswork is hidden from the screen — left the board.
- [15:10.254](https://academa.ai/lectures/accumulation-and-rate-of-change?t=910.2536666666666): ladder is hidden from the screen — left the board.
- [15:10.254](https://academa.ai/lectures/accumulation-and-rate-of-change?t=910.2536666666666): problem is hidden from the screen — left the board.

##### [15:11.454](https://academa.ai/lectures/accumulation-and-rate-of-change?t=911.4536666666665)

Narration: So here are the two halves of one idea. On the left, differentiate an accumulation, and you get back the rate you were accumulating at. On the right, to total up a rate across an interval, find something that differentiates to it, and subtract at the two ends.

Board: Empty.

Actions:
- [15:11.454](https://academa.ai/lectures/accumulation-and-rate-of-change?t=911.4536666666665): h\_sum is shown on the screen, written out.
- [15:15.18](https://academa.ai/lectures/accumulation-and-rate-of-change?t=915.1801666666667): lbl\_left is shown on the screen, written out.
- [15:15.18](https://academa.ai/lectures/accumulation-and-rate-of-change?t=915.1801666666667): ftc1\_final is shown on the screen, written out.
- [15:21.368](https://academa.ai/lectures/accumulation-and-rate-of-change?t=921.3681666666666): lbl\_right is shown on the screen, written out.
- [15:21.368](https://academa.ai/lectures/accumulation-and-rate-of-change?t=921.3681666666666): ftc2\_final is shown on the screen, written out.

##### [15:29.712](https://academa.ai/lectures/accumulation-and-rate-of-change?t=929.7121666666666)

Narration: Area and slope are not two separate subjects that happen to share a course. They are one machine, run in the two directions. That is the Fundamental Theorem of Calculus.

Board: lbl\_left — a Tex \[text\] that says "Differentiate an accumulation"; ftc1\_final — a Math \[text\] that says "$frac(dif, dif x) integral\_a^x f(t) dif t = f(x)$"; lbl\_right — a Tex \[text\] that says "Add up a rate"; ftc2\_final — a Math \[text\] that says "$integral\_a^b F'(x) dif x = F(b) - F(a)$"; h\_sum — a Heading that says "Two Halves of One Idea"

Actions:
- [15:35.436](https://academa.ai/lectures/accumulation-and-rate-of-change?t=935.4361666666666): ftc1\_final is indicated — a transient flash.
- [15:35.436](https://academa.ai/lectures/accumulation-and-rate-of-change?t=935.4361666666666): ftc2\_final is indicated — a transient flash.
- [15:40.711](https://academa.ai/lectures/accumulation-and-rate-of-change?t=940.7109375): ftc1\_final is hidden from the screen — left the board.
- [15:40.711](https://academa.ai/lectures/accumulation-and-rate-of-change?t=940.7109375): ftc2\_final is hidden from the screen — left the board.
- [15:40.711](https://academa.ai/lectures/accumulation-and-rate-of-change?t=940.7109375): h\_sum is hidden from the screen — left the board.
- [15:40.711](https://academa.ai/lectures/accumulation-and-rate-of-change?t=940.7109375): lbl\_left is hidden from the screen — left the board.
- [15:40.711](https://academa.ai/lectures/accumulation-and-rate-of-change?t=940.7109375): lbl\_right is hidden from the screen — left the board.
