Imaginary
IMAGINARY Function¶
The IMAGINARY function in Excel extracts the imaginary part of a complex number. This function is particularly useful
in managing and analyzing data involving complex numbers in mathematical, engineering, or technical contexts.
Key Features of IMAGINARY:¶
- Extracts the imaginary part of a complex number, which is the coefficient of the imaginary unit
iorj. - Works with complex numbers in the format
a+bi,a-bi,a+bj, ora-bj, whereiorjrepresents the imaginary unit. - Useful for analyzing and decomposing complex numbers into their real and imaginary components.
Syntax:¶
- inumber: The complex number from which you want to extract the imaginary part. It should be in the form of a text
string (e.g.,
"3+4i"), or a reference pointing to a cell containing a complex number.
Examples:¶
-
Extract Imaginary Part of a Complex Number:
=IMAGINARY("3+4i")
For the complex number3+4i, the imaginary part is:
Result:4 -
Use a Reference to a Complex Number:
If cellA1contains"5-12i", then:
=IMAGINARY(A1)
Extracts the imaginary part of5-12i.
Result:-12 -
Imaginary Part of a Purely Imaginary Number:
=IMAGINARY("0+6i")
For a purely imaginary number, the result is the magnitude of the imaginary part:
Result:6 -
Imaginary Part of a Real Number:
=IMAGINARY("7")
For a purely real number, the imaginary part is0, as no imaginary component exists.
Result:0
Notes:¶
- The function returns only the imaginary part of a complex number and ignores the real part.
- If inumber is not recognized as a valid complex number, the function will return a
#NUM!error. - You can generate complex numbers using the
COMPLEXfunction:
=COMPLEX(real_num, imaginary_num)
For example,=COMPLEX(3, 4)returns"3+4i".
Applications:¶
- Signal Processing: Analyze signals where the imaginary part represents phase or amplitude information.
- Electrical Engineering: Decompose impedances or voltages into their real and imaginary components.
- Mathematics: Work with datasets involving complex numbers by separating their components for further calculations.
Related Functions:¶
- IMREAL: Returns the real part of a complex number.
Example:=IMREAL("3+4i")→3 - IMABS: Calculates the absolute value (modulus) of a complex number.
Example:=IMABS("3+4i")→5 - IMSUM: Adds two or more complex numbers.
Example:=IMSUM("3+4i", "1-2i")→4+2i - IMPRODUCT: Multiplies two or more complex numbers.
Example:=IMPRODUCT("3+4i", "1-2i")→11-2i
Summary:¶
The IMAGINARY function is an essential tool for working with complex numbers in Excel, allowing users to isolate and
analyze the imaginary component of complex datasets effectively.