Algebra

Types of Numbers

Last updated: March 2026 · Beginner
Real-world applications
πŸ’Š
Nursing

Medication dosages, IV drip rates, vital monitoring

⚑
Electrical

Voltage drop, wire sizing, load balancing

Before you can solve equations, graph functions, or work with formulas, you need to know what kinds of numbers you are working with. The real number system organizes every number you will encounter in Algebra 1 into a hierarchy of sets, each one containing the previous. Understanding this hierarchy tells you what operations are legal, what answers are possible, and why some expressions β€” like the square root of a negative number β€” fall outside the real number system entirely.

Natural Numbers

The natural numbers (also called counting numbers) are the most basic set:

N={1,2,3,4,5,…}\mathbb{N} = \{1, 2, 3, 4, 5, \ldots\}

These are the numbers you use to count objects: 3 apples, 7 patients, 12 resistors. Natural numbers do not include zero, negatives, fractions, or decimals.

Closed under: addition (e.g., 3+5=83 + 5 = 8, still natural) and multiplication (e.g., 4Γ—6=244 \times 6 = 24, still natural).

Not closed under: subtraction (3βˆ’5=βˆ’23 - 5 = -2, not natural) or division (7Γ·2=3.57 \div 2 = 3.5, not natural).

Whole Numbers

The whole numbers are the natural numbers plus zero:

W={0,1,2,3,4,5,…}\mathbb{W} = \{0, 1, 2, 3, 4, 5, \ldots\}

Adding zero to the set is a small change with a big consequence β€” it gives us an additive identity (a number that, when added to anything, leaves it unchanged) and allows us to represent β€œnothing” numerically.

Example 1: Natural or Whole?

  • 1414 β€” natural and whole
  • 00 β€” whole but not natural
  • βˆ’3-3 β€” neither natural nor whole

Integers

The integers extend the whole numbers to include all negatives:

Z={…,βˆ’3,βˆ’2,βˆ’1,0,1,2,3,…}\mathbb{Z} = \{\ldots, -3, -2, -1, 0, 1, 2, 3, \ldots\}

The symbol Z\mathbb{Z} comes from the German word Zahlen (numbers). With integers, subtraction is always possible: 3βˆ’5=βˆ’23 - 5 = -2 stays within the set.

Closed under: addition, subtraction, and multiplication.

Not closed under: division (7Γ·2=3.57 \div 2 = 3.5, not an integer).

Example 2: Classifying Integers

  • βˆ’50-50 β€” integer (and therefore a real number), but not a whole number or natural number
  • 77 β€” integer, whole number, and natural number
  • 00 β€” integer and whole number, but not a natural number

Rational Numbers

A rational number is any number that can be expressed as a fraction of two integers:

Q={pqβ€…β€Š|β€…β€Šp,q∈Z,β€…β€Šqβ‰ 0}\mathbb{Q} = \left\{ \frac{p}{q} \;\middle|\; p, q \in \mathbb{Z},\; q \neq 0 \right\}

This includes:

  • Fractions: 34\frac{3}{4}, βˆ’72-\frac{7}{2}, 115\frac{11}{5}
  • Terminating decimals: 0.75=340.75 = \frac{3}{4}, 2.5=522.5 = \frac{5}{2}
  • Repeating decimals: 0.333…=130.333\ldots = \frac{1}{3}, 0.16β€Ύ=160.1\overline{6} = \frac{1}{6}
  • All integers (since 5=515 = \frac{5}{1})

Example 3: Is 0.1250.125 Rational?

Yes. 0.125=1251000=180.125 = \frac{125}{1000} = \frac{1}{8}. It can be written as a fraction of two integers, so it is rational.

Example 4: Is 0.72β€Ύ0.\overline{72} Rational?

Yes. The repeating decimal 0.727272…0.727272\ldots can be converted to a fraction:

Let x=0.72β€Ύx = 0.\overline{72}

100x=72.72β€Ύ100x = 72.\overline{72}

100xβˆ’x=72.72β€Ύβˆ’0.72β€Ύ100x - x = 72.\overline{72} - 0.\overline{72}

99x=7299x = 72

x=7299=811x = \frac{72}{99} = \frac{8}{11}

Every repeating decimal is rational.

Key Rule

A decimal is rational if and only if it either terminates or repeats. If it does neither, it is irrational.

Irrational Numbers

An irrational number cannot be written as a fraction of two integers. Its decimal expansion goes on forever without repeating.

