Rational Approximation — Definition, Formula & Examples
Rational approximation is replacing a number that has no exact fraction form, such as or , with a fraction that comes very close to it. The fraction is easier to calculate with, but it is never exactly equal to the irrational number.
A rational approximation of a real number is a rational number , where and are integers and , chosen so that the error is small. Because the rational numbers are dense in the real numbers, every real number can be approximated by fractions to any accuracy you want. An approximation is considered better when it gives a smaller error for a given size of denominator .
Key Formula
Where:
- = the error, meaning how far the fraction is from the true value
- = the number being approximated, often irrational
- = an integer numerator
- = a positive integer denominator
Worked Example
Problem: Which is the better rational approximation of : the decimal 3.14 or the fraction ?
Step 1: Write both as fractions so you can compare them fairly. The decimal 3.14 is itself a fraction.
Step 2: Find the error of each approximation by subtracting from and taking the absolute value.
Step 3: Compare the errors. The smaller error wins. Note that also uses a much smaller denominator.
Answer: is the better approximation. Its error is about 0.00126, while the error of 3.14 is about 0.00159.
Why It Matters
Calculators and computers store only finitely many digits, so every value of or they use is really a rational approximation. Choosing a good one matters in geometry and engineering. For example, is within one millionth of , which is accurate enough for most real-world circle calculations.
Common Mistakes
Mistake: Writing or as if they were exact.
Correction: An irrational number can never equal a fraction. Use the symbol , as in , and keep the exact symbol when an exact answer is required.
