Chain Rule for Differentiation"

The Chain Rule is used to differentiate composite functions by multiplying the derivative of the outer function with the derivative of the inner function.

Neetesh Kumar

Neetesh Kumar | February 08, 2025                                      \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space Share this Page on: Reddit icon Discord icon Email icon WhatsApp icon Telegram icon


Table of Content:


Definition of Chain Rule:

Chain Rule:
If y=f(g(x))y = f\big(g(x)\big), where both ff and gg are differentiable functions, then the derivative of yy with respect to xx is given by:

dydx=f(g(x)).g(x)=dfdgdgdx\boxed{\frac{dy}{dx} = f'\big(g(x)\big).g'(x) = \frac{df}{dg} \cdot \frac{dg}{dx} }

This means that when differentiating a composite function, we differentiate the outer function first, leaving the inner function unchanged, and then multiply by the derivative of the inner function.


Explanation & Intuition:

  • The chain rule is useful when differentiating nested functions, such as polynomials inside roots, exponentials inside logarithms, and trigonometric compositions.
  • It helps in differentiating composite functions that appear frequently in physics, economics, and engineering.
  • The rule ensures that changes in inner functions contribute correctly to the overall rate of change.

Derivative Examples with Solutions:

Example 1: Differentiating a Square Root Function

Differentiate f(x)=4x2+1f(x) = \sqrt{4x^2 + 1}.

Solution:

Rewrite as:

f(x)=(4x2+1)12f(x) = (4x^2 + 1)^{\frac{1}{2}}.

Using the chain rule, let:

  • Outer function: f(u)=u12f(u) = u^{\frac{1}{2}}, so f(u)=12u12f'(u) = \frac{1}{2} u^{-\frac{1}{2}}.
  • Inner function: g(x)=4x2+1g(x) = 4x^2 + 1, so g(x)=8xg'(x) = 8x.

Applying the chain rule:

f(x)=12(4x2+1)128xf'(x) = \dfrac{1}{2} (4x^2 + 1)^{-\frac{1}{2}} \cdot 8x

f(x)=8x24x2+1f'(x) = \dfrac{8x}{2\sqrt{4x^2 + 1}}

f(x)=4x4x2+1f'(x) = \boxed{\dfrac{4x}{\sqrt{4x^2 + 1}}}.


Example 2: Differentiating an Exponential Function

Differentiate f(x)=e3x2+2xf(x) = e^{3x^2 + 2x}.

Solution:

Using the chain rule, let:

  • Outer function: f(u)=euf(u) = e^u, so f(u)=euf'(u) = e^u.
  • Inner function: g(x)=3x2+2xg(x) = 3x^2 + 2x, so g(x)=6x+2g'(x) = 6x + 2.

Applying the chain rule:

f(x)=e3x2+2x(6x+2)f'(x) = e^{3x^2 + 2x} \cdot (6x + 2)

Thus, the final answer is:

(6x+2).e3x2+2x\boxed{(6x + 2).e^{3x^2 + 2x}}.


Example 3: Differentiating a Trigonometric Function

Differentiate f(x)=sin(5x32x)f(x) = \sin(5x^3 - 2x).

Solution:

Using the chain rule, let:

  • Outer function: f(u)=sinuf(u) = \sin u, so f(u)=cosuf'(u) = \cos u.
  • Inner function: g(x)=5x32xg(x) = 5x^3 - 2x, so g(x)=15x22g'(x) = 15x^2 - 2.

Applying the chain rule:

f(x)=cos(5x32x)(15x22)f'(x) = \cos(5x^3 - 2x) \cdot (15x^2 - 2)

Thus, the final answer is:

(15x22).cos(5x32x)\boxed{(15x^2 - 2) .\cos(5x^3 - 2x)}.


Example 4: Finding the Rate of Change of Temperature

The temperature TT of an object is given by: T=ln(5t2+3t)T = \ln(5t^2 + 3t)

where tt is the time in seconds. Find the rate of change of temperature at t=2t = 2.

Solution:

Using the chain rule, let:

  • Outer function: f(u)=lnuf(u) = \ln u, so f(u)=1uf'(u) = \dfrac{1}{u}.
  • Inner function: g(t)=5t2+3tg(t) = 5t^2 + 3t, so g(t)=10t+3g'(t) = 10t + 3.

Applying the chain rule:

dTdt=15t2+3t(10t+3)\dfrac{dT}{dt} = \frac{1}{5t^2 + 3t} \cdot (10t + 3)

Substituting t=2t = 2:

dTdt=10(2)+35(2)2+3(2)=20+320+6=2326\dfrac{dT}{dt} = \dfrac{10(2) + 3}{5(2)^2 + 3(2)} = \dfrac{20 + 3}{20 + 6} = \dfrac{23}{26}.

Thus, the rate of change of temperature at t=2t = 2 is: 2326\boxed{\frac{23}{26}}.


Conclusion:

  • The chain rule is crucial for differentiating composite functions.
  • It is widely used in physics, biology, and economics, where nested functions appear frequently.
  • This rule allows us to differentiate functions efficiently when they involve exponentials, trigonometric, logarithmic, or polynomial compositions.