o with circumflex in LaTeX (\hat{o})

o^\hat{o}
LaTeX command
\hat{o}
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

Places a circumflex hat over o, giving ô; in math the same \hat command marks estimators and unit vectors.

For French, Portuguese, or Vietnamese words such as hôtel or côte, use the text accent \^{o} or type ô directly; \hat works only in math mode. In mathematics \hat is everywhere: \hat{\theta} for an estimator, \hat{y} for a prediction, \hat{\mathbf{x}} for a unit vector, \hat{H} for a quantum operator, and \hat{f} for a Fourier transform. For accents over several characters use \widehat{AB}, which stretches. When placing a hat over i or j, use \hat{\imath} so the dot is removed.

Minimal compilable example

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

y^=Xβ^,f^(ξ)=∫f(x)e−2πixξ dx\hat{y} = X\hat{\beta}, \quad \hat{f}(\xi) = \int f(x)e^{-2\pi i x\xi}\,dx
\documentclass{article}
\begin{document}
o with circumflex: $\hat{o}$

\[ \hat{y} = X\hat{\beta}, \quad \hat{f}(\xi) = \int f(x)e^{-2\pi i x\xi}\,dx \]
\end{document}

Related symbols

All Mga Latin Letters →

Frequently asked questions

How do I write o with circumflex in LaTeX?
Type \hat{o} in math mode, for example $\hat{y} = X\hat{\beta}, \quad \hat{f}(\xi) = \int f(x)e^{-2\pi i x\xi}\,dx$. It works in plain LaTeX without loading any package.
Which package do I need for \hat{o}?
None. \hat{o} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \hat{o} in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\hat{o}$ in running text.
Math poweredSumulat ng LaTeX gamit ang AI

Pinakamahusay na AI LaTeX Editor, Alternatibo sa Overleaf

Tinutulungan ng Octree ang mga researcher mula sa 15+ na unibersidad na sumulat ng research papers nang mas mabilis gamit ang AI

  • Gumawa ng magagandang TikZ diagrams gamit ang AI
  • Mag-upload ng larawan at i-convert ito sa LaTeX nang walang problema
  • Makakuha ng instant na tulong sa pagsulat at pag-format ng research papers