A rational number is any number you can write as ba with integersa and b (and b=0).
Q={ba∣a,b∈Z,b=0}
Quick Answer
A rational number is any number you can write as ba with integersa and b (and b=0). That covers fractions like −43, integers like 7=17, decimals that stop like 0.75=43, and decimals that repeat like 0.333…=31. Use the idea when you sort numbers into types, when you turn a decimal into an exact fraction, or when you need to know whether a value can be written exactly without rounding.
Why This Matters
Knowing a number is rational tells you it can be written exactly: 0.6 is exactly 32, so 3×0.6 is exactly 2, while the rounded 3×0.666 gives 1.998. It also tells you what decimals to expect, since every fraction's decimal either stops or repeats. A decimal that does neither, like the one for 2, signals a different kind of number, and a calculator's rounded display will not show you the difference.
Intuitive Explanation
Divide 3 by 4 and the division stops: 0.75. Divide 1 by 3 and it never stops, but it settles into a loop: 0.333…. Those are the only two things long division can do. Each remainder is smaller than the divisor, so dividing by 7 allows only the remainders 0 to 6. Either a remainder of 0 appears and the decimal ends, or an earlier remainder comes back and the digits repeat from there.
It works backwards too: a decimal that stops is a fraction over 10, 100 or 1000, so 0.75=10075=43. For a repeating decimal, a little algebra removes the loop: if x=0.666… then 10x=6.666…, and subtracting gives 9x=6, so x=96=32.
A number does not need to look like a fraction to be rational; it only needs to be writable as one. The integer −4 is 1−4, and the mixed number 221 is 25.
Not every decimal is rational. 0.101001000100001…, with one more zero each time, never ends and never repeats a fixed block, so no fraction equals it; 2 and π are the famous examples. A decimal that looks irregular on a calculator screen may still repeat later, though: 71=0.142857 takes six digits before its loop starts again.
Think of it like this.A rational number's decimal is a song on repeat. Long division can only produce a limited set of remainders, so sooner or later a remainder comes back and the same digits play again; if the remainder reaches zero, the song simply ends. An irrational number is music that never loops.
Core idea.A rational number is a ratio of two integers, which is exactly the numbers whose decimals end or repeat.
When to Use
Call a number rational when you can write it as a fraction of integers: a fraction, a mixed number, an integer, a terminating decimal or a repeating decimal. You need this when sorting numbers into sets or turning a decimal into an exact fraction. If the decimal never ends and never repeats, or the number is the square root of a non-perfect square such as 2, it is irrational. If only whole steps with signs appear, the integers are enough.
Tip.Ask: Can this number be written as one integer divided by another (with the decimal ending or repeating)?
How to Recognize It
Before you call a number rational, look at the form it arrives in: a fraction, a decimal, a root, or a symbol like π.
1.
If the number is a decimal, does it stop, like 0.375, or settle into a block that repeats, like 0.272727…?
Either way it is rational: 0.375=83 and 0.27=9927=113. If the digits never stop and never repeat, the number is irrational.
2.
Is the number a square root, and is the number under the root a perfect square?
A perfect square gives a rational root: 49=7 and 169=43. A root of a non-perfect square, such as 10, is irrational.
3.
Does the number have any part between two whole numbers?
If not, it is an integer, which still counts as rational, since −5=1−5. If it does, like −231, it is rational but not an integer.
4.
Is the question about the number's value, or about how a fraction is written, such as simplifying 1812?
Rational is a label for the value, and 1812 and 32 are the same rational number. Rewriting the top and bottom is fraction work, covered under fractions.
Rational Numbers compared with Irrational numbers, Integers, and Fractions
Rational numbers, integers and fractions overlap, and irrational numbers sit right beside them on the line, so the labels blur. Ask whether the value can be written exactly as an integer over a nonzero integer, and whether it needs a part between whole numbers.
Rational Numbers compared with Irrational numbers, Integers, and Fractions
Type
Meaning
Key test
Formula
Example
Rational Numbers
Use this when you must decide whether a value can be written as a ratio of two integers (fraction, terminating or repeating decimal).
Can this number be written as one integer divided by another (with the decimal ending or repeating)?
Q={ba∣a,b∈Z,b=0}
Is 0.6 (the repeating decimal 0.666…) a rational number?
Irrational numbers
Numbers that CANNOT be written as a ratio of integers; their decimals never end or repeat.
Use for values like 2 or π that don't fit a fraction.
x∈/Q
2=1.41421… never repeats
Integers
Only the whole signed numbers; a subset of the rationals with denominator 1.
Use when there is no fractional part at all.
Z
−4 is an integer (and also rational)
Fractions
The written form ba; rationals are the set of all values such forms can name.
Use when working with the notation rather than classifying the number type.
ba
52 is a fraction naming a rational
Rational Numbers
Meaning
Use this when you must decide whether a value can be written as a ratio of two integers (fraction, terminating or repeating decimal).
Key test
Can this number be written as one integer divided by another (with the decimal ending or repeating)?
Formula
Q={ba∣a,b∈Z,b=0}
Example
Is 0.6 (the repeating decimal 0.666…) a rational number?
Irrational numbers
Meaning
Numbers that CANNOT be written as a ratio of integers; their decimals never end or repeat.
Key test
Use for values like 2 or π that don't fit a fraction.
Formula
x∈/Q
Example
2=1.41421… never repeats
Integers
Meaning
Only the whole signed numbers; a subset of the rationals with denominator 1.
Key test
Use when there is no fractional part at all.
Formula
Z
Example
−4 is an integer (and also rational)
Fractions
Meaning
The written form ba; rationals are the set of all values such forms can name.
Key test
Use when working with the notation rather than classifying the number type.
Formula
ba
Example
52 is a fraction naming a rational
Formula & Notation
Q={ba∣a,b∈Z,b=0}
Q={qp:p∈Z,q∈Z,q=0} with equivalence qp=sr⟺ps=qr
How to read it:Q denotes the set of rational numbers; ba denotes the ratio of integersa and b
Worked Examples
Example 1 — Classify the number
Easy
Is 0.6 (the repeating decimal 0.666…) a rational number?
Show the steps and the answer
Let x=0.666… and multiply by 10: 10x=6.666….
Multiplying by 10 shifts the digits one place, and both numbers keep the same endless tail of 6s.
Subtract: 10x−x=6.666…−0.666…, so 9x=6.
The repeating tails line up and cancel exactly, leaving whole numbers.
Solve: x=96=32.
x is now a ratio of two integers, so it is rational.
Check by long division of 2÷3: each step divides 20 by 3, giving the digit 6 and remainder 2.
The remainder 2 keeps coming back, which is exactly why the 6 repeats forever.
Answer:Yes — it is rational (32)
Takeaway:A repeating decimal is always rational: multiply by a power of 10, subtract, and the repeating part cancels.
Example 2 — A never-ending nonrepeating decimal
Standard
Is 2=1.41421356… a rational number?
Show the steps and the answer
Check whether 2 is a perfect square: 12=1 and 22=4, so no whole number squares to 2.
If 2 were a perfect square, 2 would be an integer and therefore rational.
Suppose 2=ba in lowest terms. Squaring gives a2=2b2, so a2 is even and therefore a is even.
An odd number times itself is odd, so an even square must come from an even number.
Write a=2k: then 4k2=2b2, so b2=2k2, and b is even too.
If a and b are both even, the fraction could be reduced by 2, which contradicts lowest terms.
Conclude that no fraction equals 2.
The digits 1.41421356… can never settle into a repeating block, because a repeating decimal would be a fraction.
Answer:No — 2 is irrational
Takeaway:A few decimal digits cannot prove a number is irrational; for 2 the even-and-odd argument does.
Example 3 — Find the mistake: integers left out
Application
Sort −5, 0.25, 37 and 0. Kim writes: "Only 0.25 and 37 are rational. −5 and 0 are integers, not rational numbers." Find the mistake and correct it.
Show the steps and the answer
Write each value as a ratio of integers: −5=1−5, 0=10, 0.25=41, and 37 already is one.
A number is rational if at least one such fraction exists, whatever form it was written in.
Check the denominators: 1, 1, 4 and 3 are all nonzero.
The only restriction is b=0; a numerator of 0, as in 10, is allowed.
Name Kim's error: she treated integer and rational as separate boxes.
Every integer n equals 1n, so the integers sit inside the rationals, the way squares sit inside the rectangles.
Answer:All four are rational: −5=1−5, 0=10, 0.25=41 and 37.
Takeaway:Integers are rational numbers with denominator 1, so being an integer never stops a number from being rational.
Where You'll See It
Splitting a pizza bill three ways
Three friends split a $10 pizza, so each owes 310=3.333… dollars, a repeating decimal. The fraction is exact, but cents are not, so two friends pay $3.33 and one pays $3.34, which adds back to $10.00.
Note lengths in music
A quarter note lasts 41 of a whole note and a dotted eighth lasts 163. Because note lengths are rational, they add exactly: a dotted eighth plus a sixteenth is 163+161=164=41, one full beat.
Gear ratios on a bicycle
With a 48-tooth front gear and a 16-tooth rear gear, the wheel turns 1648=3 times per pedal turn; with 44 and 16 teeth it turns 1644=2.75 times. Gear ratios are always rational, because they compare whole numbers of teeth.
Common Mistakes
The slip:Calling every decimal rational
Instead:only terminating or repeating decimals are; non-repeating infinite decimals are irrational.
The slip:Allowing zero in the denominator
Instead:b must be nonzero for a/b to be a rational number.
The slip:Thinking a number must look like a fraction to be rational
Instead:integers like 7 are rational too (7/1).
Mini Practice
Try these on your own. Tap Reveal when you want to check.
1.
Write 0.75 as a fraction of two integers in lowest terms.
Hint:0.75 means 75 hundredths. Then simplify.
2.
Show that −5 is a rational number.
Hint:Can you write −5 as one integer over another nonzero integer?
3.
Write the repeating decimal 0.444… as a fraction.
Hint:Let x=0.444… and compare 10x with x.
4.
Write the repeating decimal 0.272727… as a fraction in lowest terms.
Hint:Two digits repeat, so multiply by 100 this time.
5.
The number 0.1010010001… adds one more 0 before each 1. Is it rational or irrational?
Hint:There is a pattern, but does one fixed block of digits repeat?
6.
Ana says 07 is a rational number because 7 and 0 are both integers. Correct Ana.
Hint:Check the rule about the denominator.
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.
Because both name the same point on the number line. You know 31=0.333…, and three times that is 33=1 one way and 0.999… the other. You can also try to fit a number between them: any decimal below 1 has a digit smaller than 9 somewhere, so it is below 0.999… too. With no room between them, they are equal.
Is there always a rational number between two others?
Yes. Take their average: halfway between 31 and 21 is 125, which is rational because adding and halving fractions gives a fraction. Then you can find one between 31 and 125, and so on forever. So unlike the integers, the rationals have no next number. They still leave gaps, though, and that is where the irrationals sit.
How do I turn a repeating decimal into a fraction?
Shift the repeating block and subtract. For x=0.45, the block has 2 digits, so multiply by 100: 100x=45.45. Subtract x and the repeating tails cancel: 99x=45, so x=9945=115. A block of 3 digits needs 1000 instead. This trick works for every repeating decimal, which is why they are all rational.
Is 722 the same as π?
No. 722=3.142857142857…, a repeating decimal, so it is rational. π=3.14159… never repeats, so it is irrational. They agree only to two decimal places, 3.14, which is why 722 is a handy estimate of π but never equal to it.
You need Fractions, Decimals and Integers first. Rational Numbers gather them into one set: every number of the form ba, whose decimals always end or repeat. Next, Irrational Numbers are the values this set leaves out, such as 2 and π, and Real Numbers join both sets to fill the whole number line.