Calculating partial derivatives in different coordinate systems

Click For Summary
SUMMARY

This discussion focuses on calculating partial derivatives of the function f = x² + 2y² in different coordinate systems, specifically Cartesian and polar coordinates. The participants derive the partial derivatives while holding x and r constant, resulting in ∂f/∂y (x constant) = 4y and ∂f/∂y (r constant) = 2y. They explore the relationship between these derivatives using the multivariable chain rule, ultimately confirming that both approaches yield consistent results. The final expression for the total derivative under the condition that r is constant is derived using the chain rule.

PREREQUISITES
  • Understanding of partial derivatives and their definitions
  • Familiarity with the multivariable chain rule
  • Knowledge of Cartesian and polar coordinate systems
  • Basic algebraic manipulation skills
NEXT STEPS
  • Study the multivariable chain rule in depth
  • Learn how to convert functions between Cartesian and polar coordinates
  • Explore applications of partial derivatives in physics and engineering
  • Practice calculating total derivatives in various coordinate systems
USEFUL FOR

Students and professionals in mathematics, physics, and engineering who are working with multivariable calculus and need to understand the implications of coordinate transformations on partial derivatives.

oblixps
Messages
35
Reaction score
0
let f = x2 + 2y2 and x = rcos(\theta), y = rsin(\theta).

i have \frac{\partial f}{\partial y} (while holding x constant) = 4y. and \frac{\partial f}{\partial y} (while holding r constant) = 2y.

i found these partial derivatives by expressing f in terms of only x and y, and then in terms of only r and y. But i am sure there are times where it can be very difficult to solve for one variable or to express some function in terms of specific variables.

Is there a way to relate the 2 partial derivatives with respect to y (one holding x constant and one holding r constant) using the chain rule or something?
 
Physics news on Phys.org
oblixps said:
let f = x2 + 2y2 and x = r \cos(\theta), y = r \sin(\theta).

i have \frac{\partial f}{\partial y} (while holding x constant) = 4y. and \frac{\partial f}{\partial y} (while holding r constant) = 2y.

This is a very confusing procedure. I would agree with your first result. That's a straight-forward application of the definition of partial derivative. However, for your second result, you seem to be defining the function $f=f(r,y)$. I'm not sure I would consider that to be a very good definition, because $y=y(r,\theta)$, so the variables you are putting forth as "independent" are not actually independent. Typically, you would write $f=f(r,\theta)=r^{2}(1+\sin^{2}(\theta))$, and then compute either $\partial f/ \partial r$ or $\partial f/ \partial \theta$.

i found these partial derivatives by expressing f in terms of only x and y, and then in terms of only r and y. But i am sure there are times where it can be very difficult to solve for one variable or to express some function in terms of specific variables.

Is there a way to relate the 2 partial derivatives with respect to y (one holding x constant and one holding r constant) using the chain rule or something?
 
Hi oblixps! :)

Apparently you want to calculate the total derivative under the condition that r is constant.

This is typically written as something like:
$({df \over dy})_{r \text{ constant}}$

It can be calculated with repeated application of the multi variable chain rule as follows:
[1] $({df \over dy})_{r \text{ constant}} = ({d \over dy}f(x(r,y),y))_{r \text{ constant}}
= ({\partial f \over dx}({\partial x \over \partial r}{dr \over dy} + {\partial x \over \partial y}{dy \over dy}) + {\partial f \over \partial y}{dy \over dy})_{r \text{ constant}}
= {\partial f \over \partial x}{\partial \over \partial y}x(r,y) + {\partial f \over \partial y}$

To calculate ${\partial \over \partial y}x(r,y)$, we can use that:
$x^2 + y^2 = r^2$
Therefore $2x dx + 2y dy = 2r dr$
Meaning $dx = \frac r x dr - \frac y x dy$
It follows that
[2] ${\partial \over \partial y}x(r,y) = - \frac y x$

Substituting [2] in [1] and using that $f(x,y)=x^2+2y^2$ gives:
$({df \over dy})_{r \text{ constant}}= {\partial f \over \partial x}{\partial \over \partial y}x(r,y) + {\partial f \over \partial y}
= 2x \cdot - \frac y x + 4y = 2y$

As you can see this is the same result you already derived by making the relation explicit in r and y.
 
Last edited:

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K