Difference Between Modulus, Absolute Value, and Modulo

terminology

When referring to the absolute value I have said Modulus. People then correct me and say that that is the operation where you find the remainder. Then I get confused because I've seen people say modulo for the remainder operation. Also if my first statement is correct why do we have two words for absolute value?

Best Answer

They mean differently.

$\color{green}{\Large\bullet}$ Absolute value of $x = |x|$ and is equal to $x$ if $x \geq 0$ or is equal to $-x$ if $x < 0$.

$\color{green}{\Large\bullet}$ Modulo, usually refers to the type of arithmetic called modulo arithmetic. For example, because $13 = 4\times 3 + 1$, we write $13\ \equiv\ 1\ (\textrm{mod}\ 3)$. In common mathematical language, it is taken as "$13$ is congruent to $1$ modulo $3$".

$\color{green}{\Large\bullet}$ Modulus refers to the magnitude/length of a vector.


Added

How about “An introduction to the theory of Numbers – by Niven Zuckerman” and “Pure Mathematics I & II by F. Gerrish”?

Those names in question have been commonly used by others and sometimes even interchangeably. But, in the books mentioned above, they are clearly and distinctly defined.

The only confusion comes from the “$|…|$” sign, which has been used both for the absolute value of a number and also as the modulus of a vector. Therefore, some used the “$|| … ||$” for the latter to make the meaning distinct. Some don’t even bother when the context is clear or when the readers should be able to distinguish their difference.

Related Question