# Square root of 2

"Pythagoras's constant" redirects here; not to be confused with Pythagoras number

The square root of 2, often known as root 2, radical (rad) 2, or Pythagoras' constant, and written as Template:Sqrt, is the positive algebraic number that, when multiplied by itself, gives the number 2. Technically, it is called the principal square root of 2, to distinguish it from the negative number with the same property.

Geometrically the square root of 2 is the length of a diagonal across a square with sides of one unit of length; this follows from the Pythagorean theorem. It was probably the first number known to be irrational. Its numerical value, truncated to 65 decimal places, is:

Template:Gaps (sequence A002193 in OEIS).

The quick approximation 99/70 (≈ 1.41429) for the square root of two is frequently used. Despite having a denominator of only 70, it differs from the correct value by less than 1/10,000 (approx. 7.2 × 10−5). The approximation 665857/470832 is valid to within 1.13 x 1012: its square is 2.0000000000045....

 Template:Irrational numbers Binary 1.0110101000001001111... Decimal 1.4142135623730950488... Hexadecimal 1.6A09E667F3BCC908B2F... Continued fraction $1+{\cfrac {1}{2+{\cfrac {1}{2+{\cfrac {1}{2+{\cfrac {1}{2+\ddots }}}}}}}}$ ## History Babylonian clay tablet YBC 7289 with annotations. Besides showing the square root of 2 in sexagesimal (1 24 51 10), the tablet also gives an example where one side of the square is 30 and the diagonal then is 42 25 35. The sexagesimal digit 30 can also stand for 1/2, in which case 42 25 35 is approximately 0.7071065.

The Babylonian clay tablet YBC 7289 (c. 1800–1600 BC) gives an approximation of Template:Sqrt in four sexagesimal figures, 1 24 51 10, which is accurate to about six decimal digits, and is the closest possible three-place sexagesimal representation of Template:Sqrt:

$1+{\frac {24}{60}}+{\frac {51}{60^{2}}}+{\frac {10}{60^{3}}}={\frac {30547}{21600}}=1.41421{\overline {296}}.$ Another early close approximation is given in ancient Indian mathematical texts, the Sulbasutras (c. 800–200 BC) as follows: Increase the length [of the side] by its third and this third by its own fourth less the thirty-fourth part of that fourth. That is,

$1+{\frac {1}{3}}+{\frac {1}{3\cdot 4}}-{\frac {1}{3\cdot 4\cdot 34}}={\frac {577}{408}}=1.414{\overline {2156862745098039}}.$ This ancient Indian approximation is the seventh in a sequence of increasingly accurate approximations based on the sequence of Pell numbers, that can be derived from the continued fraction expansion of Template:Sqrt. Despite having a smaller denominator, it is only slightly less accurate than the Babylonian approximation.

Pythagoreans discovered that the diagonal of a square is incommensurable with its side, or in modern language, that the square root of two is irrational. Little is known with certainty about the time or circumstances of this discovery, but the name of Hippasus of Metapontum is often mentioned. For a while, the Pythagoreans treated as an official secret the discovery that the square root of two is irrational, and, according to legend, Hippasus was murdered for divulging it. The square root of two is occasionally called "Pythagoras' number" or "Pythagoras' Constant", for example by Template:Harvtxt.

## Computation algorithms

There are a number of algorithms for approximating Template:Sqrt, which in expressions as a ratio of integers or as a decimal can only be approximated. The most common algorithm for this, one used as a basis in many computers and calculators, is the Babylonian method of computing square roots, which is one of many methods of computing square roots. It goes as follows:

First, pick a guess, $a_{0}>0$ ; the value of the guess affects only how many iterations are required to reach an approximation of a certain accuracy. Then, using that guess, iterate through the following recursive computation:

$a_{n+1}={\frac {a_{n}+{\frac {2}{a_{n}}}}{2}}={\frac {a_{n}}{2}}+{\frac {1}{a_{n}}}.$ The more iterations through the algorithm (that is, the more computations performed and the greater "n"), the better approximation of the square root of 2 is achieved. Each iteration approximately doubles the number of correct digits. Starting with a0 = 1 the next approximations are

• 3/2 = 1.5
• 17/12 = 1.416...
• 577/408 = 1.414215...
• 665857/470832 = 1.4142135623746....

