Course contentsShow
← Mathematics
Lesson 1414 of 3,12132. Derivatives — Definition and Basic RulesFree lesson

Multiple Compositions

Differentiate functions requiring the chain rule applied multiple times in succession.

Multiple Compositions

You'll learn how to differentiate functions where the chain rule must be applied more than once in succession.

The Core Idea

Sometimes a function is composed of three or more nested functions—like a set of Russian dolls within dolls within dolls. To differentiate these, you apply the chain rule repeatedly, peeling away one layer at a time from the outside in.

For example, consider f(x) = sin³(√(2x + 1)). This has three layers:

  • Outermost: something cubed
  • Middle: square root of something
  • Innermost: 2x + 1

How It Works

Start from the outermost function and work your way inward:

  1. Differentiate the outer layer while keeping everything inside intact
  2. Multiply by the derivative of the next layer (treating what's inside that as a single unit)
  3. Continue multiplying by the derivative of each successive inner layer until you reach the innermost basic function

Example: For f(x) = sin³(√(2x + 1))

  • Outer derivative: 3[sin(√(2x + 1))]² · (derivative of what's inside)
  • Middle derivative: cos(√(2x + 1)) · (derivative of what's inside)
  • Inner derivative: ½(2x + 1)^(-½) · 2

Put it all together: f'(x) = 3sin²(√(2x + 1)) · cos(√(2x + 1)) · ½(2x + 1)^(-½) · 2

Think of It Like This

Imagine unwrapping a gift with multiple layers of wrapping paper. You must remove them one at a time, accounting for each layer as you go—but you multiply the "cost" of removing each layer together.

Key Takeaway: When functions are nested multiple times, apply the chain rule successively from outside to inside, multiplying all the derivatives together.