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 Topologie & Abstracte Wiskunde →

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 poweredSchrijf LaTeX met AI

Beste AI LaTeX Editor, Overleaf Alternatief

Octree helpt onderzoekers van 15+ universiteiten sneller onderzoeksartikelen schrijven met AI

  • Genereer mooie TikZ-diagrammen met AI
  • Upload afbeelding en converteer naadloos naar LaTeX
  • Krijg directe hulp bij het schrijven en opmaken van onderzoeksartikelen