The derivative of an integral with x in the limits
To differentiate when is continuous, put in place of in the integrand: the derivative is . If the upper limit is a function , multiply by , and if both limits depend on , subtract the lower limit's term from the upper limit's: .
Part 1 of the Fundamental Theorem
If is continuous on an open interval that contains , then the accumulation function
is differentiable on that interval, and
- is a dummy variable. The integration uses it up; the answer is a function of alone.
- The constant does not appear in the answer. Moving the lower limit adds a constant to , and a constant differentiates to zero.
- No antiderivative is needed. The theorem works just as well for , which has no antiderivative built from the usual functions, as it does for .
Why it is true
- Moving the upper limit from to adds one thin strip of area:
- By the Mean Value Theorem for Integrals, that strip equals a rectangle whose height is a value of inside it: for some between and ,
- Divide by : .
- As , is squeezed onto . Since is continuous, , and that limit is .
In words: the area grows at a rate equal to the height of the graph at the moving edge.
When the upper limit is a function of x
If , then is the accumulation function above, evaluated at : . The chain rule gives
Substitute the upper limit into the integrand, then multiply by the derivative of the upper limit.
Worked example
Find for , where .
- The upper limit is , so .
- Substitute it into the integrand: .
- Multiply:
No antiderivative of was needed, which is fortunate, since none can be written in terms of the usual functions.
When both limits depend on x
Split the integral at any constant in an interval where is continuous and that contains both limits, so that each piece has a constant lower limit:
Each piece is the case above, so
- The constant has vanished, so you never have to choose one. The split only shows where the formula comes from.
- A constant limit has derivative 0, so its term drops out. With only the lower limit moving, the derivative is : the minus sign belongs to the lower limit.
- The formula needs continuous on an interval containing every value the two limits take. If the integrand blows up between the limits, the integral is improper and this is not the tool.
Worked example
Find for , and its value at .
- Upper limit: , so , and the integrand there is .
- Lower limit: , so , and the integrand there is .
- Upper term minus lower term:
- At : .
Each limit brings its own derivative as a factor, and the lower limit's term is subtracted. Two slips are the usual ones. One is substituting the limits into the integrand and stopping, which loses and . The other is adding the lower limit's term when it should be subtracted.
When x is inside the integrand as well
Everything above assumes the integrand contains only. If appears inside too, move it out first. While runs between the limits, stays fixed, so for the integral it is a constant:
That is a product, and the product rule comes before Part 1:
The first term stays an integral. Nothing asks for it to be evaluated, and it could not be in elementary terms anyway.
Check your understanding
No calculator needed.
- Find .
- Find .
- True or false: if and are constants, the derivative of with respect to is . Explain.
- Find .
- Let . Find .
- To differentiate , where is continuous everywhere, one student splits the integral at and another at . Which of them gets the right derivative, and why?
- Let . Find , and explain why is not the answer.
Show the answers
- . The integrand is continuous everywhere and the upper limit is plain , so Part 1 applies directly: replace by .
- . Substitute for , then multiply by the derivative of the upper limit, which is 5.
- False: the derivative is 0. With two constant limits the integral is a single number, and a number does not change with . The expression mixes up the two parts of the theorem: Part 2 evaluates the integral as , with an antiderivative , not with .
- . Only the lower limit moves, so the derivative is . As a check, is an antiderivative of , and differentiating gives the same.
- . , so .
- Both, and they get the same answer, . Moving the split point from 0 to 7 changes each piece by the same constant, , and a constant differentiates to 0.
- . Since is constant while varies, , and the product rule gives two terms. The answer differentiates only the integral, treating the factor in front as if it did not change.
Practise it
The free CEGEP Calculus II worksheet on the definite integral and the Fundamental Theorem has a sheet of Part 1 derivatives, including an upper limit of and as the lower limit, alongside Part 2, Riemann sums and average value. For the chain rule itself, the Calculus I differentiation rules worksheet is the place to start.
Want one-on-one help with this? I offer CEGEP Science calculus and linear algebra tutoring in Montreal, in person or online. Sessions start with a short written diagnostic, and a written recap goes to whoever books after every session.