19.3 Chain Rule, Tangent Line Equations & Rates of Change

Key Takeaways

  • The Chain Rule differentiates composite functions via $\frac{d}{dx}[f(g(x))] = f'(g(x)) \cdot g'(x)$ or $\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}$, requiring the derivative of the outer function evaluated at the inner function multiplied by the derivative of the inner function.
  • The Generalized Power Rule $\frac{d}{dx}[(u(x))^n] = n(u(x))^{n-1} u'(x)$ extends power differentiation to any differentiable base function, preventing the frequent error of omitting the inner derivative factor $u'(x)$.
  • The equation of the line tangent to $y = f(x)$ at $(x_1, y_1)$ is $y - y_1 = f'(x_1)(x - x_1)$, while the normal line is perpendicular with slope $m_{\text{normal}} = -\frac{1}{f'(x_1)}$ provided $f'(x_1) \neq 0$.
  • Average rate of change over $[a, b]$ is the secant slope $\frac{f(b) - f(a)}{b - a}$, whereas instantaneous rate of change at $x = a$ is the tangent slope $f'(a) = \lim_{h \to 0} \frac{f(a+h) - f(a)}{h}$.
  • In rectilinear motion, a particle is speeding up when velocity $v(t)$ and acceleration $a(t)$ share the same algebraic sign ($v \cdot a > 0$), and slowing down when velocity and acceleration have opposite signs ($v \cdot a < 0$).
Last updated: September 2026

19.3 Chain Rule, Tangent Line Equations & Rates of Change

The Chain Rule for Composite Functions

In mathematical analysis, most realistic functions are not simple atomic powers or single trigonometric terms, but rather composite functions where one function is nested inside another: $y = f(g(x))$. The derivative of a composite function cannot be computed merely by differentiating the outer function or inner function alone. Instead, the rate of change is governed by the Chain Rule:

The Chain Rule: If $g$ is differentiable at $x$ and $f$ is differentiable at $u = g(x)$, then the composite function $F(x) = (f \circ g)(x) = f(g(x))$ is differentiable at $x$, and its derivative is: F(x)=f(g(x))g(x)F'(x) = f'(g(x)) \cdot g'(x)

In Leibniz notation, defining $y = f(u)$ and $u = g(x)$ produces an intuitive cancellation structure resembling multiplying fractions: dydx=dydududx\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx} The conceptual mechanism of the Chain Rule is straightforward: the rate of change of $y$ with respect to $x$ equals the rate of change of $y$ with respect to the intermediate variable $u$, scaled by the rate of change of $u$ with respect to $x$.

Multi-Layer Composite Functions

When a function possesses multiple nested internal layers $y = f(g(h(x)))$, the Chain Rule cascades sequentially from the outermost layer to the innermost core: ddx[f(g(h(x)))]=f(g(h(x)))g(h(x))h(x)\frac{d}{dx}[f(g(h(x)))] = f'(g(h(x))) \cdot g'(h(x)) \cdot h'(x)


Generalized Differentiation Rules via the Chain Rule

