Loading…

Chain Rule for Multivariables Tool

Math Calculus • Differential Equations

View all topics

Apply the multivariable chain rule to composite functions such as \(F=f(x,y)\), \(x=x(t)\), and \(y=y(t)\). The calculator builds the dependency tree, graphs the composed function, computes the needed partial derivatives, substitutes the inner functions, and shows the final derivative.

One parameter \(\displaystyle \frac{dF}{dt}=f_x\frac{dx}{dt}+f_y\frac{dy}{dt}\) Three intermediates \(\displaystyle \frac{dF}{dt}=f_xx_t+f_yy_t+f_zz_t\) Two parameters \(\displaystyle \frac{\partial F}{\partial s}=f_xx_s+f_yy_s+f_zz_s\) Sample \(\displaystyle f=x^2+y^2,\ x=t,\ y=t^2\)

Composite function setup

Use \(x,y\), and optionally \(z\). Supported functions: sin, cos, tan, sqrt, abs, exp, ln, log.
Live preview

Quick examples

Ready
Enter a composite function and click “Apply chain rule”.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What is the multivariable chain rule?

It is a rule for differentiating composite functions. If F(t)=f(x(t),y(t)), then dF/dt = f_x dx/dt + f_y dy/dt.

What happens with three intermediate variables?

If F(t)=f(x(t),y(t),z(t)), then dF/dt = f_x x_t + f_y y_t + f_z z_t.

Can this calculator handle two independent variables?

Yes. If x, y, and z depend on s and t, it can compute partial derivatives such as partial F / partial s or partial F / partial t.

What does the dependency tree show?

The tree shows how independent variables feed into intermediate variables, how intermediate variables feed into the outer function, and how derivative information combines into the final chain-rule result.

Why is the gradient involved?

The outer partial derivatives f_x, f_y, and f_z measure how sensitive the outer function is to each intermediate variable. The chain rule weights these by how fast each intermediate variable changes.

Does direct substitution give the same answer?

Yes. Differentiating the fully substituted composed function should agree with the multivariable chain-rule result.