How do I differentiate an integral with a variable upper limit?
Use as the amount so far, write (the Fundamental Theorem), and differentiate with a moving upper end.
- The amount so far: . With : , , and . moves, fills in: an accumulation function.
- One thin strip more: is the strip of width . rising: . Divide by ; and continuous: .
- continuous: , the Fundamental Theorem of Calculus. Write first.
- Area to is , so the area to is (same number with or inside: is the end, so ). : .
- A moving end: , so . In general .
t left in, or the long way
Common mistake ; or work out the integral first.
Correction Put where was: . No integrating: one line.
The area so far
Let's make it concrete. Take the rate f of t equals t plus one, and start piling up at zero. Stop at two, and you get a trapezoid with sides one and three, width two. Average the sides, times the width: four. Slide the right wall out to four.
That adds a trapezoid with sides three and five, width two: eight more.
Watch this part of the concept lesson
Read the rest of this scene
Four plus eight, twelve. Now stop at any x. Same trapezoid: it has sides one and x plus one, and width x. Multiply it out: x squared over two, plus x. That's the area so far, from zero up to x.
That's our F of x. In symbols: F of x is the integral from zero to x of f of t, d t. The t runs along the bottom; x is where we stop. Now graph F itself, on its own axes. It passes through two comma four, and four comma twelve: the exact areas we just found.
As x slides forward, the area piles up with it. That's why F is called an accumulation function. Quick check. Take the derivative of F: x plus one. That's our rate line, f. Coincidence? Hold that thought.
Why F prime equals f
Now, why? Keep F of x, the area under f from zero up to x. Here it's the purple area. Nudge the right wall a tiny bit further, to x plus h. F of x plus h is the same purple area, plus one new strip. Subtract F of x.
The purple part cancels, and only the strip is left. By strip, I mean a very thin slice, just h wide, almost a rectangle. Zoom in on that strip. Since f is rising here, the shortest height is on the left, f of x, and the tallest is on the right, f of x plus h. So the strip is trapped between two rectangles.
The short rectangle is less than or equal to the strip, which is less than or equal to the tall one.
Watch this part of the concept lesson
Read the rest of this scene
Divide all three pieces by the width, h. The short one becomes f of x, the middle becomes this difference quotient, and the tall one becomes f of x plus h. Recognize the middle? As h goes to zero, it's the definition of the derivative, F prime of x. But why does the middle have to land on f of x?
Because f is continuous, as h shrinks, f of x plus h slides right down to f of x. Both outside pieces go to f of x, so the middle is squeezed: F prime of x equals f of x. How fast is the area growing right now? Exactly as fast as the curve is tall at the moving edge.
Any starting point a
What if the integral doesn't start at zero, but at some fixed number a? Area from zero to x: F of x. Area from zero to a: F of a. Since a never moves, that's just a fixed number. Chop the zero-to-a piece off the zero-to-x area, and what's left is the area from a to x.
Why the variable t inside? Because x is already taken: it's the moving end. And the variable inside never changes the number: from a to b, f of x d x and f of t d t give the same value.
Watch this part of the concept lesson
Read the rest of this scene
Now take d d x of both sides of the green line. F of x gives f of x, and F of a, a fixed number, gives zero. So, if f is continuous, the derivative of the integral from a to x of f of t d t is f of x, for any fixed start a. That's the Fundamental Theorem of Calculus, this part of it: an integral with a moving end, differentiated, gives back the height. No formula for the area?
It doesn't matter. The derivative of the integral from zero to x of e to the negative t squared is e to the negative x squared.
When the top end is x squared
Now the twist: the derivative of the integral from zero to x squared of t plus one, d t. The top end is x squared, not x. What changes? Name the pieces first. Inside, f of t equals t plus one. The top end is x squared.
With F, the area from zero, this is the area up to x squared minus the area up to zero: F of x squared minus F of zero.
Watch this part of the concept lesson
Read the rest of this scene
Differentiate both sides. F of x squared needs the chain rule: F prime of x squared, times two x. F of zero is a number, so zero. And F prime is f, so that's f of x squared times two x: x squared plus one, times two x. Check it with our area formula.
F of x squared is x to the fourth over two, plus x squared. Its derivative is two x cubed plus two x. It's the same. So here's the rule whenever the top is a function of x: plug the top into f, then multiply by the top's derivative. And if both ends move? Same move: F of the top minus F of the bottom.
Differentiate: f of u times u prime, minus f of v times v prime. Two terms, one move.
Example 1: value, slope, tangent line
Example one. F of x is the integral from two to x of the square root of t squared plus five, d t. Find F of two, F prime of two, the tangent line at x equals two, and F double prime of two. Part a. The plan: same ends give zero area. The theorem gives F prime in one step. Then a point and a slope give the line.
F of two runs from two to two: zero width, so zero area. The square root of t squared plus five is continuous everywhere, so the theorem applies. F prime of x equals the square root of x squared plus five.
Watch this part of the concept lesson
Read the rest of this scene
Write this line before any numbers. Now plug in two: the square root of nine, three. So the point is two comma zero, and the slope is three. Point-slope form: y equals zero plus three times x minus two. Part b. F double prime is the derivative of F prime.
So start from F prime of x, x squared plus five to the one half. Chain rule: one half, times x squared plus five to the negative one half, times two x. That cleans up to x over the square root of x squared plus five. At two, it's two over the square root of nine: two thirds. Two more accumulation functions like this are in your workbook, problems two and four.
Example 2: a moving top end
Example two, A. P. style. g of x is the integral from one to x squared of one over one plus t, d t. What is g prime of one? The AP exam often names it g. Same idea as our F.
The plan: name f first, set up F of x squared minus F of one, then differentiate both sides.
Watch this part of the concept lesson
Read the rest of this scene
Here f of t is one over one plus t, and the top end is x squared. With F the area from zero, g of x is F of x squared minus F of one. Differentiate both sides: f of x squared, times two x. F of one is a number, so zero. Plug x squared in for t: one over one plus x squared, times two x.
At x equals one, it's one half times two: one. So the answer is B. Choice A, one half, is what you get if you forget the two x. In the workbook the top keeps changing: sine x, three x, x cubed. Problems one, three, five, and six.
Name f first, every time.
Trap 1: the leftover t
Here's a rushed answer. F of x is the integral from two to x of root t squared plus five. And someone writes F prime of x equals root t squared plus five. The t never got swapped: inside, t has to become the moving end, x. So F prime of x equals root x squared plus five.
Watch this part of the concept lesson
Trap 2: don't integrate it
Another rushed start: you see the derivative of the integral from two to x of root t squared plus five, and you try to integrate root t squared plus five by hand first. Don't. If f is continuous, the derivative undoes the integral in one line. Root x squared plus five. No integrating at all.
Watch this part of the concept lesson
Trap 3: the missing 2x
Third one, with a moving top: the derivative of the integral from zero to x squared of t plus one. Plug in x squared, and stop: x squared plus one. The top is x squared, so the chain rule hands you its derivative. Plug the top in, times its derivative: x squared plus one, times two x.
Watch this part of the concept lesson