Little omega in LaTeX (\omega(n))
- LaTeX command
\omega(n)- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
Where it is used
Strict asymptotic lower bound: f(n) = omega(n) means f(n)/n grows without bound.
Little omega is the mirror image of little o: f = \omega(g) exactly when g = o(f), so n^2 = \omega(n) and n \log n = \omega(n). It appears less often than \Omega, mainly in lower-bound proofs and randomized algorithms where a quantity must grow strictly faster than linear. Use the lowercase Greek \omega, not the Latin w, which looks similar in some fonts. Be aware the same symbol is overloaded: in graph theory \omega(G) is the clique number and in number theory \omega(n) counts distinct prime factors, so define your usage when context is mixed.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Little omega: $\omega(n)$
\[ n \log n = \omega(n) \]
\end{document}Related symbols
All コンピュータサイエンス →Frequently asked questions
- How do I write Little omega in LaTeX?
- Type \omega(n) in math mode, for example $n \log n = \omega(n)$. 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.