Get the imaginary component of a complex number
The function \(Im\) returns the imaginary component of a complex number. For a complex number \(a + bi \), \(Im \) returns the value of \(b \) as a real number.
The imaginary part of the complex number \(2 - 5i\) is thus \(-5\). We also writes \(Im (2 - 5i) = -5\).
Im (xi)
Im(12+2i)= 2