Partial derivative with respect to a function, rather than variable?

Click For Summary

Discussion Overview

The discussion revolves around the concept of taking partial derivatives with respect to a function rather than a variable, specifically in the context of a mathematical problem involving transformations between Cartesian and polar coordinates. Participants explore methods for calculating the second partial derivative of a function defined in terms of two variables.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant presents a problem involving the function z defined in terms of x and y, which are further expressed in polar coordinates (r, θ).
  • The participant seeks clarification on how to compute the mixed partial derivative ∂²z/∂y∂θ, expressing confusion about treating x and y as dependent variables.
  • Another participant suggests expressing z as an explicit function of the independent variables (y, θ) and provides a transformation to facilitate this process.
  • A later reply acknowledges the initial confusion and asks for validation of their previous attempts and whether both methods of solving the problem are viable.
  • One participant points out a mistake in the previous approach, emphasizing the importance of maintaining the relationship between variables when taking partial derivatives.
  • Further clarification is provided regarding the implications of holding certain variables constant during differentiation.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best method for solving the problem, and there are differing views on the implications of treating variables as independent or dependent during differentiation.

Contextual Notes

There are unresolved aspects regarding the assumptions made about the independence of variables and the implications of changing one variable while holding another constant during the differentiation process.

la6ki
Messages
53
Reaction score
0
Hi all. I've recently started working a lot on my background in math and physics, since this year I began a new masters program which is quite math/physics heavy and I don't have a formal background in either field. I will try to get active on this forum, since I've been luring for some time and I find it really useful.

Right now I'm going through partial derivatives and some of the questions in the book I'm working with are quite confusing and I'm stuck. Here is one few examples:

z=x[itex]^{2}[/itex]+2y[itex]^{2}[/itex]
x=rcos(θ)
y=rsin(θ)

Question: [itex]\frac{∂^{2}z}{∂y∂θ}[/itex]

Here's what I've done so far:

I took the partial derivative with respect to θ = 2r[itex]^{2}[/itex]cosθsinθ

Now, from here I'm supposed to take the partial of the above with respect to y. I could either express it in terms of x and y:

[itex]\frac{∂2xy}{∂y}[/itex]

or in terms of r and θ:

[itex]\frac{∂2r^{2}sinθcosθ}{∂rsinθ}[/itex]

The thing is that I have no idea how to solve any of the above. The first I don't know how to solve because x and y aren't independent, so I can't just treat x as a constant. I got stuck when I attempted using the chain rule as well. The second I can't solve, since I don't know how to take a partial derivative with respect to a function, rather than a variable.

I would appreciate it if somebody explained how I can solve the problem using both methods (if both are possible, that is).
 
Physics news on Phys.org
You have to express z as an explicit function of the two independent variables (y,theta).

From your second transformation rule, you have r=y/sin(theta).
Inserting this in your first, you get x=y*cot(theta), where cot(theta)=cos(theta)/sin(theta)

Thus, you have:
z(y,theta)=y^2(cot^2(theta)+2)

Now, proceed as usual.
----------------------------------------------------------------------------------------
Visually, the coordinate grid you are using are lines parallell to the x-axis (fixed values of y), and rays emanating from the origin (fixed values of theta)
 
Oh... That was easy! :) I can't believe I was struggling so much with this when the obvious solution was in front of me the whole time.

Well, thanks a lot, you saved me a lot of stress!

Now, since I already attempted to solve it in a strange way, could you tell me if I made a mistake anywhere? Is it possible to continue the solution from any (or both) of the ways I went to? Or is it not doable analytically?
 
"Now, since I already attempted to solve it in a strange way, could you tell me if I made a mistake anywhere? "
Yes.
When you made your partial with respect to the angular variable, you deliberately held "r" constant.
Thus, you actually "moved along" a circular arc (the only possible way to change the value of the angle with "r" constant). But, to move like that necessarily invokes a change in "y", which you are not allowed to!

HOW can you change the value of the angle if you are not allowed to change the "y"-value?
Answer: To follow a line parallell to the x-axis!
 
Yeah, I think that makes sense. Thanks again!
 
:smile:
 

Similar threads

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