The Argument
In this text the notation is used to designate an arbitrary argument of , which means that is a set rather than a number. In particular, the relation
is not an equation, but expresses equality of two sets.
As a consequence, two non-zero complex numbers and are equal if and only if
, and ,
where .
In order to make the argument of a well-defined number, it is sometimes restricted to the interval . This special choice is called the principal value or the main branch of the argument and is written as .
Note that there is no general convention about the definition of the principal value, sometimes its values are supposed to be in the interval . This ambiguity is a perpetual source of misunderstandings and errors.
The Principal Argument
The principal value of a complex number is normally given by
,
where is the slope, and arctan converts slope to angle. But this is correct only when , so the quotient is defined and the angle lies between and . We need to extend this definition to cases where is not positive, considering the principal value of the argument separately on the four quadrants.
The function is defined as follows:
Thus, if , with and , then
, .
We can visualize the multiple-valued nature of by using Riemann surfaces. The following interactive shows some of the infinite values of . Each branch is identified with a different color.