Applying the chain rule using trees?

2 replies · 2K views · last reply
Pizzerer
Messages
10
Reaction score
0

Homework Statement


Write out a tree (this will be a big tree) of dependencies and hence write down an expression for
∂z/∂r

Homework Equations


z=k(x, y)=xy2, x=(w1)(w2)+w3, y=w4;

w1=t, w2=t2, w3=2t+1, w4=sin(t);
t=r2+2s2

The Attempt at a Solution


This is the tree I drew and followed the relevant paths in order to try and write and expression but my expression is to short. I only calculate 2 terms when there is suppose to be 8:
http://www.picpaste.com/Untitled_Image-OZCiTMvb.jpg

This is wrong however. I need 16 leaves at the base. What am I doing wrong?
 
Last edited by a moderator:
Pizzerer said:

Homework Statement


Write out a tree (this will be a big tree) of dependencies and hence write down an expression for
∂z/∂r

Homework Equations


z=k(x, y)=xy2, x=(w1)(w2)+w3, y=w4;

w1=t, w2=t2, w3=2t+1, w4=sin(t);
t=r2+2s2

The Attempt at a Solution


This is the tree I drew and followed the relevant paths in order to try and write and expression but my expression is to short. I only calculate 2 terms when there is suppose to be 8:
http://www.picpaste.com/Untitled_Image-OZCiTMvb.jpg

This is wrong however. I need 16 leaves at the base. What am I doing wrong?

I drew a diagram and got the same one you did.

As far as your partial ## \partial z/\partial r## is concerned, I get four terms to your two. Three of the four terms look like this:
$$ \frac{\partial z}{\partial x} \frac{\partial x}{\partial w_i} \frac{d w_i}{dt} \frac{\partial t}{\partial r}$$

For the fourth one, the first factor is the partial of z with respect to y.
 
Last edited by a moderator:
Hand-drawn chain rule tree diagram: z at the top branches to x and y; x branches to w1, w2, w3, each leading to t then to r and s; y leads to w4, then t, then r and s; edges labelled dz/dy, dy/dw4, dw4/dt, dt/dr, dt/ds.
 
Attachments
  • Handwritten chain rule tree diagram: Z at the top branches into X and Y, X into w1, w2, w3, each leading to t then r and s, and Y into w4 leading to t then r and s, with partial derivative labels on the branches.
    Untitled_Image-OZCiTMvb.1367266012.jpg
    15.7 KB · Views: 513