Z = The set of all integers: ..., −2, −1, 0, 1, 2, ...
Worked Example
Problem: Determine whether 0.75 is a rational number. If so, express it as a ratio of two integers.
Step 1: Recognize that 0.75 is a terminating decimal. Every terminating decimal can be written as a fraction with a power of 10 in the denominator.
0.75=10075
Step 2: Simplify the fraction by finding the greatest common factor of 75 and 100, which is 25.
100÷2575÷25=43
Step 3: Verify the result fits the definition: 3 is an integer, 4 is a nonzero integer, so 3/4 is a ratio of integers.
a=3∈Z,b=4∈Z,b=0
Answer:Yes, 0.75 is a rational number because it equals 43.
Another Example
This example shows a repeating (non-terminating) decimal, which is harder to recognize as rational than the terminating decimal in the first example. It also demonstrates the algebraic technique for converting any repeating decimal to a fraction.
Problem:Show that the repeating decimal 0.36 (i.e., 0.363636...) is a rational number by converting it to a fraction.
Step 1: Let x equal the repeating decimal.
x=0.363636…
Step 2: Multiply both sides by 100 (since the repeating block has 2 digits) to shift the decimal point past one full cycle.
100x=36.363636…
Step 3: Subtract the original equation from this new equation to eliminate the repeating part.
100x−x=36.3636…−0.3636…⟹99x=36
Step 4: Solve for x and simplify. The GCF of 36 and 99 is 9.
x=9936=114
Answer:0.36=114, confirming it is rational.
Frequently Asked Questions
Is 0 a rational number?
Yes. Zero is a rational number because it can be written as 10 (or b0 for any nonzero integer b). The numerator is an integer and the denominator is a nonzero integer, so it satisfies the definition.
What is the difference between rational and irrational numbers?
A rational number can be expressed as a fraction ba where a and b are integers and b=0. An irrational number cannot be written this way — its decimal expansion goes on forever without repeating. Examples of irrational numbers include 2, π, and e.
Are all integers rational numbers?
Yes. Every integer n can be written as 1n, which is a ratio of two integers with a nonzero denominator. So integers like −5, 0, and 7 are all rational numbers. The integers are a subset of the rationals.
Rational Numbers vs. Irrational Numbers
Rational Numbers
Irrational Numbers
Definition
Can be written as a/b where a, b are integers and b ≠ 0
Cannot be expressed as a ratio of two integers
Decimal form
Terminates or repeats (e.g., 0.5, 0.333...)
Non-terminating and non-repeating (e.g., 3.14159...)
Examples
1/2, −7, 0, 0.125, 2.¯3
√2, π, e, √5
Symbol
ℚ
Often written as ℝ \ ℚ (reals minus rationals)
Countability
Countably infinite
Uncountably infinite
Why It Matters
Rational numbers appear constantly in algebra, from solving equations to working with proportions and rates. Understanding which numbers are rational helps you determine whether an answer can be expressed exactly as a fraction or must remain in a form like 3. In more advanced courses, the distinction between rational and irrational numbers underpins topics such as limits, number theory, and proofs by contradiction.
Common Mistakes
Mistake: Thinking that all decimals are rational because they 'look like' numbers you can write down.
Correction: Only terminating and repeating decimals are rational. A decimal like 0.101001000100001... (with a pattern that never repeats on a fixed cycle) is irrational. The key test is whether the decimal eventually settles into an endlessly repeating block.
Mistake:Believing that a fraction like 32 is rational because it is written as a fraction.
Correction:The definition requires both the numerator and the denominator to be integers. Since 2 is not an integer, 32 is irrational. The word 'fraction' in the definition specifically means a ratio of integers.