Big Omega in LaTeX (\Omega(n))

Ω(n)\Omega(n)
LaTeX command
\Omega(n)
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

Asymptotic lower bound: f(n) = Omega(n) means f grows at least as fast as a constant times n for large n.

Capital omega states lower bounds, most famously that any comparison-based sort needs \Omega(n \log n) comparisons in the worst case. It is typed with the upright Greek capital \Omega; amsmath also offers \varOmega for a slanted form, which some typographers prefer for variables but which looks odd as an operator. Note that analytic number theory uses Hardy and Littlewood's older meaning, where \Omega means the bound fails to be o(g), so check which definition a source follows. Pair it with O to bracket a running time, and switch to \Theta once both sides match.

Minimal compilable example

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

sorting by comparisons takes Ω(nlog⁡n) time\text{sorting by comparisons takes } \Omega(n \log n) \text{ time}
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Big Omega: $\Omega(n)$

\[ \text{sorting by comparisons takes } \Omega(n \log n) \text{ time} \]
\end{document}

Related symbols

All Informatica →

Frequently asked questions

How do I write Big Omega in LaTeX?
Type \Omega(n) in math mode, for example $\text{sorting by comparisons takes } \Omega(n \log n) \text{ time}$. It works in plain LaTeX without loading any package.
Which package do I need for \Omega(n)?
None. \Omega(n) is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \Omega(n) in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\Omega(n)$ 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