Applying the chain rule using trees?

Click For Summary
SUMMARY

The discussion focuses on applying the chain rule using dependency trees to compute the expression for ∂z/∂r, where z is defined as z=k(x, y)=xy², with x and y being functions of multiple variables. The user initially calculated only two terms instead of the required eight, indicating a misunderstanding of the dependency tree structure. A correct approach involves recognizing that the expression should yield 16 leaves at the base, leading to four distinct terms in the final derivative expression, including the partial derivatives of z with respect to x and y.

PREREQUISITES
  • Understanding of partial derivatives and the chain rule in calculus
  • Familiarity with dependency trees for multivariable functions
  • Knowledge of functions and their derivatives, specifically in the context of z=k(x, y)
  • Basic proficiency in mathematical notation and expressions
NEXT STEPS
  • Study the application of the chain rule in multivariable calculus
  • Learn how to construct and analyze dependency trees for complex functions
  • Explore examples of calculating partial derivatives for functions of multiple variables
  • Review the concept of leaves in dependency trees and their significance in derivatives
USEFUL FOR

Students and educators in mathematics, particularly those studying calculus and multivariable functions, as well as anyone seeking to deepen their understanding of the chain rule and dependency trees in mathematical expressions.

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:
Physics news on Phys.org
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:
attachment.php?attachmentid=58345&stc=1&d=1367266069.jpg
 

Attachments

  • Untitled_Image-OZCiTMvb.1367266012.jpg
    Untitled_Image-OZCiTMvb.1367266012.jpg
    15.7 KB · Views: 491

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K