How do you solve chain rule practice problems?

Chain rule practice problems with step-by-step answers

Use the chain rule when one function is inside another. Differentiate the outer function while leaving the inner function unchanged, then multiply by the derivative of the inner function: if y = f(g(x)), then y′ = f′(g(x)) · g′(x).

What you should know first

  • Power, exponential, logarithmic and trigonometric derivatives
  • Function composition such as f(g(x))
  • Basic algebra and simplification

The explanation

Spot the inside and outside

For (5x² − 3)⁴, the inside is g(x) = 5x² − 3 and the outside is f(u) = u⁴. For sin(3x²), the inside is 3x² and the outside is sin(u). Naming both parts prevents the most common error: forgetting the inside derivative.

Differentiate from outside to inside

First calculate f′(u), then substitute u = g(x) without changing the inside. Finally multiply by g′(x). For nested functions, repeat this process one layer at a time rather than trying to differentiate everything at once.

Know when not to use it

The chain rule handles composition, not every expression containing two functions. Use the product rule for x² sin(x), the quotient rule for sin(x)/x², and basic rules for a single function such as x⁵ or cos(x).

What this covers

  • Identifying inner and outer functions
  • Powers of a function
  • Trigonometric, exponential and logarithmic composites
  • Avoiding a missing inner derivative

Worked examples

Example 1

Differentiate y = (5x² − 3)⁴

  1. 1
    Choose the layers
    Outer: u⁴. Inner: u = 5x² − 3.
  2. 2
    Differentiate the outer layer
    The derivative of u⁴ is 4u³, so the first factor is 4(5x² − 3)³.
  3. 3
    Multiply by the inner derivative
    u′ = 10x, so y′ = 4(5x² − 3)³ · 10x.
  4. 4
    Simplify
    Multiply 4 by 10x and leave the composite factored.
Answer: y′ = 40x(5x² − 3)³
Example 2

Differentiate y = sin(3x²)

  1. 1
    Identify the layers
    Outer: sin(u). Inner: u = 3x².
  2. 2
    Differentiate the outer layer
    sin(u) becomes cos(u), giving cos(3x²).
  3. 3
    Include the inner derivative
    u′ = 6x, so multiply cos(3x²) by 6x.
Answer: y′ = 6x cos(3x²)

Mistakes that cost marks

  • Writing 4(5x² − 3)³ without multiplying by 10x.
  • Changing the inside while differentiating the outside: sin(3x²) becomes cos(3x²), not cos(6x).
  • Using the chain rule on a product such as x sin(x) instead of the product rule.
  • Differentiating only the inner function and losing the outer derivative.

10 practice questions with step-by-step answers

Pick an answer to see if you're right and why.

  1. 1. 1. Differentiate (x³ + 2)⁵.

  2. 2. 2. Differentiate e^(4x).

  3. 3. 3. Differentiate cos(x²).

  4. 4. 4. Differentiate ln(3x + 1), for 3x + 1 > 0.

  5. 5. 5. Differentiate sin²(x), meaning (sin(x))².

  6. 6. 6. Differentiate (2x − 1)³.

  7. 7. 7. Differentiate √(1 + x²).

  8. 8. 8. In tan(5x²), what is the inner function?

  9. 9. 9. Differentiate e^(sin(x)).

  10. 10. 10. A student wrote the derivative of (7x + 1)⁶ as 6(7x + 1)⁵. What is the correct answer?

Questions students ask

What is the chain rule in words?

Differentiate the outside function while keeping its inside unchanged, then multiply by the derivative of the inside. It applies whenever functions are composed.

How can I tell whether to use the chain rule or product rule?

Composition means one function is the input of another, as in sin(x²). A product multiplies two separate functions, as in x² sin(x). Products need the product rule; composites need the chain rule.

Should I expand before using the chain rule?

Usually no. Leaving a power factored is shorter and clearer. Expanding (5x² − 3)⁴ creates unnecessary algebra and more opportunities for errors.

Continue with a personalized 14-day study plan

Take the free adaptive diagnostic to find your weakest calculus concept, get your first learning step, and preview a plan built from your answers. No card is needed.

Related topics

Browse all maths, physics and chemistry questions