Contour Integral in LaTeX (\oint)

∮\oint
LaTeX command
\oint
Package
No package needed: built into LaTeX
Mode
Math mode only
Copy the Unicode character
∮U+222E

Where it is used

Integral sign with a small circle, marking integration around a closed curve.

Complex analysis relies on it heavily: Cauchy's integral theorem says \oint_\gamma f(z)\,dz = 0 for holomorphic f, and the residue theorem evaluates such integrals as 2\pi i times a sum of residues. In physics it appears in circulation and in Ampere's and Faraday's laws, for example \oint_C \mathbf{B}\cdot d\boldsymbol{\ell}. Name the contour in the subscript; \oint_{\partial S} signals the boundary of a surface. A closed surface integral with a circle over two signs is not part of the standard command set, so many authors simply write \iint_{\partial V} and say the surface is closed.

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

∮γdzz=2πi\oint_{\gamma} \frac{dz}{z} = 2\pi i
\documentclass{article}
\begin{document}
Contour Integral: $\oint$

\[ \oint_{\gamma} \frac{dz}{z} = 2\pi i \]
\end{document}

Related symbols

All 미적분 →

Frequently asked questions

How do I write Contour Integral in LaTeX?
Type \oint in math mode, for example $\oint_{\gamma} \frac{dz}{z} = 2\pi i$. It works in plain LaTeX without loading any package.
Which package do I need for \oint?
None. \oint is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \oint in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\oint$ in running text. If you only need the glyph in text, paste the Unicode character ∮ instead (with XeLaTeX or LuaLaTeX and a font that has it).
Math poweredAI로 LaTeX 작성

최고의 AI LaTeX 편집기, Overleaf 대안

Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움

  • AI로 아름다운 TikZ 다이어그램 생성
  • 이미지를 업로드하고 LaTeX로 원활하게 변환
  • 논문 작성 및 서식에 대한 즉각적인 지원 받기