Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

The chain rule and implicit differentiation are two core tools for finding derivatives when functions are not written in the simplest direct form. The chain rule helps when one quantity depends on another quantity that itself depends on a third variable. Implicit differentiation helps when x and y are mixed together in one equation instead of y being isolated. These ideas matter because many real models in physics, biology, and engineering involve layered relationships or curves that cannot be solved neatly for y.

The chain rule works by tracking how a change moves through each layer of a composite function. If y=f(g(x))y = f(g(x)), then the derivative multiplies the rate of change of the outer function by the rate of change of the inner function. Implicit differentiation works by differentiating both sides of an equation with respect to xx and treating yy as a function of xx. Whenever a yy term is differentiated, a factor of dydx\frac{dy}{dx} appears, and then algebra is used to solve for dydx\frac{dy}{dx}.

Key Facts

  • Chain rule: if y=f(g(x))y = f(g(x)), then dydx=f(g(x))g(x)\frac{dy}{dx} = f'(g(x)) \cdot g'(x)
  • Power chain rule: ddx[(u(x))n]=n(u(x))n1u(x)\frac{d}{dx}[(u(x))^n] = n(u(x))^{n-1} \cdot u'(x)
  • Trig chain rule example: ddx[sin(u)]=cos(u)u\frac{d}{dx}[\sin(u)] = \cos(u) \cdot u'
  • Exponential chain rule example: ddx[e(u)]=e(u)u\frac{d}{dx}[e^{(u)}] = e^{(u)} \cdot u'
  • Implicit differentiation rule: ddx[y]=dydx\frac{d}{dx}[y] = \frac{dy}{dx} because yy depends on xx
  • For x2+y2=r2x^2 + y^2 = r^2, implicit differentiation gives 2x+2y(dydx)=02x + 2y\left(\frac{dy}{dx}\right) = 0, so dydx=xy\frac{dy}{dx} = -\frac{x}{y}

Vocabulary

Composite function
A function formed by putting one function inside another, such as f(g(x))f(g(x)).
Chain rule
A differentiation rule used to find the derivative of a composite function by multiplying derivatives of the layers.
Implicit function
A relationship between xx and yy given by an equation like x2+y2=25x^2 + y^2 = 25, where yy is not isolated.
Implicit differentiation
A method of differentiating an equation with x and y together by treating y as a function of x.
dydx\frac{dy}{dx}
The derivative of y with respect to x, representing the slope or rate of change of y as x changes.

Common Mistakes to Avoid

  • Forgetting to multiply by the derivative of the inside function, which makes a chain rule answer incomplete and too small. Every time a function is nested inside another, the inner derivative must appear.
  • Differentiating yy as if it were a constant in an implicit equation, which is wrong because yy usually depends on xx. Terms like ddx[y2]\frac{d}{dx}[y^2] must become 2y(dydx)2y\left(\frac{dy}{dx}\right), not just 2y2y.
  • Solving for dydx\frac{dy}{dx} before differentiating the whole equation, which often creates harder algebra or loses the structure of the problem. Differentiate both sides first, then collect dydx\frac{dy}{dx} terms and solve.
  • Applying the chain rule to a sum that is not actually nested, which mixes up composition with ordinary addition. In x2+sinxx^2 + \sin x, each term is differentiated separately because one function is not inside the other.

Practice Questions

  1. 1 Find dydx\frac{dy}{dx} if y=(3x2+1)5y = (3x^2 + 1)^5.
  2. 2 Use implicit differentiation to find dydx\frac{dy}{dx} for the curve x2+xy+y2=7x^2 + xy + y^2 = 7.
  3. 3 Explain why differentiating y3y^3 with respect to xx in an implicit equation gives 3y2dydx3y^2\frac{dy}{dx} instead of just 3y23y^2.