Deriving the atan2 Function from Tangent Half-Angle Formulas

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 7K views
mnb96
Messages
711
Reaction score
5
Hello, it is mentioned http://en.wikipedia.org/wiki/Atan2#Definition" that using the tangent half-angle formulas it is possible to express the function atan2 as:

[tex]\mathrm{atan2}(y,x)=2\mathrm{arctan}\frac{y}{\sqrt{x^2+y^2}+x}[/tex]

How can I derive this result?
 
Last edited by a moderator:
Physics news on Phys.org
Thanks!
Now it´s clear where that formula came from.