Another algebra and trig question (maybe not though)

  • Thread starter Thread starter FrogPad
  • Start date Start date
  • Tags Tags
    Algebra Trig
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
8 replies · 2K views
FrogPad
Messages
801
Reaction score
0
I have [itex]u(r,\theta)=r \cos \theta + r^{-1}\cos \theta[/itex] and then am changing coordinates [itex]u(x,y)=|x|+\frac{|x|}{x^2+y^2}[/itex]. I then have to compute the vector [itex]\vec v = (u_x,u_y)[/itex].

The thing is, is the derivative of [itex]|x|[/itex] is [itex]sign\,\,x[/itex]. I don't think we should be dealing with this function. So I'm not sure how I should be dropping the absolute value to get to: [itex]u(x,y)=x+\frac{x}{x^2+y^2}[/itex].

I'm thinking it is from the conversion to polar to cartesian... but I'm not sure. Maybe it is within the definition of [itex]\tan^{-1}[/itex]... but again I'm not sure. Well I'm sick of throwing random darts, so if anyone has any suggestions, I'm all ears :)
Please note that [itex]u(x,y)[/itex] was my conversion from polar coordiantes to cartesian, so this could also be a problem, and might be incorrect.

Thankyou.
 
Last edited:
Physics news on Phys.org
Consider the polar point (1, [itex]\pi[/itex]) this should be the same as (-1,0) in Cartesian coordinates.

These points should yield the same result for your function. Do they?

Consider your rectangular function both with and without the abs, which gives the correct result?
 
Integral:
Interesting. That makes sense.
[tex]u_{polar}(1,\pi) = \cos \pi + \cos \pi =-2[/tex]

[tex]u_{cart}(-1,0) = |-1| + \frac{|-1|}{1}=2 \neq -2[/tex]

So I should drop the abs functions for [itex]u(x,y) [/tex]. I'm curious. How did you know to think of this as a counter example? <br /> <br /> Benorin:<br /> I wish I understood what you are conveying in the algebraic rewrite of the expression. I'm sorry but I don't understand.[/itex]
 
Use the transformation equations

benorin said:
Consider that [itex]u(r,\theta)=r \cos \theta + r^{-1}\cos \theta = r \cos \theta + \frac{r\cos \theta}{r^2}[/itex] and you can get it from there, correct?

Recall that

[tex]x=r\cos \theta, \, y=r\sin \theta,\mbox{ and }x^2+y^2=r^2[/tex]​

(even though we won't use the second equation) so that

[tex]u(r,\theta)=r \cos \theta + r^{-1}\cos \theta = r \cos \theta + \frac{r\cos \theta}{r^2} = x + \frac{x}{x^2+y^2}[/tex]​
 
Oh snap!
I didn't see what you were showing before. That's cool. Thanks man :)

hehe, I don't know how I didn't see that!
 
lol, will do. I have another homework problem that is bugging me, but I need to get some sleep. It's been a fun st patricks day, and I'm not really in the proper mind to be working on it right now :)