Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.
BUILT-IN WOLFRAM LANGUAGE SYMBOL

Sqrt

Sqrt[z]
or gives the square root of z.

DetailsDetails

• Mathematical function, suitable for both symbolic and numerical manipulation.
• can be entered using Ctrl+2 z or (@z).
• Sqrt[z] is converted to .
• Sqrt[z^2] is not automatically converted to z.
• Sqrt[a b] is not automatically converted to Sqrt[a]Sqrt[b].
• These conversions can be done using PowerExpand, but will typically be correct only for positive real arguments.
• For certain special arguments, Sqrt automatically evaluates to exact values.
• Sqrt can be evaluated to arbitrary numerical precision.
• Sqrt automatically threads over lists.
• In StandardForm, Sqrt[z] is printed as .
• z can also be used for input. The character is entered as EscsqrtEsc or \[Sqrt].

ExamplesExamplesopen allclose all

Basic Examples  (7)Basic Examples  (7)

 In[1]:=
 Out[1]=

Evaluate numerically to any precision:

 In[1]:=
 Out[1]=

Negative numbers have imaginary square roots:

 In[1]:=
 Out[1]=

 In[1]:=
 Out[1]=
 In[1]:=
 Out[1]=

is not automatically replaced by :

 In[1]:=
 Out[1]=

It can be simplified to if one assumes :

 In[2]:=
 Out[2]=

Enter using Ctrl+2:

 In[1]:=
 Out[1]=