1.1.22Arithmetic & Number Systems

Absolute value - modulus — definition, number line interpretation

2,155 words10 min readdifficulty · medium2 backlinks

Overview

The absolute value (or modulus) of a number measures its distance from zero on the number line, ignoring direction. It turns every number into its non-negative magnitude.


Core concept

Figure — Absolute value  -  modulus — definition, number line interpretation

Why this definition?

  • For x0x \geq 0: The number is already its own distance from zero → x=x|x| = x.
  • For x<0x < 0: The number is negative, but distance must be positive → we negate it: x=x|x| = -x (which is positive because xx is negative).

Number line interpretation

The number line gives us a geometric view:

Distance from a to b=ba\text{Distance from } a \text{ to } b = |b - a|

Derivation from first principles:

  1. What is distance? The gap between two points, always non-negative.
  2. If b>ab > a, the gap is bab - a (already positive).
  3. If b<ab < a, the gap is aba - b (we reverse the subtraction to keep it positive).
  4. Absolute value unifies both cases: ba|b - a| handles the sign automatically.

Why subtract? Because position on the line is given by coordinates; subtracting coordinates gives displacement, and absolute value gives magnitude.


Properties (derived from definition)

Property 1: Non-negativity

x0 for all xR|x| \geq 0 \text{ for all } x \in \mathbb{R}

Why? By definition, we either keep a non-negative number or flip a negative one. Both produce non-negative results.

Property 2: x=0|x| = 0 if and only if x=0x = 0

Why? Zero is the only number at distance zero from itself.

Property 3: x=x|-x| = |x|

Derivation:

  • If x0x \geq 0, then x0-x \leq 0, so x=(x)=x=x|-x| = -(-x) = x = |x|. ✓
  • If x<0x < 0, then x>0-x > 0, so x=x=x|-x| = -x = |x|. ✓

Geometric intuition: Reflecting a point across zero doesn't change its distance from zero.

Property 4: Triangle inequality

x+yx+y|x + y| \leq |x| + |y|

Why does this hold?
Think of walking: if you walk xx meters, then yy meters, the straight-line distance from start to end (that's x+y|x+y|) can never exceed the total path length (x+y|x| + |y|). Equality holds when you walk in a straight line (same direction); inequality when you backtrack.

Algebraic derivation (outline):

  • Consider four cases based on signs of x,yx, y.
  • In each case, verify x+yx+y|x+y| \leq |x| + |y| by expanding definitions.

Worked examples


Common mistakes


Memory aids


Active recall practice

#flashcards/maths

What is the definition of absolute value x|x|?
x=x|x| = x if x0x \geq 0; x=x|x| = -x if x<0x < 0. It's the non-negative magnitude of xx.
What does x|x| represent geometrically on a number line?
The distance from xx to 00, always non-negative.
What is the distance between two numbers aa and bb on the number line?
ba|b - a| or equivalently ab|a - b|.
Solve x3=7|x - 3| = 7
x=10x = 10 or x=4x = -4. (Distance from xx to 33 is 77, so xx can be 3+73+7 or 373-7.)
True or false: x=x|-x| = |x| for all real xx?
True. Reflection across zero preserves distance from zero.
State the triangle inequality
x+yx+y|x + y| \leq |x| + |y| for all real x,yx, y.
Why is ab=ba|a - b| = |b - a|?
Distance is symmetric; swapping the order of subtraction just changes sign, which absolute value removes.
Is x+y=x+y|x + y| = |x| + |y| always true?
No, only when xx and yy have the same sign. In general, x+yx+y|x+y| \leq |x| + |y|.

Feynman technique

Recall Explain to a 12-year-old

Okay, imagine you're standing at your house (call it zero). Your friend's house is 5 blocks to the right (+5), and your school is 5 blocks to the left (−5).

Now, if I ask "How far is your friend's house from yours?" you'd say 5 blocks. If I ask "How far is your school?" you'd also say 5 blocks. You don't say "negative 5 blocks" because distance is never negative—it's just "how far," not "which direction."

Absolute value is exactly that: it takes any number and tells you its distance from zero, throwing away the direction. So 5=5|5| = 5 (already the distance) and 5=5|-5| = 5 (we ignore the minus, just keep the 5).

The vertical bars | \cdot | are like a magic eraser for minus signs. They only erase the sign, not the number itself.

When you see x3=7|x -3| = 7, it's asking: "What number xx is exactly 7 units away from 3?" Well, you could go 7 to the right (land on 10) or 7 to the left (land on −4). Both work!


Connections

  • Number line and ordering — absolute value is rooted in the geometry of the number line
  • Distance and metric spacesxy|x - y| defines the standard metric on R\mathbb{R}
  • Inequalities — absolute value inequalities (x<a|x| < a, xc<r|x - c| < r) describe intervals
  • Complex numbers — modulus — extends to z=a2+b2|z| = \sqrt{a^2 + b^2} for z=a+biz = a + bi
  • Piecewise functions — absolute value is the simplest piecewise-defined function
  • Triangle inequality — fundamental to analysis, norms, and metric spaces
  • Solving absolute value equations — technique of case splitting based on sign

Summary: Absolute value x|x| is distance from zero. It's always non-negative, symmetric (x=x|-x| = |x|), and satisfies the triangle inequality. On the number line, ba|b - a| gives the distance between aa and bb. Equations involving absolute value split into cases based on sign. This concept underpins inequalities, metrics, and analysis.

Concept Map

means

ignores

defined by

if x >= 0

if x < 0

both yield

both yield

generalizes to

shows

Property 1

Property 3

Property 4

equality when

Absolute value modulus of x

Distance from zero

Direction / sign

Piecewise rule

gives x

gives -x

Non-negative result

Distance a to b = |b - a|

Symmetry |b-a| = |a-b|

|x| >= 0

|-x| = |x|

Triangle inequality |x+y| <= |x|+|y|

Same direction / no backtrack

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Absolute value ka matlab hai zero se kitni door hai, direction ki tension nahi. Agar tum 5 kadam age gaye (+5) ya 5 kadam peeche gaye (−5), dono case mein tum zero se 5 kadam door ho. Yeh "kitna distance" ka sawaal hai, "kis taraf" ka nahi. Number line pe dekho toh x|x| ek geometrical concept hai—origin se teri position ka gap, hamesha positive ya zero.

Definition simple hai: agar number positive hai ya zero, toh waise hi chhod do (x=x|x| = x). Agar negative hai, toh uska sign flip kar do positive mein (3=3|-3| = 3). Yeh piecewise function hai, lekin intuition ekdum clear hai—distance kabhi negative nahi hota.

Do numbers ke bech distance nikalne ke liye formula hai: ba|b - a|. Subtract karo aur absolute value lo. Example: 4-4 se 77 tak ka distance 7(4)=11|7 - (-4)| = 11 units. Number line pe count kar sakte ho—4 units right to zero, phir 7 more, total 11.

Triangle inequality bahut powerful hai: x+yx+y|x + y| \leq |x| + |y|. Seedha walk karoge toh straight-line distance kam ya equal hoga total path se. Yeh analysis aur metrics mein foundation hai. Common mistake: log sochte hain x+y=x+y|x+y| = |x| + |y| always, but equality sirf tab jab dono same direction mein ho (same sign). Agar opposite direction, toh inequality strict ho jati hai.

Go deeper — visual, from zero

Test yourself — Arithmetic & Number Systems

Connections