Jump to content

Square root

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Arithmonic (talk | contribs) at 19:55, 24 October 2006 (→‎External links). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In mathematics, a square root of a number x is a number whose square (the result of multiplying the number by itself) is x. Every non-negative real number x has a unique non-negative square root, called the principal square root and denoted . For example, the principal square root of 9 is 3 (denoted ) because . The other square root of 9 (not the principal square root) is −3.

Square roots often arise when solving quadratic equations, or equations of the form , due to the variable being squared.

Per the fundamental theorem of algebra, there are two solutions to the equation defining the square roots of any number (although these roots may not be distinct, as in the square root of zero). For a positive real number, the two square roots are the principal square root and the negative square root (denoted ). Together, the principal and negative square roots of a number are denoted . 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 objects other than numbers can also be defined.

Square roots of integers that are not perfect squares are always irrational numbers, i.e., numbers not expressible as a ratio of two integers. For example, 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. This has been known since ancient times, with the discovery that is irrational attributed to Hippasus, a disciple of Pythagoras. (See square root of 2 for proofs)

The square root symbol () 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 is a function which maps the set of non-negative real numbers onto itself.
  • The principal square root function 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 and :
  • The square root function maps rational numbers to algebraic numbers; also, is rational if and only if is a rational number which can be represented as a ratio of two perfect squares. In particular, is irrational.
  • Contrary to popular belief, does not necessarily equal . The equality holds for non-negative , but when , is positive by definition, and thus . Therefore, for real (see absolute value).
  • Suppose that and are real numbers, and that , and we want to find . A common mistake is to "take the square root" and deduce that . This is incorrect, because the principal square root of is not , but the absolute value , one of our above rules. Thus, all we can conclude is that , or equivalently .
valid for all non-negative numbers and which are not both zero.
  • The function has the following graph, made up of half a parabola lying on its side:

  • The function is continuous for all non-negative and differentiable for all positive (it is not differentiable for since the slope of the tangent there is ). Its derivative is given by
for .

Computation

Many methods of calculating square roots exist today, some meant to be done by hand and some meant to be done by machine.

Many, but not all pocket calculators have a square root key. Computer spreadsheets and other software are also frequently used to calculate square roots. Computer software programs typically implement good routines to compute the exponential function and the natural logarithm, and then compute the square root of x using the identity

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

The most common method of square root calculation by hand is known as the "Babylonian method". It involves a simple algorithm, which will bring you closer and closer to the actual square root each time it is repeated. To find r, the square root of a real number x:

  1. Start with an arbitrary positive start value r (the closer to the square root of x, the better).
  2. Replace r by the average of r and x / r.
  3. Repeat steps 2 and 3.

The best known time complexity for computing a square root with n digits of precision is the same as that for multiplying two n-digit numbers.

Square roots of negative and complex numbers

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. This number is usually denoted by (sometimes j , especially in the context of electricity). Using this notation, the square root of any negative number is

because

.

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 to be the "positive" square root of .

For every non-zero complex number z there exist precisely two numbers w such that w2 = z. The usual definition of √z is as follows: if is represented in polar coordinates with , then we set . 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 remains valid for complex numbers x with |x| < 1.

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

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 is in general not true. Wrongly assuming this law underlies several faulty "proofs", for instance the following one showing that -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 √(c2) = ±c, therefore √(a2b2) = ±ab and therefore √(zw) = ±√(z)√(w), using a = √(z) and b = √(w).

Square roots of matrices and operators

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

More generally, to every normal matrix or operator A there exist normal operators B such that B2 = 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

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

If we solve this equation, we find that x = 2. This approach can also be used to show that generally, if n > 0, then:

The same procedure also works to get

This method will give a rational value for all values of such that

Square roots of the first 20 positive integers

1
1.4142135623 7309504880 1688724209 6980785696 7187537694 8073176679 7379907324 78462
1.7320508075 6887729352 7446341505 8723669428 0525381038 0628055806 9794519330 16909
2
2.2360679774 9978969640 9173668731 2762354406 1835961152 5724270897 2454105209 25638
2.4494897427 8317809819 7284074705 8913919659 4748065667 0128432692 5672509603 77457
2.6457513110 6459059050 1615753639 2604257102 5918308245 0180368334 4592010688 23230
2.8284271247 4619009760 3377448419 3961571393 4375075389 6146353359 4759814649 56924
3
3.1622776601 6837933199 8893544432 7185337195 5513932521 6826857504 8527925944 38639
3.3166247903 5539984911 4932736670 6866839270 8854558935 3597058682 1461164846 42609
3.4641016151 3775458705 4892683011 7447338856 1050762076 1256111613 9589038660 33818
3.6055512754 6398929311 9221267470 4959462512 9657384524 6212710453 0562271669 48293
3.7416573867 7394138558 3748732316 5493017560 1980777872 6946303745 4673200351 56307
3.8729833462 0741688517 9265399782 3996108329 2170529159 0826587573 7661134830 91937
4
4.1231056256 1766054982 1409855974 0770251471 9922537362 0434398633 5730949543 46338
4.2426406871 1928514640 5066172629 0942357090 1562613084 4219530039 2139721974 35386
4.3588989435 4067355223 6981983859 6156591370 0392523244 4936890344 1381595573 28203
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.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 and is , one can construct simply by taking .

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.

Another method of geometric consruction uses right triangles and induction: can, of course, be constructed, and once has been constructed, the right triangle with 1 and for its legs has a hypotenuse of .

History

The Rhind Mathematical Papyrus is a copy from 1650 BCE of an even earlier work and shows us how the Egyptians extracted square roots.[1]

In Ancient India, the knowledge of theoretical and applied aspects of square and square root was at least as old as the Sulba Sutras, dated around 800-500 B.C. (possibly much earlier). A method for finding very good approximations to the square roots of 2 and 3 are given in the Baudhayana Sulba Sutra.[2] Aryabhata in the Aryabhatiya (section 2.4), has given a method for finding the square root of numbers having many digits.

D.E. Smith in History of Mathematics, says, about the existing situation in Europe: "In Europe these methods (for finding out the square and square root) did not appear before Cataneo (1546). He gave the method of Aryabhata for determining the square root".[3]

Notes

  1. ^ Anglin, W.S. (1994). Mathematics: A Concise History and Philosophy. New York: Springer-Verlag.
  2. ^ Joseph, ch.8.
  3. ^ Smith, p. 148.

References

  • Smith D.E., History of Mathematics (book 2)
  • Joseph, George G., The Crest of the Peacock: Non-European Roots of Mathematics, 2nd ed. Penguin Books, London. (2000). ISBN 0-691-00659-8.

See also