PDA

View Full Version : sequence of rationals that converge to irrational


tonebone10
Mar14-05, 11:14 PM
Find a sequence of rational numbers that converges to the square root of 2

mathwonk
Mar14-05, 11:19 PM
use newton's binomial theorem? i.e. (1+1)^(1/2) = 1 + (1/2) + (1/2)(-1/2)(1/2) +

+ (1/2)(-1/2)(-3/2)(1/2)(1/3)+......

this might work.

Data
Mar14-05, 11:37 PM
Or another of Newton's tricks:

How do I approximate the positive root of x^2-2?

x_1 = 1

x_2 = x_1 - \frac{x_1^2 - 2}{2x_1}

. \ . \ .

x_n = x_{n-1} - \frac{x_{n-1}^2 - 2}{2x_{n-1}}

. \ . \ .

Obviously each term is rational and \{x_n\} converges to \sqrt{2}.

Data
Mar14-05, 11:43 PM
And converges quite quickly, I might add.

HallsofIvy
Mar15-05, 05:42 AM
Do you mean giving a general formula?

If not, take the square root of 2 on a calculator:
1.4142135623730950488016887242097

So a sequence of rationals converging to square root of 2 is:
1, 1.4, 1.41, 1.414, 1.4142, 1.41421, 1.414213, 1.4142135, 1.41421356, etc.

mathwonk
Mar15-05, 11:28 AM
the problem here is that a calculator has a bounded number of terms.

shmoe
Mar15-05, 12:28 PM
You could take the sequence of convergents of the continued fraction of sqrt(2).

\sqrt{2}=1+\frac{1}{2+\frac{1}{2+\frac{1}{2+\ldots }}}

Jameson
Mar15-05, 07:32 PM
I think Data's use of Newton's Method is the best way to display the sequence that converges. Shmoe's definition of the square root of two is correct, but it isn't really written in a form that converges, although I'm sure shmoe could easily do that. I think good old Newton can help you best.

shmoe
Mar16-05, 02:17 PM
Shmoe's definition of the square root of two is correct, but it isn't really written in a form that converges...

I'm not sure what you mean here. The notation I used is pretty standard, and the sequence of convergents does converge to \sqrt{2}.

Maybe I should have defined what I meant by the convergents. I just mean the sequence begining

1,1+\frac{1}{2}, 1+\frac{1}{2+\frac{1}{2}}, 1+\frac{1}{2+\frac{1}{2+\frac{1}{2}}},\ldots

Or do you want some proof that this continued fraction is actually \sqrt{2}?

\sqrt{2}=1+(\sqrt{2}-1)=1+\frac{1}{1+\sqrt{2}}

Then repeat:

\sqrt{2}=1+\frac{1}{2+\frac{1}{1+\sqrt{2}}}=1+\fra c{1}{2+\frac{1}{2+\frac{1}{1+\sqrt{2}}}},\ldots

In this way you can easily see \sqrt{2} is larger than all the even convergents and smaller than all the odd convergents (calling the first term the 0th). If you believe that they convegre to something (this is pretty standard) then that something has to be \sqrt{2}

Jameson
Mar16-05, 03:26 PM
I didn't see the "..." you had included. I just wanted to make sure it was understood that the sequence had to keep going in order to converge. It sounded worse than I meant it. I just liked the way Data wrote the convergence of Newton's Method, with "nth" notation. You are of course very correct with all you said... didn't mean to imply otherwise.

shmoe
Mar16-05, 04:13 PM
Oh I see :smile: The ... are quite small, I would have probably missed them if I didn't know I put it there.