Real Part in LaTeX (\Re(z))
- LaTeX command
\Re(z)- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
Where it is used
Real part of the complex number z: for z = a + bi it returns the real number a.
The built-in \Re prints a Fraktur capital R, the traditional real-part symbol, but many modern authors find it hard to read and write \operatorname{Re}(z) instead, which renders upright 'Re' with operator spacing. Either way, \Re is just a symbol, not an operator, so TeX adds no space before the argument; use parentheses or a thin space. A useful identity is \Re z = (z + \bar{z})/2. In signal processing, \Re\{\cdot\} with braces is common for extracting the physical signal from a phasor.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Real Part: $\Re(z)$
\[ \Re(z) = \frac{z + \bar{z}}{2} \]
\end{document}Related symbols
- Imaginary Part
\Im(z) - Complex Number
z = a + bi - Complex Conjugate
\bar{z} - Imaginary Unit (Engineering)
j - Complex Conjugate (Star)
z^* - Imaginary Unit
i
Frequently asked questions
- How do I write Real Part in LaTeX?
- Type \Re(z) in math mode, for example $\Re(z) = \frac{z + \bar{z}}{2}$. It works in plain LaTeX without loading any package.
- Which package do I need for \Re(z)?
- None. \Re(z) is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use \Re(z) in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\Re(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