Questions about Partial Differentiation Operations

Click For Summary

Discussion Overview

The discussion revolves around the operations of partial differentiation, particularly the application of the chain rule in the context of two functions, C(y, r) and I(y, r). Participants explore the validity of certain expressions involving partial derivatives and the conditions under which they hold true, with a focus on theoretical and conceptual aspects.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants assert that the expressions ∂C/∂I × ∂I/∂r = ∂C/∂r and ∂I/∂C = 1/(∂C/∂I) are valid applications of the chain rule.
  • Others argue that these expressions are not correct unless the functions are defined appropriately in terms of the other variables, emphasizing the need for rigor in applying the chain rule.
  • A participant provides a counterexample using specific functions to illustrate that ∂C/∂I × ∂I/∂r does not equal ∂C/∂r in certain cases.
  • There is a discussion about the implications of holding different variables constant during differentiation, particularly in thermodynamics, where some participants highlight the importance of specifying which variables are held constant.
  • Participants discuss the conditions under which the relation between partial derivatives can be inverted, noting that it generally requires the same variables to be held constant in each differentiation.

Areas of Agreement / Disagreement

Participants express differing views on the validity of certain expressions involving partial derivatives, indicating that there is no consensus on the correctness of the initial claims. The discussion remains unresolved regarding the general applicability of the chain rule in the context presented.

Contextual Notes

Participants note that the chain rule for partial derivatives requires careful consideration of how functions are defined in relation to each other, and that assumptions about which variables are held constant can significantly affect the results. There are also mentions of specific cases in thermodynamics where different variables can be held constant without issues.

Who May Find This Useful

This discussion may be useful for students and practitioners in mathematics, physics, and engineering who are grappling with the complexities of partial differentiation and the chain rule, particularly in contexts where multiple variables are involved.

Ahmed Mehedi
Messages
39
Reaction score
6
TL;DR
Partial Differentiation
1) If we have two functions C(y, r) and I(y, r) can we write: ∂C/∂I×∂I/∂r=∂C/∂r ? Can we also write ∂I/∂C=1/(∂C/∂I) ?
 
Physics news on Phys.org
1) yes, it's the chain rule
2) In practice you often have to deal with "good" functions and it works. If you want to be super-rigorous I think you can find some examples where it is not true, but you usually do not run into such problems in physics or engineering.
 
  • Like
Likes   Reactions: Ahmed Mehedi
dRic2 said:
1) yes, it's the chain rule
2) In practice you often have to deal with "good" functions and it works. If you want to be super-rigorous I think you can find some examples where it is not true, but you usually do not run into such problems in physics or engineering.
Thanks a lot for your kind clarification!
 
  • Like
Likes   Reactions: dRic2
Ahmed Mehedi said:
Summary:: Partial Differentiation

1) If we have two functions C(y, r) and I(y, r) can we write: ∂C/∂I×∂I/∂r=∂C/∂r ? Can we also write ∂I/∂C=1/(∂C/∂I) ?

This is not right. The chain rule for partial derivatives requires that you have the functions defined in terms of the other variables. In this case, you must imagine that you have ##C## as a function of ##I## and ##r## and then apply the multi-variable chain rule. We can take an example:
$$C(y, r) = y + r \ \ \text{and} \ \ I(y, r) = y - r \ \ \text{then} \ \ C(I, r) = I + 2r$$
Then:
$$\frac{\partial C}{\partial I}\frac{\partial I}{\partial r} = (1)(-1) = -1$$
And
$$\frac{\partial C}{\partial r} = 2$$
 
  • Like
Likes   Reactions: dRic2, Ahmed Mehedi and etotheipi
PeroK said:
This is not right. The chain rule for partial derivatives requires that you have the functions defined in terms of the other variables. In this case, you must imagine that you have ##C## as a function of ##I## and ##r## and then apply the multi-variable chain rule. We can take an example:
$$C(y, r) = y + r \ \ \text{and} \ \ I(y, r) = y - r \ \ \text{then} \ \ C(I, r) = I + 2r$$
Then:
$$\frac{\partial C}{\partial I}\frac{\partial I}{\partial r} = (1)(-1) = -1$$
And
$$\frac{\partial C}{\partial r} = 2$$
Thanks a lot brother for your nice and concrete explanation and thanks for your time. Now, I get some insight about the problem I am facing. I have another question: In the aforementioned context is it legit to write: $$\frac{\partial I}{\partial C}=\frac{1}{\frac{\partial C}{\partial I}}$$
 
PeroK said:
This is not right. The chain rule for partial derivatives requires that you have the functions defined in terms of the other variables. In this case, you must imagine that you have ##C## as a function of ##I## and ##r## and then apply the multi-variable chain rule. We can take an example:
$$C(y, r) = y + r \ \ \text{and} \ \ I(y, r) = y - r \ \ \text{then} \ \ C(I, r) = I + 2r$$
Then:
$$\frac{\partial C}{\partial I}\frac{\partial I}{\partial r} = (1)(-1) = -1$$
And
$$\frac{\partial C}{\partial r} = 2$$
So, in this case $$\frac{\partial C}{\partial I}\frac{\partial I}{\partial r} \neq \frac{\partial C}{\partial r}$$ Then how does the multi-variable chain rule look like in this case? Again thanking you for your precious time.
 
