The IMCONJUGATE function in Google Sheets returns the complex conjugate of a complex number. Its syntax is IMCONJUGATE(number), where number is a complex number in the form a+bi or a+bj. For example, =IMCONJUGATE("3+4i") returns 3-4i.
What Is a Complex Conjugate?
A complex number has two parts: a real part and an imaginary part, written as a + bi, where i is the imaginary unit (√-1). The complex conjugate of a + bi is a - bi—you simply flip the sign of the imaginary part. The real part stays the same.
Conjugates are useful in mathematics and engineering because multiplying a complex number by its conjugate gives a real number: (a+bi)(a-bi) = a² + b². This is often used to simplify fractions with complex denominators.
IMCONJUGATE Syntax and Arguments
The function takes exactly one argument:
number– the complex number you want to conjugate. It can be a text string like"2-5i", a reference to a cell containing a complex number, or a formula that returns a complex number.
Google Sheets expects the imaginary part to use either i or j (common in electrical engineering). Both are accepted by IMCONJUGATE. The function returns the conjugate as a text string in the same format, using i by default.
How to Use IMCONJUGATE in Google Sheets
Using the function is straightforward:
- Click a cell where you want the result.
- Type
=IMCONJUGATE(. - Enter a complex number as a string (e.g.,
"4+3i") or click a cell that contains one. - Press Enter.
Example: If cell A1 contains 6-2i, then =IMCONJUGATE(A1) returns 6+2i.
You can also combine it with other engineering functions. For instance, to find the product of a complex number and its conjugate, you could use =IMPRODUCT(A1, IMCONJUGATE(A1)), which yields a real number.
Common Errors and How to Fix Them
If you get an error, it’s usually one of these:
- #VALUE! – The argument is not a valid complex number. Check for missing
iorj, or extra spaces. For example,"3+4"is invalid because there’s no imaginary part. - #N/A – The cell reference is empty or doesn’t contain a complex number.
- #NAME? – You might have mistyped the function name. Ensure it’s
IMCONJUGATE.
Also, note that IMCONJUGATE only accepts one number. If you pass a range, it will return an error. Use ARRAYFORMULA if you need to apply it to multiple cells, e.g., =ARRAYFORMULA(IMCONJUGATE(A1:A5)).
IMCONJUGATE vs. Other Complex Functions
Google Sheets has a set of engineering functions for complex numbers. IMCONJUGATE is one of them, alongside:
IMREAL– extracts the real part.IMAGINARY– extracts the imaginary part.IMSUM– adds complex numbers.IMPRODUCT– multiplies complex numbers.IMDIV– divides complex numbers.
While IMCONJUGATE flips the sign of the imaginary part, IMABS returns the magnitude (absolute value), and IMARGUMENT returns the angle. These are all independent functions; you might combine them in formulas to analyze AC circuits or signal processing data.
Real-World Use Cases
Conjugates appear in many fields:
- Electrical engineering: When calculating impedance, power, or signal phase, conjugates help separate real power from reactive power.
- Physics: In quantum mechanics, wave functions are often complex; their conjugates are used to compute probabilities.
- Mathematics: Simplifying expressions with complex denominators, solving polynomial equations, and proving properties of complex numbers.
For example, to rationalize 1/(2+3i), you multiply numerator and denominator by the conjugate 2-3i. In Sheets, you could compute the denominator as =IMPRODUCT("2+3i", IMCONJUGATE("2+3i")), which returns 13.
Frequently Asked Questions
Can I use IMCONJUGATE with a cell that contains a number without an imaginary part?
Yes. A real number like 5 is a valid complex number with zero imaginary part. =IMCONJUGATE("5") returns 5 (the conjugate of a real number is itself).
Does IMCONJUGATE work with uppercase I or J?
Yes, both I and J are accepted. The function is case-insensitive for the imaginary unit. However, the result will always use lowercase i.
What happens if I enter a number like “3+4i” without quotes?
In Google Sheets, if you type =IMCONJUGATE(3+4i), Sheets will treat i as a named range or variable, causing a #NAME? error. Always enclose the complex number in double quotes or reference a cell containing the text.
Can I use IMCONJUGATE in Excel?
Yes, Excel has an identical function with the same syntax. The behavior is the same in both applications, though Excel may require the Analysis ToolPak add-in in older versions; modern Excel 365 includes it by default.
Is there a way to get the conjugate of a complex number in polar form?
IMCONJUGATE expects rectangular form (a+bi). If you have polar form (magnitude and angle), convert to rectangular using =COMPLEX(r*COS(θ), r*SIN(θ)), then apply IMCONJUGATE. Alternatively, you can manually flip the angle sign.
Why does my formula return a number like “3-4i” instead of a numeric value?
Because complex numbers are represented as text in Sheets. To perform arithmetic on the result, use other complex functions like IMSUM or IMPRODUCT. If you need the real or imaginary parts separately, use IMREAL and IMAGINARY.
Related
- What Is a Data Entry Job? Duties, Pay, and Skills
- Random 9 Digit Number: How to Generate One
- Handyman Checklist Template Excel: Free & Customizable
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- How to Delete a Page in the Middle of a Word DocumentTo delete a page in the middle of a Word document, place the cursor on that page, select…
- Google Sheets Shared With Me: Full GuideGoogle Sheets files shared with you appear in a special “Shared with me” section in Google Drive, not…
- Google Finance Codes for Sheets: Tickers and ExamplesIn Google Sheets, “Google Finance codes” usually means the ticker symbol and, when needed, its exchange prefix used…
- Excel Conditional Formatting for Cells Containing TextYes. In Microsoft Excel for Microsoft 365 on Windows, select the cells, then choose Home > Conditional Formatting…
- Clear Cache and Cookies in Outlook: Step-by-StepTo clear Outlook cookies, remove the site data for Outlook in the browser you use. To refresh cached…
- Out of Office in Outlook on the Web: Automatic RepliesTo set an out-of-office message in Outlook on the web, open Settings, find Automatic replies, turn them on,…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.