Fundamental Group in LaTeX (\pi_1)
- LaTeX command
\pi_1- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
Where it is used
Fundamental group of a space: homotopy classes of loops at a base point, with concatenation as product.
The standard computation \pi_1(S^1) \cong \mathbb{Z} counts how often a loop winds around the circle, and a space with trivial \pi_1 is called simply connected. Write the base point explicitly, \pi_1(X, x_0), when it matters; for path-connected spaces it is often dropped. Higher homotopy groups follow the same pattern, \pi_n(X). Use \cong for isomorphism rather than =. If \pi also denotes the number or a projection in the same document, consider whether readers might confuse them.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\usepackage{amssymb}
\begin{document}
Fundamental Group: $\pi_1$
\[ \pi_1(S^1, x_0) \cong \mathbb{Z} \]
\end{document}Related symbols
All Topologi & Matematik Abstrak →Frequently asked questions
- How do I write Fundamental Group in LaTeX?
- Type \pi_1 in math mode, for example $\pi_1(S^1, x_0) \cong \mathbb{Z}$. It works in plain LaTeX without loading any package.
- Which package do I need for \pi_1?
- None. \pi_1 is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use \pi_1 in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\pi_1$ in running text.
Editor LaTeX AI Terbaik, Alternatif Overleaf
Octree membantu penyelidik dari 15+ universiti menulis kertas penyelidikan dengan lebih cepat menggunakan AI
- Jana diagram TikZ yang cantik menggunakan AI
- Muat naik imej dan tukar ke LaTeX dengan lancar
- Dapatkan bantuan segera untuk menulis dan memformat kertas penyelidikan