Ahmed Mehedi said:
Thanks a lot brother for your nice and concrete explanation and thanks for your time. Now, I get some insight about the problem I am facing. I have another question: In the aforementioned context is it legit to write: $$\frac{\partial I}{\partial C}=\frac{1}{\frac{\partial C}{\partial I}}$$
That's not true for partial derivatives. Take polar coordinates:
$$x = r \cos \theta, \ \ r = \sqrt{x^2 + y^2}$$
This gives:
$$\frac{\partial x}{\partial r} = \cos \theta \ \ \text{and} \ \ \frac{\partial r}{\partial x} = \frac x r = \cos \theta$$
 
  • Like
Likes   Reactions: Ahmed Mehedi
PeroK said:
That's not true for partial derivatives. Take polar coordinates:
$$x = r \cos \theta, \ \ r = \sqrt{x^2 + y^2}$$
This gives:
$$\frac{\partial x}{\partial r} = \cos \theta \ \ \text{and} \ \ \frac{\partial r}{\partial x} = \frac x r = \cos \theta$$
Thanks a lot! Your answers are very concrete and very helpful!
 
  • Like
Likes   Reactions: PeroK and Ahmed Mehedi
  • #11
@PeroK Thanks for correcting my wrong statements (for the first question I naively assumed that C was expressed as function of I which could not happen, as you pointed out), but I don't understand this
PeroK said:
That's not true for partial derivatives. Take polar coordinates:
$$x = r \cos \theta, \ \ r = \sqrt{x^2 + y^2}$$
This gives:
$$\frac{\partial x}{\partial r} = \cos \theta \ \ \text{and} \ \ \frac{\partial r}{\partial x} = \frac x r = \cos \theta$$

if ##r = \frac x {\cos \theta}## and I differentiate wrt to x keeping ##\theta## constant the relation holds. What you did is differentiating wrt to ##x## but keeping only ##y## constant. And that is a different matter
 
  • Like
Likes   Reactions: PeroK
  • #12
dRic2 said:
@PeroK Thanks for correcting my wrong statements (for the first question I naively assumed that C was expressed as function of I which could not happen, as you pointed out), but I don't understand thisif ##r = \frac x {\cos \theta}## and I differentiate wrt to x keeping ##\theta## constant the relation holds. What you did is differentiating wrt to ##x## but keeping only ##y## constant. And that is a different matter
That's a special case where you have only three variables: ##x, r, \theta##. If we fix ##\theta##, then we have effectively a single-variable function relating ##r## and ##x##. In general, you can't simply invert partial derivatives.
 
  • Like
Likes   Reactions: etotheipi
  • #13
The relation $$\frac{\partial y}{\partial x} = \frac{1}{\frac{\partial x}{\partial y}}$$ is generally not true, except in the case that the same variables are being held constant in each differentiation. So $$\left(\frac{\partial x}{\partial r}\right)_{\theta} = \frac{1}{\left(\frac{\partial r}{\partial x}\right)_{\theta}}$$ but as has been shown above, $$\left(\frac{\partial x}{\partial r}\right)_{\theta} \neq \frac{1}{\left(\frac{\partial r}{\partial x}\right)_{y}}$$
 
  • Like
Likes   Reactions: Ahmed Mehedi and PeroK
  • #14
Well i though that It was implicitly assumed that you have to keep the same variables constant.

In thermodynamics you do this trick all the time when you deal with thermodynamic potentials and their derivatives.
 
  • Like
Likes   Reactions: Ahmed Mehedi
  • #15
dRic2 said:
Well i though that It was implicitly assumed that you have to keep the same variables constant.

I don't have much experience so I could be mistaken, but usually it is important in thermodynamics to keep track of which variables you hold constant. You can hold different variables constant without any issues. For a non-ideal gas, for instance, $$C_{V} = \left( \frac{\partial U}{\partial T} \right)_{V} \neq \left( \frac{\partial U}{\partial T} \right)_{P}$$ I would have thought it be generally incorrect to state $$\left(\frac{\partial U}{\partial T}\right)_{V} = \frac{1}{\left(\frac{\partial T}{\partial U}\right)_{P}}$$for exactly the same reasons given above.
 
Last edited by a moderator:
  • Like
Likes   Reactions: Ahmed Mehedi
  • #16
Yes, but that Is not what I meant. In the first partial derivative you are keeping the volume constant, while in the second the pressure.

An example of what I was describing is this:
$$T = \left(\frac {\partial E}{\partial S} \right)_V$$
And
$$\frac 1 T = \left(\frac {\partial S}{\partial E} \right)_V$$
 
  • Like
Likes   Reactions: Ahmed Mehedi
  • #17
Yes that's okay, since you're holding ##V## constant both times.
 
  • Like
Likes   Reactions: Ahmed Mehedi and dRic2
  • #18
Yes, that is what I was saying. I thought it was an obvious thing to assume
 
  • Like
Likes   Reactions: etotheipi

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K