Fundamental Group in LaTeX (\pi_1)

π1\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.

π1(S1,x0)≅Z\pi_1(S^1, x_0) \cong \mathbb{Z}
\documentclass{article}
\usepackage{amssymb}
\begin{document}
Fundamental Group: $\pi_1$

\[ \pi_1(S^1, x_0) \cong \mathbb{Z} \]
\end{document}

Related symbols

All Topology at Abstract Math →

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.
Math poweredSumulat ng LaTeX gamit ang AI

Pinakamahusay na AI LaTeX Editor, Alternatibo sa Overleaf

Tinutulungan ng Octree ang mga researcher mula sa 15+ na unibersidad na sumulat ng research papers nang mas mabilis gamit ang AI

  • Gumawa ng magagandang TikZ diagrams gamit ang AI
  • Mag-upload ng larawan at i-convert ito sa LaTeX nang walang problema
  • Makakuha ng instant na tulong sa pagsulat at pag-format ng research papers