← MathScape

FTC Part 1 with Chain Rule

MATH162
Reference: Stewart §5.3  •  Chapter: 4  •  Section: 3

Navigation: Wiki Home > Skills > FTC Part 1 with Chain Rule

FTC Part 1 with Chain Rule

When the Upper Limit Isn't Just $x$

In the basic FTC Part 1, the upper limit of integration is simply $x$. But what if the upper limit is something more complicated, like $x^2$ or $\sin x$? You're no longer differentiating with respect to the upper limit directly — you need the chain rule.

This is like reading a speedometer while driving: if the speedometer reading is $v(t)$, and you want to know how fast the reading changes as you accelerate, you need to consider both the speed itself AND how quickly you're changing it. It's a rate of a rate.

Prerequisite Map

This skill
FTC Part 1 + Chain Rule
Unlocks
FTC Part 2Leibniz Integral Rule

Quick Reference

Property Value
Concept Fundamental Theorem of Calculus
Course MATH161 (Calculus I)
Difficulty Intermediate
Time ~15 minutes

Key Concepts

The Formula

If $g(x) = \displaystyle\int_a^{u(x)} f(t)\, dt$, where $u(x)$ is a differentiable function, then:

$$\boxed{g'(x) = f(u(x)) \cdot u'(x)}$$

In Leibniz notation:

$$\frac{d}{dx}\int_a^{u(x)} f(t)\, dt = f(u(x)) \cdot \frac{du}{dx}$$

Why This Works

Think of it as a composition of functions:

  1. First, FTC1 gives us a function $G(u) = \int_a^u f(t)\, dt$ with $G'(u) = f(u)$
  2. Then we're computing $g(x) = G(u(x))$
  3. By the chain rule: $g'(x) = G'(u(x)) \cdot u'(x) = f(u(x)) \cdot u'(x)$

Visualization

                    ┌──────────────┐
         x  ────►   │   u = u(x)   │  ────►  u
                    └──────────────┘
                           │
                           ▼
                    ┌──────────────┐
         u  ────►   │ G(u) = ∫f dt │  ────►  G
                    └──────────────┘

    Derivative = f(u(x)) · u'(x)
                    ▲          ▲
                    │          │
              from FTC1   from chain rule

The Pattern to Remember

When differentiating $\displaystyle\int_a^{u(x)} f(t)\, dt$:

  1. Substitute the upper limit into $f$: write $f(u(x))$
  2. Multiply by the derivative of the upper limit: $\times\, u'(x)$

Both Limits Variable

For the general case $\displaystyle\int_{v(x)}^{u(x)} f(t)\, dt$, split it:

$$\int_{v(x)}^{u(x)} f(t)\, dt = \int_a^{u(x)} f(t)\, dt - \int_a^{v(x)} f(t)\, dt$$

Then differentiate each piece:

$$\frac{d}{dx}\int_{v(x)}^{u(x)} f(t)\, dt = f(u(x)) \cdot u'(x) - f(v(x)) \cdot v'(x)$$

Practice Problems

Level 1 Simple Quadratic Upper Limit

Find $\displaystyle\frac{d}{dx}\int_1^{x^2} \cos(t)\, dt$.

Thought Process

Identify the pieces:

  • Lower limit: 1 (constant, good)
  • Upper limit: $u(x) = x^2$
  • Integrand: $f(t) = \cos(t)$

Apply the formula: $f(u(x)) \cdot u'(x)$

  • $f(u(x)) = \cos(x^2)$
  • $u'(x) = 2x$

Multiply them together.

Show Answer

Let $u = x^2$. By FTC1 with chain rule:

$$\frac{d}{dx}\int_1^{x^2} \cos(t)\, dt = \cos(x^2) \cdot 2x = 2x\cos(x^2)$$

Level 2 Trigonometric Upper Limit

Find $h'(x)$ if $h(x) = \displaystyle\int_0^{\sin x} e^{t^2}\, dt$.

Thought Process

The upper limit is $u(x) = \sin x$, so $u'(x) = \cos x$.

The integrand is $f(t) = e^{t^2}$.

At the upper limit: $f(u(x)) = f(\sin x) = e^{(\sin x)^2} = e^{\sin^2 x}$.

Apply the formula: multiply $f(u(x))$ by $u'(x)$.

Show Answer

With $u(x) = \sin x$ and $f(t) = e^{t^2}$:

$$h'(x) = e^{(\sin x)^2} \cdot \cos x = e^{\sin^2 x} \cos x$$

Level 3 Variable in Lower Limit

Find $\displaystyle\frac{d}{dx}\int_{x^3}^{1} \frac{1}{1+t^4}\, dt$.

Thought Process

The variable $x$ is in the lower limit, not the upper. First, flip the integral:

$$\int_{x^3}^{1} f(t)\, dt = -\int_1^{x^3} f(t)\, dt$$

