On this concept: Formula

Not sure which lesson to do first? Find your level and get a plan →

Math · Numbers & Quantities · Grade 9-12

Real Numbers

The real numbers are every value on the continuous number line: rationals and irrationals together, with no holes.

R=Q∪(R∖Q) (rationals union irrationals)

Quick Answer

The real numbers are every value on the continuous number line: rationals and irrationals together, with no holes. Use them whenever a quantity can take any value in a range: a length, a time, a temperature, a coordinate on a graph. Every real number is either rational (a fraction, or a decimal that ends or repeats) or irrational (a decimal that does neither, like 2 or π). What a real number cannot be is the square root of a negative number, which lies off the line.

Why This Matters

Real numbers are the inputs and outputs of most functions you graph. Saying a function is defined for all reals means every point of the x-axis counts, not only whole or fractional values. Knowing where the reals stop also explains why x2+1=0 has no real solution: no point on the line squares to a negative number. Without that boundary you would keep hunting for roots that are not there.

Intuitive Explanation

Start with the integers as marks on a line. Fractions fill in between them, and between any two fractions there is always another one, their average. It seems as if that must fill the line, but it does not. Swing the diagonal of a unit square down onto the line from 0 and it lands at 2, a point that no fraction names. The rationals are dense, meaning they crowd into every interval, yet they still leave holes.

The real numbers are the line with every hole filled. Each real number is one exact point, and each point is one real number. A decimal expansion locates it: 2 is between 1.4 and 1.5, between 1.41 and 1.42, between 1.414 and 1.415, and so on. Each new digit traps the point in an interval one tenth as wide, and on a line with no gaps those shrinking intervals close in on exactly one point.

Because every real number has a place on the line, any two can be compared: a<b, a=b or a>b. That ordering is what makes number-line graphs of inequalities possible.

−9 is not real, because no point on the line, positive, negative or zero, squares to −9: a positive times a positive is positive, and a negative times a negative is positive too. So −9=3i sits off the line, among the complex numbers. A number is real exactly when it has no imaginary part.

Think of it like this. The real numbers are a ruler with no gaps: not just the inch marks or the millimetre marks but every point along its edge, including points like 2 that no mark hits. Rest a pin anywhere on the edge and it touches a real number. Points above or below the ruler, like 3i, are not on it at all.

Core idea. The real numbers fill the line completely — all rationals plus all irrationals, with no gaps.


When to Use

Work in the real numbers when a quantity varies continuously: lengths, times, a function's domain, a point on an axis. Classify a value as real when it can be placed on the number line, whether it is a fraction or an irrational like π. If a calculation needs the square root of a negative, or a quadratic has a negative discriminant, the answer is not real and you need complex numbers. If only whole or fractional values make sense, such as people or pizza slices, integers or rationals fit better.

Tip. Ask: Can this value be located as a single point on the ordinary number line (no imaginary part)?

How to Recognize It

Before you label something a real number, check whether it can take any value in a range and whether any step takes an even root of a negative.

  1. Can the quantity take any value in an interval, such as a time between 2 and 3 seconds or a length between 5 and 6 cm?

    Then it varies continuously, and the real numbers are the right set. If only certain values make sense, like a whole number of tickets or a price to the cent, a smaller set such as the integers or the rationals describes it better.

  2. Does solving it require the square root of a negative number, for example in x2+9=0?

    Then there is no real answer, since every real number squared is zero or positive. The solutions x=±3i are complex numbers.

  3. Do you need to know whether the value can be written as an exact fraction, not only whether it is on the line?

    Then you are sorting within the reals. A value like 78 or 0.3‾ is rational, while 3 or π is irrational; both kinds are still real.

  4. Is the question about the domain of a function, such as which x make x−4 defined?

    Then you are asking which real inputs give real outputs. Here x−4 must be at least 0, so the domain is x≥4. Below 4 the output would not be a real number.

Real Numbers compared with Rational numbers, Complex numbers, and Irrational numbers

Three of these rows sit on the same number line and the fourth extends it, so the names get swapped. Ask two things: is the value on the line at all, and if so, can it be written as a fraction of integers?

Real Numbers

Meaning
Use this when you need any value on the continuous number line, rational or irrational, but not imaginary.
Key test
Can this value be located as a single point on the ordinary number line (no imaginary part)?
Formula
R=Q∪(R∖Q) (rationals union irrationals)
Example
Is π a real number?

Rational numbers

Meaning
Only the fraction-expressible reals, leaving gaps where irrationals sit.
Key test
Use when the value must be expressible as a ratio of integers.
Formula
Q
Example
34 is rational and real

Complex numbers

Meaning
Extend beyond the line with an imaginary part bi; not all complex numbers are real.
Key test
Use when you need −1 or solutions off the number line.
Formula
a+bi
Example
2+3i is complex, not real

Irrational numbers

Meaning
The reals that are NOT rational; the other half that completes the line.
Key test
Use when emphasizing values like π that have no fraction form.
Formula
R∖Q
Example
π is irrational and real

Formula & Notation

R=Q∪(R∖Q) (rationals union irrationals)
R=Q∪(all irrational numbers)

How to read it: R denotes the set of all real numbers; every point on the number line is a real number

Worked Examples

Example 1 — Is it a real number

Easy

Is π a real number?
Show the steps and the answer
  1. Trap π between two decimals: π=3.14159…, so 3.14<π<3.15.

    A number is real if it marks one point on the line, and these bounds pin π between two close marks.

  2. Picture where π comes from: a circle 1 unit across has circumference π units.

    Roll that circle along the number line from 0 for one full turn and it stops at exactly π, a point on the line.

  3. Classify it: π is irrational, since its decimal never ends or repeats.

    The irrationals are one of the two parts of the reals, so being irrational does not stop π from being real.