The value of Template:Sqrt was calculated to 137,438,953,444 decimal places by Yasumasa Kanada's team in 1997. In February 2006 the record for the calculation of ${\sqrt {2}}$ was eclipsed with the use of a home computer. Shigeru Kondo calculated 200,000,000,000 decimal places in slightly over 13 days and 14 hours using a 3.6 GHz PC with 16 GiB of memory. Among mathematical constants with computationally challenging decimal expansions, only π has been calculated more precisely. Such computations aim to check empirically whether such numbers are normal.

## Proofs of irrationality

A short proof of the irrationality of Template:Sqrt can be obtained from the rational root theorem, that is, if $p(x)$ is a monic polynomial with integer coefficients, then any rational root of $p(x)$ is necessarily an integer. Applying this to the polynomial $p(x)=x^{2}-2$ , it follows that Template:Sqrt is either an integer or irrational. Because Template:Sqrt is not an integer (2 is not a perfect square), Template:Sqrt must therefore be irrational. This proof can be generalized to show that any root of any natural number which is not the square of a natural number is irrational.

See quadratic irrational or infinite descent#Irrationality of √k if it is not an integer for a proof that the square root of any non-square natural number is irrational.

### Proof by infinite descent

One proof of the number's irrationality is the following proof by infinite descent. It is also a proof by contradiction, also known as an indirect proof, in that the proposition is proved by assuming that the opposite of the proposition is true and showing that this assumption is false, thereby implying that the proposition must be true.

Q.E.D.

Because there is a contradiction, the assumption (1) that ${\sqrt {2}}$ is a rational number must be false. This means that ${\sqrt {2}}$ is not a rational number; i.e., ${\sqrt {2}}$ is irrational.

This proof was hinted at by Aristotle, in his Analytica Priora, §I.23. It appeared first as a full proof in Euclid's Elements, as proposition 117 of Book X. However, since the early 19th century historians have agreed that this proof is an interpolation and not attributable to Euclid.

### Proof by unique factorization

An alternative proof uses the same approach with the fundamental theorem of arithmetic which says every integer greater than 1 has a unique factorization into powers of primes.

1. Assume that ${\sqrt {2}}$ is a rational number. Then there are integers a and b such that a is coprime to b and ${\sqrt {2}}=a/b$ . In other words, ${\sqrt {2}}$ can be written as an irreducible fraction.
2. The value of b cannot be 1 as there is no integer a the square of which is 2.
3. There must be a prime p which divides b and which does not divide a, otherwise the fraction would not be irreducible.
4. The square of a can be factored as the product of the primes into which a is factored but with each power doubled.
5. Therefore by unique factorization the prime p which divides b, and also its square, cannot divide the square of a.
6. Therefore the square of an irreducible fraction cannot be reduced to an integer.
7. Therefore the square root of 2 cannot be a rational number.

This proof can be generalized to show that if an integer is not an exact kth power of another integer then its kth root is irrational. For a proof of the same result which does not rely on the fundamental theorem of arithmetic, see: quadratic irrational.

### Geometric proof

Another reductio ad absurdum showing that ${\sqrt {2}}$ is irrational is less well-known. It is also an example of proof by infinite descent. It makes use of classic compass and straightedge construction, proving the theorem by a method similar to that employed by ancient Greek geometers. It is essentially the previous proof viewed geometrically.

Let ABC be a right isosceles triangle with hypotenuse length m and legs n. By the Pythagorean theorem, $m/n={\sqrt {2}}$ . Suppose m and n are integers. Let m:n be a ratio given in its lowest terms.

Draw the arcs BD and CE with centre A. Join DE. It follows that AB = AD, AC = AE and the ∠BAC and ∠DAE coincide. Therefore the triangles ABC and ADE are congruent by SAS.

Because ∠EBF is a right angle and ∠BEF is half a right angle, BEF is also a right isosceles triangle. Hence BE = m − n implies BF = m − n. By symmetry, DF = m − n, and FDC is also a right isosceles triangle. It also follows that FC = n − (m − n) = 2n − m.

Hence we have an even smaller right isosceles triangle, with hypotenuse length 2n − m and legs m − n. These values are integers even smaller than m and n and in the same ratio, contradicting the hypothesis that m:n is in lowest terms. Therefore m and n cannot be both integers, hence ${\sqrt {2}}$ is irrational.

