The modulus |x|, its graph, its domain and range, the properties used in every modulus problem, and the rules for |x| < a and |x| > a.
Lesson 9 of 16
5 min read
11 practice questions
The modulus of a number measures its size without caring about its sign: the modulus of −5 and of 5 are both 5. You can think of ∣x∣ as the distance of x from 0 on the number line. The modulus function is the source of a large family of equations and inequalities, and this lesson builds the foundation: the definition, the graph, and the properties you will use in every modulus problem afterwards.
The modulus of a real number
The modulus (or absolute value) of a real number x is written ∣x∣ and read "mod x". It is defined by
∣x∣={x,−x,x≥0x<0
For a number that is zero or positive, the modulus is the number itself. For a negative number, the modulus is the negative of the number, which is positive.
Number
Sign
Modulus
−1
negative
−(−1)=1
0
zero
0
1
positive
1
−2
negative
−(−2)=2
2
positive
2
−3
negative
−(−3)=3
3
positive
3
Students sometimes think "−x is always negative", so ∣x∣=−x looks wrong. It is not: when x itself is negative, −x is positive. For x=−3, −x=3.
The modulus function
The function f(x)=∣x∣, x∈R, is called the modulus function.
Domain=R,Range=[0,∞)
Every real number has a modulus, and the modulus is never negative; every non-negative number is the modulus of something (itself).
The graph of y=∣x∣
x
−3
−2
−1
0
1
2
3
y=∣x∣
3
2
1
0
1
2
3
For x≥0 the graph is the line y=x; for x<0 it is the line y=−x. Together they make a V shape with its corner at the origin. The right arm goes through (1,1), (2,2), (3,3), and the left arm through (−1,1), (−2,2), (−3,3). The graph is symmetric about the y-axis and never goes below the x-axis.
Properties of the modulus
In these properties x and y are any real numbers, and "for all" is written ∀.
∣x∣≥0, ∀x∈R.
∣x∣=0⟹x=0.
∣x∣=x⟹x≥0.
∣x∣>x⟹x<0.
∣x∣<x is true for no real x: the solution set is ϕ.
∣−x∣=∣x∣.
∣xn∣=∣x∣n.
∣xy∣=∣x∣∣y∣.
yx=∣y∣∣x∣, for y=0.
(a) ∣x∣−∣y∣≤∣x+y∣≤∣x∣+∣y∣ and (b) ∣x∣−∣y∣≤∣x−y∣≤∣x∣+∣y∣.
∣x+y∣=∣x∣+∣y∣ when xy≥0.
∣x+y∣<∣x∣+∣y∣ when xy<0.
Properties 3 and 5 are used a great deal, and property 10 is the famous triangle inequality.
A common mistake. Property 6 says ∣−x∣=∣x∣. It does not say ∣−x∣=x. Test with x=−2: the left side is ∣−(−2)∣=∣2∣=2, while x=−2. The two sides differ, so ∣−x∣=x is false in general.
Property 11 explained. When x and y have the same sign (or one is zero), adding them makes the size grow, so ∣x+y∣ is the full ∣x∣+∣y∣. For example, with x=0 and y=−2 we have xy=0, and ∣x+y∣=∣0−2∣=2 while ∣x∣+∣y∣=0+2=2. When x and y have opposite signs, they partly cancel, so ∣x+y∣ is smaller: with x=3, y=−5, ∣x+y∣=2 but ∣x∣+∣y∣=8. That is property 12.
Modulus inequalities
Think of ∣x∣ as the distance from 0. Let a>0.
∣x∣<a⟹−a<x<a, that is, x∈(−a,a).
∣x∣≤a⟹−a≤x≤a, that is, x∈[−a,a].
∣x∣>a⟹x<−a or x>a, that is, x∈(−∞,−a)∪(a,∞).
∣x∣≥a⟹x≤−a or x≥a, that is, x∈(−∞,−a]∪[a,∞).
A distance less than a means x lies between −a and a; a distance greater than a means x lies outside. The same short rule as for quadratics: less, lies between.
Example 1
Solve ∣x∣<2.
−2<x<2, that is, x∈(−2,2).
Example 2
Solve ∣x−3∣<2.
Treat x−3 as the quantity inside the modulus:
−2−2+31<x−3<2<x<2+3<x<5
So x∈(1,5). In words, x is less than 2 units away from 3.
Example 3
Solve ∣2x−3∣≥2.
Greater than or equal, so the quantity lies outside [−2,2]:
2x−3≤−2or2x−3≥2
2x≤1or2x≥5
x≤21orx≥25
So x∈(−∞,21]∪[25,∞)=R−(21,25). On a number line, shade everything to the left of 21 and to the right of 25, with filled dots at both ends.
Practice
Find ∣−9∣.
Find ∣5−8∣.
Find ∣−4∣×∣3∣ and ∣(−4)×3∣, and say which property they show.
Is ∣x∣>x true for x=−3?
For which real numbers is ∣x∣=x?
Check property 11 or 12 for x=3, y=5 and for x=3, y=−5.
Solve ∣x∣≤4.
Solve ∣x+1∣<3.
Solve ∣x−5∣>2.
Solve ∣3x+1∣≥5.
Solve ∣2x−1∣<0.
Answers
Show answers
9.
∣−3∣=3.
Both are 12; this is property 8, ∣xy∣=∣x∣∣y∣.
Yes: ∣−3∣=3 and 3>−3.
For x≥0, that is, x∈[0,∞).
For x=3, y=5: xy>0 and ∣8∣=8=3+5, as property 11 says. For x=3, y=−5: xy<0 and ∣−2∣=2<8, as property 12 says.
x∈[−4,4].
−3<x+1<3, so −4<x<2, that is, x∈(−4,2).
x−5<−2 or x−5>2, so x<3 or x>7: x∈(−∞,3)∪(7,∞).
3x+1≤−5 or 3x+1≥5, so x≤−2 or x≥34: x∈(−∞,−2]∪[34,∞).
A modulus is never negative, so there is no solution: x∈ϕ.