Complex Conjugate in LaTeX (\bar{z})
- LaTeX command
\bar{z}- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
Where it is used
Complex conjugate of z, reflecting it across the real axis: the conjugate of a + bi is a − bi.
Mathematicians write \bar{z}, and identities like z\bar{z} = |z|^2 make it central to dividing complex numbers. \bar is a fixed-width accent meant for one character; for a conjugated expression use \overline{z + w}, which stretches across the whole argument and makes \overline{z + w} = \bar{z} + \bar{w} legible. Physicists more often write z^* and reserve the bar for other purposes, such as Dirac adjoints \bar{\psi}. In Wirtinger calculus \partial / \partial \bar{z} treats \bar{z} as an independent variable.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Complex Conjugate: $\bar{z}$
\[ z \bar{z} = |z|^2, \quad \frac{1}{z} = \frac{\bar{z}}{|z|^2} \]
\end{document}Related symbols
- Complex Conjugate (Star)
z^* - Imaginary Part
\Im(z) - Modulus
|z| - Real Part
\Re(z) - Argument
\arg(z) - Complex Number
z = a + bi
Frequently asked questions
- How do I write Complex Conjugate in LaTeX?
- Type \bar{z} in math mode, for example $z \bar{z} = |z|^2, \quad \frac{1}{z} = \frac{\bar{z}}{|z|^2}$. It works in plain LaTeX without loading any package.
- Which package do I need for \bar{z}?
- None. \bar{z} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use \bar{z} in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\bar{z}$ in running text.
أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf
يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي
- أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
- ارفع صورة وحولها إلى LaTeX بسلاسة
- احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث