Chain rule

    Understanding the Chain Rule

    The Chain Rule is a fundamental differentiation rule in calculus used to find the derivative of composite functions. A composite function is essentially a function within a function, often written as f(g(x)). Without the Chain Rule, differentiating such functions would be significantly more complex, often requiring algebraic expansion before differentiation, which is not always possible or practical.

    The Formal Statement of the Chain Rule

    If y = f(u) is a differentiable function of u, and u = g(x) is a differentiable function of x, then y = f(g(x)) is a differentiable function of x, and its derivative is given by:

    • Leibniz Notation: dy/dx = (dy/du) * (du/dx)
    • Lagrange Notation: d/dx [f(g(x))] = f'(g(x)) * g'(x)

    In simpler terms, you differentiate the outer function f with respect to its argument g(x) (keeping the inner function intact), and then you multiply the result by the derivative of the inner function g with respect to x.

    Applying the Chain Rule: Step-by-Step

    To apply the Chain Rule effectively, follow these steps:

    1. Identify the Outer and Inner Functions: Clearly determine which function is f(u) (the outer function) and which is g(x) (the inner function).
    2. Differentiate the Outer Function: Find the derivative of f(u) with respect to u, denoted as f'(u). Remember to substitute g(x) back in for u after differentiation, so you get f'(g(x)).
    3. Differentiate the Inner Function: Find the derivative of g(x) with respect to x, denoted as g'(x).
    4. Multiply the Results: Combine the derivatives by multiplying f'(g(x)) * g'(x).

    Examples of Chain Rule Application

    • Example 1: Power Rule with Chain Rule
      If y = (3x² + 5)⁴, here f(u) = u⁴ and g(x) = 3x² + 5.
      f'(u) = 4u³, so f'(g(x)) = 4(3x² + 5)³.
      g'(x) = 6x.
      Therefore, dy/dx = 4(3x² + 5)³ * (6x) = 24x(3x² + 5)³.
    • Example 2: Trigonometric Function with Chain Rule
      If y = sin(x³ - 2x), here f(u) = sin(u) and g(x) = x³ - 2x.
      f'(u) = cos(u), so f'(g(x)) = cos(x³ - 2x).
      g'(x) = 3x² - 2.
      Therefore, dy/dx = cos(x³ - 2x) * (3x² - 2).

    Chain Rule with Multiple Layers

    The Chain Rule can be extended to functions with multiple layers of composition, such as f(g(h(x))). In such cases, you apply the rule iteratively:

    • d/dx [f(g(h(x)))] = f'(g(h(x))) * g'(h(x)) * h'(x).

    This means you differentiate the outermost function, then the next inner, and so on, multiplying each derivative along the way.

    Practice questions

    1

    What is the derivative of y = (5x^2 - 3)^4 with respect to x?

    2

    Find dy/dx for y = sin(e^(2x)).

    3

    If f(x) = tan(3x), what is f'(π/9)?

    4

    Which of the following is equivalent to dy/dx if y = (x^2 + 1)^(-1/2)?

    Practice more free →

    Free AP4U account — unlimited practice, AI grader, and progress tracking.

    Canonical: https://apforu.com/ap/calculus-ab/unit-3-differentiation-composite-implicit-and-inverse-functions/chain-rule