LatexNotes

Square root symbol (√)

√ is the square root sign, also called the radical sign. It asks which number, multiplied by itself, gives the number underneath: , because .

  • cube root
  • fourth root
Unicode
U+221A
HTML
√
Alt code
Alt 251
LaTeX
\sqrt{x}

What it means

The number under the sign is called the radicand. A small number tucked into the crook of the sign changes which root you take: is the cube root, since , and is the fourth root. With no small number, it is a square root.

Every positive number has two square roots, one positive and one negative: and both make 9. The √ sign means the positive one only, which is why solving gives , with the ± written in front.

You meet it in Pythagoras' theorem, , in the distance between two points, in the quadratic formula and in the standard deviation. On a calculator it is the key marked √ or √x.

How to type it

WindowsHold Alt and type 251 on the number pad
MacOption + V
WordType 221A, then press Alt + X
Google DocsInsert > Special characters, then search “square root”
iPhone and AndroidTap Copy above. To keep it to hand, add a text replacement: on iPhone in Settings > General > Keyboard > Text Replacement, on Android in Gboard’s settings under Dictionary > Personal dictionary
HTML√ or √

In LaTeX

\sqrt{x} produces a square root with a radical sign that stretches over its argument. An optional argument, \sqrt[n]{x}, sets the index for an nth root.

LaTeX command

\sqrt{x}

Not the symbol you meant? Draw it to find the command →

Typing up handwritten notes? Convert a whole page of handwriting to LaTeX →

Put the whole radicand in the braces so the bar covers it: \sqrt{x+1} spans x+1, whereas \sqrt x+1 only covers the x and leaves the +1 outside. The radical bar (vinculum) grows automatically to fit its contents, so \sqrt{x^2+y^2} and \sqrt{\frac{a}{b}} size themselves.

For an nth root use the optional argument in square brackets before the braces: \sqrt[3]{x} is a cube root and \sqrt[n]{x} the general case. This index sits in the crook of the radical sign.

A root can equally be written as a fractional exponent: \sqrt{x} equals x^{1/2}, and \sqrt[n]{x} equals x^{1/n}. Choose whichever reads more clearly in context. Very deeply nested roots can look cramped inline, so a displayed equation gives them room.

Other forms

\sqrt[3]{x}cube root / nth root

Examples

$\sqrt{2} \approx 1.414$

a square root

$\sqrt{x^2 + y^2}$

the bar stretches over the whole radicand

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

a cube root via the optional index

$\sqrt[n]{x} = x^{1/n}$

the nth root as a fractional power

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

the quadratic formula

Tips and common mistakes

Working from handwritten notes?

LatexNotes turns a photo or PDF of handwritten mathematics into LaTeX, graphs and all. It is built with real pdflatex before you see it, and the .tex file is yours to edit or take to Overleaf. Free to try, no sign-up.

See how handwriting to LaTeX works, step by step, or go from GoodNotes to LaTeX if you write on an iPad (Notability works the same way).

Convert your maths to LaTeX →

FAQ

What does 2√5 mean?

Two times the square root of 5. A number written in front of the sign multiplies the root: .

Why is there no line over the number when I type √?

The √ character is only the hook. The bar over the number, called the vinculum, comes from an equation editor: in Word press Alt + = and type \sqrt, and in LaTeX write \sqrt{x}.

What is the root sign with a small 3?

∛, the cube root. , because . In LaTeX it is \sqrt[3]{27}.

How do I write a square root in LaTeX?

Use \sqrt{x} in math mode, e.g. . Put the whole radicand in the braces so the bar covers it.

How do I write a cube root or nth root?

Use the optional index: \sqrt[3]{x} for a cube root and \sqrt[n]{x} for an nth root.

Why does my square root only cover the first symbol?

You omitted the braces. \sqrt x+1 renders as the root of x plus 1; write \sqrt{x+1} to place everything under the radical.

Can I write a root as a power instead?

Yes: \sqrt[n]{x} equals x^{1/n}, so is the same as . Use whichever reads more clearly.

See also