What is the Chain Rule and How is it Applied in Differentiation?

Click For Summary

Homework Help Overview

The discussion revolves around the application of the chain rule in differentiation, particularly in the context of multivariable functions. The original poster presents a problem involving the variables x, y, and z defined in terms of u and v, and seeks to understand how to compute the partial derivative of z with respect to x at a specific point.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the relationships between the variables and the application of the chain rule for multivariable functions. There is an exploration of how to express the derivatives in terms of the relationships between z, x, y, u, and v. Questions arise regarding the validity of certain derivatives, particularly concerning independent variables and the paths available for differentiation.

Discussion Status

The discussion is active, with participants providing insights into the chain rule and clarifying misconceptions about the independence of variables. Some participants express confusion about which derivatives are permissible and seek further clarification on the application of the chain rule in their specific problem context.

Contextual Notes

There is an emphasis on the independence of x and y as variables, which affects the discussion on allowable derivatives. Participants are also referencing an external problem for additional context, indicating a broader exploration of the topic.

riskybeats
Messages
17
Reaction score
0
Hello hello. In class we went over the ''mini-chain rule'' once, and haven't gone over the real chain rule yet. I really want to understand how to go about solving this equation, and to really understand what is happening here.

x=u3-3uv2
y=3u2v-v3
z=u2-v2

Define z as a function of x and y. Determine delZ/delx at the point (u,v) = (2,1) which corresponds to the points (x,y) = (2,11)

I can see from the last point that points (u,v) = (x(u,v), y(u,v))
f(x,y) should equal z. I am just confused how to interpret this with z = u2-v2.

Since I received this as homework, I am guessing it can be done with partial derivatives. Any insight into this would be welcomed!
 
Physics news on Phys.org
I find it helpful to sketch the relationships between the variables.
ChainRule.JPG

Here you have z as a function of x and y, and x and y are both functions of u and v. My drawing is pretty small, but it shows z all the way to the left, and then x and y in the center column, and finally, u and v in the right column.

The chain rule takes different forms for multivariable functions. To find the partial of the variable on the left (z) with respect to either of the variables on the right (say u), you're basically looking at all the ways to get from z to u. There is one path from z to x to u, and another from z to y to u. The first of the formulas below captures this idea.

Here is the chain rule for these variables.
\frac{\partial z}{\partial u} = \frac{\partial z}{\partial x}\frac{\partial x}{\partial u} + \frac{\partial z}{\partial y}\frac{\partial y}{\partial u}
\frac{\partial z}{\partial y} = \frac{\partial z}{\partial x}\frac{\partial x}{\partial v} + \frac{\partial z}{\partial y}\frac{\partial y}{\partial v}

To make the typing simpler, I'll use subscripts to represent partial derivatives, with zu being the partial of z with respect to u.

You are asked to find zx. From the formulas you are given, you can find zu, xu, and yu. However, there are two unknown quantities in the first equation above: zx and zy. These are unknown because you are not given explicit formulas for z in terms of x and y.

In the second formula above, for zv, you can calculate zv, xv, and yv. This means that you will have two equations in zx and zy, so you should be able to solve for them algebraically.

After you have found zx, evaluate it at the given point, and you're done.
 
That was a great explanation. Thanks a lot, it makes complete sense now. I can't believe I just discovered this site now, you guys are unbelievably helpful.

Thanks again!
 
I have a question:

1) is it true for chain rule, differentiation only allow with respect to the variable on the right eg.

\frac{\partial z}{\partial x}, \frac{\partial y}{\partial u} are allowed because the function z and y are differentiated by the variable on the right side of the diagram.

But \frac{\partial u}{\partial x}, \frac{\partial v}{\partial y} is not allow because the function u and v are differentiated by the variable on the left side of the diagram.

\frac{\partial y}{\partial x}, \frac{\partial x}{\partial y} is not allowed because there is no path to go from x to y in the diagram.

Therefore
\frac{\partial y}{\partial x} = 0, \frac{\partial x}{\partial y} = 0
 
yungman said:
Therefore
\frac{\partial y}{\partial x} = 0, \frac{\partial x}{\partial y} = 0
No, these aren't true. x is not a function of y, and y is not a function of x -- x and y are assumed to be independent variables in this problem. It doesn't make sense to take the partial of one independent variable with respect to another.

For example, if z = f(x, y) = x2 + y2, you can talk about
\frac{\partial z}{\partial x}~\text{and}~ \frac{\partial z}{\partial y}
but not
\frac{\partial y}{\partial x}~\text{and}~ \frac{\partial x}{\partial y}
 
Mark44 said:
No, these aren't true. x is not a function of y, and y is not a function of x -- x and y are assumed to be independent variables in this problem. It doesn't make sense to take the partial of one independent variable with respect to another.

For example, if z = f(x, y) = x2 + y2, you can talk about
\frac{\partial z}{\partial x}~\text{and}~ \frac{\partial z}{\partial y}
but not
\frac{\partial y}{\partial x}~\text{and}~ \frac{\partial x}{\partial y}

Thanks for you reply.

But since x and y is independent variable, then\frac{\partial y}{\partial x}=0~\text{and}~ \frac{\partial x}{\partial y}=0 is true.

Is \frac{\partial t}{\partial x}~\text{and}~ \frac{\partial t}{\partial y} allow?

I am very confused what chain rule allow and not allow in differentiation. I have been working on a problem in:

https://www.physicsforums.com/showthread.php?t=375837

It turn out to be chain rule problem and I am confused what differentiation is allowed and what is not. I really appreciate if you can help me on that.
 
yungman said:
Thanks for you reply.

But since x and y is independent variable, then\frac{\partial y}{\partial x}=0~\text{and}~ \frac{\partial x}{\partial y}=0 is true.
No it isn't. x and y are independent variables, which means they don't depend on each other. If there is no relationship between them, it's meaningless to talk about the derivative (partial or otherwise) of one with respect to the other.
yungman said:
Is \frac{\partial t}{\partial x}~\text{and}~ \frac{\partial t}{\partial y} allow?

I am very confused what chain rule allow and not allow in differentiation. I have been working on a problem in:

https://www.physicsforums.com/showthread.php?t=375837

It turn out to be chain rule problem and I am confused what differentiation is allowed and what is not. I really appreciate if you can help me on that.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K