r =
when x > 0
when x < 0
or
Example:
Convert (7, 10) to polar coordinates
To convert to polar coordinates, first we will write down our values for x and y so we can plug it into the formula later. x = 7 and y = 10
so our answer in polar coordinates is: (12.21, 0.96)