Manipulating partial derivitaves/ general derivatives

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
7 replies · 2K views
AStaunton
Messages
100
Reaction score
1
This is a small part in converting between rectangular to polar coords for laplace equation with a problem of circular geometry:

what I have in my notes:

[tex]\tan\theta=\frac{y}{x}\implies\sec^{2}\theta\frac{\partial\theta}{\partial x}=\frac{-y}{x^{2}}[/tex]

I can't figure out how he went from the first part to sec^2theta(del)theta(del)x..

I think an intermediate step is:

[tex]\theta=\tan^{-1}\frac{y}{x}[/tex]

But I do not know how to differentiate the above with respect to x...there is no entry in my log table that corresponds to tan^-1(a/x)...am in a rush to find this out..so any help appreciated.
 
Physics news on Phys.org
If you differentiate tanθ w.r.t. x, you will get sec2θ dθ /dx

so if you take the partial derivative in that equation you'll get

sec2θ *∂θ /∂x
 
thanks, I am not familiar with that result (although I probably should be)..
would you mind explaining a little bit more how differentiating tan(theta) w.r.t.x leads to sec^2..my ability with calculus ain't too strong!
 
You can prove that the derivative of tan(x) is sec2(x) using the quotient rule. Just rewrite tan(x) as sin(x)/cos(x). I'm sure you know the derivatives for those.
 
what's confusing me is that if theta=tanx then dtheta/dx=sec^2x <-------that much I know...

but this question is tantheta=1/x...so I don't quite so how it works out the same...again, I stress I am **** at calculus!
 
Well, this is a bit of an abuse of notation, but if we let z=tan(theta), and tan(theta)=y/x, then we can do this:

[tex]\frac{dz}{dx} = \frac{dz}{d\theta} \frac{d\theta}{dx}[/tex]

And since dz/dθ is easy to compute, and so is the derivative on the right side of the equation, we can easily arrive at:

[tex]\frac{dz}{d\theta} = sec^2(\theta)[/tex]

and thus

[tex]\frac{dz}{dx} = sec^2(\theta) \frac{d\theta}{dx} = -\frac{y}{x^2}[/tex]

All you need is the chain rule.
 
a follow up question:

in my notes I have:

[tex]\cos\theta\frac{\partial}{\partial r}(\cos\theta\frac{\partial u}{\partial r}-\frac{\sin\theta}{r}\frac{\partial u}{\partial\theta})-\frac{\sin\theta}{r}\frac{\partial}{\partial\theta}(\cos\theta\frac{\partial u}{\partial r}-\frac{\sin\theta}{r}\frac{\partial u}{\partial\theta})=\cos^{2}\theta\frac{\partial^{2}u}{\partial r^{2}}-\frac{\sin\theta\cos\theta}{r}\frac{\partial^{2}u}{\partial r\partial\theta}+\frac{\sin\theta\cos\theta}{r^{2}}\frac{\partial u}{\partial\theta}-\frac{\sin\theta\cos\theta}{r}\frac{\partial^{2}u}{\partial\theta\partial r}+\frac{\sin^{2}\theta}{r}\frac{\partial u}{\partial r}+\frac{\sin\theta\cos\theta}{r^{2}}\frac{\partial u}{\partial\theta}+\frac{\sin^{2}\theta}{r^{2}}\frac{\partial^{2}u}{\partial^{2}\theta}[/tex]

I cannot figure out where the two partial(u)/partial(theta) expressions came from and also where did the partial(u)/partial(r) expression come from?
I clearly don't understand the rules of this properly, my thinking was that we get rid of the brackets by multiplying everything out, but that does not account for the expressions I just mentioned..
 
just to repost the right hand side of the equality again as it didn't come out fully:

[tex]=\cos^{2}\theta\frac{\partial^{2}u}{\partial r^{2}}-\frac{\sin\theta\cos\theta}{r}\frac{\partial^{2}u}{\partial r\partial\theta}+\frac{\sin\theta\cos\theta}{r^{2}}\frac{\partial u}{\partial\theta}-\frac{\sin\theta\cos\theta}{r}\frac{\partial^{2}u}{\partial\theta\partial r}+\frac{\sin^{2}\theta}{r}\frac{\partial u}{\partial r}+\frac{\sin\theta\cos\theta}{r^{2}}\frac{\partial u}{\partial\theta}+\frac{\sin^{2}\theta}{r^{2}}\frac{\partial^{2}u}{\partial^{2}\theta}[/tex]