A rational number can be expressed as a ratio of integers with a non-zero denominator. An irrational number is a real number for which no such ratio exists. This distinction concerns an exact value, not how many digits happen to appear on a screen.
A finite decimal is rational even when it approximates an irrational quantity. Keeping the value separate from its representation prevents many classification errors.
On this page
Use the definition before judging the appearance
A real number is rational when it can be written as
Integers are rational because . So are terminating decimals: . A radical symbol does not automatically mean irrational; is rational.
The rational and irrational numbers partition the real numbers. A non-real complex number such as belongs to neither group. Saying “anything that is not rational is irrational” without restricting the discussion to real numbers is incomplete.
Explain terminating decimals through prime factors
A fraction in lowest terms has a terminating base-ten decimal exactly when its positive denominator has no prime factors except 2 and 5. The reason is that a decimal with places is an integer divided by .
For example, terminates because . Multiplying numerator and denominator by 25 gives
By contrast, the reduced denominator of contains a factor 3, so no power of ten can supply it. Its decimal does not terminate.
Reduction matters. The fraction has a denominator containing 3 as written, but it reduces to . Apply the criterion to the reduced denominator, not an arbitrary equivalent fraction.
Convert repeating decimals exactly
Let , meaning with the two-digit block repeated forever. Multiply by 100 to align the repeating tails:
Therefore and
A decimal can have a non-repeating beginning. For , use and . Subtraction gives , so .
For any rational fraction, long division has finitely many possible remainder states. It either reaches zero or repeats a state, so the decimal terminates or eventually repeats. Conversely, aligning and subtracting repeated tails turns any eventually repeating decimal into a rational equation. A written finite string followed by dots is not enough to specify a decimal unless the rule for continuing it is clear.
Prove that a familiar square root is irrational
Suppose in lowest terms, with positive integers and . Squaring gives . Hence is even, so is even: an odd integer has an odd square.
Write . Substitution yields , or . Thus is even as well. Both numerator and denominator have a factor 2, contradicting the claim that the fraction was reduced. Therefore is irrational.
This is a general proof, not a conclusion from a calculator displaying many digits. Prime factorization supplies another viewpoint: the exponent of 2 in would be even, while its exponent in would be odd.
Separate exact values from approximations
The number is rational because it equals . It is a useful approximation to , but the two numbers are not equal:
Since both endpoints are positive,
Successively narrower rational bounds for the square root of two
Diagram explanation and exact data
Squaring the positive endpoints checks the inequalities. The final row gives 1.414 < √2 < 1.415 because their squares lie below and above 2.
| Lower bound | Upper bound | Width |
|---|---|---|
| 1.4 | 1.5 | 0.1 |
| 1.41 | 1.42 | 0.01 |
| 1.414 | 1.415 | 0.001 |
Narrowing rational bounds locates an irrational value without turning it into a rational number. Every finite decimal approximation remains rational, regardless of how accurately it approximates the target.
An infinite recurring decimal can also have a terminating representation. In particular, . One justification uses the finite sums : the value after digits is , which approaches 1. There is no positive “last-digit gap” after infinitely many nines.
Check what operations preserve
Rational numbers are closed under addition, subtraction and multiplication, and under division by a non-zero rational number. Adding a rational number to an irrational number must produce an irrational number: otherwise subtracting the rational addend would make the original irrational number rational.
Multiplication by a non-zero rational number also preserves irrationality. The non-zero restriction matters because multiplying anything by zero produces rational zero.
Two irrational numbers can have a rational or irrational sum or product. For example,
There is no blanket “irrational plus irrational” rule. Exact algebra, not the label of each input alone, determines the result.
Find numbers between numbers
Between any two different rational numbers , their midpoint is another rational number. Repeating the process creates indefinitely many rational values between them.
There are also irrational numbers arbitrarily close to any real value. The number line is not divided into a rational region and an irrational region. The intervals in the diagram contain both types, even though a finite diagram cannot mark every point. Properties of Real Numbers distinguishes this closeness property from completeness.
Practice questions
- Classify , and the exact decimal as rational or irrational.
- Convert to a fraction in lowest terms.
- Must the sum of a rational number and an irrational number be irrational? Give the reason.
Check your answers
- and are rational. Since and 2 is non-zero rational, is irrational.
- With , subtraction gives , so .
- Yes. If the sum were rational, subtracting its rational addend would express the irrational addend as a difference of rational numbers, a contradiction.
Related topics
Properties of Real Numbers develops the arithmetic and order structure shared by rational and irrational values. Complex Numbers explains why some equations require numbers outside the real line.