Famous examples:

  • 2=1.41421356…\sqrt{2} = 1.41421356\ldots (the diagonal of a unit square)
  • Ο€=3.14159265…\pi = 3.14159265\ldots (the ratio of a circle’s circumference to its diameter)
  • e=2.71828182…e = 2.71828182\ldots (the base of natural logarithms)
  • 3\sqrt{3}, 5\sqrt{5}, 7\sqrt{7}, and the square root of any non-perfect-square positive integer

Example 5: Is 16\sqrt{16} Irrational?

No. 16=4\sqrt{16} = 4, which is an integer. Only square roots of non-perfect squares are irrational.

Example 6: Is 10\sqrt{10} Irrational?

Yes. 1010 is not a perfect square (the perfect squares near 10 are 9=329 = 3^2 and 16=4216 = 4^2). Therefore 10=3.16227766…\sqrt{10} = 3.16227766\ldots is irrational β€” the decimal neither terminates nor repeats.

Real Numbers

The real numbers (R\mathbb{R}) are the union of the rational and irrational numbers. Together they fill the entire number line with no gaps:

R=Qβˆͺ{irrationalΒ numbers}\mathbb{R} = \mathbb{Q} \cup \{\text{irrational numbers}\}

Every number you encounter in Algebra 1 is a real number. The number line stretches from βˆ’βˆž-\infty to +∞+\infty, and every point on it corresponds to exactly one real number.

The Number Type Hierarchy

Each set nests inside the next, like concentric circles:

NβŠ‚WβŠ‚ZβŠ‚QβŠ‚R\mathbb{N} \subset \mathbb{W} \subset \mathbb{Z} \subset \mathbb{Q} \subset \mathbb{R}

Think of it as a series of expanding containers:

  • Natural numbers are inside whole numbers
  • Whole numbers are inside integers
  • Integers are inside rational numbers
  • Rational numbers, together with irrational numbers, make up the real numbers

A number belongs to the smallest set that contains it, but it also belongs to every larger set above it. For instance, 55 is natural, whole, integer, rational, and real β€” all at once.

Example 7: Classify Each Number

NumberNaturalWholeIntegerRationalIrrationalReal
77YesYesYesYesNoYes
00NoYesYesYesNoYes
βˆ’4-4NoNoYesYesNoYes
23\frac{2}{3}NoNoNoYesNoYes
5\sqrt{5}NoNoNoNoYesYes
Ο€\piNoNoNoNoYesYes
βˆ’1.75-1.75NoNoNoYesNoYes

Why This Matters in Algebra

Understanding number types is not just a vocabulary exercise β€” it affects what you can and cannot do:

  1. Square roots of negatives. βˆ’9\sqrt{-9} is not a real number. In Algebra 1, if you arrive at a negative under a square root, the equation has no real solution. (Later courses introduce imaginary numbers to handle this.)

  2. Division by zero. 50\frac{5}{0} is undefined β€” it is not a real number (or any kind of number). Whenever a variable appears in a denominator, you must note that the denominator cannot equal zero.

  3. Rational vs. irrational answers. When you solve x2=7x^2 = 7, the answer is x=Β±7x = \pm\sqrt{7}, which is irrational. You can approximate it as Β±2.646\pm 2.646, but the exact answer cannot be written as a fraction.

  4. Closure determines what set you end up in. Adding two integers always gives an integer. Dividing two integers might give a rational number that is not an integer. Knowing closure helps you predict the type of your answer.

Real-World Application: Nursing β€” Measurement Precision

In clinical settings, nurses work with different types of numbers constantly:

  • Natural numbers for counting: 3 tablets, 2 IV bags, 5 patients
  • Rational numbers for dosages: 12\frac{1}{2} tablet, 0.25 mg, 2.5 mL
  • Integers for temperature changes: a patient’s temperature changed by βˆ’2-2 degrees Fahrenheit overnight (a drop of 2 degrees)

A dosage of 13\frac{1}{3} mL is rational (repeating decimal 0.333…0.333\ldots), and a syringe marked in 0.1 mL increments can only approximate it. Understanding that 13\frac{1}{3} cannot be represented exactly as a terminating decimal helps nurses understand why they round to 0.30.3 mL and what level of precision their tools provide.

Real-World Application: Electrician β€” Irrational Numbers in AC Circuits

Electricians encounter irrational numbers when working with alternating current (AC) circuits. The impedance formula for a series RL circuit is:

Z=R2+XL2Z = \sqrt{R^2 + X_L^2}

where RR is resistance and XLX_L is inductive reactance.

Scenario: R=3R = 3 ohms and XL=4X_L = 4 ohms.

