Why a Chain Factor Can Go Missing
An integral with a moving endpoint changes when the input changes for two related reasons: the endpoint moves, and the integrand has a value at that endpoint. The Fundamental Theorem of Calculus identifies the integrand value. The chain rule accounts for how quickly the endpoint moves.
The common error is to include the first part and omit the second. For an integral whose upper endpoint is \(g(x)\), the derivative is not generally just the integrand evaluated at \(g(x)\). It must also be multiplied by \(g'(x)\).
The Moving-Endpoint Rule
Let \(f\) be continuous on an interval containing the endpoint values, and let \(g\) be differentiable on an open interval of input values. If \(a\) is fixed, define
Then the Fundamental Theorem of Calculus, together with the chain rule, gives the derivative below. The variable \(t\) is the integration variable; the endpoint that depends on \(x\) is \(g(x)\).
If the moving endpoint is the lower endpoint instead, the orientation of the integral introduces a minus sign. Under the same continuity and differentiability conditions,
More generally, if both endpoints depend differentiably on \(x\), then for continuous \(f\),
The minus sign on the lower-endpoint term expresses the fact that increasing a lower bound removes area from the integral. These formulas require continuity of the integrand at the endpoint values involved and differentiability of the moving endpoints. If those assumptions are not satisfied, the formulas cannot automatically be applied.
Why the Chain Factor Appears
For a fixed lower endpoint \(a\), define an accumulation function \(A\) by integrating from \(a\) to a variable endpoint \(u\). By the Fundamental Theorem of Calculus, \(A\) is differentiable where \(f\) is continuous, and its derivative is the integrand:
The integral with moving endpoint \(g(x)\) is \(A(g(x))\). Differentiating this composition using the chain rule gives the result:
This derivation also shows exactly where the missing factor error comes from. The Fundamental Theorem supplies \(f(g(x))\); the chain rule supplies \(g'(x)\). Both are required unless \(g'(x)=1\).
Worked Examples
Worked Example: A Linear Upper Endpoint
Differentiate
The integrand is \(f(t)=t^2+1\), and the upper endpoint is \(g(x)=3x-1\). Its derivative is
Apply the moving upper-endpoint rule, keeping the endpoint derivative as a separate factor:
To check, an antiderivative of \(t^2+1\) is \(t^3/3+t\). Evaluating the integral gives
Differentiating this expression directly yields
This agrees with the moving-endpoint rule. For an additional value check, at \(x=1\) the endpoint is \(2\), so the integral is zero, and the derivative formula gives \(F'(1)=3(1+1)=6\).
Worked Example: A Nonlinear Upper Endpoint
Differentiate
Here \(f(t)=\cos t\) and \(g(x)=x^2+1\). The endpoint derivative is
The integrand evaluated at the endpoint is \(\cos(x^2+1)\). Multiplying by the endpoint derivative gives
For a direct check, an antiderivative of \(\cos t\) is \(\sin t\), and \(\sin 0=0\). Thus
Differentiate the evaluated expression:
The two methods agree. At \(x=1\), for example, the derivative is \(2\cos 2\); the factor \(2\) comes from the rate of change of the endpoint \(x^2+1\) at \(x=1\).
Worked Example: A Nonlinear Lower Endpoint
Differentiate
The moving endpoint \(x^2\) is the lower endpoint, so its contribution has a minus sign. Its derivative is \(2x\), and the integrand evaluated there is \(x^2+2\). Therefore,
Check by evaluating the integral. An antiderivative of \(t+2\) is \(t^2/2+2t\), so
Differentiating gives
This matches the formula, including its minus sign. At \(x=1\), the derivative is \(-2(1)(1+2)=-6\), which is also the value of \(-2x^3-4x\) at \(1\).
Diagnosing the Missing Factor
When an answer contains only the integrand evaluated at the endpoint, inspect the endpoint itself. If it is anything other than \(x\) (or another function with derivative \(1\) at the input under consideration), calculate its derivative explicitly.
Write it as \(g(x)\), or as \(p(x)\) if it is the lower endpoint.
For an upper endpoint, use \(f(g(x))\); for a lower endpoint, use \(f(p(x))\).
Use \(g'(x)\) for the upper endpoint and \(-p'(x)\) for the lower endpoint.
If practical, evaluate the integral using an antiderivative and differentiate that expression.
Common Mistakes and Their Corrections
For example, consider the claim that differentiating \(\int_1^{x^2}t^3\,dt\) gives \(x^6\). This evaluates the integrand at \(x^2\), but it omits the derivative of that endpoint. Since \(\frac{d}{dx}(x^2)=2x\), the correct calculation is
Checking the calculation directly makes the omission visible. An antiderivative of \(t^3\) is \(t^4/4\), so
A second error is to include an endpoint factor but calculate it incorrectly. For an upper endpoint \(x^2+1\), the chain factor is \(2x\), not \(x\) or \(2\). Differentiate the entire endpoint expression before substituting it into the formula.
Finally, do not lose track of which endpoint moves. The upper endpoint contributes positively and the lower endpoint negatively. A moving lower bound is not handled by merely copying the upper-bound formula: its sign must be reversed.
Why the Rule Is Useful
Variable-limit integrals describe accumulated quantities as the boundary of accumulation changes. Differentiating such an integral converts a change in accumulated amount into the value at the moving boundary, adjusted for the boundary's rate of motion. That adjustment is precisely the endpoint derivative.
The rule is therefore more than a convenient formula. It keeps track of two different rates: the rate described by the integrand and the rate at which the boundary moves. Omitting either one changes the answer. A reliable final check is to evaluate the integral when feasible and differentiate the resulting expression independently.
Check Your Understanding
For each question, identify the moving endpoint, its derivative, and any sign required before simplifying.
- Differentiate \(\int_0^{4x+1} t^2\,dt\). What factor would be missing if you used only the integrand at the upper endpoint?
- Differentiate \(\int_2^{x^3} \sin t\,dt\). State the endpoint derivative and the resulting derivative.
- Differentiate \(\int_{1-x}^{5} (t^2+1)\,dt\). Why does the lower endpoint contribution have a minus sign?
- A student claims that \(\frac{d}{dx}\int_0^{\cos x}e^t\,dt=e^{\cos x}\). Identify the omitted factor and write the corrected result.
- For \(\int_{x^2}^{x+3} t\,dt\), write the derivative using the two-endpoint formula. Which two endpoint derivatives appear?