Ctrl+k

Differentiate composite functions using the chain rule

The chain rule expresses how the rate of change of a composite function depends on both the outer function’s derivative and the inner function’s derivative: ddxf(g(x))=f(g(x))g(x)\frac{d}{dx}f(g(x))=f'(g(x))g'(x). This includes identifying inner and outer functions and differentiating common algebraic, exponential, logarithmic, and trigonometric composites without omitting the inner derivative; more advanced generalizations, such as multivariable chain rules, are not included.

Detailed Explanation: Differentiate composite functions using the chain rule

When one function is inside another, use the chain rule:

ddxf(g(x))=f(g(x))g(x)\frac{d}{dx}f(g(x))=f'(g(x))\cdot g'(x)

Think of the expression as having:

  • an inner function: the function inside parentheses
  • an outer function: the function acting on the inner function

Example

Differentiate

y=(3x25)4y=(3x^2-5)^4

Step 1: Identify the inner and outer functions.

The inner function is

u=3x25u=3x^2-5

The outer function is

y=u4y=u^4

Step 2: Differentiate the outer function.

Using the power rule,

dydu=4u3\frac{dy}{du}=4u^3

Step 3: Differentiate the inner function.

dudx=6x\frac{du}{dx}=6x

Step 4: Multiply the derivatives.

The chain rule gives

dydx=dydududx\frac{dy}{dx}=\frac{dy}{du}\cdot\frac{du}{dx}

Substitute the derivatives:

dydx=4u36x\frac{dy}{dx}=4u^3\cdot 6x

Replace uu with 3x253x^2-5:

dydx=4(3x25)36x\frac{dy}{dx}=4(3x^2-5)^3\cdot 6x

Therefore,

dydx=24x(3x25)3\boxed{\frac{dy}{dx}=24x(3x^2-5)^3}

The factor 6x6x is the derivative of the inner function. It must be included; leaving it out would mean the chain rule was not fully applied.

Learn by doing: Differentiate composite functions using the chain rule

Click a topic below to practice the foundational skills you'll need, learn the steps, or master this skill

Practice with unlimited practice problems

Derivative Rules - Multi Chain Natural and General Exponential to Derivative


    ?