Answer: Yes — π is a real number (irrational)

Takeaway: Real means on the number line, and the line holds irrationals like π as well as fractions.

Example 2 — A number off the line

Standard

Is −9 a real number?
Show the steps and the answer
  1. Look for a real x with x2=−9: 32=9, (−3)2=9 and 02=0.

    A positive, a negative and zero all give a square that is not negative.

  2. Conclude that no real number squares to −9.

    Every real square is zero or positive, so −9 has no point on the line.

  3. Write it using i=−1: −9=9⋅−1=3i.

    Splitting off −1 is safe here because 9 is positive; the result has imaginary part 3.

  4. Check: (3i)2=9i2=9(−1)=−9.

    Squaring 3i gives back −9, so 3i is the root, and it is complex, not real.

Answer: No — −9=3i is complex, not real

Takeaway: Square roots of negative numbers are not real; once i appears with a nonzero coefficient, the number is off the real line.

Example 3 — Find the mistake: irrational treated as not real

Application

Which of −4, 23, 5, π and −4 are real numbers? Dev writes: "Only −4 and 23 are real. 5 and π are irrational, so they are not real." Find the mistake and correct it.
Show the steps and the answer
  1. Place each number on the line: −4; 23≈0.667; 5≈2.236; π≈3.142.

    Each one has an exact point between known marks, so each is real.

  2. Test −4: no real number squares to −4, and −4=2i.

    This value has no point on the line, so it is the only number in the list that is not real.

  3. Name Dev's error: he treated irrational as the opposite of real.

    Irrational is the opposite of rational. The reals contain both the rationals and the irrationals.

Answer: −4, 23, 5 and π are real; only −4=2i is not.

Takeaway: The reals split into rational and irrational; a number fails to be real only when it has an imaginary part.

Where You'll See It

  • Timing a sprint

    A 100 m time could be 9.58 s, or 9.583 s on a finer clock, or any value in between. Time is modelled with real numbers because there is no gap between possible times; the clock only decides how many digits we get to read.

  • The diagonal of a TV screen

    A screen 48 inches wide and 27 inches tall has a diagonal of 482+272=3033≈55.07 inches. Since 3033 is not a perfect square, that length is an irrational real number, and the box simply rounds it to 55 inches.

  • Where a graph crosses the axis

    The graph of y=x2−2 crosses the x-axis at x=±2≈±1.414. Those crossing points are real even though no fraction names them; a graphing calculator can only show rounded values.

Common Mistakes

  1. The slip: Excluding irrationals from the reals

    Instead: 2 and π are real numbers on the line.

  2. The slip: Calling −1 a real number

    Instead: it is imaginary, off the number line, so not real.

  3. The slip: Assuming every real number has a decimal that ends

    Instead: 13 repeats forever, and irrationals like 2 never end or repeat.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. List every set that −4 belongs to: natural numbers, whole numbers, integers, rational numbers, irrational numbers, real numbers.

    Hint: Is −4 a counting number? Can it be written as a fraction?

  2. Simplify 455 and classify the result.

    Hint: Divide under one square root first.

  3. Name one irrational number and one rational number that both lie between 1.41 and 1.42.

    Hint: Think of a famous square root near 1.414, and any ending decimal in the gap.

  4. Which of these are real numbers: −16, −16, −83, 0.3‾?

    Hint: A square root of a negative is a problem; a cube root of a negative is not.

  5. Does x2+25=0 have real solutions, or do you need complex numbers?

    Hint: Solve for x2 first. Can a real number squared be negative?

  6. Sam says 2 is not a real number because its decimal never ends. Correct Sam.

    Hint: Can you find 2 as a length, or a point on the number line?

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Is infinity a real number?

No. Every real number is a specific point on the line, and infinity is not a point you can stand on; it describes values growing without bound. That is why interval notation writes [2,∞)[2, \infty) with a round bracket: the interval contains every real number from 2 upward but never includes ∞\infty, because there is nothing there to include. In calculus, a limit of ∞\infty means the values grow forever.

What does it mean that the real line has no holes?

Whenever a sequence of real numbers closes in on a target, the target is a real number too. The decimals 1.4, 1.41, 1.414, 1.4142 are all rational, and they close in on 2\sqrt{2}, which is not rational. Using the rationals alone, that target would be missing, a hole. The reals include every such limit, a property called completeness, and calculus depends on it.

Is a complex number like 5+0i real?

Yes. A complex number a+bia + bi with b=0b = 0 is just the real number aa, so 5+0i=55 + 0i = 5. The real numbers sit inside the complex numbers as the horizontal axis of the complex plane. That is why saying a quadratic has complex roots does not rule out real ones; a problem that wants roots off the line should say "non-real".

Why does a computer say 0.1+0.2=0.30000000000000004?

Computers store numbers in base two with a fixed number of digits, and 0.10.1 has no finite base-two expansion, just as 13\frac{1}{3} has none in base ten. So 0.10.1 and 0.20.2 are each stored slightly off, and the small errors show up in the sum. The real numbers have no such problem: 0.1+0.20.1 + 0.2 is exactly 0.30.3. Computer numbers are a finite sample of the reals, not the whole line.

Learning Path

Real Numbers

You are here

You need Rational Numbers and Irrational Numbers first, since the reals are exactly those two sets together. Real Numbers add completeness: a number line with no gaps, on which any two values can be ordered. Next, Complex Numbers add a second direction, i, for square roots of negatives, and Limit uses the gap-free line to say what a sequence like 1.4,1.41,1.414,… approaches.

See Also