Differentiating under the integral sign
The question
As t moves from 1 to 1.25, what changes the area under \(1+tx\) on \([0,1+t]\)?
Choose an explanation, then inspect the regions it includes.
- 1 SeeChoose what accounts for the change.
- 2 TryTest a different family of areas.
- 3 ProveBuild and justify the rate rule.
- 4 ApplySolve five parameter integral problems.
Before you start · 3 quick checks on integration, partial derivatives and the chain rule
Two ideas before you start
2 ideasA parameter chooses a curve
A member of the family f(x,t) = 1 + tx on the fixed interval from 0 to 1.
Keep x as the horizontal coordinate. Choose t to select which function of x you are looking at.
Exact definition
An integrand is the function being integrated. In \(f(x,t)\), x is the integration variable and t is a parameter. Once t is fixed, the integral adds values across x. The symbol \(f_t(x,t)\) means the partial derivative with respect to t, holding x fixed. A subscript names the variable being differentiated; it is not multiplication.
The endpoints choose the region
A shaded interval under the fixed curve g(x) = 1 + x.
The same curve can be integrated over different intervals. Read the limits before interpreting an area.
Exact definition
Write \(I(t)=\int_{a(t)}^{b(t)}f(x,t)\,dx\). The lower and upper limits are functions a and b of the parameter. The integral is signed: parts below the horizontal axis count negatively. Reversing the endpoints reverses the sign. Renaming the dummy variable x does not change I. The fundamental theorem explains integration over a fixed curve.
Account for the change
- Choose the starting parameter t and a positive step h. The endpoint is b = 1 + t.
- Select the sources you think are needed, then press Check explanation.
- After checking, compare the revealed regions. Changing either input clears the checked answer.
Here \(f(x,t)=1+tx\) on the interval from 0 to \(1+t\). The step replaces t by \(t+h\). The plot shows the starting curve as a solid line and the later curve as a dashed line, each ending at its own upper limit. Decide what must be counted to recover the entire area change. A correct explanation must include every nonzero contribution.
The dotted region measures the height change over the old interval. The darker region is the newly included strip, measured under the later curve. These regions have disjoint interiors. Their sum is the exact finite change; no thin-strip approximation has been made.
From a finite change to a rate
With \(b=1+t\), let C be the first region and B the second. Integrating their straight edges gives
\[\begin{aligned} C&=h b^2/2,\\ B&=h+(t+h)(bh+h^2/2). \end{aligned}\]Divide each contribution by h before shrinking h. The interior rate is \(b^2/2\). The boundary rate tends to \(1+tb\), the starting height at the boundary times its speed. The later curve used for the finite strip leaves extra terms that vanish in the limit.
The division matters: the change in area tends to zero, but the change per unit parameter need not. The small-step controls let you compare an average rate with its limiting instantaneous rate. Displayed decimals are rounded, while the model computes the contributions before rounding.
Test another family
Now take \(J(t)=\int_0^t e^{-t}\,dx\) for t positive. The integrand is constant in x but depends on t. The upper endpoint still moves to the right as t increases.
The rectangle has width t and height \(e^{-t}\), so \(J(t)=te^{-t}\). Its boundary contributes \(e^{-t}\), while its interior contributes \(-te^{-t}\). Both are rates of area change, so they can be added even though one is positive and the other negative.
Use what you found above
- Move t to meet each goal, then press Check setting. Each new goal resets t.
| t | Boundary | Interior | Total |
|---|
A zero total rate describes a first-order balance, not a frozen picture. At that setting the width and height still change. For larger parameters the rectangle can become wider while its area falls. Looking only at endpoint speed does not determine the sign of the total.
Justify the exchange
Let T be an open interval of parameters. Suppose f and its partial derivative f_t are continuous on \([L,R]\times T\), where L and R are finite and L is less than R. Let a and b be continuously differentiable on T, with \(L\lt a(t)\lt b(t)\lt R\). Then \(I(t)=\int_{a(t)}^{b(t)}f(x,t)\,dx\) is differentiable on T, and
\[\begin{aligned} I'(t)&=\int_{a(t)}^{b(t)}f_t(x,t)\,dx\\ &\quad+f(b(t),t)b'(t)\\ &\quad-f(a(t),t)a'(t).\end{aligned}\]These are sufficient conditions, not a claim that no weaker assumptions work. At fixed limits, only the integral of f_t remains. If f does not depend on t, only endpoint terms remain.
Build the argument first with lower endpoint 0 and upper endpoint b(t). For this builder, assume also \(L\lt0\lt b(t)\lt R\), \(b'(t)\gt0\), and f and f_t strictly positive on the rectangle. Positivity makes the incorrect options distinct. The correct identities and limit argument do not require those signs.
Refresher: partial rates and total rates
For a differentiable function H(z,t) and a differentiable path z = b(t), the multivariable chain rule gives a total rate by following each input:
\[\begin{aligned}\frac{d}{dt}H(b(t),t)&=H_z(b(t),t)b'(t)\\&\quad+H_t(b(t),t).\end{aligned}\]The partial rate H_t freezes z. The total rate allows z to move. The last proof line uses this rule; the lines before it find the two partial derivatives of an integral.
Define \(H(z,t)=\int_0^z f(x,t)\,dx\). In the first two lines, z is fixed with \(0\lt z\lt R\). Let h be nonzero and small enough to stay in T, and set \(q_h(x)=[f(x,t+h)-f(x,t)]/h\).
Allow either sign and a moving lower endpoint
The first identity follows from integration in the parameter. On a small closed parameter interval, continuity of f_t on a compact rectangle gives uniform continuity. Thus the difference quotients converge to f_t uniformly in x. If their largest error is ε_h, the error in their integrals is at most the interval length times ε_h, which tends to zero. Pointwise convergence alone would not provide that estimate.
The fundamental theorem gives \(H_z=f\), and the fixed-interval argument gives \(H_t=\int_0^z f_t\). Both partials are continuous. When 0 is outside the spatial interval, use any fixed base point c inside it instead. Write \(I(t)=H(b(t),t)-H(a(t),t)\). Apply the chain rule to each term. Subtracting the second endpoint contribution produces the minus sign in the theorem, regardless of the sign of f or either endpoint velocity.
Infinite intervals need a separate bound
An improper integral is a limit of finite-cutoff integrals. Differentiating each cutoff does not automatically justify differentiating their limit. A useful sufficient condition is the following: near a parameter t₀, f and f_t are continuous on every finite spatial rectangle, the integral of \(|f(x,t_0)|\) is finite, and \(|f_t(x,t)|\le g(x)\) for one nonnegative integrable g independent of t. Then the derivative may pass inside the improper integral. The bound controls the tails of all nearby difference quotients at once.
For \(f(x,t)=e^{-tx}\) on the nonnegative axis, fix t₀ positive and restrict t to be greater than t₀/2. Then \(|f_t(x,t)|\le xe^{-t_0x/2}\), whose integral is finite. Therefore differentiating \(\int_0^\infty e^{-tx}\,dx=1/t\) gives \(\int_0^\infty xe^{-tx}\,dx=1/t^2\). For another derivative, use the integrable bound \(x^2e^{-t_0x/2}\). The parameter must remain positive.
A parameter can also simplify an unfamiliar integrand. For real t define
\[K(t)=\int_0^\infty e^{-x}\frac{\sin(tx)}{x}\,dx.\]At x = 0 use its continuous extension, whose value is t. Near zero, \(|\sin(tx)/x|\le|t|\); away from zero exponential decay makes the integral absolute. The parameter derivative is \(e^{-x}\cos(tx)\), bounded in absolute value by the integrable function \(e^{-x}\). Hence
\[K'(t)=\int_0^\infty e^{-x}\cos(tx)\,dx=\frac{1}{1+t^2}.\]To check the last integral, differentiate \(e^{-x}[-\cos(tx)+t\sin(tx)]/(1+t^2)\) in x and evaluate its endpoint limits. Since K(0) is zero, integration in t gives \(K(t)=\arctan t\). Recovering the original integral needs this initial value; a derivative alone leaves an unknown constant.
Five parameter integral problems
Identify the integration variable, the parameter and the endpoint speeds before computing. Enter decimals, without units; each problem states its accepted absolute error and provides hints and a worked solution.
Further reading
- W. Rudin, Principles of Mathematical Analysis, chapter 9, “Functions of Several Variables.”
- G. B. Folland, Real Analysis, chapter 2, “Integration.”