Square Root Of 2 (from Hardy Course Of Pure Mathematics )

In summary, the conversation discusses a problem in mathematics involving approximations to the square root of 2. The formula (m+2n)/(m+n) is proposed as a better approximation and it is shown that this method works through calculations and the use of equations like the Pellian equation. The conversation also touches on other methods and concepts such as continued fractions and the importance of understanding their context. Overall, the conversation highlights the importance of exploring and understanding different approaches to solving mathematical problems.
  • #1
moe darklight
409
0
Square Root Of 2 (from Hardy "Course Of Pure Mathematics")

I was surprised to find it in my local bookstore amidst math "cheat" books in the one-shelf math section (and the fact that it was the last copy left... ??).


Section 5, Example 3:
Show that if m/n is a close approximation to [tex]\sqrt{2}[/tex], then (m+2n)/(m+n) is a better one, and that errors in both cases are in opposite directions.

Is he asking to simply carry out the calculation? Or is he asking to answer why this method works, because I have no clue for the latter... how did he get that formula?

Also, I've noticed that if the formula is carried out on m=[tex]\sqrt{2}[/tex], n=1; then the formula does not apply. Is this due to the irrationality of the number? (as in: the approximation would never actually reach [tex]\sqrt{2}[/tex], so it is always applicable)
 
Last edited:
Mathematics news on Phys.org
  • #2


Perhaps m & n should be integers?

Try to compare squares of both approximations to 2 - which one is closer?
 
  • #3


Borek said:
Perhaps m & n should be integers?

Try to compare squares of both approximations to 2 - which one is closer?

yes I've followed through the calculations and it works out. I was just wondering if he also expects the reader to be able to come up with (m+2n)/(m+n) on his own, because I don't understand where the formula comes from.
 
  • #4


moe darklight said:
yes I've followed through the calculations and it works out. I was just wondering if he also expects the reader to be able to come up with (m+2n)/(m+n) on his own, because I don't understand where the formula comes from.
That is certainly NOT implied by the question.
 
  • #5


So just prove it.

But after you have proved it, think about it and the textbook context and why it should have been obvious or suggested itself in the first place or what it is connected with.

The Polya booklet "How to Solve It" has about 5 rules and recommendations - one of them is "when you have solved it the job is not finished" (do essentially what I said +...).

Oh and if successful come back and tell us about it as we are too busy to do it ourselves.

Whaddayamean lazy?! :mad:
 
  • #6


Borek: Perhaps m & n should be integers?

The case does work for m=2, n=1, the next approximations being 4/3, 10/7, 24/17.

However, the better way to do it is to choose 1,1: 1/1, 3/2, 7/5, 17/12...BECAUSE

in the Pellian 1^1-2(1^1) = -1, 3^2-2(2^2) = 1, 7^2-2(5^2) = -1, 17^2-2(12)^2 =1.

Thus the key to the problem is the equation: x^2-2(y^2) = +/- 1. This choice of integers x,y is as close as we can get to the square root of 2, considering the size of the numbers.
 
Last edited:
  • #7


moe darklight said:
Is he asking to simply carry out the calculation? Or is he asking to answer why this method works, because I have no clue for the latter... how did he get that formula?

To investigate this problem I wanted to be able to write this as a sequence. As m/n would be the first term, we can rewrite

[tex] (m+2n)/(m+n) [/tex] as [tex] 1 + n/(m+n) [/tex]

by splitting the numerator, and then divide the fraction by n to get

[tex]1+ \frac{1}{1+ (m/n)}[/tex].

So now if the first term in our sequence be [itex]a_0[/itex], then

[tex]a_1 = 1+\frac{1}{1+a_0}[/tex],

and in general [tex]a_n = 1 + \frac{1}{1+ a_{n-1}}[/tex].

So by direct substitution, what is the next term, and the term after that? If you are still hazy, you may want to look up the continued fraction representation of sqrt 2.
 
  • #8


(I can't vouch for the rigor here, but...) We can split up the factors and be ready to multiply by the complement. (By the complement I mean [tex]x+\sqrt2y,[/tex] has the complement of [tex]x-\sqrt2y[/tex].

Take the Pellian, split the factors: [tex]x-\sqrt2y=\pm(\sqrt2-1)[/tex] Then multiply by [tex]1-\sqrt2[/tex] resulting in [tex]x+2y-\sqrt2(x+y) =\pm(\sqrt2-1)(1-\sqrt2)[/tex]. And multiplying by the complement, we arrive at:

[tex](x+2y)^2-2(x+y)^2 = \mp1[/tex].

Because we have [tex]\pm1[/tex] on the right hand side, we can continue indefinitively to obtain new solutions to the equation, each one resulting in a change of sign. Thus the equation [tex]\frac{x^2}{y^2}-2=\frac{\pm1}{y^2}[/tex] alternates being over or under [tex]\sqrt2[/tex] and becomes increasingly accurate as y increases.
 
Last edited:
  • #9


thanks. but I did not know what a pellian or continued fractions are, and I haven't seen examples of either in my pre-calc textbook. Am I supposed to have seen this by now? I just finished 1st semester year 1 Calculus and linear algebra... but this is really the first time I study math at school, and my study of pre-calc was pretty rushed.
 
  • #10


moe darklight: Am I supposed to have seen this by now?

A caution about Hardy. His stuff is more of a survey work than a text.

A member of the Royal Society. He also wrote on Number Theory, a subject in which he had great interest along with Ramanujan, the great mathematician from India. Hardy must have added some of that in the book you have. Continued fractions and the Pellian equation are from Number Theory.
 

Related to Square Root Of 2 (from Hardy Course Of Pure Mathematics )

1. What is the square root of 2?

The square root of 2 is an irrational number that when multiplied by itself, gives the value of 2. It is approximately equal to 1.41421356...

2. How do you calculate the square root of 2?

The square root of 2 can be calculated using the long division method, the Babylonian method, or by using a calculator. However, it is important to note that the decimal representation of the square root of 2 is infinite and non-repeating, so it can only be approximated.

3. Is the square root of 2 a rational or irrational number?

The square root of 2 is an irrational number, meaning it cannot be expressed as a simple fraction or ratio. Its decimal representation is non-terminating and non-repeating.

4. Why is the square root of 2 important in mathematics?

The square root of 2 is important in mathematics because it is the first known irrational number and it is used in many mathematical proofs and equations. It is also a key component in the Pythagorean theorem, which is used to find the length of the hypotenuse in a right triangle.

5. What is the significance of the square root of 2 in Hardy's "A Course of Pure Mathematics"?

In "A Course of Pure Mathematics," G.H. Hardy discusses the concept of irrational numbers, including the square root of 2. He also uses the square root of 2 as an example to demonstrate the existence of irrational numbers and their properties. The square root of 2 is also mentioned in various proofs and examples throughout the book.

Similar threads

Replies
2
Views
2K
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
Replies
9
Views
10K
  • Precalculus Mathematics Homework Help
Replies
21
Views
779
Replies
7
Views
2K
  • General Math
Replies
4
Views
3K
  • Science and Math Textbooks
Replies
10
Views
2K
  • General Math
Replies
1
Views
3K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • General Math
Replies
4
Views
2K
Back
Top