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.
Pinakamahusay na AI LaTeX Editor, Alternatibo sa Overleaf
Tinutulungan ng Octree ang mga researcher mula sa 15+ na unibersidad na sumulat ng research papers nang mas mabilis gamit ang AI
- Gumawa ng magagandang TikZ diagrams gamit ang AI
- Mag-upload ng larawan at i-convert ito sa LaTeX nang walang problema
- Makakuha ng instant na tulong sa pagsulat at pag-format ng research papers