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 (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.
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.
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.
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.