Misplaced Pages

Square root

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.

This is an old revision of this page, as edited by Meni Rosenfeld (talk | contribs) at 14:46, 21 June 2006 (rv; no need for sqrt (21); 1 - 20 is fine). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Revision as of 14:46, 21 June 2006 by Meni Rosenfeld (talk | contribs) (rv; no need for sqrt (21); 1 - 20 is fine)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

In mathematics, the principal square root of a non-negative real number x {\displaystyle x} is denoted x {\displaystyle {\sqrt {x}}} and represents the non-negative real number whose square (the result of multiplying the number by itself) is x . {\displaystyle x.}

For example, 9 = 3 {\displaystyle {\sqrt {9}}=3} since 3 2 = 3 × 3 = 9. {\displaystyle 3^{2}=3\times 3=9.}

This example suggests how square roots can arise when solving quadratic equations such as x 2 = 9 {\displaystyle x^{2}=9} or, more generally

a x 2 + b x + c = 0. {\displaystyle ax^{2}+bx+c=0.\,}

There are two solutions to the square root of a non-zero number. For a positive real number, the two square roots are the principal square root and the negative square root. For negative real numbers, the concept of imaginary and complex numbers has been developed to provide a mathematical framework to deal with the results.

Square roots of positive integers are often irrational numbers, i.e., numbers not expressible as a ratio of two integers. For example, 2 {\displaystyle {\sqrt {2}}} cannot be written exactly as m/n, where n and m are integers. Nonetheless, it is exactly the length of the diagonal of a square with side length 1.

The discovery that 2 {\displaystyle {\sqrt {2}}} is irrational is attributed to Hippasus, a disciple of Pythagoras.

The square root symbol (   {\displaystyle {\sqrt {\ }}} ) was first used during the 16th century. It has been suggested that it originated as an altered form of lowercase r, representing the Latin radix (meaning "root").

Properties

  • The principal square root function f ( x ) = x {\displaystyle f(x)={\sqrt {x}}} is a function which maps the set of non-negative real numbers R + { 0 } {\displaystyle \mathbb {R} ^{+}\cup \{0\}} onto itself.
  • The principal square root function f ( x ) = x {\displaystyle f(x)={\sqrt {x}}} always returns a unique value.
  • To obtain both roots of a positive number, take the value given by the principal square root function as the first root (root1) and obtain the second root (root2) by subtracting the first root from zero (ie root2 = 0 − root1).
  • The following important properties of the square root functions are valid for all positive real numbers x {\displaystyle x} and y {\displaystyle y} :
x y = x y ( 100 y ) = 10 y {\displaystyle {\sqrt {xy}}={\sqrt {x}}{\sqrt {y}}\qquad \Rightarrow \qquad {\sqrt {\left(100y\right)}}\,=\,10\cdot {\sqrt {y}}}
x y = x y x 100 = x 10 {\displaystyle {\sqrt {\frac {x}{y}}}={\frac {\sqrt {x}}{\sqrt {y}}}\qquad \Rightarrow \qquad {\sqrt {\frac {x}{100}}}={\frac {\sqrt {x}}{10}}}
x = x 1 / 2 {\displaystyle {\sqrt {x}}=x^{1/2}}
  • Contrary to popular belief, x 2 {\displaystyle {\sqrt {x^{2}}}} does not necessarily equal x {\displaystyle x} . The equality holds for non-negative x {\displaystyle x} , but when x < 0 {\displaystyle x<0} , x 2 {\displaystyle {\sqrt {x^{2}}}} is positive by definition, and thus x 2 = x {\displaystyle {\sqrt {x^{2}}}=-x} . Therefore, x 2 = | x | {\displaystyle {\sqrt {x^{2}}}=\left|x\right|} for real x {\displaystyle x} (see absolute value).
  • Suppose that x {\displaystyle x} and a {\displaystyle a} are real numbers, and that x 2 = a {\displaystyle x^{2}=a} , and we want to find x {\displaystyle x} . A common mistake is to "take the square root" and deduce that x = a {\displaystyle x={\sqrt {a}}} . This is incorrect, because the principal square root of x 2 {\displaystyle x^{2}} is not x {\displaystyle x} , but the absolute value | x | {\displaystyle \left|x\right|} , one of our above rules. Thus, all we can conclude is that | x | = a {\displaystyle \left|x\right|={\sqrt {a}}} , or equivalently x = ± a {\displaystyle x=\pm {\sqrt {a}}} .
x y = x y x + y , {\displaystyle {\sqrt {x}}-{\sqrt {y}}={\frac {x-y}{{\sqrt {x}}+{\sqrt {y}}}},}
valid for all non-negative numbers x {\displaystyle x} and y {\displaystyle y} which are not both zero.
  • The function f ( x ) = x {\displaystyle f(x)={\sqrt {x}}} has the following graph, made up of half a parabola lying on its side:

  • The function is continuous for all non-negative x , {\displaystyle x,} and differentiable for all positive x {\displaystyle x} (it is not differentiable for x = 0 {\displaystyle x=0} since the slope of the tangent there is ). Its derivative is given by
