Compare and Contrast the Absolute Value of a Real Number with That of a Complex Number
Both are non-negative distances from zero. A real number's absolute value |x| is a one-dimensional distance along the number line. A complex number's absolute value (modulus) |a+bi| = sqrt(a^2+b^2) is a two-dimensional distance from the origin in the complex plane, found using the Pythagorean theorem.
The shared idea: distance from zero
The key concept that links both cases is distance from zero, and in both cases the result is never negative. Absolute value measures how far a number sits from the origin, regardless of direction. That is why |5| and |-5| both equal 5, and why the absolute value of any number -- real or complex -- is always a non-negative real number. This common definition is what lets us say the two ideas are fundamentally the same operation applied in different dimensions.
Real numbers: distance on a line
A real number lives on the one-dimensional number line. Its absolute value is simply how far it is from 0 along that line:
- |x| = x when x is positive or zero
- |x| = -x when x is negative (which flips it to positive)
So |7| = 7 and |-7| = 7. Geometrically there are only two directions to move -- left or right -- so the "distance" calculation is trivial: strip off the sign. This is the version students meet first, and it is genuinely a special case of the complex definition, not a separate rule.
Complex numbers: distance in a plane
A complex number a + bi cannot be placed on a single line, because it has two independent parts: a real part a and an imaginary part b. It is plotted as the point (a, b) in the two-dimensional complex plane, with the real axis horizontal and the imaginary axis vertical. Its absolute value, called the modulus and written |a + bi|, is the straight-line distance from the origin (0, 0) to that point.
Because we now live in a plane, we find that distance with the Pythagorean theorem. The real part a and imaginary part b form the two legs of a right triangle, and the modulus is the hypotenuse:
|a + bi| = sqrt(a^2 + b^2)
For example, |3 + 4i| = sqrt(9 + 16) = sqrt(25) = 5. Notice the result, 5, is a real number even though the input was complex -- the modulus is always real and non-negative.
How they connect (and where they differ)
The most illuminating point, and the one most reference pages skip, is that the real-number rule is just the complex rule with the imaginary part set to zero. If b = 0, then
|a + 0i| = sqrt(a^2 + 0) = sqrt(a^2) = |a|.
So the familiar one-dimensional absolute value falls right out of the two-dimensional modulus. The differences are therefore about dimension, not principle:
- Real: 1-D, distance along a line, computed by dropping the sign.
- Complex: 2-D, distance across a plane, computed with sqrt(a^2 + b^2).
Both return a non-negative real number representing distance from the origin -- same idea, one dimension higher.
| Where it lives | Number line (1-D) | Complex plane (2-D) |
| What it measures | Distance from 0 along a line | Distance from origin (0,0) in the plane |
| Formula | |x| = x or -x (drop the sign) | sqrt(a^2 + b^2) |
| Tool used | Sign removal | Pythagorean theorem |
| Result | Non-negative real number | Non-negative real number |
| Example | |-7| = 7 | |3+4i| = 5 |
Frequently asked
How do you find the absolute value of a complex number?
Take the complex number a + bi, square the real part and the imaginary part, add them, and take the square root: |a + bi| = sqrt(a^2 + b^2). For example, |3 + 4i| = sqrt(9 + 16) = 5.
Why is |a+bi| = sqrt(a^2+b^2)?
Because the complex number is plotted as the point (a, b) in the plane, and its absolute value is the straight-line distance from the origin. The real and imaginary parts are the legs of a right triangle, so the Pythagorean theorem gives the hypotenuse as sqrt(a^2 + b^2).
Is the absolute value of a complex number always real?
Yes. The modulus is a distance, so it is always a non-negative real number, even though the input is complex. For instance, |3 + 4i| = 5, a plain real number.
What does absolute value represent geometrically?
It represents distance from zero. For a real number that is distance along the one-dimensional number line; for a complex number it is distance from the origin in the two-dimensional complex plane.
How is the modulus of a complex number related to the Pythagorean theorem?
The real part and imaginary part form the two perpendicular legs of a right triangle in the complex plane, and the modulus is the hypotenuse. So sqrt(a^2 + b^2) is a direct application of the Pythagorean theorem.