Imaginary Function imaginary( <Complex Number> ) Returns the imaginary part of a given complex number. imaginary(17 + 3 ί) yields 3. The complex ί is obtained by pressing ALT + i. See also real Function.