In Depth
See Also

Square root

In mathematics Mathematics

Mathematics is the discipline that deals with concepts such as quantity [i], structure [i], space [i] a ... 

, a square root of a number x is a number whose square 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 because . The other square root of 9 is −3. Square roots often arise when solving quadratic equation Quadratic equation

In mathematics [i], a quadratic equation is a polynomial [i] equation [i] of the second degree [i] ... 

s, 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 . For a positive real number, the two square roots are the principal square root and the negative square root .

Discussions

  Discussion Features

   Ask a question about 'Square root'

   Start a new discussion about 'Square root'

   Answer questions about 'Square root'

   'Square root' discussion forum


Encyclopedia

In mathematics Mathematics

Mathematics is the discipline that deals with concepts such as quantity [i], structure [i], space [i] a ... 

, a square root of a number x is a number whose square 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 because . The other square root of 9 is −3.

Square roots often arise when solving quadratic equation Quadratic equation

In mathematics [i], a quadratic equation is a polynomial [i] equation [i] of the second degree [i]... 

s, 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 . For a positive real number, the two square roots are the principal square root and the negative square root . Together, the principal and negative square roots of a number are denoted . For negative real numbers, the concept of imaginary and complex number Complex number

In mathematics [i], a complex number is a number [i] of the form
... 

s 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 non-perfect square Square number

In mathematics [i], a square number, sometimes also called a perfect square, is an integer [i] tha ... 

s 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 Pythagoras

Pythagoras of Samos was an Ionian [i] mathematician [i] and philosopher [i], founder of the my ... 

.

The square root symbol  was first used during the 16th century 16th century

As a means of recording the passage of time [i], the 16th century was that century [i] which lasted from ... 

. It has been suggested that it originated as an altered form of lowercase r R

The letter R is the eighteenth letter in the Latin alphabet [i]. ... 

, representing the Latin Latin

Latin is an ancient Indo-European language [i] originally spoken in Latium [i], ... 

 radix .

Properties


  • The principal square root function is a function which maps the set Set

    In mathematics [i], a set can be thought of as any collection [i] of distinct things considered as a who ... 

     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 and obtain the second root by subtracting the first root from zero .


  • 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 square Perfect square

    The term perfect square is used in mathematics [i] in two meanings:

... 

s. In particular, is irrational.

  • In geometrical Geometry

    Geometry arose as the field of knowledge dealing with spatial relationships.... 

     terms, the square root function maps the area Area

    Area is a physical quantity [i] expressing the size of a part of a surface [i]. ... 

     of a square to its side length.


  • 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 .


  • 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 .


  • In calculus Calculus

    Calculus is a central branch of mathematics [i], developed from algebra [i] and geometry [i]. ... 

    , for instance when proving that the square root function is continuous or differentiable Derivative

    In mathematics [i], the derivative is defined as the instantaneous rate of change of a function [i] ... 

    , or when computing certain limits, the following identity often comes handy:


valid for all non-negative numbers and which are not both zero.


  • The function has the following graph, made up of half a parabola Parabola

    The parabola is a conic section [i] generated by the intersection of a right circular conical surface [i] ... 

     lying on its side:




  • The function is continuous for all non-negative and differentiable Derivative

    In mathematics [i], the derivative is defined as the instantaneous rate of change of a function [i] ... 

     for all positive . Its derivative is given by
  • The Taylor series Taylor series

    In mathematics [i], the Taylor series of an infinite [i]ly differentiable [i] real [i] ... 

     of about can be found using the binomial theorem:

 
 
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 calculator Calculator

A calculator is a device for performing calculation [i]s.... 

s have a square root key. Computer spreadsheet Spreadsheet

A spreadsheet is a rectangular table of information, often financial [i] information. ... 

s and other software Computer software

Software fundamentally is the unique image or representation of physical or material alignment that ... 

 are also frequently used to calculate square roots. Computer software programs typically implement good routines to compute the exponential function Exponential function