Z=32+42=9+16=25=5Β ohmsZ = \sqrt{3^2 + 4^2} = \sqrt{9 + 16} = \sqrt{25} = 5 \text{ ohms}

Here the answer happens to be rational (a perfect square under the root). But if R=5R = 5 ohms and XL=7X_L = 7 ohms:

Z=52+72=25+49=74β‰ˆ8.60Β ohmsZ = \sqrt{5^2 + 7^2} = \sqrt{25 + 49} = \sqrt{74} \approx 8.60 \text{ ohms}

Since 74 is not a perfect square, 74\sqrt{74} is irrational. The electrician rounds to a practical value for their work, but the exact answer lives outside the rational numbers.

Common Mistakes to Avoid

  1. Calling 25\sqrt{25} irrational. 25=5\sqrt{25} = 5, which is a natural number. Only roots of non-perfect squares are irrational. Always simplify the root before classifying.

  2. Thinking all decimals are irrational. The decimal 0.750.75 is rational because it terminates. The decimal 0.3β€Ύ0.\overline{3} is rational because it repeats. Only non-terminating, non-repeating decimals are irrational.

  3. Forgetting that every integer is also rational. βˆ’8=βˆ’81-8 = \frac{-8}{1}. Integers are a subset of rationals.

  4. Claiming Ο€2\frac{\pi}{2} is rational because it looks like a fraction. The definition requires that both the numerator and denominator be integers. Since Ο€\pi is not an integer, Ο€2\frac{\pi}{2} is irrational.

  5. Confusing β€œundefined” with β€œzero.” 05=0\frac{0}{5} = 0 (defined and rational), but 50\frac{5}{0} is undefined (not a number at all).

Practice Problems

Problem 1: Classify βˆ’12-12 β€” list every number type it belongs to.

βˆ’12-12 is an integer, rational number, and real number.

It is not a natural number (negative) and not a whole number (negative).

Problem 2: Is 0.45β€Ύ0.\overline{45} rational or irrational? If rational, express it as a fraction.

It is rational because it is a repeating decimal.

Let x=0.45β€Ύ=0.454545…x = 0.\overline{45} = 0.454545\ldots

100x=45.45β€Ύ100x = 45.\overline{45}

100xβˆ’x=45100x - x = 45

99x=4599x = 45

x=4599=511x = \frac{45}{99} = \frac{5}{11}

Answer: Rational. 0.45β€Ύ=5110.\overline{45} = \frac{5}{11}

Problem 3: Classify 49\sqrt{49}.

49=7\sqrt{49} = 7

So 49\sqrt{49} is a natural number, whole number, integer, rational number, and real number.

Problem 4: Is 30\sqrt{30} rational or irrational?

3030 is not a perfect square (the nearest perfect squares are 25=5225 = 5^2 and 36=6236 = 6^2).

30=5.47722…\sqrt{30} = 5.47722\ldots β€” the decimal neither terminates nor repeats.

Answer: Irrational.

Problem 5: True or false: 00 is a rational number.

True. 0=010 = \frac{0}{1}, which is a fraction of two integers with a nonzero denominator. Zero is rational.

Problem 6: An electrician calculates Z=62+82Z = \sqrt{6^2 + 8^2}. Is the result rational or irrational?

Z=36+64=100=10Z = \sqrt{36 + 64} = \sqrt{100} = 10

1010 is rational (in fact, it is a natural number).

Answer: Rational.

Problem 7: Give an example of a number that is real but not rational.

Any irrational number works. Examples: 2\sqrt{2}, Ο€\pi, 11\sqrt{11}, ee.

For instance, 2=1.41421356…\sqrt{2} = 1.41421356\ldots is real (it has a location on the number line) but not rational (its decimal expansion never terminates or repeats).

Key Takeaways

  • The natural numbers (1,2,3,…1, 2, 3, \ldots) are the building block β€” each larger set adds something new (zero, negatives, fractions, irrational values)
  • A number is rational if and only if its decimal expansion terminates or repeats
  • A number is irrational if its decimal expansion goes on forever without a pattern β€” 2\sqrt{2}, Ο€\pi, and ee are the classic examples
  • The real numbers combine all rationals and irrationals to fill the entire number line
  • Every number belongs to its smallest applicable set and all larger sets above it
  • In Algebra 1, answers are always real numbers β€” if you get a negative under a square root, the equation has no real solution
  • Number classification is not abstract β€” trades like nursing and electrical work rely on understanding which numbers can be represented exactly and which require rounding

Return to Algebra for more topics in this section.

Last updated: March 29, 2026