Spherical coordinate system: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Quondum
Undid revision 587968839 by 71.39.150.113 (talk)
No edit summary
Line 1: Line 1:
{{redirect|Square roots|the music festival|Square Roots|the documentary|Square Roots: The Story of SpongeBob SquarePants}}
Yoshiko is her title but she doesn't like when people use her full title. Delaware is our birth location. Bookkeeping is what she does. What she loves doing is playing croquet and she is trying to make it a occupation.<br><br>my web blog - [http://Www.italkero.com/Activity-Feed/userId/147265 http://Www.italkero.com/]
[[Image:Square root of naturals.svg|thumb|256px|right|Square roots of natural numbers as squares (and of 0 as •). Integer ones are black, irrational ones <span style="color:#006699;">are cyan</span>. The red circle shows that {{sqrt|2}} is equal to the diagonal of the 1-square.<br/>See also: [[:File:Disk root of naturals.svg]]]]
In [[mathematics]], a '''square root''' of a number ''a'' is a number ''y'' such that {{nowrap|1=''y''<sup>2</sup> = ''a''}}, in other words, a number ''y'' whose ''[[square (algebra)|square]]'' (the result of multiplying the number by itself, or {{nowrap|''y'' × ''y''}}) is ''a''.<ref>Gel'fand, [http://books.google.com/books?id=Z9z7iliyFD0C&pg=PA120 p. 120]
</ref> For example, 4 and −4 are square roots of 16 because {{nowrap|1=4<sup>2</sup> = (−4)<sup>2</sup> = 16}}.
 
Every non-negative [[real number]] ''a'' has a unique non-negative square root, called the ''principal square root'', which is denoted by {{sqrt|''a''}}, where √ is called the ''[[radical sign]]'' or ''radix''. For example, the principal square root of 9 is 3, denoted {{sqrt|9}} = 3, because {{nowrap|1=3<sup>2</sup> = 3 × 3 = 9}} and 3 is non-negative. The term whose root is being considered is known as the ''radicand''. The radicand is the number or expression underneath the radical sign, in this example 9.
 
