we know that
and we also know from our knowledge of polar coordinates that it is more appropriate to relate the x to the cosine and the y to the sine, so
thus we can let and (and so we would obtain )
solving for and we get: and and we restrict to since sine and cosine are periodic for that interval