Applying the Chain Rule to basic differentiation rules generates generalized formulas where the argument is an arbitrary differentiable function $u = u(x)$:

  • Generalized Power Rule: $\frac{d}{dx}[u^n] = n u^{n-1} \cdot u' = n [u(x)]^{n-1} \frac{du}{dx}$
  • Generalized Exponential Rules: ddx[eu]=euu,ddx[au]=aulnau\frac{d}{dx}[e^u] = e^u \cdot u', \quad \frac{d}{dx}[a^u] = a^u \ln a \cdot u'
  • Generalized Logarithmic Rules: ddx[lnu]=1uu=uu,ddx[logau]=uulna\frac{d}{dx}[\ln u] = \frac{1}{u} \cdot u' = \frac{u'}{u}, \quad \frac{d}{dx}[\log_a u] = \frac{u'}{u \ln a}
  • Generalized Trigonometric Rules: ddx[sinu]=cosuu,ddx[cosu]=sinuu,ddx[tanu]=sec2uu\frac{d}{dx}[\sin u] = \cos u \cdot u', \quad \frac{d}{dx}[\cos u] = -\sin u \cdot u', \quad \frac{d}{dx}[\tan u] = \sec^2 u \cdot u' ddx[secu]=secutanuu,ddx[cscu]=cscucotuu,ddx[cotu]=csc2uu\frac{d}{dx}[\sec u] = \sec u \tan u \cdot u', \quad \frac{d}{dx}[\csc u] = -\csc u \cot u \cdot u', \quad \frac{d}{dx}[\cot u] = -\csc^2 u \cdot u'

A ubiquitous error among secondary students and teacher candidates is omitting the internal derivative factor $u'$; for instance, erroneously writing $\frac{d}{dx}[\sin(5x)] = \cos(5x)$ instead of the correct $\cos(5x) \cdot 5 = 5\cos(5x)$.


Equations of Tangent and Normal Lines

A prime geometric application of differential calculus is formulating linear approximations to curved planar paths:

Tangent Lines

The tangent line to the curve $y = f(x)$ at a given point $P(x_1, y_1)$ where $y_1 = f(x_1)$ touches the curve with the exact slope of the curve at that point: mtan=f(x1)m_{\text{tan}} = f'(x_1) Using point-slope form, the equation of the tangent line is: yy1=f(x1)(xx1)    y=f(x1)(xx1)+f(x1)y - y_1 = f'(x_1)(x - x_1) \implies y = f'(x_1)(x - x_1) + f(x_1)

  • Horizontal Tangents: Occur at points where $f'(x) = 0$. The tangent line is horizontal with equation $y = y_1$.
  • Vertical Tangents: Occur where $|f'(x)| \to \infty$. The tangent line is vertical with equation $x = x_1$.

Normal Lines

The normal line to a curve at $P(x_1, y_1)$ is the line perpendicular to the tangent line at that exact contact point. Because perpendicular lines in Euclidean geometry possess negative reciprocal slopes ($m_1 \cdot m_2 = -1$), the slope of the normal line is: mnormal=1f(x1)(provided f(x1)0)m_{\text{normal}} = -\frac{1}{f'(x_1)} \quad (\text{provided } f'(x_1) \neq 0) The equation of the normal line is therefore: yy1=1f(x1)(xx1)y - y_1 = -\frac{1}{f'(x_1)}(x - x_1) If $f'(x_1) = 0$, the tangent line is horizontal ($y = y_1$), meaning the normal line is vertical with equation $x = x_1$. Conversely, if the tangent line is vertical, the normal line is horizontal ($y = y_1$).


Average Rate of Change vs. Instantaneous Rate of Change

Secondary mathematics educators must clearly distinguish between discrete average rates of change and continuous instantaneous rates of change:

  • Average Rate of Change: Measures the net variation in output per unit variation in input over a closed interval $[a, b]$: AROC=ΔyΔx=f(b)f(a)ba\text{AROC} = \frac{\Delta y}{\Delta x} = \frac{f(b) - f(a)}{b - a} Geometrically, the average rate of change represents the slope of the secant line passing through $(a, f(a))$ and $(b, f(b))$.
  • Instantaneous Rate of Change: Measures the instantaneous rate at which $f(x)$ changes at the single isolated point $x = a$: IROC=limbaf(b)f(a)ba=limh0f(a+h)f(a)h=f(a)\text{IROC} = \lim_{b \to a} \frac{f(b) - f(a)}{b - a} = \lim_{h \to 0} \frac{f(a + h) - f(a)}{h} = f'(a) Geometrically, this represents the slope of the tangent line at $(a, f(a))$.

The Mean Value Theorem (MVT) bridges these two concepts: if $f$ is continuous on $[a, b]$ and differentiable on $(a, b)$, there exists at least one $c \in (a, b)$ where $\text{IROC} = \text{AROC}$, meaning $f'(c) = \frac{f(b) - f(a)}{b - a}$.


Rectilinear Motion & Kinematics Along a Line

When a particle moves along a one-dimensional coordinate axis (rectilinear motion), its kinematic state is modeled by derivatives with respect to time $t$:

  1. Position Function $s(t)$: Specifies the signed displacement of the particle from the origin at time $t$.
  2. Velocity Function $v(t)$: The first derivative of position, representing instantaneous velocity: v(t)=s(t)=dsdtv(t) = s'(t) = \frac{ds}{dt}
    • If $v(t) > 0$, the particle moves in the positive direction (rightward or upward).
    • If $v(t) < 0$, the particle moves in the negative direction (leftward or downward).
    • If $v(t) = 0$, the particle is instantaneously at rest. A change of sign in $v(t)$ indicates a reversal in direction.
  3. Speed: The absolute magnitude of velocity (a non-negative scalar quantity): Speed(t)=v(t)=s(t)\text{Speed}(t) = |v(t)| = |s'(t)|
  4. Acceleration Function $a(t)$: The derivative of velocity and second derivative of position: a(t)=v(t)=s(t)=dvdt=d2sdt2a(t) = v'(t) = s''(t) = \frac{dv}{dt} = \frac{d^2s}{dt^2}

Analytical Criterion for Speeding Up vs. Slowing Down

A critical point of confusion on the FTCE examination is assuming that positive acceleration means speeding up and negative acceleration means slowing down. This is fundamentally false. The behavior of speed depends entirely on the relative signs of velocity and acceleration:

  • Speeding Up: A particle is speeding up if its speed $|v(t)|$ is increasing. This occurs when velocity and acceleration possess the same algebraic sign: v(t)a(t)>0    (v>0 and a>0)or(v<0 and a<0)v(t) \cdot a(t) > 0 \iff (v > 0 \text{ and } a > 0) \quad \text{or} \quad (v < 0 \text{ and } a < 0) When velocity and acceleration point in the same direction, the force accelerates the particle along its current trajectory, increasing its speed.
  • Slowing Down: A particle is slowing down if its speed $|v(t)|$ is decreasing. This occurs when velocity and acceleration possess opposite algebraic signs: v(t)a(t)<0    (v>0 and a<0)or(v<0 and a>0)v(t) \cdot a(t) < 0 \iff (v > 0 \text{ and } a < 0) \quad \text{or} \quad (v < 0 \text{ and } a > 0) When acceleration opposes velocity, it acts as a braking force, reducing speed toward zero.

Chain Rule Decomposition & Layer Mapping

Composite Expression $y$Outer Function $f(u)$Inner Function $u = g(x)$Outer Derivative $\frac{dy}{du}$Inner Derivative $\frac{du}{dx}$Total Derivative $\frac{dy}{dx}$
$(4x^3 - 7x + 2)^5$$u^5$$4x^3 - 7x + 2$$5u^4$$12x^2 - 7$$5(4x^3 - 7x + 2)^4(12x^2 - 7)$
$e^{-3x^2}$$e^u$$-3x^2$$e^u$$-6x$$-6x e^{-3x^2}$
$\ln(5x^2 + 1)$$\ln u$$5x^2 + 1$$\frac{1}{u}$$10x$$\frac{10x}{5x^2 + 1}$
$\cos(4x^3)$$\cos u$$4x^3$$-\sin u$$12x^2$$-12x^2 \sin(4x^3)$
$\tan^4(x) = (\tan x)^4$$u^4$$\tan x$$4u^3$$\sec^2 x$$4\tan^3(x)\sec^2(x)$
$\sqrt{x^2 + 9}$$u^{1/2}$$x^2 + 9$$\frac{1}{2\sqrt{u}}$$2x$$\frac{x}{\sqrt{x^2 + 9}}$

Worked Exemplar: Comprehensive Rectilinear Kinematics & Tangent Line Analysis

Problem: A particle moves along a horizontal axis such that its position in meters at time $t \ge 0$ seconds is given by: s(t)=2t315t2+24t+18s(t) = 2t^3 - 15t^2 + 24t + 18

  1. Determine the intervals on which the particle is moving to the right and moving to the left.
  2. Determine the time intervals on which the particle is speeding up and slowing down.
  3. Find the equation of the line tangent to $y = s(t)$ at the point where $t = 2$.

Step 1: Compute Velocity and Find Turning Points. Differentiate position $s(t)$ to find velocity $v(t)$: v(t)=s(t)=6t230t+24v(t) = s'(t) = 6t^2 - 30t + 24 Factor velocity completely: v(t)=6(t25t+4)=6(t1)(t4)v(t) = 6(t^2 - 5t + 4) = 6(t - 1)(t - 4) Set $v(t) = 0$ to identify stationary points (potential turning points): 6(t1)(t4)=0    t=1ort=46(t - 1)(t - 4) = 0 \implies t = 1 \quad \text{or} \quad t = 4

Step 2: Determine Direction of Motion. Analyze the sign of $v(t)$ on intervals determined by the roots:

  • On $[0, 1)$: choose $t = 0.5 \implies v(0.5) = 6(-0.5)(-3.5) > 0$. The particle moves right.
  • On $(1, 4)$: choose $t = 2 \implies v(2) = 6(1)(-2) = -12 < 0$. The particle moves left.
  • On $(4, \infty)$: choose $t = 5 \implies v(5) = 6(4)(1) = 24 > 0$. The particle moves right.

Step 3: Compute Acceleration and Determine Speeding Up / Slowing Down. Differentiate velocity $v(t)$ to obtain acceleration $a(t)$: a(t)=v(t)=12t30=6(2t5)a(t) = v'(t) = 12t - 30 = 6(2t - 5) Set $a(t) = 0$: 12t30=0    t=2.512t - 30 = 0 \implies t = 2.5

  • On $[0, 2.5)$: $a(t) < 0$ (negative).
  • On $(2.5, \infty)$: $a(t) > 0$ (positive).

Now compare the signs of $v(t)$ and $a(t)$ across critical boundary points $t = 0, 1, 2.5, 4$:

  • Interval $(0, 1)$: $v(t) > 0$ and $a(t) < 0$. Opposite signs $\implies$ Slowing down.
  • Interval $(1, 2.5)$: $v(t) < 0$ and $a(t) < 0$. Same sign $\implies$ Speeding up.
  • Interval $(2.5, 4)$: $v(t) < 0$ and $a(t) > 0$. Opposite signs $\implies$ Slowing down.
  • Interval $(4, \infty)$: $v(t) > 0$ and $a(t) > 0$. Same sign $\implies$ Speeding up.

Step 4: Formulate the Tangent Line Equation at $t = 2$. Evaluate position $s(2)$ to find the contact point: s(2)=2(2)315(2)2+24(2)+18=2(8)15(4)+48+18=1660+66=22s(2) = 2(2)^3 - 15(2)^2 + 24(2) + 18 = 2(8) - 15(4) + 48 + 18 = 16 - 60 + 66 = 22 The tangent point is $(2, 22)$. Evaluate velocity $v(2)$ to find the slope: mtan=v(2)=6(2)230(2)+24=2460+24=12m_{\text{tan}} = v(2) = 6(2)^2 - 30(2) + 24 = 24 - 60 + 24 = -12 Apply point-slope form: y22=12(t2)    y22=12t+24    y=12t+46y - 22 = -12(t - 2) \implies y - 22 = -12t + 24 \implies y = -12t + 46 In functional kinematics notation, the tangent linear approximation is $y(t) = -12t + 46$.

Test Your Knowledge

Differentiate the composite trigonometric function f(x) = sin^3(4x) with respect to x.

A
B
C
D
Test Your Knowledge

What is the equation of the line normal (perpendicular) to the curve f(x) = sqrt(2x + 5) at the point where x = 2?

A
B
C
D
Test Your Knowledge

A particle moves along a horizontal coordinate axis such that its position at time t >= 0 is given by s(t) = (1/3)t^3 - 3t^2 + 8t + 5. On which of the following time intervals is the particle slowing down?

A
B
C
D
Test Your Knowledge

For the quadratic function f(x) = 2x^2 - 3x + 4, for what value of c in the open interval (1, 5) does the instantaneous rate of change f'(c) equal the average rate of change of f(x) over the closed interval [1, 5]?

A
B
C
D