Tutorials › AP Calculus › Composite Bounds in Accumulation Derivatives

Fundamental Theorem and Accumulation · Tutorial 462 of 999

Composite Bounds in Accumulation Derivatives

Apply the chain rule at each moving endpoint to find derivatives of accumulation functions with composite bounds.

Intermediate 9 min read

What You'll Learn

  • Identify the integrand and each variable limit in an accumulation integral
  • Apply the Fundamental Theorem of Calculus and chain rule to a composite upper limit
  • Account for a composite lower limit and its negative contribution
  • Differentiate an integral with two composite limits
  • Check a result by evaluating the integral explicitly when possible
  • Avoid omitting inner derivatives or mishandling reversed bounds

Why Composite Bounds Need the Chain Rule

An accumulation function records the signed integral of an integrand as one or more endpoints move. If an endpoint is simply \(x\), the Fundamental Theorem of Calculus connects the derivative of the accumulation to the integrand at that endpoint. But an endpoint can also be a function of \(x\), such as \(x^2\), \(2x+1\), or \(\sin x\). In that case, the endpoint itself changes at a rate that must be included.

The key idea is to evaluate the integrand at a moving endpoint and then multiply by the rate at which that endpoint moves. If both endpoints move, the upper endpoint contributes positively and the lower endpoint contributes negatively.

Theorem: Let \(f\) be continuous on an interval containing the values of \(a(x)\) and \(b(x)\) near \(x=c\), and suppose \(a\) and \(b\) are differentiable near \(c\). Then \(I(x)=\int_{a(x)}^{b(x)} f(t)\,dt\) is differentiable near \(c\), and $$ I'(x)=f(b(x))b'(x)-f(a(x))a'(x). $$ The formula applies whether or not \(a(x)\leq b(x)\); definite integrals use signed, oriented bounds.

Here \(t\) is the variable of integration, while \(x\) is the input that controls the limits. Keeping those roles distinct helps prevent errors: evaluate \(f\) at the endpoint value, but differentiate the endpoint as a function of \(x\).

Composite Upper Limits