The exponential function is one of the most important function [i]s in mathematics [i]. ... 

 and the natural logarithm Natural logarithm

The natural logarithm, formerly known as the hyperbolic logarithm, is the logarithm [i] to the base e [i]... 

, and then compute the square root of x using the identity
The same identity is exploited when computing square roots with logarithm table Common logarithm

In mathematics [i], the common logarithm is the logarithm [i] with base 10. ... 

s or slide rule Slide rule

The slide rule is a mechanical analog computer [i], consisting of at least two finely divided scales , ... 

s.

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 .
  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 number Complex number

In mathematics [i], a complex number is a number [i] of the form
... 

s, 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 . 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 Polar coordinate system

In mathematics, the polar coordinate system is a two-dimensional [i] coordinate system [i] in which points [i] ... 

 with , then we set . Thus defined, the square root function is holomorphic everywhere except on the non-positive real numbers . The above Taylor series for remains valid for complex numbers x with |x| < 1.

When the number is in rectangular form Cartesian coordinate system

In mathematics [i], the Cartesian coordinate system is used to uniquely determine each point [i]... 

 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.

However the law can only be wrong by a factor -1 , √ = ±√√, is true for either ± as + or as -. Note that √ = ±c, therefore √ = ±ab and therefore √ = ±√√, using a = √ and b = √.

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

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

Euclid's Elements is a mathematical [i] and geometric [i] treatise [i], consis... 

, Euclid Euclid

Euclid , a Greek [i] mathematician [i], who lived in Alexandria [i], Hellenistic Egypt [i], alm ... 

  gave the construction of the geometric mean of two quantities in two different places: and . Since the geometric mean of and is , one can construct simply by taking .

The construction is also given by Descartes René Descartes

Ren Descartes
, also known as Cartesius, was a noted French philosopher [i], mathematician [i]... 

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

Another method of geometric consruction uses right Angle

An angle is the figure formed by two rays [i] sharing a common endpoint [i], called the vertex [i]... 

 triangle Triangle

A triangle is one of the basic shape [i]s of geometry [i]: a polygon [i] with three vertices [i] ... 

s and induction Mathematical induction

Mathematical induction is a method of mathematical proof [i] typically used to establish that a given st ... 

: can, of course, be constructed, and once has been constructed, the right triangle with 1 and for its legs has a hypotenuse Triangle

A triangle is one of the basic shape [i]s of geometry [i]: a polygon [i] with three vertices [i] ... 

 of .

History


The Rhind Mathematical Papyrus Moscow and Rhind Mathematical Papyri

The Moscow and Rhind Mathematical Papyri are two of the oldest mathematical texts discovered.... 

 is a copy from 1650 BCE of an even earlier work and shows us how the Egyptians extracted square roots.

In Ancient India History of India

The history of India [i] can be traced in fragments to as far back as 9500 years ago. ... 

, 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. . A method for finding very good approximations to the square roots of 2 and 3 are given in the Baudhayana Sulba Sutra. Aryabhata in the Aryabhatiya , 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 did not appear before Cataneo . He gave the method of Aryabhata for determining the square root".

Notes


References

  • Smith D.E., History of Mathematics
  • Joseph, George G., The Crest of the Peacock: Non-European Roots of Mathematics, 2nd ed. Penguin Books Penguin Books

    Penguin Books is a British [i] publisher [i] founded in 1935 by Allen Lane [i]. ... 

    , London. . ISBN 0-691-00659-8.

See also

  • Quadratic residue
  • Radical
  • Quadratic irrational
  • Cube root Cube root

    In mathematics [i], the cube root

... 


  • Integer square root
  • Root of unity
  • Methods of computing square roots
  • Square root of a matrix
  • Square

External links

  • - Professor Fukutaro Kato's method
  • - Takashi Kojima's method
  • - Paul Hsieh's square roots webpage
  • with implementation in Rexx.