# LaTeX Square Roots

LaTeX square roots are done with the command

\sqrt

The syntax is

\sqrt{x}

which produces the square root of x, like so:

$\sqrt{x}$

# n Roots

You can use the same \sqrt command to make roots other than square. The syntax

\sqrt[n]{x}

produces

$\sqrt[n]{x}$

Be sure to put in square brackets instead of curly. Square brackets are used for optional arguments to LaTeX commands.

# Examples of Use

\Huge\sqrt[3]{27}=3

produces

$\Huge\sqrt[3]{27}=3$

\LARGE\sqrt[\frac{1}{2}]{4}

produces

$\LARGE\sqrt[\frac{1}{2}]{4}$

x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}

$x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}$

You can even square root your square roots.

\ldots\sqrt{\sqrt{\sqrt{\ldots}}}=x

$\ldots\sqrt{\sqrt{\sqrt{\ldots}}}=x$

✔︎Bonus points (meaningless, imaginary points): Is this infinite series of square roots solvable for x, even if you can’t see the term until you reach infinity? I think so.

I believe almost any valid LaTeX string can go in the root argument, even another \sqrt, but not another root:

\Huge\sqrt[\sqrt{x}]{x}

$\Huge\sqrt[\sqrt{x}]{x}$

But this

\Huge\sqrt[\sqrt[n]{x}]{x}

produces an error for me in mathtex:

$\Huge\sqrt[\sqrt[n]{x}]{x}$

### Offsite Resources:

Tagged , , , . Bookmark the permalink.