Re: Multivariable Calculus
Hm ok yep.
__________________
A lot of the question is omitted for me to have a go at myself
No idea at all how to apply what here.
You can't use the standard definition of the inverse tangent function, because θ can be anything from -π to π.
For that, you need to use a slightly trickier modification, known as atan2(y,x)
Let α be the principle arctangent of y/x
then atan2(y,x)
= α if x is positive
= α+π if x is negative and y is non-negative
= α-π if x and y are negative
= π/2 if x=0 and y is positive
= -π/2 if x=0 and y is negative
= undefined if x=y=0
Since r is positive, there is no trouble there, as it is simply your standard absolute distance using Pythagoras's Theorem.