Free preview
146 lessons
Essential Calculus for ML
Free preview
Essential Calculus for ML · 146 lessons
No surprise gaps
Actually remember it
Skip what you know
One subscription. All learning paths included.
Our content is best on a larger screen
The accumulation function
A definite integral with both limits fixed is a single number. Suppose instead we hold the lower limit at and let the upper limit move. Each choice of upper limit gives its own number, so this defines a function of the upper limit.
Definition
For a continuous function and a fixed number , the accumulation function with base point is
the net signed area accumulated from up to .
The upper limit is now the input , so the variable of integration inside needs a different letter, and we use . It is a dummy variable: the choice of letter changes nothing about the value, it only keeps the two roles apart.
To evaluate at a particular input we integrate from the base point up to that input, so is the net signed area from to . At the base point itself the interval has zero width, so .
Moving to the right adds more signed area to the running total, and each further piece takes its sign from whichever side of the axis is on.
The graph below shows a continuous function . The shaded region above the axis has area , and the shaded region below the axis has area , split into two halves of area by the dashed line at .
For , find , and .
Solution
The base point is , so each value of is the net signed area from up to the input. We take the three inputs in turn, keeping a running total.
For , the interval covers exactly the region above the axis, which has area . Everything here is above the axis, so it contributes positively:
For , we continue from to . That interval adds the left half of the region below the axis, of area . Below the axis the contribution is negative, so we subtract:
For , we add the right half of the same region, again of area and again negative:
Practice questions
5 questions
The graph of a continuous function is shown below, with the area of each shaded region marked.
Let . What are , and ?
Select the correct answer:
+ 4 more questions
Statement of FTC Part 1
Given a function , we have been exploring two questions independently:
The two questions use different machinery and were built for different purposes. We do write for antiderivatives as well as for areas, but nothing so far connects the two ideas; the shared symbol is a convention, not a result.
Astonishingly, they turn out to be the same question. That is the central result of calculus, the Fundamental Theorem of Calculus (FTC), found independently by Newton and by Leibniz in the second half of the seventeenth century. It comes in two halves; this lesson states the first.
The accumulation function, , is what links the two. It is a signed area, and it is built out of , so we can ask what its derivative is.
We can already read this much off the graph of : increases exactly where is positive, decreases exactly where is negative, and is stationary exactly where is zero.
This is the behaviour of a function whose derivative is . In other words, we claim .
The diagram below builds the case for that claim in four steps. Work through them with the buttons, dragging and adjusting as you go.
The shaded region is the signed area accumulated from the base point
Drag
Theorem
If is continuous on an interval containing , then is differentiable on that interval and
We state FTC Part 1 without proof.
So what does it mean? The equation is short, but the idea inside it is not, so it is worth saying plainly what the theorem claims.
Imagine painting a wall as you walk steadily to the right, the wall's height varying along its length. Let be the amount of paint used by the time you reach position . How fast are you getting through paint at this moment? It depends only on how tall the wall is where the brush is: in the next instant you cover a thin vertical strip, as wide as the small step you take and as tall as the wall there. With a tall wall the paint is disappearing quickly; with a low wall you're using barely any.
This is what says. The height of at is the rate at which accumulated area is changing at . Where the curve is high above the axis, area accumulates quickly and climbs steeply. Where the curve is close to the axis, almost nothing is being added and is nearly flat. Where the curve is below the axis, area is being taken away and falls. The height of is never the amount of area accumulated; it is the rate at which that amount changes.
Practice questions
4 questions
Let be continuous and let . Which statement is correct?
Select the correct answer:
+ 3 more questions