For a fixed lower endpoint \(r\), consider \(J(x)=\int_r^{g(x)} f(t)\,dt\). The Fundamental Theorem of Calculus, Part 1 says that the accumulation function \(H(y)=\int_r^y f(t)\,dt\) satisfies \(H'(y)=f(y)\) when \(f\) is continuous. Since \(J(x)=H(g(x))\), the chain rule gives \(J'(x)=f(g(x))g'(x)\).

The factor \(g'(x)\) matters because the upper endpoint may move faster or slower than \(x\). The integrand value alone describes the rate of accumulation per unit change in the endpoint, not per unit change in \(x\).

Worked Example: A Squared Upper Limit

Differentiate \(A(x)=\int_1^{x^2}(t^2+1)\,dt\).

The integrand is \(f(t)=t^2+1\), and the upper limit is \(g(x)=x^2\), so \(g'(x)=2x\). The composite upper-limit rule gives

$$ A'(x)=f(x^2)\cdot 2x =((x^2)^2+1)(2x) =2x^5+2x. $$

Check by evaluating the integral. An antiderivative of \(t^2+1\) is \(F(t)=t^3/3+t\), so

$$ A(x)=F(x^2)-F(1) =\left(\frac{x^6}{3}+x^2\right)-\left(\frac13+1\right) =\frac{x^6}{3}+x^2-\frac43. $$

Differentiating this expression gives \(A'(x)=2x^5+2x\), matching the result from the theorem. At \(x=1\), the original integral is zero because both limits equal 1, and the derivative formula gives \(2(1)^5+2(1)=4\); the explicit expression also has derivative 4 there.

Composite Lower Limits

A moving lower endpoint has a negative contribution. For a fixed upper endpoint \(r\), let \(K(x)=\int_{g(x)}^r f(t)\,dt\). Reversing the bounds gives \(K(x)=-\int_r^{g(x)}f(t)\,dt\). Applying the composite upper-limit rule to the integral on the right, then keeping the negative sign, yields \(K'(x)=-f(g(x))g'(x)\).

This negative sign reflects the orientation of the integral. As the lower endpoint moves to the right while the upper endpoint stays fixed, the interval of accumulation becomes shorter. The lower endpoint's contribution is therefore subtracted.

Worked Example: A Composite Lower Limit

Differentiate \(B(x)=\int_{x^2}^{5}(t+1)\,dt\).

Here \(f(t)=t+1\) and the lower limit is \(a(x)=x^2\), with \(a'(x)=2x\). Therefore,

$$ B'(x)=-f(x^2)(2x) =-(x^2+1)(2x) =-2x^3-2x. $$

To check, an antiderivative of \(t+1\) is \(F(t)=t^2/2+t\). Thus

$$ B(x)=F(5)-F(x^2) =\left(\frac{25}{2}+5\right)-\left(\frac{x^4}{2}+x^2\right) =\frac{35}{2}-\frac{x^4}{2}-x^2. $$

Its derivative is \(-2x^3-2x\), as required. At \(x=1\), the formula gives \(-4\); differentiating the explicit expression at 1 also gives \(-4\).

Two Composite Limits

When both limits depend on \(x\), combine the upper- and lower-limit contributions. The upper one is \(f(b(x))b'(x)\); the lower one is \(-f(a(x))a'(x)\). Neither term can generally be omitted, even if the endpoints happen to have the same value at a particular input.

1
Identify the integrand and endpoints.
Write the integrand as \(f(t)\), the lower limit as \(a(x)\), and the upper limit as \(b(x)\).
2
Differentiate each endpoint.
Find \(a'(x)\) and \(b'(x)\) using ordinary differentiation rules.
3
Substitute in the formula.
Evaluate \(f\) at each endpoint, multiply by that endpoint's derivative, and subtract the lower-endpoint contribution.

Worked Example: Both Limits Depend on \(x\)

Differentiate \(C(x)=\int_{x^2}^{2x}t\,dt\).

The integrand is \(f(t)=t\). The upper limit \(b(x)=2x\) has derivative \(b'(x)=2\), and the lower limit \(a(x)=x^2\) has derivative \(a'(x)=2x\). Hence

$$ C'(x)=f(2x)(2)-f(x^2)(2x) =(2x)(2)-(x^2)(2x) =4x-2x^3. $$

Check by direct evaluation. Since an antiderivative of \(t\) is \(t^2/2\),

$$ C(x)=\left[\frac{t^2}{2}\right]_{x^2}^{2x} =\frac{(2x)^2}{2}-\frac{(x^2)^2}{2} =2x^2-\frac{x^4}{2}. $$

Differentiating gives \(C'(x)=4x-2x^3\), agreeing with the endpoint formula. For a numerical check at \(x=1\), the integral is \(2-\tfrac12=\tfrac32\), and both derivative calculations give \(4-2=2\).

The formula also works when the lower limit is greater than the upper limit. For example, at \(x=-1\), the bounds are 1 and \(-2\); the integral is still defined with its signed orientation. The derivative formula gives \(-4+2=-2\), the same value obtained from \(4x-2x^3\) at \(-1\).

Why the Formula Works

The two-limit rule follows directly from the Fundamental Theorem of Calculus, Part 1 and the chain rule. This derivation also explains why the lower endpoint has a minus sign.

1
Choose a fixed reference point.
Let \(c\) be any fixed point in an interval on which \(f\) is continuous, and define \(H(y)=\int_c^y f(t)\,dt\). The Fundamental Theorem gives \(H'(y)=f(y)\).
2
Rewrite the integral using additivity.
For any \(x\) where the endpoints lie in the interval, additivity of definite integrals gives \(\int_{a(x)}^{b(x)}f(t)\,dt=\int_c^{b(x)}f(t)\,dt-\int_c^{a(x)}f(t)\,dt=H(b(x))-H(a(x))\).
3
Differentiate both compositions.
Applying the chain rule to each term gives \(\frac{d}{dx}H(b(x))=H'(b(x))b'(x)=f(b(x))b'(x)\) and \(\frac{d}{dx}H(a(x))=H'(a(x))a'(x)=f(a(x))a'(x)\).
4
Subtract the lower-endpoint term.
Since the second composition is subtracted, \(I'(x)=f(b(x))b'(x)-f(a(x))a'(x)\). This proves the stated formula under the continuity and differentiability conditions.

Common Mistakes and Checks

A frequent mistake is to evaluate the integrand at a composite endpoint but forget to multiply by the endpoint's derivative. For example, if \(D(x)=\int_1^{x^2}(t+1)\,dt\), an incorrect calculation is \(D'(x)=x^2+1\). That expression accounts for the integrand at \(x^2\), but not for the speed \(2x\) of the endpoint. The correction is

$$ D'(x)=f(x^2)\cdot 2x=(x^2+1)(2x). $$

At \(x=2\), the incorrect answer is \(2^2+1=5\), while the correct derivative is \((4+1)(4)=20\). The difference is not a small algebraic detail: it is the chain rule.

Other useful checks include the following:

  • Check the sign. A lower endpoint contributes a minus sign, even if its derivative is positive.
  • Check both terms. With two moving endpoints, evaluate the integrand at both endpoints and include both endpoint derivatives.
  • Do not assume the upper limit is larger. Definite integrals are signed, so the formula remains valid when the bounds reverse order.
  • Check the hypotheses. The integrand must be continuous at the endpoint values in a neighborhood of the input, and the limits must be differentiable there, for this form of the theorem to apply.

For a quick structural check, if the upper and lower limits coincide at \(x=x_0\), the integral itself is zero at that input. Its derivative need not be zero: the endpoints can move at different rates, so the two terms in the derivative formula may not cancel.

Check Your Understanding

For each question, identify the endpoint derivatives as well as the integrand values. When possible, check by evaluating the integral first.

  1. Differentiate \(P(x)=\int_0^{3x+1}(t^2+2)\,dt\).
  2. Differentiate \(Q(x)=\int_{x}^{4}(t^2+1)\,dt\).
  3. Differentiate \(R(x)=\int_{x^2}^{x+2}t^2\,dt\).
  4. In \(S(x)=\int_{x^3}^{2}f(t)\,dt\), where \(f\) is continuous, identify the lower-limit contribution to \(S'(x)\).
  5. Explain why \(\int_{x^2}^{2x}f(t)\,dt\) can be differentiated by the endpoint formula even at inputs where \(x^2>2x\), provided the continuity and differentiability conditions hold.

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon