In this example we see continued fractions used to give rational
approximations to irrational numbers.
The following solution was done by Ling Xiang Ning, Allan,
Raffles Institution, Singapore.
Using the quadratic formula to solve the equation
I find that x is
.
The positive solution is approximately 7.140054945
This equation is equivalent to x = 7 + 1/x and hence to
the sequence of continued fractions mentioned in the problem. These
continued fractions give better and better approximations to the
positive root of the quadratic equation and I shall do them one by one.
|
| |
|
| |
|
| |
|
| |
|
|
18200
2549
|
= 7.140054923 ? |
|
|
To find a rational approximation to
we take, as above,
which gives
|
| √
|
|
≈ 2 ( |
2549
357
|
) − 7 ≈ |
2599
357
|
. |
|
Similarly, using the equation, x2 = 5x + 1, which has solutions
, we can find a rational approximation to
.
The positive root is approximately 5.192582404.
The sequence of continued fractions is:
As you can see, the sequence of continued fractions gives better and
better approximations to the positive root of the quadratic equation.
Using
gives
as a rational approximation to
.