Absolute value and inequalities on the number line

Absolute value and inequalities on the number line

IB MYP Maths Extended: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • The absolute value ∣x∣|x| is the distance from zero, so ∣x∣≥0|x|\ge0.
  • The distance between aa and bb is ∣a−b∣|a-b|.
  • A closed circle includes the end value (≤\le, ≥\ge); an open circle does not (<<, >>).
  • Interval notation: square bracket includes the end, round bracket does not.
  • ∣x−a∣≤d|x-a|\le d means a−d≤x≤a+da-d\le x\le a+d; ∣x∣>d|x|>d means x<−dx<-d or x>dx>d.

Absolute value

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

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

−8−6−4−2246812345678xy(−7, 7)(0, 0)(7, 7)y = |x|
y = |x|: the graph never goes below the x-axis

Worked example

Find the distance between −7-7 and 33.

Evaluate ∣3−8∣|3-8|.

Inequality symbols

Symbols with a line underneath (≤, ≥) include the end value; the others do not.

An inequality compares two quantities that are not equal.

0123456789105
x ≥ 5: the filled circle includes 5. For x > 5 the circle at 5 would be open.

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

Which inequality says "xx is at least 33"?

Inequalities on a number line

Draw a closed circle when the end value is included, an open circle when it is not, then a line towards 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.
−6−5−4−3−2−10123456-14
−1 < x ≤ 4
−6−5−4−3−2−10123456-2
x ≥ −2
−6−5−4−3−2−101234564
x < 4

What kind of circle do you draw for x>1x>1?

Set notation

Set notation describes all the numbers that satisfy a condition, and Z\mathbb{Z} or R\mathbb{R} says which type of number.

{x:x>2}\{x:x>2\} is read "the set of all xx such that xx is greater than 2".

Write the type after ∈\in: Z\mathbb{Z} means integers 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\}: −2-2 is included and 33 is not.

−4−3−2−1012345-2-1012
The integers in {x ∈ ℤ : −2 ≤ x < 3} are separate points

List {x∈Z:1<x≤4}\{x\in\mathbb{Z}:1<x\le4\}.

Interval notation

Use a square bracket when the end is included and a round bracket when it is not.

Interval notation is a short way to write a range. Infinity can never be reached, so ∞\infty always has a round bracket.

−3−2−10123456-14
−1 < x ≤ 4 is (−1, 4]: round bracket, open circle at −1; square bracket, filled circle at 4.

−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)

Write 2≤x<72\le x<7 in interval notation.

Absolute value and inequalities

Because |x| is a distance, |x| < 3 means x is within 3 of zero, while |x| > 3 gives two separate parts.

∣x∣<3|x|<3 means −3<x<3-3<x<3.

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

∣x∣>3|x|>3 means x<−3x<-3 or x>3x>3.

−6−5−4−3−2−10123456-33
|x| > 3: two separate parts

Worked example

Solve ∣x−27∣≤2|x-27|\le2 and write the answer as an interval.

Which inequality is the same as ∣x−5∣<2|x-5|<2?

Try an exam question

Solve ∣x−27∣≤2|x-27|\le2 and write the answer 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