Certainly! Let's explore how to find progressively better approximations of (\pi) starting with Bhaskara's approximation and prove why each is a valid approximation converging to (\pi).
1. Bhaskara's Approximation
Bhaskara provided an approximation of (\pi) as:
[
\pi_0 = \frac{22}{7}
]
This approximation is well known and has been used historically for its simplicity. It approximates (\pi) to about two decimal places:
[
\frac{22}{7} \approx 3.14285714
]
Error Analysis:
[
\pi - \frac{22}{7} \approx 3.14159265 - 3.14285714 = -0.00126449
]
It's an overestimate, with an absolute error of approximately (0.00126449).
2. Using Continued Fractions
To find better approximations, we can use the continued fraction expansion of (\pi). The continued fraction for (\pi) begins as:
[
\pi = [3; 7, 15, 1, 292, \ldots]
]
Each term after the semicolon represents a continued fraction coefficient. The convergents of this continued fraction are fractions that approximate (\pi) increasingly well. They are calculated using recursive relations.
Computing Convergents:
We define two sequences ({p_n}) and ({q_n}) representing the numerators and denominators of the convergents:
-
Initialize:
[
p_{-1} = 1, \quad p_0 = 3; \quad q_{-1} = 0, \quad q_0 = 1
]
-
Recurrence relations:
[
p_n = a_n p_{n-1} + p_{n-2}; \quad q_n = a_n q_{n-1} + q_{n-2}
]
Here, (a_n) are the continued fraction coefficients.
Calculating the Next Approximations:
-
Second Approximation ((n=1)):
Coefficient: (a_1 = 7)
[
p_1 = 7 \times p_0 + p_{-1} = 7 \times 3 + 1 = 22; \quad q_1 = 7 \times q_0 + q_{-1} = 7 \times 1 + 0 = 7
]
So, the convergent is (\frac{22}{7}), which is Bhaskara's approximation.
-
Third Approximation ((n=2)):
Coefficient: (a_2 = 15)
[
p_2 = 15 \times 22 + 3 = 333; \quad q_2 = 15 \times 7 + 1 = 106
]
Convergent:
[
\pi_1 = \frac{333}{106} \approx 3.14150943
]
Error Analysis:
[
\pi - \frac{333}{106} \approx 0.00008322
]
This is a better approximation than (\frac{22}{7}), with a smaller absolute error.
-
Fourth Approximation ((n=3)):
Coefficient: (a_3 = 1)
[
p_3 = 1 \times 333 + 22 = 355; \quad q_3 = 1 \times 106 + 7 = 113
]
Convergent:
[
\pi_2 = \frac{355}{113} \approx 3.14159292
]
Error Analysis:
[
\pi - \frac{355}{113} \approx -0.00000027
]
This approximation is accurate to seven decimal places, significantly better than the previous ones.
-
Fifth Approximation ((n=4)):
Coefficient: (a_4 = 292)
[
p_4 = 292 \times 355 + 333 = 103993; \quad q_4 = 292 \times 113 + 106 = 33102
]
Convergent:
[
\pi_3 = \frac{103993}{33102} \approx 3.1415926530
]
Error Analysis:
[
\pi - \frac{103993}{33102} \approx 0.0000000006
]
This approximation matches (\pi) to nine decimal places.
Convergence Proof
Convergent Sequence:
The sequence (\left{\dfrac{p_n}{q_n}\right}) of convergents converges to (\pi). This is a property of continued fractions for irrational numbers:
-
Theorem: For an irrational number (x), the convergents of its continued fraction expansion converge to (x).
[
\lim_{n \to \infty} \frac{p_n}{q_n} = x
]
-
Error Bound:
The error of the (n)th convergent satisfies:
[
\left| x - \frac{p_n}{q_n} \right| < \frac{1}{q_n q_{n+1}}
]
As (n) increases, (q_n) grows rapidly, causing the error to approach zero.
Properties of the Approximations
-
Increasing Accuracy: Each new convergent provides a better approximation of (\pi) than the previous one. This is because each convergent minimizes the difference (|\pi - \frac{p_n}{q_n}|) for its denominator.
-
Alternating Overestimates and Underestimates: The convergents tend to alternate between overestimating and underestimating (\pi).
-
Best Possible Rational Approximations: For their respective denominators, these convergents are the best rational approximations of (\pi). No other fraction with a smaller or equal denominator provides a better approximation.
Conclusion
By starting with Bhaskara's approximation (\pi_0 = \frac{22}{7}) and computing the convergents of (\pi)'s continued fraction, we obtain a sequence of progressively better approximations:
[
\frac{22}{7},\ \frac{333}{106},\ \frac{355}{113},\ \frac{103993}{33102},\ \ldots
]
Each convergent improves upon the last, and the sequence converges to (\pi) due to the properties of continued fractions. This method not only provides better approximations but also offers insight into the nature of (\pi) as an irrational number and how it can be closely approximated by rational numbers.
Note: The continued fraction method is powerful because it doesn't require knowledge of (\pi) beyond the initial approximation and the coefficients (a_n). It systematically refines the approximation using integer arithmetic, making it both efficient and effective for approximating (\pi).