LaTeX Pi (π) - 完整指南

The Greek letter pi (π/Π) is one of the most important mathematical constants, representing the ratio of a circle's circumference to its diameter.

Symbol Preview

π

Pi

LaTeX Code

No package required

Recommended
\pi

Lowercase pi (approximately 3.14159)

No package required

Recommended
\Pi

Uppercase pi (product notation)

LaTeX Pi 是什么?

Pi is the sixteenth letter of the Greek alphabet and also the name of the mathematical constant approximately equal to 3.14159. Lowercase π is used for the constant, while uppercase Π represents the product notation (similar to Σ for summation). Pi appears in countless mathematical and physical formulas.

如何在 LaTeX 中使用 Pi

方法 1:使用 \pi

无需额外包

Lowercase pi (approximately 3.14159)

示例:使用 \pi

latex
\documentclass{article}

\begin{document}

% Using the Pi
Text with \pi

\end{document}

方法 2:使用 \Pi

无需额外包

Uppercase pi (product notation)

示例:使用 \Pi

latex
\documentclass{article}

\begin{document}

% Using the Pi
Text with \Pi

\end{document}

常见用途

Pi 符号通常用于以下情况:

Circle Properties

Used for circumference and area of circles.

Code

Circumference: $C = 2\pi r$, Area: $A = \pi r^2$

Output

Circumference: C = 2πr, Area: A = πr²

Trigonometric Functions

Used in radian measure for angles.

Code

Full rotation: $2\pi$ radians = $360°$

Output

Full rotation: 2π radians = 360°

Mathematical Constant

Used as the numerical constant.

Code

The value of $\pi \approx 3.14159$

Output

The value of π ≈ 3.14159

Product Notation

Uppercase pi for products.

Code

Product notation: $\Pi_{i=1}^{n} a_i$

Output

Product notation: Π(i=1 to n) a_i

完整示例

Circle Formulas

Basic circle formulas using pi

latex
\documentclass{article}
\begin{document}

The area of a circle with radius $r$ is $A = \pi r^2$.

The circumference is $C = 2\pi r$.

\end{document}

Product Notation

Using uppercase pi for products

latex
\documentclass{article}
\begin{document}

The product notation: $\Pi_{i=1}^{n} (1 + x_i)$

\end{document}

常见问题

我应该使用哪种方法?

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

  • \pi: Lowercase pi (approximately 3.14159)
  • \Pi: Uppercase pi (product notation)

我在哪里使用这个符号?

该符号可以用于:

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

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

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

🔗 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 →