\sqrt takes the radicand as one argument and an optional index in square brackets. How far the horizontal bar extends is decided by what sits inside the braces, not by the line above it — so most complaints about radicals are really bracing mistakes. Roots and fractions interact closely: Fractions covers the sizing, and Brackets covers the parentheses that usually surround the result.
Which one to use
\sqrt{x}\sqrt[3]{x}, \sqrt[n]{x}\sqrt{x^2+y^2}\sqrt{\frac{a}{b}}\sqrt{1+\sqrt{x}}x^{1/2}The commands
\sqrt{2}
\sqrt{b^2-4ac}
\sqrt[3]{x}
\sqrt[n]{a_n}
\sqrt{\frac{x}{y}}
x^{1/2} = \sqrt{x}
\sqrt[4]{16}
\sqrt{x^2+y^2}
Worked examples
The quadratic formula
x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}
A radical inside a numerator — the single most pasted formula on this site.
Nested radical
\sqrt{1+\sqrt{2+\sqrt{3}}}
Legal, and it shrinks at every level. Two levels is usually the practical limit.
Root with an exponent
\sqrt[3]{x^2} = x^{2/3}
Same quantity; the fractional power is far more readable inline.
Common mistakes
\sqrt a + bwhen\sqrt{a+b}was meant. Without braces the radical covers onlya.- Nesting three or more radicals and getting illegibly small inner content. Break the expression apart instead.
- Writing
\sqrt{x}for a cube root because the index was forgotten. Visually identical to a square root except for the small number, so it is easy to miss. - Assuming
\sqrtcan take two arguments:\sqrt{3}{x}renders the{x}as ordinary text after the radical.
Questions about this notation
How do I write a cube root in LaTeX?
\sqrt[3]{x}. The index goes in square brackets before the braced radicand, and any n works the same way, so \sqrt[n]{x} is the general form.Why does my square root only cover part of the expression?
\sqrt{a+b} covers both terms; \sqrt a+b covers only a.Is x^{1/2} the same as \sqrt{x}?
\sqrt{x} forces the line taller.How do I write a cube root or an nth root in LaTeX?
\sqrt[3]{x}, \sqrt[n]{x}. It prints as a small raised digit on the left of the radical. Without brackets you get the square root. What is under the bar is whatever is inside the braces, so \sqrt{xy} covers both letters while \sqrt{x}y covers only one — the most common reason a root looks wrong.Keep reading
Three ways into the same idea: the notation itself, the lesson that teaches it, and an article that applies it.