### Pythagorean Theorem Proof

That means that we can make a right isosceles triangle where the side lengths are natural numbers and the legs and the hypotenuse do not share any common factors (except 1). {1}

Since the legs are equal, so are their squares. So in order for the Pythagorean Theorem to work for this special right triangle, the square of the hypotenuse has to be an even number (and if we cut it in half once then we have the area of the square of the leg).

Recall that the square of an even number is even and the square of an odd number is odd. So if the square of the hypotenuse is even the hypotenuse is even as well. {2}

Remember that a square is a quadrilateral with 2 pairs of parallel sides which are equal in length and has 4 right angles. So both sides of the square of the hypotenuse are even.

So the square of the hypotenuse of this right triangle can be cut in half twice and still have integer area. Since we only want to cut it in half once, then we'll get an even number.

So the square of the leg is even. Now according to {2} the leg must be even

This contradicts our assumption at {1} that the leg and hypotenuse have no common factors (except 1). Because if they're both even they share a common factor of 2. So the assumption that ${\sqrt {2}}$ was rational has to be false. Or in other words ${\sqrt {2}}$ is an irrational number. Q. E. D.

### Analytic proof

$\lim _{n\rightarrow \infty }p_{n}=\lim _{n\rightarrow \infty }q_{n}=\infty \,$ $\lim _{n\rightarrow \infty }\left|\alpha q_{n}-p_{n}\right|=0.\,$ Then α is irrational.

Proof: suppose α = a/b with ab ∈ N+.

For sufficiently big n,

$0<\left|\alpha q_{n}-p_{n}\right|<{\frac {1}{b}}$ then

$0<\left|aq_{n}/\ \!b-p_{n}\right|<{\frac {1}{b}}$ $0<\left|aq_{n}-bp_{n}\right|<1\,$ but $aq_{n}-bp_{n}$ is an integer, absurd, then α is irrational.

$p_{n+1}=p_{n}^{2}+2q_{n}^{2}\,$ $q_{n+1}=2p_{n}q_{n}\,\!$ By induction,

$0<\left|{\sqrt {2}}q_{n}-p_{n}\right|<{\frac {1}{2^{2^{n-1}}}}$ $0<\left|{\sqrt {2}}q_{1}-p_{1}\right|<{\frac {1}{2}}$ and if is true for n then is true for $n+1$ . In fact

$0<\left|{\sqrt {2}}q_{n}-p_{n}\right|^{2}<{\frac {1}{2^{2^{n}}}}$ $0<\left|{\sqrt {2}}(2p_{n}q_{n})-(p_{n}^{2}+2q_{n}^{2})\right|<{\frac {1}{2^{2^{n}}}}$ $0<\left|{\sqrt {2}}q_{n+1}-p_{n+1}\right|<{\frac {1}{2^{2^{n}}}}.$ ### Constructive proof

In a constructive approach, one distinguishes between on the one hand not being rational, and on the other hand being irrational (i.e., being quantifiably apart from every rational), the latter being a stronger property. Given positive integers a and b, because the valuation (i.e., highest power of 2 dividing a number) of 2b2 is odd, while the valuation of a2 is even, they must be distinct integers; thus $|2b^{2}-a^{2}|\geq 1$ . Then

$\left|{\sqrt {2}}-{\frac {a}{b}}\right|={\frac {|2b^{2}-a^{2}|}{b^{2}({\sqrt {2}}+a/b)}}\geq {\frac {1}{b^{2}({\sqrt {2}}+a/b)}}\geq {\frac {1}{3b^{2}}},$ the latter inequality being true because we assume ${\tfrac {a}{b}}\leq 3-{\sqrt {2}}$ (otherwise the quantitative apartness can be trivially established). This gives a lower bound of ${\frac {1}{3b^{2}}}$ for the difference $|{\sqrt {2}}-a/b|$ , yielding a direct proof of irrationality not relying on the law of excluded middle; see Errett Bishop (1985, p. 18). This proof constructively exhibits a discrepancy between ${\sqrt {2}}$ and any rational.

## Properties of the square root of two Angle size and sector area are the same when the conic radius is square root of two. This diagram illustrates the circular and hyperbolic functions based on sector areas u.

