Imaginary Part in LaTeX (\Im(z))
- LaTeX command
\Im(z)- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
Where it is used
Imaginary part of z, the real coefficient b in z = a + bi (not the term bi itself).
A frequent student error is thinking \Im(3 + 4i) = 4i; it is 4, a real number. The symbol is a Fraktur I, and like \Re it can look obscure, so \operatorname{Im}(z) is a popular, more legible alternative. Beware that Im also abbreviates the image of a map in algebra; if both meanings appear, write \operatorname{im} f for the image to avoid clashes. Useful facts include \Im z = (z - \bar{z})/(2i) and that the upper half-plane is the set where \Im z > 0.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Imaginary Part: $\Im(z)$
\[ \Im(z) = \frac{z - \bar{z}}{2i} \]
\end{document}Related symbols
- Complex Conjugate
\bar{z} - Real Part
\Re(z) - Complex Conjugate (Star)
z^* - Complex Number
z = a + bi - Modulus
|z| - Imaginary Unit (Engineering)
j
Frequently asked questions
- How do I write Imaginary Part in LaTeX?
- Type \Im(z) in math mode, for example $\Im(z) = \frac{z - \bar{z}}{2i}$. It works in plain LaTeX without loading any package.
- Which package do I need for \Im(z)?
- None. \Im(z) is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use \Im(z) in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\Im(z)$ in running text.
Math poweredاكتب LaTeX باستخدام الذكاء الاصطناعي
أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf
يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي
- أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
- ارفع صورة وحولها إلى LaTeX بسلاسة
- احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث