Operations on the Set of Real Numbers
Senior 4 · Mathematics
Operations on the Set of Real Numbers
Lesson 1 of 5
25 min
A workshop cuts steel pins that should be thick. No machine is perfect, so the drawing allows an error of either way. A pin thick is too thin; one thick is too thick. The inspector does not care about the direction of the error, only its size. The number that measures a size without a sign is the absolute value, and the inspector's rule is one line:
In S1 you met as "the number without its sign". At A-level you need more: a definition that works for letters as well as numbers, its link with distance, its algebraic properties, and a method for equations that contain it.

Definition
Absolute value: for a real number ,
Notation: is read "the absolute value of " or "the modulus of ".
Examples: , , , and because .
Warning
is not always negative. When , the number is positive: if , then . That is why the second line of the definition gives a positive result. A common error is to write "to make it positive"; the correct rule depends on the sign of : it is when and when .
On the number line, is the distance from the point to 0, and for any two real numbers and
Distance does not depend on the order, so . In the diagram, and are units apart, and is units from 0.
A second link you will use in every unit that follows: a square root is never negative, so
For example, , not .
Worked example 1: removing the bars
Write without absolute value signs: (a) (b) given that (c) given that .
Solution
In each part the method is the same: decide the sign of the expression inside the bars, then apply the definition.
For all real numbers and :
| Property | Statement | Why it holds |
|---|---|---|
| Non-negative | , and | A distance is never negative, and only 0 is at distance 0 from 0. |
| Symmetry | and are the same distance from 0, on opposite sides. | |
| Product | . | |
| Quotient | , | Apply the product rule to . |
| Square | Both equal or . | |
| Bounds | is either or . | |
| Triangle inequality | Proved below. |
There is no sum rule: and are different in general. Try , : but .
Important
Theorem (triangle inequality). For all real and ,
with equality exactly when (that is, when and do not have opposite signs).
Proof. Both sides are non-negative, so it is enough to compare their squares:
since by the bounds property. The difference is 0 exactly when , that is, when .
The name comes from geometry: one side of a triangle is never longer than the other two together.
Worked example 2: using the properties
(a) Simplify . (b) Given and , find the greatest and the least possible values of .
Solution
Read as "the distance from to 2 is 5". There are two such points, one on each side of 2:
In general, for a real number :
Two more forms appear in exams. When both sides are absolute values, or . When the right-hand side contains the unknown, needs the condition , and every candidate must be checked against it.
Worked example 3: two absolute values
Solve .
Solution
Either , giving ; or , giving and .
Check: : and . ✓ : and . ✓
Solution set: .
Worked example 4: the unknown on both sides
Solve .
Solution
Condition: an absolute value is never negative, so we need , that is, .
Case 1: gives . This breaks the condition , so reject it. (Indeed but .)
Case 2: gives , so . It meets the condition. Check: and . ✓
Solution set: .
To remove the bars from an expression with several absolute values, split the number line at the points where each expression inside is zero, then use the definition on each interval. For the split points are and :
| Interval | |||
|---|---|---|---|
The flat part has a meaning: is the distance from to 1 plus the distance from to . Any point between and has total distance exactly 3, the length of the gap; any point outside has more. So the least value of is 3. (On a straight road, a water point placed anywhere between two homes gives the same total walking distance to both.)
Tip
Read every absolute value as a distance before you calculate: is "the distance from to ". An equation such as then solves itself on a number line sketch ( or ), and a sketch catches answers that have the wrong sign.
GreeneMath: Absolute Value and the Distance Between Two Points on a Number Line. Watch for why the distance between a and b is |a − b| whichever number you write first.
Practice
Try each one before opening the answers. They get harder as you go.
Key points
Sources and credits
Quick check
Given that x < 0, which expression is equal to |x|?