Tutorials › AP Calculus › Variable Lower Bounds and Sign Reversal

Fundamental Theorem and Accumulation · Tutorial 460 of 999

Variable Lower Bounds and Sign Reversal

Find the derivative of an accumulation function with a variable lower endpoint and explain the sign by reversing the integral’s bounds.

Intermediate 9 min read

What You'll Learn

  • Differentiate an integral whose lower limit is the variable and whose upper limit is fixed.
  • State the continuity condition needed for the derivative formula.
  • Derive the negative sign from the difference quotient and oriented integrals.
  • Explain how reversing bounds connects the result to the Fundamental Theorem of Calculus.
  • Compute and check derivatives of lower-bound accumulation functions.
  • Identify and correct the common sign error.

Why a Variable Lower Limit Changes the Sign

An integral with a variable endpoint measures accumulation between that endpoint and a fixed point. When the variable is the lower endpoint, increasing it removes a short piece from the interval of accumulation. That change produces a negative sign in the derivative.

For a continuous function \(f\) and a fixed number \(b\), consider the function

$$ G(x)=\int_x^b f(t)\,dt. $$

The integration variable is \(t\); \(x\) determines the lower endpoint, while \(b\) remains fixed. The derivative is evaluated at \(x\), so the integrand in the result is \(f(x)\), not \(f(t)\).

Theorem: If \(f\) is continuous at \(x\) and the integral is defined between \(x\) and the fixed endpoint \(b\), then $$ \frac{d}{dx}\int_x^b f(t)\,dt=-f(x). $$ The minus sign is essential: it records that increasing the lower endpoint reverses the direction of the change in accumulated integral.

Where the Negative Sign Comes From

There are two connected ways to understand the sign. First, reversing the bounds of a definite integral changes its sign:

$$ \int_x^b f(t)\,dt=-\int_b^x f(t)\,dt. $$

The integral on the right has \(x\) as its upper endpoint. By the Fundamental Theorem of Calculus, differentiating that accumulation with respect to its upper endpoint gives \(f(x)\); the minus sign in front then gives \(-f(x)\). This is a useful shortcut, but a difference-quotient argument shows directly why it works.

Deriving the Lower-Bound Rule

Let \(G(x)=\int_x^b f(t)\,dt\), and suppose \(f\) is continuous at \(x\). For a small nonzero change \(h\), the difference between the new and old accumulations is

$$ G(x+h)-G(x) = \int_{x+h}^b f(t)\,dt-\int_x^b f(t)\,dt = -\int_x^{x+h}f(t)\,dt. $$

The cancellation follows from additivity of definite integrals. Dividing by \(h\), the difference quotient becomes

$$ \frac{G(x+h)-G(x)}{h} = -\frac{1}{h}\int_x^{x+h}f(t)\,dt. $$

As \(h\) approaches zero, the average value of \(f\) over the short interval from \(x\) to \(x+h\) approaches \(f(x)\), by continuity. The minus sign remains. More explicitly, for any \(\varepsilon>0\), continuity at \(x\) gives a \(\delta>0\) such that \(|f(t)-f(x)|<\varepsilon\) whenever \(|t-x|<\delta\). If \(0<|h|<\delta\), then

$$ \left| \frac{G(x+h)-G(x)}{h}-\bigl(-f(x)\bigr) \right| = \left| -\frac{1}{h}\int_x^{x+h}\bigl(f(t)-f(x)\bigr)\,dt \right| \leq \frac{1}{|h|}\,\varepsilon |h| = \varepsilon. $$

