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 علوم الحاسوب →

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 poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf

يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي

  • أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
  • ارفع صورة وحولها إلى LaTeX بسلاسة
  • احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث