Big Omega in LaTeX (\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.
\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 Sains Komputer →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.
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