Differentiate composite functions with the chain rule. The calculator breaks the expression into nested layers, builds a visual composition tree, shows each derivative layer, checks optional student answers, and graphs \(f(x)\), \(f'(x)\), and the tangent line.
Chain Rule and Composite Functions Differentiator
Math Calculus • Derivatives
Frequently Asked Questions
What is the chain rule?
The chain rule says that if y=f(g(x)), then dy/dx=f'(g(x))g'(x).
What is the derivative of sin(x^2)?
Let u=x^2. Then d/dx sin(u)=cos(u)u', so the derivative is cos(x^2)*2x.
What is a composite function?
A composite function is a function placed inside another function, such as sin(x^2), exp(sin(x)), or sqrt(3x+1).
What is the most common chain-rule mistake?
The most common mistake is differentiating the outside function but forgetting to multiply by the derivative of the inside function.
Can this calculator handle nested functions?
Yes. It supports nested functions such as exp(sin(x^2)) and shows a composition tree from outside to inside.
Can this calculator use f(g(x)) input?
Yes. Builder mode lets you enter f(u) and g(x), then automatically forms and differentiates f(g(x)).
Does this calculator check my answer?
Yes. You can type your derivative in the practice answer box, and the tool compares it numerically with the computed derivative.
Does this calculator graph the derivative?
Yes. It graphs f(x), f'(x), and the tangent line at the selected evaluation point.