Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We know that the complex argument of a product of two numbers is equal to the sum of their arguments. I'm aware that one can find this statement written down in many mathematics and engineering texts. However, it is a statement that assumes the argument of a complex number not to be a number but rather an equivalence class of numbers (numbers considered equivalent if they differ by a multiple of $2πi$). If I need the argument as a single number (e.g. in programming) one needs to fix a half-open interval of length $2π$ to which the argument belongs by definition. There are two popular choices: $[0,2π)$ and $(-π,π]$. For both cases it is easy to find numbers in which this statement is violated for the then uniquely defined argument.

My question is how one can avoid or resolve this problem.

share|cite|improve this question
You would have to add or subtract a multiple of $2\pi$ to land in your chosen interval. – Andrew Dec 14 '12 at 19:46
up vote 0 down vote accepted

It is precisely in programming where the notion of a cyclic sum is more natural: $0xFFFF+0x0001=0x0000$.

In this case, all you need to do is define "addition modulo $2\pi$", where you subtract $2\pi$ if your sum ends up outside your desired interval.

share|cite|improve this answer
Thank you very much Martin – user39552 Dec 11 '12 at 6:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.