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 複素数 →

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 poweredAIでLaTeXを書く

最高のAI LaTeXエディタ、Overleaf代替

Octreeは15以上の大学の研究者がAIを使って論文をより速く書くのを支援

  • AIで美しいTikZダイアグラムを生成
  • 画像をアップロードしてシームレスにLaTeXに変換
  • 論文の執筆とフォーマットに即座にサポートを取得