One-half of ${\sqrt {2}}$ , also 1 divided by the square root of 2, approximately 0.70710 67811 86548, is a common quantity in geometry and trigonometry because the unit vector that makes a 45° angle with the axes in a plane has the coordinates

$\left({\frac {\sqrt {2}}{2}},{\frac {\sqrt {2}}{2}}\right).$ This number satisfies

${\tfrac {1}{2}}{\sqrt {2}}={\sqrt {\tfrac {1}{2}}}={\frac {1}{\sqrt {2}}}=\cos(45^{\circ })=\sin(45^{\circ }).$ One interesting property of the square root of 2 is as follows:

$\!\ {1 \over {{\sqrt {2}}-1}}={\sqrt {2}}+1$ The square root of 2 can also be expressed in terms of the copies of the imaginary unit i using only the square root and arithmetic operations:

${\frac {{\sqrt {i}}+i{\sqrt {i}}}{i}}{\text{ and }}{\frac {{\sqrt {-i}}-i{\sqrt {-i}}}{-i}}$ if the square root symbol is interpreted suitably for the complex numbers i and -i.

The square root of 2 is also the only real number other than 1 whose infinite tetrate (i.e., infinite exponential tower) is equal to its square. In other words: If for c > 1 we define x1 = c and xn+1 = cxn for n > 1, we will call the limit of xn as n → ∞, if this limit exists, by the name f(c). Then sqrt(2) is the only number c > 1 for which f(c) = c2. Or symbolically:

${\sqrt {2}}^{({\sqrt {2}}^{({\sqrt {2}}^{(\ \cdot ^{\cdot ^{\cdot })))}}}}=2.$ The square root of 2 appears in Viète's formula for π:

$2^{m}{\sqrt {2-{\sqrt {2+{\sqrt {2+\cdots +{\sqrt {2}}}}}}}}\to \pi {\text{ as }}m\to \infty \,$ for m square roots and only one minus sign.

Similar in appearance but with a finite number of terms, the square root of 2 appears in various trigonometric constants:

$\sin(5{\tfrac {5}{8}}^{\circ })={\frac {1}{2}}{\sqrt {2-{\sqrt {2+{\sqrt {2+{\sqrt {2}}}}}}}};$ $\sin(11{\tfrac {1}{4}}^{\circ })={\frac {1}{2}}{\sqrt {2-{\sqrt {2+{\sqrt {2}}}}}};$ $\sin(16{\tfrac {7}{8}}^{\circ })={\frac {1}{2}}{\sqrt {2-{\sqrt {2+{\sqrt {2-{\sqrt {2}}}}}}}};$ $\sin(22{\tfrac {1}{2}}^{\circ })={\frac {1}{2}}{\sqrt {2-{\sqrt {2}}}};$ $\sin(28{\tfrac {1}{8}}^{\circ })={\frac {1}{2}}{\sqrt {2-{\sqrt {2-{\sqrt {2-{\sqrt {2}}}}}}}};$ $\sin(33{\tfrac {3}{4}}^{\circ })={\frac {1}{2}}{\sqrt {2-{\sqrt {2-{\sqrt {2}}}}}};$ $\sin(39{\tfrac {3}{8}}^{\circ })={\frac {1}{2}}{\sqrt {2-{\sqrt {2-{\sqrt {2+{\sqrt {2}}}}}}}};$ $\sin(45^{\circ })={\frac {1}{2}}{\sqrt {2}};$ $\sin(50{\tfrac {5}{8}}^{\circ })={\frac {1}{2}}{\sqrt {2+{\sqrt {2-{\sqrt {2+{\sqrt {2}}}}}}}};$ $\sin(56{\tfrac {1}{4}}^{\circ })={\frac {1}{2}}{\sqrt {2+{\sqrt {2-{\sqrt {2}}}}}};$ $\sin(61{\tfrac {7}{8}}^{\circ })={\frac {1}{2}}{\sqrt {2+{\sqrt {2-{\sqrt {2-{\sqrt {2}}}}}}}};$ $\sin(67{\tfrac {1}{2}}^{\circ })={\frac {1}{2}}{\sqrt {2+{\sqrt {2}}}};$ $\sin(73{\tfrac {1}{8}}^{\circ })={\frac {1}{2}}{\sqrt {2+{\sqrt {2+{\sqrt {2-{\sqrt {2}}}}}}}};$ $\sin(78{\tfrac {3}{4}}^{\circ })={\frac {1}{2}}{\sqrt {2+{\sqrt {2+{\sqrt {2}}}}}};$ $\sin(84{\tfrac {3}{8}}^{\circ })={\frac {1}{2}}{\sqrt {2+{\sqrt {2+{\sqrt {2+{\sqrt {2}}}}}}}}.$ It is not known whether Template:Sqrt is a normal number, a stronger property than irrationality, but statistical analyses of its binary expansion are consistent with the hypothesis that it is normal to base two.

