\real

The \real command in LaTeX is used to denote the real part of a complex number. It is typically used in mathematical expressions to extract or represent the real component of a complex number.

Examples

Extracts the real part of the complex number z.

\real(z)

Represents the real part of the complex number 3 + 4i, which is 3.

\real(3 + 4i) = 3

General representation of the real part of a complex number z = x + yi.

If z = x + yi, then \real(z) = x