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.

Composite functions occur when one function is placed inside another, such as f(g(x)). Their derivatives are essential in calculus because many real formulas are built in layers, including powers of trig functions, exponentials with polynomial inputs, and square roots of expressions. The chain rule gives a reliable way to differentiate these nested structures.

It helps you track how a small change in x moves through each layer of the function.

Understanding Calculus: Derivatives of Composite Functions

A useful way to understand the chain rule is to think about a dependency path. A quantity may depend on temperature, while temperature depends on time. The final rate of change with time must include both links.

If the temperature changes slowly, even a formula that is very sensitive to temperature may change slowly over time. If temperature changes quickly, the final rate can be large.

The chain rule combines these effects by multiplying rates. This is why it appears whenever one changing quantity feeds into another.

When differentiating, first identify the outside operation. In the expression the square of the quantity five x minus two, squaring is the outside operation. The quantity five x minus two is treated temporarily as one whole input.

Differentiate the square as if its input were a single variable, giving two times that input. Then multiply by the rate of change of the inside, which is five. The final derivative is ten times the quantity five x minus two.

Keeping brackets mentally around the whole inside expression prevents a common error. Students often differentiate the outside correctly but forget the extra factor from the inside.

The same idea works when the layers are less obvious. For the natural logarithm of the square root of one plus x squared, the outer layer is the natural logarithm. Inside it sits a square root.

Inside the square root sits one plus x squared. Work from the outside toward the center, writing one derivative factor for every layer. Then differentiate the inner layers in order.

The result has several multiplied pieces. It can look long, but each piece has a clear source.

Simplifying should come after the structure is correct. Early simplification can hide a missing layer or cause a sign mistake.

Composite derivatives matter in motion, science, and data models. A sensor might convert light into an electrical signal, then software converts that signal into a reported concentration. Each conversion has its own rate of response.

In economics, a cost can depend on production, while production depends on time. In physics, position may contain a function of a changing angle or temperature. The chain rule gives the rate for the quantity people actually observe.

When studying, practice naming the outermost operation before doing any algebra. Mark repeated groups, use a temporary name for a complicated inside expression, and check whether every changing input contributed a factor. These habits make multi-step derivatives far more reliable.

Key Facts

  • Composite function notation: y = f(g(x))
  • Chain rule: d/dx[f(g(x))] = f'(g(x))g'(x)
  • Leibniz form: if y = f(u) and u = g(x), then dy/dx = (dy/du)(du/dx)
  • Power chain rule: d/dx[(g(x))^n] = n(g(x))^(n - 1)g'(x)
  • Multiple layers: d/dx[f(g(h(x)))] = f'(g(h(x)))g'(h(x))h'(x)
  • For y = sin(3x^2 + 1), dy/dx = cos(3x^2 + 1)(6x)

Vocabulary

Composite function
A function formed by using the output of one function as the input of another function.
Inner function
The function inside a composite expression, often written as g(x) in f(g(x)).
Outer function
The function applied after the inner function, often written as f in f(g(x)).
Chain rule
A differentiation rule that multiplies the derivative of the outer function by the derivative of the inner function.
Intermediate variable
A temporary variable, often u, used to represent the inner function and make the chain rule easier to apply.

Common Mistakes to Avoid

  • Forgetting to multiply by the inner derivative, which is wrong because the outer function changes with its input and that input also changes with x.
  • Choosing the wrong inner function, which is wrong because the chain rule depends on identifying the exact expression being substituted into the outer function.
  • Differentiating f(g(x)) as f'(x)g'(x), which is wrong because the derivative of the outer function must be evaluated at g(x), not at x.
  • Stopping too early in multiple nesting, which is wrong because each layer contributes its own derivative factor to the final answer.

Practice Questions

  1. 1 Find dy/dx for y = (5x^2 - 4x + 1)^7.
  2. 2 Find dy/dx for y = e^(sin(2x)) and evaluate it at x = 0.
  3. 3 A student says the derivative of cos(x^3 + 2) is -sin(x^3 + 2). Explain what is missing and why.