Related Function:

The IMREAL function returns the real coefficient of a complex number in x + yi or x + yj text format.

Syntax

=IMREAL(inumber)

Arguments

Argument Description
inumber A complex number for which you want the imaginary coefficient. The inumber argument can be supplied to the IMREAL function as either:

  a simple number
  a complex number encased in quotation marks, e.g. “5+3i”
  a reference to a cell containing a complex number or a numeric value
  a value returned from another function or formula

Note: Use the COMPLEX function to convert real and imaginary coefficients into a complex number.

Examples

  A B C D
1 Data Formula Result Notes
2 6-9i =IMREAL(A2) 6 Real coefficient of 6-9i
3   =IMREAL(“6-9i”) 6  
4   =IMREAL(“3i”) 0  
5   =IMREAL(COMPLEX(4,1)) 4  

Common Function Error(s)

Problem What went wrong
#NUM! Occurs if the supplied inumber argument is not recognized as a complex number
#NAME? Occurs when Analysis ToolPak add-in is not enabled

Within the real number scale, there is no such thing as the square root of a negative number. However, within the world of complex numbers, the ‘imaginary’ value, i is used to represent the square root of -1.

Therefore, the square root of any negative number can be represented by the square root of the number’s modulus, multiplied by i.

For example:   

    \[  \sqrt{(-4)}\ =\ 2i \]

Complex Number is composed of a real number combined with an imaginary number, e.g. the complex number, z, is written as: z=5+2i