|
SOLUTIONS
|
BUILT-IN MATHEMATICA 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
. - 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]= |
Sqrt threads element-wise over lists:
| 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]= |
| In[1]:= |
| Out[1]= |
New in 1 | Last modified in 3
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »

