The chain rule is used to differentiate composite functions — functions inside other functions. If y depends on u, and u depends on x, then the chain rule links all three derivatives together.
Outer: u⁵ → 5u⁴ Inner: 3x+2 → 3
dy/dx = 5(3x+2)⁴ × 3 = 15(3x+2)⁴Outer: sin(u) → cos(u) Inner: x² → 2x
dy/dx = cos(x²) × 2x = 2x·cos(x²)Write as (x³+1)^(1/2), outer → ½u^(-1/2), inner → 3x²
dy/dx = (3x²) / (2√(x³+1))Ask: "Is there a function inside another function?" If yes, use the chain rule.