## Series and product representations

The identity $\cos(\pi /4)=\sin(\pi /4)=1/{\sqrt {2}}$ , along with the infinite product representations for the sine and cosine, leads to products such as

${\frac {1}{\sqrt {2}}}=\prod _{k=0}^{\infty }\left(1-{\frac {1}{(4k+2)^{2}}}\right)=\left(1-{\frac {1}{4}}\right)\left(1-{\frac {1}{36}}\right)\left(1-{\frac {1}{100}}\right)\cdots$ and

${\sqrt {2}}=\prod _{k=0}^{\infty }{\frac {(4k+2)^{2}}{(4k+1)(4k+3)}}=\left({\frac {2\cdot 2}{1\cdot 3}}\right)\left({\frac {6\cdot 6}{5\cdot 7}}\right)\left({\frac {10\cdot 10}{9\cdot 11}}\right)\left({\frac {14\cdot 14}{13\cdot 15}}\right)\cdots$ or equivalently,

${\sqrt {2}}=\prod _{k=0}^{\infty }\left(1+{\frac {1}{4k+1}}\right)\left(1-{\frac {1}{4k+3}}\right)=\left(1+{\frac {1}{1}}\right)\left(1-{\frac {1}{3}}\right)\left(1+{\frac {1}{5}}\right)\left(1-{\frac {1}{7}}\right)\cdots .$ The number can also be expressed by taking the Taylor series of a trigonometric function. For example, the series for $\cos(\pi /4)$ gives

${\frac {1}{\sqrt {2}}}=\sum _{k=0}^{\infty }{\frac {(-1)^{k}\left({\frac {\pi }{4}}\right)^{2k}}{(2k)!}}.$ ${\sqrt {2}}=\sum _{k=0}^{\infty }(-1)^{k+1}{\frac {(2k-3)!!}{(2k)!!}}=1+{\frac {1}{2}}-{\frac {1}{2\cdot 4}}+{\frac {1\cdot 3}{2\cdot 4\cdot 6}}-{\frac {1\cdot 3\cdot 5}{2\cdot 4\cdot 6\cdot 8}}+\cdots .$ The convergence of this series can be accelerated with an Euler transform, producing

${\sqrt {2}}=\sum _{k=0}^{\infty }{\frac {(2k+1)!}{(k!)^{2}2^{3k+1}}}={\frac {1}{2}}+{\frac {3}{8}}+{\frac {15}{64}}+{\frac {35}{256}}+{\frac {315}{4096}}+{\frac {693}{16384}}+\cdots .$ ## Continued fraction representation

The square root of two has the following continued fraction representation:

$\!\ {\sqrt {2}}=1+{\cfrac {1}{2+{\cfrac {1}{2+{\cfrac {1}{2+{\cfrac {1}{2+\ddots }}}}}}}}.$ The convergents formed by truncating this representation form a sequence of fractions that approximate the square root of two to increasing accuracy, and that are described by the Pell numbers (known as side and diameter numbers to the ancient Greeks because of their use in approximating the ratio between the sides and diagonal of a square). The first convergents are: 1/1, 3/2, 7/5, 17/12, 41/29, 99/70, 239/169, 577/408. The convergent p/q differs from the square root of 2 by almost exactly ${\frac {1}{2q^{2}{\sqrt {2}}}}$ {{ safesubst:#invoke:Unsubst||date=__DATE__ |\$B= {{#invoke:Category handler|main}}{{#invoke:Category handler|main}}[citation needed] }} and then the next convergent is (p + 2q)/(p + q).

## Paper size

The approximate aspect ratio of paper sizes under ISO 216 (A4, A0, etc.) is 1:Template:Sqrt. This ratio guarantees that cutting a sheet in half along a line parallel to its short side results in the smaller sheets having the same ratio as the original sheet.