!Understanding Partial Derivatives of Coordinate Transformation

onchoa
Messages
1
Reaction score
0
Hi Everyone,

I was studying coordinate transformation and I came across this equation, that I couldn't understand how it came up. Let me put it this way:
x = rcosθ

Then if I want to express the partial derivative (of any thing) with respect to x, what would be the expression? i.e. ∂/∂x=?
According to the text, answer would be
∂/∂x=cosθ*∂/∂r - (sinθ/r)*∂/∂θ

Please explain to me how to come up with this expression.

Thnaks
 
Physics news on Phys.org
Hi.

$$\frac{\partial}{\partial x}=\frac{\partial}{\partial r}\frac{\partial r}{\partial x}+\frac{\partial}{\partial \theta}\frac{\partial \theta}{\partial x}$$

$$r^2=x^2+y^2$$

$$2rdr=2xdx+2ydy$$

$$\frac{\partial r}{\partial x}=\frac{x}{r}=cos \theta$$

$$tan \theta = \frac{y}{x}$$

$$\frac{d\theta}{cos^2 \theta}=-\frac{ydx}{x^2}+\frac{dy}{x}$$

$$\frac{\partial \theta}{\partial x}=-\frac{ cos^2 \theta y} {x^2} = -\frac{sin \theta} {r}$$

I hope these calculations are helpful.
 
The chain rule:
\frac{\partial F}{\partial x}= \frac{\partial F}{\partial r}\frac{\partial r}{\partial x}+ \frac{\partial F}{\partial \theta}\frac{\partial \theta}{\partial x}

But since there are two variable, r and \theta, just "x= r cos(\theta)" is not enough. You also need y= r sin(\theta). Then we can write r= (x^2+ y^2)^{1/2} and \theta= arctan(y/x) so that
\frac{dr}{dx}= (1/2)(x^2+ y^2)^{-1/2}(2x)= \frac{x}{\sqrt{x^2+ y^2}}= \frac{rcos(\theta)}{r}= cos(\theta)
and
\frac{d\theta}{dx}= \frac{1}{1+ y^2/x^2}\left(-\frac{y}{x^2}\right)= \frac{-y}{x^2+ y^2}= -\frac{r sin(\theta)}{r^2}= -\frac{1}{r}sin(\theta)

So that
\frac{\partial F}{\partial x}= cos(\theta)\frac{\partial F}{\partial r}- \frac{sin(\theta)}{r}\frac{\partial F}{\partial \theta}
 
Thread 'Direction Fields and Isoclines'
I sketched the isoclines for $$ m=-1,0,1,2 $$. Since both $$ \frac{dy}{dx} $$ and $$ D_{y} \frac{dy}{dx} $$ are continuous on the square region R defined by $$ -4\leq x \leq 4, -4 \leq y \leq 4 $$ the existence and uniqueness theorem guarantees that if we pick a point in the interior that lies on an isocline there will be a unique differentiable function (solution) passing through that point. I understand that a solution exists but I unsure how to actually sketch it. For example, consider a...
Back
Top