Every positive number ''a'' has two square roots: {{sqrt|''a''}}, which is positive, and −{{sqrt|''a''}}, which is negative. Together, these two roots are denoted ± {{sqrt|''a''}} (see [[± shorthand]]). Although the principal square root of a positive number is only one of its two square roots, the designation "''the'' square root" is often used to refer to the ''principal'' square root. For positive ''a'', the principal square root can also be written in [[Exponentiation|exponent]] notation, as ''a''<sup>1/2</sup>.<ref>{{cite book |title=A First Course in Complex Analysis With Applications |edition=2nd |first1=Dennis G. |last1=Zill |first2=Patrick |last2=Shanahan |publisher=Jones & Bartlett Learning |year=2008 |isbn=0-7637-5772-1 |page=78 |url=http://books.google.com/books?id=YKZqY8PCNo0C}}, [http://books.google.com/books?id=YKZqY8PCNo0C&pg=PA78 Extract of page 78]</ref>
 
Square roots of negative numbers can be discussed within the framework of [[complex number]]s. More generally, square roots can be considered in any context in which a notion of "squaring" of some mathematical objects is defined (including [[Matrix (mathematics)|algebras of matrices]], [[endomorphism ring]]s, etc.)
 
Square roots of [[Natural number|positive whole numbers]] that are not [[Square number|perfect square]]s are always [[irrational number]]s: numbers not expressible as a [[ratio]] of two integers (that is to say they cannot be written exactly as ''m/n'', where ''m'' and ''n'' are integers). This is the theorem [[Euclid's Elements|''Euclid X, 9'']] almost certainly due to [[Theaetetus (mathematician)|Theaetetus]] dating back to circa 380 BC.<ref>{{cite book
|first= Sir Thomas L.
|last= Heath
|editor=
|title= The Thirteen Books of The Elements, Vol. 3
|url=http://www.archive.org/stream/thirteenbookseu03heibgoog#page/n14/mode/1up
|year=1908
|publisher=Cambridge University Press
|page=3
}}</ref>
The particular case [[Square root of 2|{{sqrt|2}}]] is assumed to date back earlier to the [[Pythagoreanism|Pythagoreans]] and is traditionally attributed to [[Hippasus]].{{Citation needed|date=October 2012}} It is exactly the length of the [[diagonal]] of a [[unit square|square with side length 1]].
 
==Properties and uses==
[[Image:Square root 0 25.svg|thumb|400px|The graph of the function ''f''(''x'') = {{sqrt|''x''}}, made up of half a [[parabola]] with a vertical [[Directrix (conic section)#Eccentricity, focus and directrix|directrix]].]]
The principal square root function ''f''(''x'') = {{sqrt|''x''}} (usually just referred to as the "square root function") is a [[function (mathematics)|function]] that maps the [[Set (mathematics)|set]] of non-negative real numbers onto itself. In [[geometry|geometrical]] terms, the square root function maps the [[area]] of a square to its side length.
 
The square root of ''x'' is rational if and only if ''x'' is a [[rational number]] that can be represented as a ratio of two perfect squares. (See [[square root of 2]] for proofs that this is an irrational number, and [[quadratic irrational]] for a proof for all non-square natural numbers.) The square root function maps rational numbers into [[algebraic number]]s (a [[superset]] of the rational numbers).
 
For all real numbers ''x''
:<math>
\sqrt{x^2} = \left|x\right| =
\begin{cases}
  x,  & \mbox{if }x \ge 0 \\
  -x, & \mbox{if }x < 0.
\end{cases}
</math> &nbsp;&nbsp;&nbsp;&nbsp;(see [[absolute value]])
 
For all non-negative real numbers ''x'' and ''y'',
:<math>\sqrt{xy} = \sqrt x \sqrt y</math>
and
:<math>\sqrt x = x^{1/2}.</math>
 
The square root function is [[Continuous function|continuous]] for all non-negative ''x'' and [[derivative|differentiable]] for all positive ''x''. If ''f'' denotes the square-root function, its derivative is given by:
:<math>f'(x) = \frac{1}{2\sqrt x}.</math>
 
The [[Taylor series]] of {{sqrt|1 + ''x''}} about ''x'' = 0 converges for ''x'' ≤ 1 and is given by
:<math>\sqrt{1 + x} = \sum_{n=0}^\infty \frac{(-1)^n(2n)!}{(1-2n)(n!)^2(4^n)}x^n = 1 + \textstyle \frac{1}{2}x - \frac{1}{8}x^2 + \frac{1}{16} x^3 - \frac{5}{128} x^4 + \dots,\!</math>
 
Square root of a non-negative number is used in the definition of [[Euclidean norm]] (and [[Euclidean distance|distance]]), as well as in generalizations such as [[Hilbert space]]s. It defines an important concept of [[standard deviation]] used in probability theory and statistics. It has a major use in the formula for roots of a [[quadratic equation]]; [[quadratic fields]] and rings of [[quadratic integer]]s, which are based on square roots, are important in algebra and have uses in geometry. Square roots frequently appear in mathematical formulas elsewhere, as well as in many [[physics|physical]] laws.
 
==Computation==
{{main|Methods of computing square roots}}
Most [[pocket calculator]]s have a square root key. Computer [[spreadsheet]]s and other [[software]] are also frequently used to calculate square roots. Pocket calculators typically implement efficient routines, such as the [[Newton's method]] (frequently with an initial guess of 1), to compute the square root of a positive real number.<ref>{{cite book|last=Parkhurst|first=David F.|title=Introduction to Applied Mathematics for Environmental Science|year=2006|publisher=Springer|isbn=9780387342283|pages=241}}</ref><ref>{{cite book|last=Solow|first=Anita E.|title=Learning by Discovery: A Lab Manual for Calculus|year=1993|publisher=Cambridge University Press|isbn=9780883850831|pages=48}}</ref>  When computing square roots with [[Common logarithm|logarithm table]]s or [[slide rule]]s, one can exploit the identity
 
:<math>\sqrt{a} = e^{(\ln a)/2}</math> or <math>\sqrt{a} = 10^{(\log_{10} a)/2}.</math>
 
where <math>\ln</math> and <math>\log_{10}</math> are the [[Natural logarithm|natural]] and [[base-10 logarithm]]s.
 
By trial-and-error, one can square an estimate for {{sqrt|''a''}} and raise or lower the estimate until it agrees to sufficient accuracy. For this technique it's prudent to use the identity
 
:<math>(x+c)^2=x^2+2xc+c^2</math>
 
as it allows one to adjust the estimate ''x'' by some amount ''c'' and measure the square of the adjustment in terms of the original estimate and its square. Furthermore, <math>(x+c)^2 \approx x^2+2xc</math> when ''c'' is close to 0, because the [[tangent line]] to the graph of <math>x^2+2xc+c^2</math> at ''c''=0, as a function of ''c'' alone, is <math>y=2xc+x^2</math>. Thus, small adjustments to ''x'' can be planned out by setting <math>2xc</math> to <math>a</math>, or <math>c=\frac{a}{2x}</math>.
 
The most common [[iterative method]] of square root calculation by hand is known as the "[[Babylonian method]]" or "Heron's method" after the first-century Greek philosopher [[Hero of Alexandria|Heron of Alexandria]], who first described it.<ref>{{cite book
  | last = Heath
  | first = Sir Thomas L.
  | authorlink =
  | coauthors =
  | title = A History of Greek Mathematics, Vol. 2
  | publisher = Clarendon Press
  | year = 1921
  | location = Oxford
  | pages = 323–324
  | url = http://books.google.com/?id=LOA5AAAAMAAJ&pg=PR323
  | doi =
  | id =
  | isbn = }}</ref>
The method uses the same iterative scheme as the [[Newton–Raphson method]] yields when applied to the function y = f(''x'')=''x''<sup>2</sup> − ''a'', using the fact that its slope at any point is <math>\scriptstyle dy/dx=f'(x)=2x</math>, but predates it by many centuries.<ref>{{Cite book
  |title=Elementary functions: algorithms and implementation
  |first1=Jean-Mic
  |last1=Muller
  |publisher=Springer
  |year=2006
  |isbn=0-8176-4372-9
  |pages=92–93
  |url=http://books.google.com/?id=g3AlWip4R38C
  |postscript=<!--None-->}}, [http://books.google.com/books?id=g3AlWip4R38C&pg=PA92 Chapter 5, p 92]
</ref>
The algorithm is to repeat a simple calculation that results in a number closer to the actual square root each time it is repeated with its result as the new input. The motivation is that if ''x'' is an overestimate to the square root of a non-negative real number ''a'' then ''a/x''<!-- please avoid intermixing <math> with a bare text in one paragraph: it is the ugliest pair among 3 existing styles --> will be an underestimate and so the average of these two numbers is a better approximation than either of them. However, the [[inequality of arithmetic and geometric means]] shows this average is always an overestimate of the square root (as noted [[Square root#Geometric construction of the square root|below]]), and so it can serve as a new overestimate with which to repeat the process, which [[Limit of a sequence|converges]] as a consequence of the successive overestimates and underestimates being closer to each other after each iteration. To find ''x'' :
 
#Start with an arbitrary positive start value ''x''. The closer to the square root of ''a'', the fewer the iterations that will be needed to achieve the desired precision.
#Replace ''x'' by the average (''x'' + ''a/x'') ''/'' 2 between ''x'' and ''a/x''.
# Repeat from step 2, using this average as the new value of ''x''.
 
That is, if an arbitrary guess for {{sqrt|''a''}} is <math>x_0</math>, and {{nowrap|1=''x''<sub>''n''+1</sub> = (''x<sub>n</sub>'' + ''a/x<sub>n</sub>'')''/''2}}, then each x<sub>n</sub> is an approximation of {{sqrt|''a''}} which is better for large ''n'' than for small ''n''. If ''a'' is positive, the convergence is [[Rate of convergence|quadratic]], which means that in approaching the limit, the number of correct digits roughly doubles in each next iteration. If {{nowrap|1=''a'' = 0}}, the convergence is only linear.
 
Using the identity
:<math>\sqrt{a} = 2^{-n}\sqrt{4^n a},</math>
the computation of the square root of a positive number can be reduced to that of a number in the range {{closed-open|1,4}}. This simplifies finding a start value for the iterative method that is close to the square root, for which a [[Polynomial function|polynomial]] or [[Piecewise linear function|piecewise-linear]] [[Approximation theory|approximation]] can be used.
 
The [[Computational complexity theory|time complexity]] for computing a square root with ''n'' digits of precision is equivalent to that of multiplying two ''n''-digit numbers.
 
Another useful method for calculating the square root is the [[Shifting nth root algorithm]], applied for {{nowrap|1=''n'' = 2}}.
 
==Square roots of negative and complex numbers==<!-- This section is linked from [[Complex number]] -->
{{multiple image |align=left |direction=horizontal
|image1=Complex sqrt leaf1.jpg |caption1=First leaf of the complex square root
|image2=Complex sqrt leaf2.jpg |caption2=Second leaf of the complex square root
|image3=Riemann surface sqrt.jpg |caption3=Using the [[Riemann surface]] of the square root, it is shown how the two leaves fit together
}}
<br style="clear:both" />
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 number|real]] square root.  However, it is possible to work with a more inclusive set of numbers, called the [[complex number]]s, that does contain solutions to the square root of a negative number.  This is done by introducing a new number, denoted by ''i'' (sometimes ''j'', especially in the context of [[electric current|electricity]] where "''i''" traditionally represents electric current) and called the [[imaginary unit]], which is ''defined'' such that {{nowrap|1=''i''<sup>2</sup> = −1}}. Using this notation, we can think of ''i'' as the square root of −1, but notice that we also have {{nowrap|1=(−''i'')<sup>2</sup> = ''i''<sup>2</sup> = −1}} and so −''i'' is also a square root of −1. By convention, the principal square root of −1 is ''i'', or more generally, if ''x'' is any non-negative number, then the principal square root of −''x'' is
:<math>\sqrt{-x} = i \sqrt x.</math>
The right side (as well as its negative) is indeed a square root of −''x'', since
:<math>(i\sqrt x)^2 = i^2(\sqrt x)^2 = (-1)x = -x.</math>
 
For every non-zero complex number ''z'' there exist precisely two numbers ''w'' such that {{nowrap|1=''w''<sup>2</sup> = ''z''}}: the principal square root of ''z'' (defined below), and its negative.
 
===Square root of an imaginary number===
[[Image:Imaginary2Root.svg|right|thumb|The square roots of '''''i''''' in the complex plane]]
The square root of '''''i''''' is given by
:<math>\sqrt{i} = \frac{1}{2}\sqrt{2} + i\frac{1}{2}\sqrt{2} = \frac{\sqrt{2}}{2}(1+i).</math>
 
This result can be obtained [[algebra]]ically by finding ''a'' and ''b'' such that
:<math>i = (a+bi)^2\!</math>
or equivalently
:<math>i = a^2 + 2abi - b^2.\!</math>
This gives the two [[simultaneous equations]]
:<math>\begin{cases}
2ab = 1\! \\
a^2 - b^2 = 0\!
\end{cases}</math>
with solutions
:<math>a = b = \pm \frac{1}{\sqrt{2}}.</math>
The choice of the principal root then gives
:<math>a = b = \frac{1}{\sqrt{2}}.</math>
 
The result can also be obtained by using [[de Moivre's formula]] and setting
:<math>i = \cos\left (\frac{\pi}{2}\right ) + i\sin\left (\frac{\pi}{2}\right )</math>
which produces
:<math>\begin{align}
\sqrt{i} & = \left ( \cos\left ( \frac{\pi}{2} \right ) + i\sin \left (\frac{\pi}{2} \right ) \right )^{\frac{1}{2}}  \\
              & = \cos\left (\frac{\pi}{4} \right ) + i\sin\left ( \frac{\pi}{4} \right ) \\
              & = \frac{1}{\sqrt{2}} + i\left ( \frac{1}{\sqrt{2}} \right ) = \frac{1}{\sqrt{2}}(1+i) . \\
\end{align}
</math>
 
===Principal square root of a complex number===
To find a definition for the square root that allows us to consistently choose a single value, called the [[principal value]], we start by observing that any complex number ''x'' + ''iy'' can be viewed as a point in the plane, (''x'', ''y''), expressed using [[Cartesian coordinate system|Cartesian coordinates]]. The same point may be reinterpreted using [[polar coordinates]] as the pair (''r'', φ), where ''r'' ≥ 0 is the distance of the point from the origin, and φ is the angle that the line from the origin to the point makes with the positive real (''x'') axis. In complex analysis, this value is conventionally written ''r''&thinsp;''e''<sup>''i&phi;''</sup>. If
:<math> z=r e^{\varphi i} \text{ with } -\pi < \varphi \le \pi, </math>
then we define the principal square root of ''z'' as follows:
:<math>\sqrt{z} = \sqrt{r} \, e^{i \varphi / 2}.</math>
 
The principal square root function is thus defined using the nonpositive real axis as a [[branch cut]].  The principal square root function is [[holomorphic function|holomorphic]] everywhere except on the set of non-positive real numbers (on strictly negative reals it isn't even [[continuous function|continuous]]). The above Taylor series for {{sqrt|1 + ''x''}} remains valid for complex numbers ''x'' with {{nowrap|{{abs|''x''}} < 1}}.
 
The above can also be expressed in terms of [[trigonometric function]]s:
:<math>\sqrt{r \left(\cos \varphi + i \, \sin \varphi \right)} = \sqrt{r} \left [ \cos \frac{\varphi}{2} + i \sin \frac{\varphi}{2} \right ] .</math>
 
===Algebraic formula===
When the number is expressed using Cartesian coordinates the following formula can be used for the principal square root:<ref>{{cite book
|title=Handbook of mathematical functions with formulas, graphs, and mathematical tables
|edition=
|first1=Milton
|last1=Abramowitz
|first2=Irene A.
|last2=Stegun
|publisher=Courier Dover Publications
|year=1964
|isbn=0-486-61272-4
|page=17
|url=http://books.google.com/books?id=MtU8uP7XMvoC}}, [http://www.math.sfu.ca/~cbm/aands/page_17.htm Section 3.7.27, p. 17]
</ref><ref>{{cite book
|title=Classical algebra: its nature, origins, and uses
|first1=Roger
|last1=Cooke
|publisher=John Wiley and Sons
|year=2008
|isbn=0-470-25952-3
|page=59
|url=http://books.google.com/books?id=lUcTsYopfhkC}}, [http://books.google.com/books?id=lUcTsYopfhkC&pg=PA59 Extract: page 59]
</ref>
 
:<math>\sqrt{z} = \sqrt{\frac{|z| + \operatorname{Re}(z)}{2}} + i\ \sgn(\operatorname{Im}(z))\ \sqrt{\frac{|z| - \operatorname{Re}(z)}{2}}</math>
 
The [[Sign function|sign]] of the imaginary part of the root is taken to be same as the sign of the imaginary part of the original number. The real part of the principal value is always non-negative.
 
As the other square root is simply −1 times the principal square root, both roots can be written as
:<math>\pm\left(\sqrt{\frac{|z| + \operatorname{Re}(z)}{2}} + i\ \sgn(\operatorname{Im}(z))\ \sqrt{\frac{|z| - \operatorname{Re}(z)}{2}}\right)</math>
 
===Notes===
Because of the discontinuous nature of the square root function in the complex plane, the law {{nowrap|1={{sqrt|''zw''}} = {{sqrt|''z''}}{{sqrt|''w''}}}} is in general '''not true'''. (Equivalently, the problem occurs because of the freedom in the choice of [[complex plane|branch]]. The chosen branch may or may not yield the equality; in fact, the choice of branch for the square root need not contain the value of {{sqrt|''z''}}{{sqrt|''w''}} at all, leading to the equality's failure. A similar problem appears with the [[complex logarithm]] and the relation {{nowrap|1=log&thinsp;''z'' + log&thinsp;''w'' = log(''zw'')}}.) Wrongly assuming this law underlies several faulty "proofs", for instance the following one showing that {{nowrap|1=−1 = 1}}:
 
:<math>
\begin{align}
-1 &= i \cdot i \\
&= \sqrt{-1} \cdot \sqrt{-1} \\
&= \sqrt{-1 \cdot -1} \\
&= \sqrt{1} \\
&= 1
\end{align}
</math>
 
The third equality cannot be justified (see [[invalid proof]]). It can be made to hold by changing the meaning of √ so that this no longer represents the principal square root (see above) but selects a branch for the square root that contains ({{sqrt|−1}})·({{sqrt|−1}}). The left-hand side becomes either
:<math>\sqrt{-1} \cdot \sqrt{-1}=i \cdot i=-1</math>
if the branch includes +''i'' or
:<math>\sqrt{-1} \cdot \sqrt{-1}=(-i) \cdot (-i)=-1</math>
if the branch includes −''i'', while the right-hand side becomes
:<math>\sqrt{-1 \cdot -1}=\sqrt{1}=-1,</math>
where the last equality, {{nowrap|1={{sqrt|1}} = −1}}, is a consequence of the choice of branch in the redefinition of √.
 
==Square roots of matrices and operators==
{{main|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 {{nowrap|1=''B''<sup>2</sup> = ''A''}}; we then define {{nowrap|1=''A''<sup>1/2</sup> = {{sqrt|''A''}} = ''B''}}. In general matrices may have multiple square roots or even an infinitude of them.  For example the {{nowrap|2 × 2}} [[identity matrix]] has an infinity of square roots.<ref>Mitchell, Douglas W., "Using Pythagorean triples to generate square roots of I<sub>2</sub>", ''Mathematical Gazette'' 87, November 2003, 499–500.</ref>
 
==In integral domains, including fields==
Each element of an [[integral domain]] has no more than 2 square roots. The [[difference of two squares]] identity {{math|1=''u''<sup>2</sup> − ''v''<sup>2</sup> = (''u'' − ''v'')(''u'' + ''v'')}} is proved using the [[commutative ring|commutativity of multiplication]]. If {{mvar|u}} and {{mvar|v}} are square roots of the same element, then {{math|1=''u''<sup>2</sup> − ''v''<sup>2</sup> = 0}}. Because there are no [[zero divisors]] this implies {{math|1=''u'' = ''v''}} or {{math|1=''u'' + ''v'' = 0}}, where the latter means that two roots are [[additive inverse]]s of each other. In other words, the square root of an element, if it exists, is unique [[up to]] a sign. The only square root of 0 in an integral domain is 0 itself.
 
In a field of [[characteristic (algebra)|characteristic]]&nbsp;2, an element has either one square root, because each element is its own additive inverse, or does not have any at all (if the field is [[finite field|finite]] of characteristic&nbsp;2 then every element has a unique square root). In a [[field (mathematics)|field]] of any other characteristic, any non-zero element either has two square roots, as explained above, or does not have any.
 
Given an odd [[prime number]] {{mvar|p}}, let {{math|1=''q'' = ''p''<sup>''e''</sup>}} for some positive integer {{mvar|e}}. A non-zero element of the field [[finite field|{{math|'''F'''<sub>''q''</sub>}}]] with {{mvar|q}} elements is a [[quadratic residue]] if it is has a square root in {{math|'''F'''<sub>''q''</sub>}}. Otherwise, it is a quadratic non-residue. There are {{math|(''q'' − 1)/2}} quadratic residues and {{math|(''q'' − 1)/2}} quadratic non-residues; zero is not counted in either class. The quadratic residues form a [[group (mathematics)|group]] under multiplication. The properties of quadratic residues are widely used in [[number theory]].
 
==In rings in general==
In a [[ring (mathematics)|ring]] we call an element ''b'' a square root of ''a'' [[iff]] {{nowrap|1=''b''<sup>2</sup> = ''a''}}.
To see that the square root need not be unique up to sign in a general ring, consider the ring <math>\mathbb{Z}/8\mathbb{Z}</math> from [[modular arithmetic]]. Here, the element 1 has four distinct square roots, namely ±1 and ±3. On the other hand, the element 2 has no square root. See also the article [[quadratic residue]] for details.
 
Another example is provided by the [[quaternion]]s <math>\mathbb{H}</math> in which the element −1 has an [[quaternion#Square roots of −1|infinitude of square roots]] including ±''i'', ±''j'', and ±''k''.
 
In fact, the set of square roots of −1 is exactly
:<math>\{ai + bj + ck \mid a^2 + b^2 + c^2 = 1\} .</math>
 
Hence this set is exactly the same size and shape as the [[unit sphere|unit sphere in 3-space]].
 
The square root of 0 is by definition either 0 or a zero divisor, and where zero divisors do not exist (such as in quaternions and, generally, in [[division algebra]]s), it is uniquely 0. It is not necessarily true in general rings, where [[Z/nZ|{{math|'''Z'''/''n''<sup>2</sup>'''Z'''}}]] for any natural {{mvar|n}} provides an easy counterexample.
 
==Principal square roots of the positive integers==
 
===As decimal expansions===
The square roots of the [[square number|perfect square]]s (1, 4, 9, 16, etc.) are [[integers]]. In all other cases, the square roots are [[irrational number]]s, and therefore their [[decimal representation]]s are non-[[repeating decimal]]s.
:{|
|-
|align="right" |{{sqrt|0}}|| = 0
|-
|align="right" |{{sqrt|1}}|| = 1
|-
|align="right" |{{sqrt|2}}|| ≈&nbsp;{{gaps|1.4142135623|7309504880|1688724209|6980785696|7187537694|8073176679|7379907324|78462|size=75%}} || ([[square root of 2|article]]) [http://antwrp.gsfc.nasa.gov/htmltest/gifcity/sqrt2.1mil 1&nbsp;million&nbsp;digits], [http://antwrp.gsfc.nasa.gov/htmltest/gifcity/sqrt2.2mil 2&nbsp;million], [http://antwrp.gsfc.nasa.gov/htmltest/gifcity/sqrt2.5mil 5&nbsp;million], [http://antwrp.gsfc.nasa.gov/htmltest/gifcity/sqrt2.10mil 10&nbsp;million]
|-
|align="right" |{{sqrt|3}}|| ≈&nbsp;{{gaps|1.7320508075|6887729352|7446341505|8723669428|0525381038|0628055806|9794519330|16909|size=75%}} || ([[square root of 3|article]]) [http://antwrp.gsfc.nasa.gov/htmltest/gifcity/sqrt3.1mil 1&nbsp;million&nbsp;digits]
|-
|align="right" |{{sqrt|4}}|| = 2
|-
|align="right" |{{sqrt|5}}|| ≈&nbsp;{{gaps|2.2360679774|9978969640|9173668731|2762354406|1835961152|5724270897|2454105209|25638|size=75%}} || ([[square root of 5|article]]) [http://antwrp.gsfc.nasa.gov/htmltest/gifcity/sqrt5.1mil 1&nbsp;million&nbsp;digits]
|-
|align="right" |{{sqrt|6}}|| ≈&nbsp;{{gaps|2.4494897427|8317809819|7284074705|8913919659|4748065667|0128432692|5672509603|77457|size=75%}} || [http://antwrp.gsfc.nasa.gov/htmltest/gifcity/sqrt6.1mil 1&nbsp;million&nbsp;digits]
|-
|align="right" |{{sqrt|7}}|| ≈&nbsp;{{gaps|2.6457513110|6459059050|1615753639|2604257102|5918308245|0180368334|4592010688|23230|size=75%}} || [http://antwrp.gsfc.nasa.gov/htmltest/gifcity/sqrt7.1mil 1&nbsp;million&nbsp;digits]
|-
|align="right" |{{sqrt|8}}|| ≈&nbsp;{{gaps|2.8284271247|4619009760|3377448419|3961571393|4375075389|6146353359|4759814649|56924|size=75%}} || [http://antwrp.gsfc.nasa.gov/htmltest/gifcity/sqrt8.1mil 1&nbsp;million&nbsp;digits]
|-
|align="right" |{{sqrt|9}}|| = 3
|-
|align="right" |{{sqrt|10}}|| ≈&nbsp;{{gaps|3.1622776601|6837933199|8893544432|7185337195|5513932521|6826857504|8527925944|38639|size=75%}} || [http://antwrp.gsfc.nasa.gov/htmltest/gifcity/sqrt10.1mil 1&nbsp;million&nbsp;digits]
|-
|align="right" |{{sqrt|11}}|| ≈&nbsp;{{gaps|3.3166247903|5539984911|4932736670|6866839270|8854558935|3597058682|1461164846|42609|size=75%}}
|-
|align="right" |{{sqrt|12}}|| ≈&nbsp;{{gaps|3.4641016151|3775458705|4892683011|7447338856|1050762076|1256111613|9589038660|33818|size=75%}}
|-
|align="right" |{{sqrt|13}}|| ≈&nbsp;{{gaps|3.6055512754|6398929311|9221267470|4959462512|9657384524|6212710453|0562271669|48293|size=75%}}
|-
|align="right" |{{sqrt|14}}|| ≈&nbsp;{{gaps|3.7416573867|7394138558|3748732316|5493017560|1980777872|6946303745|4673200351|56307|size=75%}}
|-
|align="right" |{{sqrt|15}}|| ≈&nbsp;{{gaps|3.8729833462|0741688517|9265399782|3996108329|2170529159|0826587573|7661134830|91937|size=75%}}
|-
|align="right" |{{sqrt|16}}|| = 4
|-
|align="right" |{{sqrt|17}}|| ≈&nbsp;{{gaps|4.1231056256|1766054982|1409855974|0770251471|9922537362|0434398633|5730949543|46338|size=75%}}
|-
|align="right" |{{sqrt|18}}|| ≈&nbsp;{{gaps|4.2426406871|1928514640|5066172629|0942357090|1562613084|4219530039|2139721974|35386|size=75%}}
|-
|align="right" |{{sqrt|19}}|| ≈&nbsp;{{gaps|4.3588989435|4067355223|6981983859|6156591370|0392523244|4936890344|1381595573|28203|size=75%}}
|-
|align="right" |{{sqrt|20}}|| ≈&nbsp;{{gaps|4.4721359549|9957939281|8347337462|5524708812|3671922305|1448541794|4908210418|51276|size=75%}}
|-
|align="right" |{{sqrt|21}}|| ≈&nbsp;{{gaps|4.5825756949|5584000658|8047193728|0084889844|5657676797|1902607242|1239068684|25547|size=75%}}
|}
Note that if the radicand is not [[square-free integer|square-free]], then one can [[product (mathematics)|factorize]], for example <math>\scriptstyle \sqrt{8} \ = \ \sqrt{4}\sqrt{2} \ = \ 2\sqrt{2}</math>; <math>\scriptstyle \sqrt{12} \ = \ \sqrt{4}\sqrt{3} \ = \ 2\sqrt{3}</math>; <math>\scriptstyle \sqrt{18} \ = \ \sqrt{9}\sqrt{2} \ = \ 3\sqrt{2}</math> and <math>\scriptstyle \sqrt{20} \ = \ \sqrt{4}\sqrt{5} \ = \ 2\sqrt{5}</math>.
 
===As expansions in other numeral systems===
The square roots of the [[square number|perfect square]]s (1, 4, 9, 16, etc.) are integers. In all other cases, the square roots are [[irrational number]]s, and therefore their representations in any standard [[positional notation]] system are non-repeating.
 
The square roots of small integers are used in both the [[SHA-1]] and [[SHA-2]] hash function designs to provide [[nothing up my sleeve number]]s.
 
===As periodic continued fractions===
One of the most intriguing results from the study of [[irrational number]]s as [[continued fraction]]s was obtained by [[Joseph Louis Lagrange]] {{circa}} 1780. Lagrange found that the representation of the square root of any non-square positive integer as a continued fraction is [[Periodic continued fraction|periodic]]. That is, a certain pattern of partial denominators repeats indefinitely in the continued fraction. In a sense these square roots are the very simplest irrational numbers, because they can be represented with a simple repeating pattern of integers.
 
:{|
|-
|align="right"|{{sqrt|2}}|| = [1; 2, 2, ...]
|-
|align="right"|{{sqrt|3}}|| = [1; 1, 2, 1, 2, ...]
|-
|align="right"|{{sqrt|4}}|| = [2]
|-
|align="right"|{{sqrt|5}}|| = [2; 4, 4, ...]
|-
|align="right"|{{sqrt|6}}|| = [2; 2, 4, 2, 4, ...]
|-
|align="right"|{{sqrt|7}}|| = [2; 1, 1, 1, 4, 1, 1, 1, 4, ...]
|-
|align="right"|{{sqrt|8}}||= [2; 1, 4, 1, 4, ...]
|-
|align="right"|{{sqrt|9}}|| = [3]
|-
|align="right"|{{sqrt|10}}|| = [3; 6, 6, ...]
|-
|align="right"|{{sqrt|11}}|| = [3; 3, 6, 3, 6, ...]
|-
|align="right"|{{sqrt|12}}|| = [3; 2, 6, 2, 6, ...]
|-
|align="right"|{{sqrt|13}}|| = [3; 1, 1, 1, 1, 6, 1, 1, 1, 1, 6, ...]
|-
|align="right"|{{sqrt|14}}|| = [3; 1, 2, 1, 6, 1, 2, 1, 6, ...]
|-
|align="right"|{{sqrt|15}}|| = [3; 1, 6, 1, 6, ...]
|-
|align="right"|{{sqrt|16}}|| = [4]
|-
|align="right"|{{sqrt|17}}|| = [4; 8, 8, ...]
|-
|align="right"|{{sqrt|18}}|| = [4; 4, 8, 4, 8, ...]
|-
|align="right"|{{sqrt|19}}|| = [4; 2, 1, 3, 1, 2, 8, 2, 1, 3, 1, 2, 8, ...]
|-
|align="right"|{{sqrt|20}}|| = [4; 2, 8, 2, 8, ...]
|}
 
The square bracket notation used above is a sort of mathematical shorthand to conserve space. Written in more traditional notation the simple continued fraction for the square root of 11 – [3; 3, 6, 3, 6, ...] – looks like this:
 
:<math>
\sqrt{11} = 3 + \cfrac{1}{3 + \cfrac{1}{6 + \cfrac{1}{3 + \cfrac{1}{6 + \cfrac{1}{3 + \ddots}}}}}
</math>
 
where the two-digit pattern {3, 6} repeats over and over again in the partial denominators. Since {{nowrap|1=11 = 3<sup>2</sup> + 2}}, the above is also identical to the following [[generalized continued fraction#Roots of positive numbers|generalized continued fractions]]:
 
:<math>
\sqrt{11} = 3 + \cfrac{2}{6 + \cfrac{2}{6 + \cfrac{2}{6 + \cfrac{2}{6 + \cfrac{2}{6 + \ddots}}}}} = 3 + \cfrac{6\cdot 1}{20-1 - \cfrac{1}{20 - \cfrac{1}{20 - \cfrac{1}{20 - \ddots}}}}.
</math>
 
==Geometric construction of the square root==
Square root of a positive number is usually defined as the side length of a [[square]] with the [[area]] equal to the given number. But the square shape is not necessary for it: if one of two [[similarity (geometry)|similar]] [[Euclidean plane|planar Euclidean]] objects has the area ''a'' times greater than another, then the ratio of their linear sizes is {{sqrt|''a''}}.
 
A square root can be constructed with a compass and straightedge. In his [[Euclid's Elements|Elements]], [[Euclid]] ([[floruit|fl.]] 300 BC) gave the construction of the [[geometric mean]] of two quantities in two different places: [http://aleph0.clarku.edu/~djoyce/java/elements/bookII/propII14.html Proposition II.14] and [http://aleph0.clarku.edu/~djoyce/java/elements/bookVI/propVI13.html Proposition VI.13].  Since the geometric mean of ''a'' and ''b'' is <math>\scriptstyle \sqrt {ab}</math>, one can construct <math>\scriptstyle \sqrt {a}</math> simply by taking {{nowrap|1=''b'' = 1}}.
 
The construction is also given by [[Descartes]] in his ''[[La Géométrie]]'', see figure 2 on [http://historical.library.cornell.edu/cgi-bin/cul.math/docviewer?did=00570001&seq=12&frames=0&view=50 page 2]. However, Descartes made no claim to originality and his audience would have been quite familiar with Euclid.
 
Euclid's second proof in Book VI depends on the theory of [[Similar triangles#Similar triangles|similar triangles]]. Let AHB be a line segment of length {{nowrap|''a'' + ''b''}} with {{nowrap|1=AH = ''a''}} and {{nowrap|1=HB = ''b''}}. Construct the circle with AB as diameter and let C be one of the two intersections of the perpendicular chord at H with the circle and denote the length CH as ''h''. Then, using [[Thales' theorem]] and as in the [[Pythagoras theorem#Proof using similar triangles|proof of Pythagoras' theorem by similar triangles]], triangle AHC is similar to triangle CHB (as indeed both are to triangle ACB, though we don't need that but it is the essence of the proof of Pythagoras' theorem) so that AH:CH is as HC:HB i.e. <math>\scriptstyle \ a/h = h/b </math> from which we conclude by cross-multiplication that <math>\scriptstyle \ h^2 = ab </math> and finally that <math>\scriptstyle h = \sqrt {ab}</math>. Note further that if you were to mark the midpoint O of the line segment AB and draw the radius OC of length <math>\scriptstyle (a + b)/2</math> then clearly OC > CH i.e. <math>\scriptstyle (a + b)/2 >= \sqrt {ab}</math> (with equality when and only when {{nowrap|1=''a'' = ''b''}}), which is the [[inequality of arithmetic and geometric means|arithmetic–geometric mean inequality for two variables]] and, as noted [[Square root#Computation|above]], is the basis of the [[Greek Mathematics|Ancient Greek]] understanding of "Heron's method".
 
Another method of geometric construction uses [[right triangle]]s and [[Mathematical induction|induction]]: {{sqrt|1}} can, of course, be constructed, and once {{sqrt|''x''}} has been constructed, the right triangle with 1 and {{sqrt|''x''}} for its legs has a [[hypotenuse]] of {{sqrt|''x'' + 1}}. The [[Spiral of Theodorus]] is constructed using successive square roots in this manner.
 
==History==
The [[Yale Babylonian Collection]] [[YBC 7289]]  clay tablet was created between 1800 BC and 1600 BC, showing {{sqrt|2}} and 30{{sqrt|2}} as 1;24,51,10 and 42;25,35 base 60 numbers on a square crossed by two diagonals.<ref>[http://www.math.ubc.ca/~cass/Euclid/ybc/analysis.html Math.ubc.ca]</ref>
 
The [[Rhind Mathematical Papyrus]] is a copy from 1650 BC of an even earlier work and shows how the Egyptians extracted square roots.<ref>Anglin, W.S. (1994). ''Mathematics: A Concise History and Philosophy''. New York: Springer-Verlag.</ref>
 
In [[History of India|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 BC (possibly much earlier){{citation needed|date=July 2010|reason=no manuscript dates back that far and reliable secondary sources disagree}}. A method for finding very good approximations to the square roots of 2 and 3 are given in the ''[[Baudhayana Sulba Sutra]]''.<ref>Joseph, ch.8.</ref>  [[Aryabhata]] in the ''[[Aryabhatiya]]'' (section 2.4), has given a method for finding the square root of numbers having many digits.
 
In the Chinese mathematical work ''[[Suàn shù shū|Writings on Reckoning]]'', written between 202 BC and 186 BC during the early [[Han Dynasty]], the square root is approximated by using an "excess and deficiency" method, which says to "...combine the excess and deficiency as the divisor; (taking) the deficiency numerator multiplied by the excess denominator and the excess numerator times the deficiency denominator, combine them as the dividend."<ref>Dauben (2007), p. 210.</ref>
 
[[Mahāvīra (mathematician)|Mahāvīra]], a 9th-century Indian mathematician, was the first to state that square roots of negative numbers don't exist.{{sfn|Selin|2008|p=1268}}
 
A symbol for square roots, written as an elaborate R, was invented by Regiomontanus (1436–1476). An R was also used for Radix to indicate square roots in Giralamo Cardano's Ars Magna.<ref>[http://nrich.maths.org/6546 Nrich]</ref>
 
According to historian of mathematics D.E. Smith, Aryabhata's method for finding the square root was first introduced in Europe by [[Pietro di Giacomo Cataneo|Cataneo]] in 1546.<ref>Smith, p. 148.</ref>
 
The symbol '√' for the square root was first used in print in 1525 in [[Christoph Rudolff]]'s ''Coss'', which was also the first to use the then-new signs '+' and '−'.<ref>{{Cite book| last=Manguel|first=Alberto| chapter=Done on paper: the dual nature of numbers and the page | title=The Life of Numbers | year=2006 | isbn=84-86882-14-1}}</ref>
 
==See also==
* [[Apotome (mathematics)]]
* [[Cube root]]
* [[Integer square root]]
* [[Methods of computing square roots]]
* [[Nested radical]]
* [[Nth root]]
* [[Quadratic irrational]]
* [[Root of unity]]
* [[Solving quadratic equations with continued fractions]]
* [[Square root principle]]
* [[List of square roots]]
 
==Notes==
{{reflist|2}}
 
==References==
* {{cite book | last = Dauben | first = Joseph W. | editor-last = Katz | editor-first = Victor J. | title = The Mathematics of Egypt, Mesopotamia, China, India, and Islam | chapter = Chinese Mathematics I | publisher = Princeton University Press | location = Princeton | year = 2007 | url = http://books.google.com/books?id=3ullzl036UEC | isbn = 0-691-11485-4}}
* {{cite book|title=Algebra|edition=3rd|first1=Izrael M.|last1=Gel'fand|first2=Alexander|last2=Shen|publisher=Birkhäuser|year=1993|isbn=0-8176-3677-3|page=120|url=http://books.google.com/books?id=Z9z7iliyFD0C}}
* {{cite book | last = Joseph | first = George | title = The Crest of the Peacock | publisher = Princeton University Press | location = Princeton | year = 2000 | isbn = 0-691-00659-8 }}
* {{cite book | last = Smith | first = David | title = History of Mathematics | publisher = Dover Publications | location = New York | year = 1958 | isbn = 978-0-486-20430-7 | volume = 2}}
*{{citation|last=Selin|first=Helaine|title=Encyclopaedia of the History of Science, Technology, and Medicine in Non-Western Cultures|url=http://books.google.com/books?id=kt9DIY1g9HYC&pg=PA1268|year=2008|publisher=Springer|isbn=978-1-4020-4559-2}}
 
==External links==
* [http://www.azillionmonkeys.com/qed/sqroot.html Algorithms, implementations, and more] – Paul Hsieh's square roots webpage
* [http://johnkerl.org/doc/square-root.html How to manually find a square root]
 
{{DEFAULTSORT:Square Root}}
[[Category:Elementary special functions]]
[[Category:Elementary mathematics]]

Revision as of 21:27, 12 February 2014

Yoshiko is her title but she doesn't like when people use her full title. Delaware is our birth location. Bookkeeping is what she does. What she loves doing is playing croquet and she is trying to make it a occupation.

my web blog - http://Www.italkero.com/