Hexa Scholar

Differentiating under the integral sign

A curved cream sheet rests inside a navy tray with an unmarked brass adjustment wheel at its side.
A curved sheet in an adjustable tray stands for an area that depends on a setting.

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. 1 SeeChoose what accounts for the change.
  2. 2 TryTest a different family of areas.
  3. 3 ProveBuild and justify the rate rule.
  4. 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 ideas

A 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.

1 See

Account for the change

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.

2 Try

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.

3 Prove

Justify the exchange

Theorem: the finite-interval Leibniz rule

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.

4 Apply

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.

Key point Differentiate the integrand with x fixed, evaluate the integrand at each moving endpoint, and multiply by that endpoint's speed. Keep units and signs until the final sum.
Level Intermediate calculusPrerequisites Fundamental theorem; multivariable chain rule; improper integralsTime ~35 min

Further reading