# Imaginary part of a complex number (im)

Imaginary part of a complex number.

## How to write it

### im(z)

**z**

A number, possibly complex. Takes an expression.

## Examples

- $\displaystyle \Im(3+4 i) = 4$

  `im(3 + 4i)`

  In the solver, `im(3 + 4i)` gives `4`.

  [Open in the solver](https://hilberon.com/?q=im%283%20%2B%204i%29)

## Related functions

- [lcm](https://hilberon.com/library/lcm)

  Least common multiple of whole numbers.
- [gcd](https://hilberon.com/library/gcd)

  Greatest common divisor of whole numbers.
- [log](https://hilberon.com/library/log)

  Logarithm: natural with ln, or to any base with log.
- [frac](https://hilberon.com/library/frac)

  Fractional part of a number.
- [log10](https://hilberon.com/library/log10)

  Logarithm to base 10.
- [floor](https://hilberon.com/library/floor)

  Greatest whole number not above a number.

---
Source: https://hilberon.com/library/im
