Rational numbers are numbers that can be expressed as the ratio of two integers. Rational numbers follow the rules of arithmetic and all rational numbers can be reduced to the form ba, where b=0 and gcd(a,b)=1.
Rational numbers are often denoted by Q. These numbers are a subset of the real numbers, which comprise the complete number line and are often denoted by R. Real numbers that cannot be expressed as the ratio of two integers are called irrational numbers.
Worked Examples
1. Determine the value of 0.238095.
The line over 238095 denotes that it is a repeating decimal, of the form 0.238095238095238095….
Solution. Let S=0.238095. Then 1000000S=238095.238095, and taking the sum, we obtain
Solution: We give a proof by contradiction. If 2+3 is rational, then (3−2)×(2+3)1=3−2, implying 3−2 is also rational. Since (3+2)−(3−2)=22, we obtain 22 is rational. Thus, 22×21=2 is also rational, which is a contradiction.
We generalize the result that D is rational if and only if D is a perfect square.
Theorem. Given integers n and m, if nm1 is rational, then nm1 is an integer. In particular, the only rational mth roots of integers n are the integers.
Proof: Let nm1=ba, where a and b are coprime integers. Then taking powers and clearing denominators gives bmn=am. If p is a prime that divides b, then p divides bmn, so p divides am and thus p divides a. Since a and b are coprime, there is no prime that divides both a and b. Hence, no prime divides b, implying b=1. Therefore, nm1=a is an integer. □
Rational Root Theorem. If f(x)=pnxn+pn−1xn−1+…+p1x+p0 has a rational root of the form r=ba with gcd(a,b)=1, then a∣p0 and b∣pn.
Proof: Suppose ba is a root of f(x). Then pn(ba)n+pn−1(ba)n−1+…+p1ba+p0=0.
By shifting the p0 term to the right hand side, and multiplying throughout by bn, we obtain pnan+pn−1an−1b+…+p1abn−1=−p0bn. Notice that the left hand side is a multiple of a, thus a∣p0bn. Since gcd(a,b)=1, Euclid's Lemma implies a∣p0.
Similarly, if we shift the pn term to the right hand side and multiply throughout by bn, we obtain
pn−1an−1b+pn−2an−2b2+…+p1abn−1+p0bn=−pnan. Note that the left hand side is a multiple of b, thus b∣pnan. Since gcd(a,b)=1, Euclid's Lemma implies b∣pn. □
In particular, this tells us that if we want to check for 'nice' rational roots of a polynomial f(x), we only need to check finitely many numbers of the form ±ba, where a∣p0 and b∣pn. This is a great tool for factorizing polynomials.
Integer Root Theorem. If f(x) is a monic polynomial (leading coefficient of 1), then the rational roots of f(x) must be integers.
Proof: By the rational root theorem, if r=ba is a root of f(x), then b∣pn. But since pn=1 by assumption, hence b=1 and thus r=a is an integer. □
Worked Examples
1. Factorize the cubic polynomial f(x)=2x3+7x2+5x+1.
By the rational root theorem, any rational root of f(x) has the form r=ba where a∣1 and b∣2. Thus, we only need to try the numbers ±11,±21. We see that
f(1)>0,f(21)>0,f(−21)=−82+47−25+1=0, f(−1)=−2+7−5+1=1=0.
Hence, by the remainder-factor theorem, (2x+1) is a factor of f(x), implying f(x)=(2x+1)(x2+3x+1). We can then use the quadratic formula to factorize the quadratic if irrational roots are desired.
2. Using the rational root theorem, show that 2 is not rational.
Since 2 is a root of the polynomial f(x)=x2−2, the rational root theorem tells us that the rational roots of f(x) are of the form ±11,2. It is easy to check that none of these are roots of f(x), hence f(x) has no rational roots. Thus, 2 is not rational.
3. Show that if x is a positive rational such that x2+x is an integer, then x must be an integer.
Let x2+x=n, where n is an integer. This is equivalent to finding the roots of f(x)=x2+x−n. Since f(x) is a monic polynomial, by the integer root theorem, if x is a rational root of f(x), then it is an integer root.
4. Prove Theorem 1 using the Rational Root Theorem.
Consider the polynomial f(x)=xm−n. By the rational root theorem, if r=ba is a rational root of f(x), then we must have b∣1, and hence b=1 (or -1). Thus, r=a is an integer. [Pop Quiz: Give a 1 line proof of Theorem 1 using the Integer Root Theorem].
This discussion board is a place to discuss our Daily Challenges and the math and science
related to those challenges. Explanations are more than just a solution — they should
explain the steps and thinking strategies that you used to obtain the solution. Comments
should further the discussion of math and science.
When posting on Brilliant:
Use the emojis to react to an explanation, whether you're congratulating a job well done , or just really confused .
Ask specific questions about the challenge or the steps in somebody's explanation. Well-posed questions can add a lot to the discussion, but posting "I don't understand!" doesn't help anyone.
Try to contribute something new to the discussion, whether it is an extension, generalization or other idea related to the challenge.
Stay on topic — we're all here to learn more about math and science, not to hear about your favorite get-rich-quick scheme or current world events.
Markdown
Appears as
*italics* or _italics_
italics
**bold** or __bold__
bold
- bulleted - list
bulleted
list
1. numbered 2. list
numbered
list
Note: you must add a full line of space before and after lists for them to show up correctly
# I indented these lines
# 4 spaces, and now they show
# up as a code block.
print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.
print "hello world"
Math
Appears as
Remember to wrap math in \( ... \) or \[ ... \] to ensure proper formatting.
2 \times 3
2×3
2^{34}
234
a_{i-1}
ai−1
\frac{2}{3}
32
\sqrt{2}
2
\sum_{i=1}^3
∑i=13
\sin \theta
sinθ
\boxed{123}
123
Comments
but , tell me who was the first mathematician to discover rational numbers ? Please answer this question as soon as possible because this is very urgent ...........
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
but , tell me who was the first mathematician to discover rational numbers ? Please answer this question as soon as possible because this is very urgent ...........