Imaginary Part in LaTeX (\Im(z))

ℑ(z)\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.

ℑ(z)=z−zˉ2i\Im(z) = \frac{z - \bar{z}}{2i}
\documentclass{article}
\begin{document}
Imaginary Part: $\Im(z)$

\[ \Im(z) = \frac{z - \bar{z}}{2i} \]
\end{document}

Related symbols

All Complexe Getallen →

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 poweredSchrijf LaTeX met AI

Beste AI LaTeX Editor, Overleaf Alternatief

Octree helpt onderzoekers van 15+ universiteiten sneller onderzoeksartikelen schrijven met AI

  • Genereer mooie TikZ-diagrammen met AI
  • Upload afbeelding en converteer naadloos naar LaTeX
  • Krijg directe hulp bij het schrijven en opmaken van onderzoeksartikelen