Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Atan2 formula

  1. Jun 5, 2010 #1
    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:


    How can I derive this result?
    Last edited by a moderator: Apr 25, 2017
  2. jcsd
  3. Jun 5, 2010 #2


    User Avatar
    Science Advisor
    Homework Helper

    Put y = rsinθ, x = rcosθ, then y/(√(x2 + y2) + x) = sinθ/(1 + cosθ),

    which you should be able to prove is tan(θ/2) :wink:
  4. Jun 6, 2010 #3
    Now it´s clear where that formula came from.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook