Number systems and sets of numbers

Number systems and sets of numbers

IB MYP Maths Extended: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • Natural numbers N\mathbb{N} are the counting numbers; integers Z\mathbb{Z} include negatives.
  • Rational numbers Q\mathbb{Q} can be written as ab\frac{a}{b}; their decimals terminate or recur.
  • Irrational numbers such as π\pi and 2\sqrt{2} have decimals that never end or repeat.
  • The sets are nested: N⊂Z⊂Q⊂R\mathbb{N}\subset\mathbb{Z}\subset\mathbb{Q}\subset\mathbb{R}. Give the smallest set.
  • Use ∈\in, ∪\cup and ∩\cap for set notation; closed circles include an end value, open circles do not.

Natural numbers and integers

Natural numbers are the counting numbers; integers also include negative whole numbers.

The natural numbers are N={0,1,2,3,…}\mathbb{N}=\{0,1,2,3,\ldots\}. (Some books start at 11, so check the question.)

The integers are Z={…,−2,−1,0,1,2,…}\mathbb{Z}=\{\ldots,-2,-1,0,1,2,\ldots\}. Every natural number is an integer, but −3-3 is an integer that is not natural.

A square root can be an integer: 16=4\sqrt{16}=4.

−4−3−2−101234-3-2-10123

5

Natural?:
Yes
Integer?:
Yes

0

Natural?:
Yes
Integer?:
Yes

−3

Natural?:
No
Integer?:
Yes

√16 = 4

Natural?:
Yes
Integer?:
Yes

Is 16\sqrt{16} a natural number?

Rational numbers

A rational number can be written as a fraction of two integers; its decimal always ends or repeats.

A rational number is ab\frac{a}{b} with a,ba,b integers and b≠0b\ne0. The set is Q\mathbb{Q}.

Rational numbers include every integer, fractions such as 25\frac25, terminating decimals such as 0.450.45 and recurring decimals such as 0.3˙=130.\dot{3}=\frac13.

00.10.20.30.40.50.60.70.80.911/41/32/50.451/2

Integer

  • −3=−31-3=\frac{-3}{1}

Fraction

  • 25\frac25

Terminating decimal

  • 0.45=9200.45=\frac{9}{20}

Recurring decimal

  • 0.3˙=130.\dot{3}=\frac13

Worked example

Write 0.450.45 as a fraction in simplest form.

Which of these is rational?

Irrational and real numbers

An irrational number cannot be written as a fraction: its decimal goes on forever without repeating.

Examples are π\pi, 2\sqrt{2}, 7\sqrt{7} and 48\sqrt{48}. The square root of an integer that is not a perfect square is always irrational.

Rational and irrational numbers together make the real numbers, R\mathbb{R}.

A calculator shows only a finite decimal, so 1.4142135621.414213562 is a rational approximation of 2\sqrt{2}, not its exact value.

00.511.522.533.54√2√7π

√2

Rational?:
No
Why:
Never ends or repeats

1.414213562

Rational?:
Yes
Why:
Ends: an approximation of √2

0.3 recurring

Rational?:
Yes
Why:
Repeats in a pattern

Is 48\sqrt{48} rational or irrational?

Classifying numbers

The number sets are nested, so always give the smallest set a number belongs to.

N⊂Z⊂Q⊂R\mathbb{N}\subset\mathbb{Z}\subset\mathbb{Q}\subset\mathbb{R}. Irrational numbers sit in R\mathbb{R} but outside Q\mathbb{Q}.

Examples: −25=−5-\sqrt{25}=-5 is an integer; 49=7\sqrt{49}=7 is natural; π2\frac{\pi}{2} is irrational; −94-\frac94 is rational.

  1. 1

    Simplify first

    For example 49=7\sqrt{49}=7.

  2. 2

    Whole and non-negative?

    Then it is natural.

  3. 3

    Whole?

    Then it is an integer.

  4. 4

    A fraction, or an ending or repeating decimal?

    Then it is rational.

  5. 5

    None of these?

    Then it is irrational.

Classifying a number

What is the smallest set that contains −25-\sqrt{25}?

Set notation

A set is a collection of elements in curly brackets; union joins sets and intersection keeps only shared elements.

B={0,2,4,6}B=\{0,2,4,6\}. n(B)n(B) is the number of elements and ∅\varnothing is the empty set.

Set-builder notation describes a set by a rule: A={x∈Z:−2≤x<3}={−2,−1,0,1,2}A=\{x\in\mathbb{Z}:-2\le x<3\}=\{-2,-1,0,1,2\}.

List each element of a union or intersection once.

−3−2.5−2−1.5−1−0.500.511.522.53-2-1012
  • x∈Bx\in Bxx is an element of BB
  • A∪BA\cup Belements in AA or BB (or both)
  • A∩BA\cap Belements in both AA and BB

Worked example

A={−2,−1,0,1,2}A=\{-2,-1,0,1,2\} and B={0,2,4,6}B=\{0,2,4,6\}. Find A∪BA\cup B and A∩BA\cap B.

What is n(B)n(B) for B={0,2,4,6}B=\{0,2,4,6\}?

Number lines

A closed circle includes the end value, an open circle does not, and a set of integers is shown as separate dots.

For {x∈R:2≤x<1.5}\{x\in\mathbb{R}:\sqrt{2}\le x<1.5\}, draw a closed circle at 2≈1.414\sqrt{2}\approx1.414, an open circle at 1.51.5 and a solid line between.

For integers such as {−2,−1,0,1,2}\{-2,-1,0,1,2\}, mark separate dots, because there are no values in between.

11.11.21.31.41.51.61.71.81.92√21.5
√2 ≤ x < 1.5 for real x
−4−3−2−101234-2-1012
The integers −2, −1, 0, 1, 2 are separate dots

How do you show a set of integers on a number line?

Try an exam question

(a) Write 0.450.45 as a fraction in its simplest form. (b) Is 48\sqrt{48} rational or irrational? Give a reason.

[3 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

How many elements of SS are integers?

1 mark, marked against the mark scheme

Revision notes