Square root in LaTeX
A square root is \sqrt{expression}. The degree goes in square brackets before the argument, for example \sqrt[3]{x}. The root bar stretches automatically to the length of the expression underneath it.
Square root
\sqrt{2}Cube root
\sqrt[3]{27} = 3Long expression
\sqrt{b^2 - 4ac}Common mistakes
- Degree in braces: \sqrt{3}{x} gives the root of 3 followed by a separate x. The degree goes in [ ].
- Writing x^(1/2) with round brackets, which LaTeX treats as plain exponent text.
See also
Don't want to memorize commands?
Draw a formula or paste a screenshot, and CamteX turns it into ready LaTeX.