## Math-Linux.com

Knowledge base dedicated to Linux and applied mathematics.

Home > Latex > FAQ > Latex - FAQ > Latex real part symbol

# Latex real part symbol

How to write Latex real part symbol of a complex number? The real number a is called the real part of the complex number a + ib.

Let $a,b\in \mathbb{R}$ and $z=a+ib \in \mathbb{C}$.

Real part and imaginary part are defined like follows:

$$\begin{array}{ccc} a & + & i & b\\ \uparrow & & &\uparrow \\ \Re (z) & & &\Im (z) \\ \text { Real part } & && \text { Imaginary part } \end{array}$$

## Default Latex real part symbol

You can use \Re function:


$$\Re (z)= \Re(a+ib)=a$$



$$\Re (z)= \Re(a+ib) = a$$

## Latex real part symbol using amsmath and operatorname

You can use \operatorname function:


\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\begin{document}

$$\operatorname{Re}(z)= \operatorname{Re}(a+ib)=a$$

\end{document}



$$\operatorname{Re}(z)= \operatorname{Re}(a+ib)=a$$

## Latex real part symbol using amsfonts and mathfrak

You can use \mathfrak function:


\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsfonts}
\begin{document}

$$\mathfrak{Re}(z)= \mathfrak{Re}(a+ib)=a$$

\end{document}



$$\mathfrak{Re}(z)= \mathfrak{Re}(a+ib)=a$$

## How to write Latex imaginary part symbol

How to write Latex imaginary part symbol