LaTeX Square Root () - 完整指南

The square root symbol (√) represents the square root function in mathematics.

Symbol Preview

Square Root

LaTeX Code

No package required

Recommended
\sqrt{x}

Square root of x

No package required

\sqrt[n]{x}

nth root of x

LaTeX Square Root 是什么?

The square root symbol (√) is used to denote the principal square root. The \sqrt command in LaTeX can also be used for nth roots using the optional parameter.

如何在 LaTeX 中使用 Square Root

方法 1:使用 \sqrt{x}

无需额外包

Square root of x

示例:使用 \sqrt{x}

latex
\documentclass{article}

\begin{document}

% Using the Square Root
Text with \sqrt{x}

\end{document}

方法 2:使用 \sqrt[n]{x}

无需额外包

nth root of x

示例:使用 \sqrt[n]{x}

latex
\documentclass{article}

\begin{document}

% Using the Square Root
Text with \sqrt[n]{x}

\end{document}

常见用途

Square Root 符号通常用于以下情况:

Square Root

Basic square root.

Code

$\sqrt{9} = 3$

Output

√9 = 3

Nth Root

Root of any degree.

Code

$\sqrt[3]{8} = 2$

Output

∛8 = 2

完整示例

Quadratic Formula with Roots

Square root in formulas

latex
\documentclass{article}
\begin{document}

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

The square root in the numerator:
$$\sqrt{b^2 - 4ac}$$

\end{document}

常见问题

我应该使用哪种方法?

我们建议使用上面标记为"推荐"的方法。但是,最佳方法取决于您的具体需求:

  • \sqrt{x}: Square root of x
  • \sqrt[n]{x}: nth root of x

我在哪里使用这个符号?

该符号可以用于:

  • 在数学方程式中(数学模式)
  • 在常规文本中(如果使用文本模式)
  • 在各种文档环境中

我可以在显示模式中使用这个吗?

是的,在数学模式($ $)中工作的符号也适用于显示模式($$ $$)。这允许您在自己的行上显示符号,具有更大的格式。

🔗 Related Symbols You May Need

View all symbols →

🎯 Need to Convert PDF to LaTeX?

Our free PDF to LaTeX converter preserves all mathematical symbols and formatting.

Fast & accurate

Preserves symbols

Free online

No registration

Try Converter Now →