Chain Rule

EXPLORE THIS TOPIC IN the MathWorld Classroom

If g(x) is differentiable at the point x and f(x) is differentiable at the point g(x), then f degreesg is differentiable at x. Furthermore, let y=f(g(x)) and u=g(x), then

 (dy)/(dx)=(dy)/(du)·(du)/(dx).
(1)

There are a number of related results that also go under the name of "chain rules." For example, if z=f(x,y), x=g(t), and y=h(t), then

 (dz)/(dt)=(partialz)/(partialx)(dx)/(dt)+(partialz)/(partialy)(dy)/(dt).
(2)

The "general" chain rule applies to two sets of functions

y_1=f_1(u_1,...,u_p)
(3)
|
(4)
y_m=f_m(u_1,...,u_p)
(5)

and

u_1=g_1(x_1,...,x_n)
(6)
|
(7)
u_p=g_p(x_1,...,x_n).
(8)

Defining the m×n Jacobi rotation matrix by

 ((partialy_i)/(partialx_j))=[(partialy_1)/(partialx_1) (partialy_1)/(partialx_2) ... (partialy_1)/(partialx_n); | | ... |; (partialy_m)/(partialx_1) (partialy_m)/(partialx_2) ... (partialy_m)/(partialx_n)],
(9)

and similarly for (partialy_i/partialu_j) and (partialu_i/partialx_j), then gives

 ((partialy_i)/(partialx_j))=((partialy_i)/(partialu_i))((partialu_i)/(partialx_j)).
(10)

In differential form, this becomes

 dy_1=((partialy_1)/(partialu_1)(partialu_1)/(partialx_1)+...+(partialy_1)/(partialu_p)(partialu_p)/(partialx_1))dx_1+((partialy_1)/(partialu_1)(partialu_1)/(partialx_2)+...+(partialy_1)/(partialu_p)(partialu_p)/(partialx_2))dx_2+...
(11)

(Kaplan 1984).

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.