Now the upper limit is $u(x) = x^3$ and we can apply FTC1 with chain rule.

Don't forget the negative sign from flipping!

Show Answer

First, reverse the limits:

$$\int_{x^3}^{1} \frac{1}{1+t^4}\, dt = -\int_1^{x^3} \frac{1}{1+t^4}\, dt$$

Now apply FTC1 with chain rule (and the negative sign):

$$\frac{d}{dx}\int_{x^3}^{1} \frac{1}{1+t^4}\, dt = -\frac{1}{1+(x^3)^4} \cdot 3x^2 = -\frac{3x^2}{1+x^{12}}$$

Level 4 Both Limits Variable

Differentiate $g(x) = \displaystyle\int_{\sqrt{x}}^{x^2} \ln(1 + t)\, dt$.

Thought Process

Both limits are functions of $x$. Use the splitting technique:

$$\int_{\sqrt{x}}^{x^2} f(t)\, dt = \int_a^{x^2} f(t)\, dt - \int_a^{\sqrt{x}} f(t)\, dt$$

For some constant $a$ (the choice doesn't matter since it cancels).

Differentiate each piece using FTC1 + chain rule:

  • First integral: upper limit $u = x^2$, so derivative is $f(x^2) \cdot 2x$
  • Second integral: upper limit $v = \sqrt{x} = x^{1/2}$, so derivative is $f(\sqrt{x}) \cdot \frac{1}{2\sqrt{x}}$
Show Answer

Split using an intermediate constant:

$$g(x) = \int_1^{x^2} \ln(1+t)\, dt - \int_1^{\sqrt{x}} \ln(1+t)\, dt$$

Differentiate each term:

$$g'(x) = \ln(1 + x^2) \cdot 2x - \ln(1 + \sqrt{x}) \cdot \frac{1}{2\sqrt{x}}$$

Simplify:

$$g'(x) = 2x\ln(1 + x^2) - \frac{\ln(1 + \sqrt{x})}{2\sqrt{x}}$$

Level 5 Tangent Line Problem

Let $F(x) = \displaystyle\int_\pi^{x^2} \frac{\cos t}{t}\, dt$.

Find the equation of the tangent line to the curve $y = F(x)$ at the point where $x = \sqrt{\pi}$.

Thought Process

For the tangent line $y - y_0 = m(x - x_0)$, we need:

  1. The point $(x_0, y_0) = (\sqrt{\pi}, F(\sqrt{\pi}))$
  2. The slope $m = F'(\sqrt{\pi})$

For the $y$-coordinate: When $x = \sqrt{\pi}$, the upper limit is $(\sqrt{\pi})^2 = \pi$, so $$F(\sqrt{\pi}) = \int_\pi^\pi \frac{\cos t}{t}\, dt = 0$$

For the slope: Use FTC1 + chain rule to find $F'(x)$, then evaluate at $x = \sqrt{\pi}$.

Show Answer

Step 1: Find the point.

At $x = \sqrt{\pi}$: $$F(\sqrt{\pi}) = \int_\pi^\pi \frac{\cos t}{t}\, dt = 0$$

So the point is $(\sqrt{\pi}, 0)$.

Step 2: Find the slope.

Using FTC1 with chain rule (upper limit is $u = x^2$):

$$F'(x) = \frac{\cos(x^2)}{x^2} \cdot 2x = \frac{2\cos(x^2)}{x}$$

At $x = \sqrt{\pi}$: $$F'(\sqrt{\pi}) = \frac{2\cos(\pi)}{\sqrt{\pi}} = \frac{2(-1)}{\sqrt{\pi}} = -\frac{2}{\sqrt{\pi}}$$

Step 3: Write the tangent line.

$$y - 0 = -\frac{2}{\sqrt{\pi}}(x - \sqrt{\pi})$$

$$y = -\frac{2}{\sqrt{\pi}}x + 2$$

Or equivalently: $y = -\frac{2\sqrt{\pi}}{\pi}x + 2$

Mastery Checklist

Mental Model

The Odometer Analogy: Imagine $\int_a^{u(x)} f(t)\, dt$ as reading an odometer. If $u(x)$ tells you "how far along the road you are" and $f$ is "the scenery at each point," then:

So the total rate of scenery change = (scenery at current position) × (speed of travel).


Common Mistakes

Mistake Correction
Forgetting the $u'(x)$ factor Always multiply by the derivative of the upper limit
Sign error when lower limit has $x$ Flip limits first, then remember the negative sign
Evaluating $f$ at $x$ instead of $u(x)$ Substitute the entire upper limit into $f$

Connections

Looking back:

Looking ahead:

Real-world connections:


Previous Up Next
FTC Part 1 Skills Index FTC Part 2

Last updated: 2026-01-22