This proves that the difference quotient approaches \(-f(x)\), so \(G'(x)=-f(x)\). The argument also works when \(h<0\): oriented integrals account for the reversed direction, and the same absolute-value bound applies.

Why it is negative: Increasing \(x\) changes the integral by removing the portion from \(x\) to \(x+h\). The change is \(-\int_x^{x+h}f(t)\,dt\), not \(+\int_x^{x+h}f(t)\,dt\).

Worked Examples

Worked Example: A Polynomial Integrand

Differentiate \(G(x)=\int_x^5(2t+1)\,dt\), and check the result by evaluating the integral first.

The integrand \(2t+1\) is continuous, so the lower-bound rule applies. Directly, an antiderivative with respect to \(t\) is \(t^2+t\), giving

$$ G(x) = \left[t^2+t\right]_x^5 = (5^2+5)-(x^2+x) = 30-x^2-x. $$

Differentiate this expression:

$$ G'(x)=0-2x-1=-2x-1. $$

The lower-bound rule gives \(-(2x+1)=-2x-1\), in agreement. For a numerical check at \(x=2\), the integral equals \(30-4-2=24\), while the derivative there is \(-2(2)-1=-5\). Differentiating the explicit formula gives that same slope.

Worked Example: A Trigonometric Integrand

Let \(H(x)=\int_x^{\pi/2}\sin t\,dt\). Find \(H'(x)\), then check both the function and its derivative by evaluating the integral.

Since \(\sin t\) is continuous, the lower-bound rule gives

$$ H'(x)=-\sin x. $$

For an independent check, an antiderivative of \(\sin t\) is \(-\cos t\). Therefore

$$ H(x) = \left[-\cos t\right]_x^{\pi/2} = -\cos\left(\frac{\pi}{2}\right)-(-\cos x) = 0+\cos x = \cos x. $$

Differentiating \(H(x)=\cos x\) gives \(H'(x)=-\sin x\), as required. At \(x=\pi/6\), the function value is \(\cos(\pi/6)=\sqrt{3}/2\), and the derivative is \(-\sin(\pi/6)=-1/2\). Both match the expressions obtained from the evaluated integral.

Worked Example: Checking the Sign with a Linear Integrand

Differentiate \(J(x)=\int_x^0(t-1)\,dt\). Evaluate \(J\) first to make the sign visible.

An antiderivative of \(t-1\) is \(\frac{t^2}{2}-t\). Substitution at the endpoints gives

$$ J(x) = \left[\frac{t^2}{2}-t\right]_x^0 = \left(0-0\right)-\left(\frac{x^2}{2}-x\right) = x-\frac{x^2}{2}. $$

Thus

$$ J'(x)=1-x=-(x-1). $$

The rule gives \(-(x-1)\), since the integrand evaluated at the lower endpoint is \(x-1\). At \(x=3\), direct evaluation gives \(J(3)=3-\frac{9}{2}=-\frac{3}{2}\), and the derivative is \(J'(3)=1-3=-2\). The integral check is also \(\int_3^0(t-1)\,dt=0-(\frac{9}{2}-3)=-\frac{3}{2}\); differentiating the explicit formula confirms the slope \(-2\).

A Common Sign Mistake

A frequent error is to treat a variable lower endpoint as if it were a variable upper endpoint. For example, applying the wrong sign to \(K(x)=\int_x^4 t^2\,dt\) gives the incorrect calculation

$$ \text{Incorrect:}\qquad K'(x)=x^2. $$

The lower-bound rule instead gives \(K'(x)=-x^2\). Evaluating the integral confirms the correction:

$$ K(x) = \left[\frac{t^3}{3}\right]_x^4 = \frac{64}{3}-\frac{x^3}{3}, \qquad K'(x)=0-\frac{3x^2}{3}=-x^2. $$

The mistake is not a matter of whether the integrand is positive or negative. It is caused by confusing which endpoint moves. When the lower endpoint moves to the right, the interval of accumulation loses the thin slice at its left edge; its contribution is subtracted.

Sign check: Before differentiating, identify whether the variable is the lower or upper endpoint. A variable lower endpoint contributes a negative sign; a variable upper endpoint contributes a positive sign.

Using the Rule Reliably

For an integral with fixed upper endpoint, write the variable and fixed endpoints clearly, then evaluate the integrand at the variable endpoint and attach the lower-bound sign. The continuity condition matters: continuity of \(f\) at the point \(x\) ensures that the average value over the shrinking interval approaches \(f(x)\). In the ordinary AP Calculus setting, a continuous integrand on the interval of interest provides this condition.

Keep the roles of \(t\) and \(x\) distinct. The letter \(t\) is a placeholder that runs through the integration interval; after the integral is differentiated, the result is a function of \(x\). In particular, one does not keep \(t\) in the derivative.

The sign also makes sense from the integral’s orientation. If \(f\) is positive near \(x\), moving the lower endpoint right removes positive accumulated contribution, so the function decreases locally and its derivative is negative. If \(f\) is negative near \(x\), removing that negative contribution increases the integral, and \(-f(x)\) is positive. The formula handles both cases without requiring a separate rule.

This result is useful whenever a quantity is defined by accumulation from a moving starting point to a fixed destination. The derivative tells how quickly that accumulated quantity changes at the current starting point. Remembering both the endpoint’s role and the integral’s orientation makes the sign a consequence of the setup rather than a rule to guess.

Check Your Understanding

For each question, identify the variable endpoint and use the negative sign only when the variable is the lower endpoint.

  1. If \(P(x)=\int_x^3 f(t)\,dt\) and \(f\) is continuous, what is \(P'(x)\)?
  2. Differentiate \(Q(x)=\int_x^2(4t-1)\,dt\). State the continuity condition that permits the rule.
  3. Evaluate \(R(x)=\int_x^\pi\cos t\,dt\), then differentiate your expression and compare it with the lower-bound rule.
  4. Explain, using the difference in accumulated integrals, why \(\int_x^b f(t)\,dt\) has a negative sign in its derivative.
  5. A student says \(\frac{d}{dx}\int_x^5 t^3\,dt=x^3\). Identify the error and give the corrected derivative.

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