Absolute value and inequalities on the number line

Absolute value and inequalities on the number line

IB MYP Maths Standard: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • The absolute value ∣x∣|x| is the distance of xx from zero, so it is never negative: ∣−7∣=7|{-7}|=7.
  • The distance between aa and bb is ∣a−b∣|a-b|.
  • << and >> exclude the end value (open circle); ≤\le and ≥\ge include it (closed circle).
  • Interval notation: square bracket includes an end, round bracket excludes it, and ∞\infty always has a round bracket.
  • ∣x−a∣≤d|x-a|\le d means a−d≤x≤a+da-d\le x\le a+d; ∣x∣>3|x|>3 means x<−3x<-3 or x>3x>3.

Absolute value

The absolute value of a number is its distance from zero, so it is never negative.

The absolute value of a number, written ∣x∣|x|, is its distance from zero on the number line. Distance is never negative, so ∣x∣≥0|x|\ge0.

For example ∣7∣=7|7|=7 and ∣−7∣=7|-7|=7. Do any working inside the bars first: ∣3−8∣=∣−5∣=5|3-8|=|-5|=5.

The distance between two numbers aa and bb is ∣a−b∣|a-b|, so the distance between −7-7 and 33 is ∣3−(−7)∣=10|3-(-7)|=10.

−8−6−4−202468-707
|−7| = 7: the distance from −7 to 0

Worked example

Find ∣3−8∣|3-8| and the distance between −7-7 and 33.

What is ∣3−8∣|3-8|?

Inequality symbols

The symbols with a line underneath include the end value; the others do not.

An inequality compares two quantities that are not equal. x<5x<5 means xx is less than 5. x≤5x\le5 means less than or equal to 5.

A strict inequality uses << or >> and does not include the end value.

0123456789105
x ≤ 5: the filled circle at 5 shows the end value is included. For x < 5 the circle would be open.

Read as

x<5x<5:
less than 5
x>5x>5:
greater than 5
x≤5x\le5:
less than or equal to 5
x≥5x\ge5:
greater than or equal to 5

End value included?

x<5x<5:
No
x>5x>5:
No
x≤5x\le5:
Yes
x≥5x\ge5:
Yes

What does x≥3x\ge3 mean?

Inequalities on a number line

Closed circle if the end is included, open circle if not, then a line or arrow towards the allowed values.

Draw a closed circle (filled in) at the end value when it is included (≤\le or ≥\ge), and an open circle when it is not (<< or >>). Then draw a line or arrow in the direction of the allowed values.

  • x≥−2x\ge-2: closed circle at −2-2, arrow to the right.
  • x<4x<4: open circle at 44, arrow to the left.
  • −1<x≤4-1<x\le4: open circle at −1-1, closed circle at 44, line between them.
−5−4−3−2−101234567-2
x ≥ −2
−5−4−3−2−1012345674
x < 4
−5−4−3−2−101234567-14
−1 < x ≤ 4

Which inequality needs an open circle?

Set notation

Write the type of number and the condition: {x∈Z:−2≤x<3}\{x\in\mathbb{Z}:-2\le x<3\}.

Set notation describes all the numbers that satisfy a condition. {x:x>2}\{x:x>2\} is read "the set of all xx such that xx is greater than 2". To restrict the type of number, write the set after the ∈\in sign: Z\mathbb{Z} means integers (whole numbers, including negatives) and R\mathbb{R} means all real numbers.

{x∈Z:−2≤x<3}={−2,−1,0,1,2}\{x\in\mathbb{Z}:-2\le x<3\}=\{-2,-1,0,1,2\}: five members, because −2-2 is included and 33 is not.

−4−3−2−1012345-2-10123
{x ∈ ℤ : −2 ≤ x < 3}

How many members does {x∈Z:1≤x<6}\{x\in\mathbb{Z}:1\le x<6\} have?

Interval notation

Square bracket for an included end, round bracket for an excluded end; infinity is always round.

Interval notation is a short way to write a range. Use a square bracket when the end is included and a round bracket when it is not.

Infinity is not a number you can reach, so ∞\infty always has a round bracket.

−3−2−10123456−14
−1 < x ≤ 4 is the interval (−1, 4]: open circle at −1, filled circle at 4.

Interval notation

−1<x≤4-1<x\le4:
(−1,4](-1,4]
2≤x≤92\le x\le9:
[2,9][2,9]
x≥3x\ge3:
[3,∞)[3,\infty)
x<5x<5:
(−∞,5)(-\infty,5)

Brackets

−1<x≤4-1<x\le4:
round then square
2≤x≤92\le x\le9:
both square
x≥3x\ge3:
square then round
x<5x<5:
both round

Write 2≤x<92\le x<9 in interval notation.

Absolute value and inequalities

∣x∣<3|x|<3 means within 3 units of zero; ∣x∣>3|x|>3 means more than 3 units away.

Because ∣x∣|x| is a distance, ∣x∣<3|x|<3 means "xx is less than 3 units from zero", so −3<x<3-3<x<3. In general ∣x−a∣≤d|x-a|\le d means xx is within dd units of aa, so a−d≤x≤a+da-d\le x\le a+d. For example ∣x−27∣≤2|x-27|\le2 gives 25≤x≤2925\le x\le29, or [25,29][25,29].

By contrast ∣x∣>3|x|>3 means xx is more than 3 units away from zero, so x<−3x<-3 or x>3x>3.

−6−5−4−3−2−10123456-33
|x| < 3 means −3 < x < 3
−6−5−4−3−2−10123456-33
|x| > 3 means x < −3 or x > 3

Worked example

Solve ∣x−27∣≤2|x-27|\le2.

Solve ∣x∣>3|x|>3.

Try an exam question

Solve ∣x−5∣≤3|x-5|\le3. Show your solution on a number line description and write it in interval notation.

[3 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find the value of ∣−7∣−∣3∣|-7|-|3|.

1 mark, marked against the mark scheme

Revision notes