f ( x ) = 1 2 x . {\displaystyle f'(x)={\frac {1}{2{\sqrt {x}}}}.}
x + 1 {\displaystyle {\sqrt {x+1}}\,\!} = 1 + n = 1 ( 1 ) n + 1 ( 2 n 2 ) ! n ! ( n 1 ) ! 2 2 n 1 x n {\displaystyle =1+\sum _{n=1}^{\infty }{(-1)^{n+1}(2n-2)! \over n!(n-1)!2^{2n-1}}x^{n}}
= 1 + 1 2 x 1 8 x 2 + 1 16 x 3 5 128 x 4 + {\displaystyle =1+{\frac {1}{2}}x-{\frac {1}{8}}x^{2}+{\frac {1}{16}}x^{3}-{\frac {5}{128}}x^{4}+\dots }
for | x | < 1 {\displaystyle \left|x\right|<1} .

Computation

Pocket calculators typically implement good routines to compute the exponential function and the natural logarithm, and then compute the square root of x {\displaystyle x} using the identity

x = e 1 2 ln x {\displaystyle {\sqrt {x}}=e^{{\frac {1}{2}}\ln x}}

The same identity is exploited when computing square roots with logarithm tables or slide rules.

There are numerous methods to compute square roots. See the article on methods of computing square roots.

Square roots of negative and complex numbers

See also: Complex number

The square of any positive or negative number is positive, and the square of 0 is 0. Therefore, no negative number can have a real square root. However, it is possible to work in a larger number system, called the complex numbers, in which negative numbers have square roots. This is done by introducing a new number, called the imaginary unit, which is defined to be a square root of -1. It is usually denoted by i {\displaystyle i} (sometimes j). Using this notation, the square root of any negative number x {\displaystyle -x} is

x = i x {\displaystyle {\sqrt {-x}}=i{\sqrt {x}}}

because

( i x ) 2 = i 2 ( x ) 2 = ( 1 ) x = x {\displaystyle (i{\sqrt {x}})^{2}=i^{2}({\sqrt {x}})^{2}=(-1)x=-x} .

By the argument given above, i can be neither positive nor negative. Thus one drawback of working with complex numbers is that the terms "positive" and "negative" lose their meaning. This creates another problem: we cannot define z {\displaystyle {\sqrt {z}}} to be the "positive" square root of z {\displaystyle z} .

For every non-zero complex number z there exist precisely two numbers w such that w = z. The usual definition of √z is as follows: if z = r i ϕ {\displaystyle z=r^{i\phi }} is represented in polar coordinates with π < ϕ π {\displaystyle -\pi <\phi \leq \pi } , then we set z = r i ϕ 2 {\displaystyle {\sqrt {z}}=r^{i\phi \over 2}} . Thus defined, the square root function is holomorphic everywhere except on the non-positive real numbers (where it isn't even continuous). The above Taylor series for 1 + x {\displaystyle {\sqrt {1+x}}} remains valid for complex numbers x with |x| < 1.

When the number is in rectangular form the following formula can be used:

x + i y = | x + i y | + x 2 ± i | x + i y | x 2 {\displaystyle {\sqrt {x+iy}}={\sqrt {\frac {\left|x+iy\right|+x}{2}}}\pm i{\sqrt {\frac {\left|x+iy\right|-x}{2}}}}

where the sign of the imaginary part of the root is the same as the sign of the imaginary part of the original number.

Note that because of the discontinuous nature of the square root function in the complex plane, the law z w = z × w {\displaystyle {\sqrt {zw}}={\sqrt {z}}\times {\sqrt {w}}} is in general not true. Wrongly assuming this law underlies several faulty "proofs", for instance the following one showing that -1 = 1:

1 = i × i = 1 × 1 = 1 × 1 = 1 = 1 {\displaystyle -1=i\times i={\sqrt {-1}}\times {\sqrt {-1}}={\sqrt {-1\times -1}}={\sqrt {1}}=1}

The third equality cannot be justified. (See invalid proof.)

However the law can only be wrong by a factor -1 (it is right up to a factor -1), √(zw) = ±√(z)√(w), is true for either ± as + or as -. Note that √(c) = ±c, therefore √(ab) = ±ab and therefore √(zw) = ±√(z)√(w), using a = √(z) and b = √(w).

Square roots of matrices and operators

Main article: square root of a matrix

If A is a positive-definite matrix or operator, then there exists precisely one positive definite matrix or operator B with B = A; we then define √A = B.

More generally, to every normal matrix or operator A there exist normal operators B such that B = A. In general, there are several such operators B for every A and the square root function cannot be defined for normal operators in a satisfactory manner. Positive definite operators are akin to positive real numbers, and normal operators are akin to complex numbers.

Infinitely nested square roots

Under certain conditions infinitely nested radicals such as

x = 2 + 2 + 2 + 2 + {\displaystyle x={\sqrt {2+{\sqrt {2+{\sqrt {2+{\sqrt {2+\cdots }}}}}}}}}

represent rational numbers. This rational number can be found by realizing that x also appears under the radical sign, which gives the equation

x = 2 + x . {\displaystyle x={\sqrt {2+x}}.}

If we solve this equation, we find that x = 2. More generally, we find that

n + n + n + n + = 1 + 1 + 4 n 2 . {\displaystyle {\sqrt {n+{\sqrt {n+{\sqrt {n+{\sqrt {n+\cdots }}}}}}}}={\frac {1+{\sqrt {1+4n}}}{2}}.}

Beware, however, of the discontinuity for n=0. The infinitely nested square root for n=0 does not equal one, as the "general" solution would indicate. Rather, it is (obviously) zero.

The same procedure also works to get

n n n n = 1 + 1 + 4 n 2 . {\displaystyle {\sqrt {n-{\sqrt {n-{\sqrt {n-{\sqrt {n-\cdots }}}}}}}}={\frac {-1+{\sqrt {1+4n}}}{2}}.}

This method will give a rational x {\displaystyle x} value for all values of n {\displaystyle n} such that

n = x 2 + x . {\displaystyle {n}={x^{2}}+{x}.}

Square roots of the first 20 positive integers

1 = {\displaystyle {\sqrt {1}}=} 1
2 {\displaystyle {\sqrt {2}}\approx } 1.4142135623 7309504880 1688724209 6980785696 7187537694 8073176679 7379907324 78462
3 {\displaystyle {\sqrt {3}}\approx } 1.7320508075 6887729352 7446341505 8723669428 0525381038 0628055806 9794519330 16909
4 = {\displaystyle {\sqrt {4}}=} 2
5 {\displaystyle {\sqrt {5}}\approx } 2.2360679774 9978969640 9173668731 2762354406 1835961152 5724270897 2454105209 25638
6 {\displaystyle {\sqrt {6}}\approx } 2.4494897427 8317809819 7284074705 8913919659 4748065667 0128432692 5672509603 77457
7 {\displaystyle {\sqrt {7}}\approx } 2.6457513110 6459059050 1615753639 2604257102 5918308245 0180368334 4592010688 23230
8 {\displaystyle {\sqrt {8}}\approx } 2.8284271247 4619009760 3377448419 3961571393 4375075389 6146353359 4759814649 56924
9 = {\displaystyle {\sqrt {9}}=} 3
10 {\displaystyle {\sqrt {10}}\approx } 3.1622776601 6837933199 8893544432 7185337195 5513932521 6826857504 8527925944 38639
11 {\displaystyle {\sqrt {11}}\approx } 3.3166247903 5539984911 4932736670 6866839270 8854558935 3597058682 1461164846 42609
12 {\displaystyle {\sqrt {12}}\approx } 3.4641016151 3775458705 4892683011 7447338856 1050762076 1256111613 9589038660 33818
13 {\displaystyle {\sqrt {13}}\approx } 3.6055512754 6398929311 9221267470 4959462512 9657384524 6212710453 0562271669 48293
14 {\displaystyle {\sqrt {14}}\approx } 3.7416573867 7394138558 3748732316 5493017560 1980777872 6946303745 4673200351 56307
15 {\displaystyle {\sqrt {15}}\approx } 3.8729833462 0741688517 9265399782 3996108329 2170529159 0826587573 7661134830 91937
16 = {\displaystyle {\sqrt {16}}=} 4
17 {\displaystyle {\sqrt {17}}\approx } 4.1231056256 1766054982 1409855974 0770251471 9922537362 0434398633 5730949543 46338
18 {\displaystyle {\sqrt {18}}\approx } 4.2426406871 1928514640 5066172629 0942357090 1562613084 4219530039 2139721974 35386
19 {\displaystyle {\sqrt {19}}\approx } 4.3588989435 4067355223 6981983859 6156591370 0392523244 4936890344 1381595573 28203
20 {\displaystyle {\sqrt {20}}\approx } 4.4721359549 9957939281 8347337462 5524708812 3671922305 1448541794 4908210418 51276

Geometric construction of the square root

A square root can be constructed with a compass and straightedge. This has been known at least since the time of the Pythagoreans. In his Elements, Euclid (fl. 300 BC) gave the construction of the geometric mean of two quantities in two different places: Proposition II.14 and Proposition VI.13. Since the geometric mean of a {\displaystyle a} and b {\displaystyle b} is a b {\displaystyle {\sqrt {ab}}} , one can construct a {\displaystyle {\sqrt {a}}} simply by taking b = 1 {\displaystyle b=1} .

The construction is also given by Descartes in his La Géométrie, see figure 2 on page 2. However, Descartes made no claim to originality and his audience would have been quite familiar with Euclid.

See also

External links

Categories: