. This is
because we think of arctan(x) as the inverse of the "branch" of
tan(x) passing through
the origin. However, in many practical situations, the value of
tan(x) is actually obtained from
the xy-coordinates of a point on a ray making an angle with the
x-axis, and one would like to use the arctan(x) function
to determine the unique
angle in the interval
that the ray makes with
the positive x-axis. Using information from the coordinates,
as well as the arctan(x) function, this is possible.
Aside:In computer languages like PERL and C, the
arctan function is actually implemented in the way suggested by
this problem. Namely, atan(x,y) returns the angle that the ray
passing through (x,y) makes with the positive x-axis.