Tutorials › Calculus I › Variable-Limit Derivatives With Trigonometric Integrands

The Fundamental Theorem of Calculus · Tutorial 1115 of 1495

Variable-Limit Derivatives With Trigonometric Integrands

Differentiate trigonometric accumulation functions by evaluating the integrand at the moving endpoint and multiplying by that endpoint’s derivative.

Intermediate 9 min read

What You'll Learn

  • State the conditions for differentiating an accumulation function with a moving endpoint.
  • Apply the Fundamental Theorem of Calculus when the integrand is a trigonometric function.
  • Evaluate the integrand at a composite endpoint without replacing it by the endpoint’s derivative.
  • Include the chain factor from a composite upper or lower endpoint.
  • Distinguish the sign for a moving lower endpoint from the sign for a moving upper endpoint.
  • Check results by differentiating an equivalent explicit expression.

Trigonometric Integrands and Moving Endpoints

An integral with a variable endpoint describes accumulated change up to a point that depends on \(x\). Differentiating this accumulation function asks how quickly the accumulated value changes as \(x\) changes.

When the integrand is trigonometric, the same basic principle applies as with other continuous integrands: evaluate the integrand at the moving endpoint. If that endpoint is itself a function of \(x\), the chain rule supplies an additional factor.

For example, if the upper endpoint is \(g(x)\), then the integrand is evaluated at \(g(x)\), and the result is multiplied by \(g'(x)\). If instead the lower endpoint moves, the contribution has a minus sign.

Key idea: A moving endpoint determines where to evaluate the integrand. The endpoint’s derivative determines the chain factor, and a moving lower endpoint contributes a minus sign.

The Variable-Endpoint Rule

Let \(f\) be continuous on an interval containing the relevant endpoints, and let \(g\) be differentiable. The Fundamental Theorem of Calculus and the chain rule give the following formulas. The lower or upper endpoint not named as variable is held fixed.

Theorem: If \(a\) is fixed and \(f\) is continuous, then \[ \frac{d}{dx}\int_a^{g(x)} f(t)\,dt=f(g(x))g'(x). \] If \(b\) is fixed and \(f\) is continuous, then \[ \frac{d}{dx}\int_{g(x)}^b f(t)\,dt=-f(g(x))g'(x). \]

These formulas apply in particular when \(f(t)=\sin t\), \(f(t)=\cos t\), or a continuous expression built from trigonometric functions. Sine and cosine are continuous for every real input, so there is no restriction on the endpoint values for these integrands.

The variable \(t\) indicates the input at which the integrand is evaluated inside the integral. The endpoint \(g(x)\) tells us which value of \(t\) to use after applying the rule. For a trigonometric integrand, that means, for example, writing \(\sin(g(x))\), not \(\sin(x)\) unless the endpoint actually is \(x\).

Why the Rule Works

For the upper-endpoint formula, define an accumulation function \(A\) by

$$ A(u)=\int_a^u f(t)\,dt. $$

Since \(f\) is continuous, the Fundamental Theorem of Calculus Part I states that \(A'(u)=f(u)\). The integral with moving endpoint is \(A(g(x))\). Differentiating this composition by the chain rule gives

$$ \frac{d}{dx}A(g(x)) =A'(g(x))g'(x) =f(g(x))g'(x). $$

This derives the upper-endpoint formula. For a moving lower endpoint, use the identity \[ \int_{g(x)}^b f(t)\,dt=-\int_b^{g(x)} f(t)\,dt. \] The upper-endpoint formula applied to the integral on the right gives derivative \(f(g(x))g'(x)\). The minus sign in the identity therefore gives derivative \(-f(g(x))g'(x)\), as claimed.

The derivation shows why two distinct operations appear in the answer: the Fundamental Theorem evaluates \(f\) at the endpoint, and the chain rule multiplies by the endpoint’s derivative.

Worked Examples

Worked Example: Sine With a Composite Upper Endpoint

Differentiate \[ F(x)=\int_0^{2x+\pi/6}\sin t\,dt. \]

The fixed lower endpoint is \(0\), the integrand is \(f(t)=\sin t\), and the upper endpoint is \(g(x)=2x+\pi/6\). Its derivative is \[ g'(x)=2. \] Evaluate the integrand at the upper endpoint, then multiply by the endpoint derivative:

$$ F'(x)=\sin\!\left(2x+\frac{\pi}{6}\right)\cdot 2 =2\sin\!\left(2x+\frac{\pi}{6}\right). $$

To check, evaluate the integral using the antiderivative \(-\cos t\): \[ F(x)=[-\cos t]_0^{2x+\pi/6} =-\cos\!\left(2x+\frac{\pi}{6}\right)+\cos(0) =1-\cos\!\left(2x+\frac{\pi}{6}\right). \] Differentiating this expression gives \[ F'(x)=\sin\!\left(2x+\frac{\pi}{6}\right)\cdot 2, \] which agrees with the variable-endpoint rule. As an exact value check, at \(x=\pi/4\) the endpoint is \(2(\pi/4)+\pi/6=\pi/2+\pi/6=2\pi/3\), so the derivative is \(2\sin(2\pi/3)=\sqrt{3}\). The differentiated explicit expression gives the same value.

Worked Example: Cosine With a Composite Lower Endpoint

Differentiate \[ G(x)=\int_{x^2}^{\pi/3}\cos t\,dt. \]

Here the lower endpoint is \(g(x)=x^2\), so \(g'(x)=2x\). The integrand evaluated at the moving endpoint is \(\cos(x^2)\). Because the moving endpoint is the lower endpoint, include a minus sign:

$$ G'(x)=-\cos(x^2)\cdot 2x =-2x\cos(x^2). $$

Check by evaluating the integral with the antiderivative \(\sin t\): \[ G(x)=[\sin t]_{x^2}^{\pi/3} =\sin\!\left(\frac{\pi}{3}\right)-\sin(x^2) =\frac{\sqrt{3}}{2}-\sin(x^2). \] Differentiating gives \[ G'(x)=0-\cos(x^2)\cdot 2x=-2x\cos(x^2), \] as above. For an exact value check, take \(x=\sqrt{\pi/3}\). Then \(x^2=\pi/3\), and \[ G'(x)=-2\sqrt{\frac{\pi}{3}}\cos\!\left(\frac{\pi}{3}\right) =-2\sqrt{\frac{\pi}{3}}\cdot\frac12 =-\sqrt{\frac{\pi}{3}}. \] The explicit derivative gives the same result at this value of \(x\).

Worked Example: A Sine Endpoint With a Trigonometric Integrand

Differentiate \[ H(x)=\int_0^{\sin x}(1+\cos t)\,dt. \]

The integrand is \(f(t)=1+\cos t\), and the upper endpoint is \(g(x)=\sin x\), with \(g'(x)=\cos x\). Evaluate the entire integrand at \(t=\sin x\), then multiply by \(\cos x\):

$$ H'(x)=\bigl(1+\cos(\sin x)\bigr)\cos x. $$

To check, an antiderivative of \(1+\cos t\) is \(t+\sin t\). Thus \[ H(x)=[t+\sin t]_0^{\sin x} =\sin x+\sin(\sin x)-(0+\sin 0) =\sin x+\sin(\sin x). \] Differentiating term by term gives \[ H'(x)=\cos x+\cos(\sin x)\cos x =\bigl(1+\cos(\sin x)\bigr)\cos x. \] At \(x=0\), the rule gives \(\bigl(1+\cos 0\bigr)\cos 0=2\). The explicit derivative also gives \(\cos 0+\cos(\sin 0)\cos 0=1+1=2\).

A Reliable Way to Apply the Rule

The main work is identifying the moving endpoint and keeping its value separate from its rate of change. The following sequence makes those roles explicit.

1
Identify the moving endpoint.
Write it as \(g(x)\). Note whether it is the upper or lower limit.
2
Evaluate the integrand there.
Replace its input \(t\) with the complete endpoint \(g(x)\), giving \(f(g(x))\).
3
Multiply by the endpoint derivative.
Find \(g'(x)\) and include it as a factor.
4
Set the sign.
Use a positive sign for a moving upper endpoint and a negative sign for a moving lower endpoint.
5
Check the result.
When useful, evaluate the integral explicitly and differentiate the resulting expression to compare.

Common Mistake: Evaluating at the Wrong Input

Consider \[ K(x)=\int_0^{3x}\cos t\,dt. \] The endpoint is \(3x\), not \(x\), and its derivative is \(3\). A common incorrect calculation is \[ K'(x)=\cos(x), \] which both evaluates the integrand at the wrong input and omits the endpoint’s rate of change.

The correct calculation keeps these two roles distinct:

$$ K'(x)=\cos(3x)\cdot 3=3\cos(3x). $$

For a check, \(K(x)=\sin(3x)-\sin(0)=\sin(3x)\), so direct differentiation gives \(K'(x)=3\cos(3x)\). The incorrect expression \(\cos(x)\) does not agree in general.

A separate sign check is important for a moving lower endpoint. For instance, in \(\int_{x}^{b}\sin t\,dt\), the derivative is \(-\sin(x)\), not \(+\sin(x)\). The sign changes because increasing the lower limit removes area from the accumulated integral.

Why These Derivatives Matter

An accumulation function can represent total change collected up to a moving input. Its derivative describes the instantaneous rate at which that total changes. With a trigonometric integrand, the instantaneous rate depends on the sine or cosine value at the current endpoint, adjusted for how quickly that endpoint moves.

This is why a composite endpoint cannot be treated as if it were simply \(x\). If the endpoint moves twice as fast as \(x\), the accumulated quantity changes with the corresponding factor of two. If it moves at a variable rate, that rate appears as the chain factor. The evaluation and the endpoint rate are both essential parts of the derivative.

Takeaway: For one moving endpoint, evaluate the integrand at that endpoint, multiply by the endpoint derivative, and use a minus sign when the moving endpoint is the lower limit.

Check Your Understanding

For each question, identify the moving endpoint before applying the rule. Then check your result by differentiation when an explicit evaluation is straightforward.

  1. Find the derivative of \(\displaystyle \int_0^{4x-\pi/6}\sin t\,dt\).
  2. Find the derivative of \(\displaystyle \int_{\cos x}^{\pi/2}\cos t\,dt\).
  3. For \(\displaystyle A(x)=\int_1^{x^3}(2+\sin t)\,dt\), what is the integrand evaluated at the endpoint, and what is the endpoint chain factor?
  4. Explain why \(\displaystyle \frac{d}{dx}\int_0^{\sin x}\cos t\,dt\) includes a factor of \(\cos x\).
  5. State the sign and derivative for a moving lower endpoint in \(\displaystyle \int_{x^2}^{b}\sin t\,dt\), where \(b\) is fixed.

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): 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