03 · UNDERSTAND THE METHOD
How the complex number arithmetic calculator works
A complex number combines a real component and an imaginary component. The imaginary unit i satisfies i² = −1, which changes the multiplication rule compared with treating the two components as an ordinary list. This calculator performs addition, subtraction, multiplication, or division on two complex numbers. Separate numeric fields keep each signed coefficient clear and avoid ambiguity when typing expressions containing parentheses or repeated plus signs.
The formula and its variables
- a and b
- Real part and imaginary coefficient of the first number.
- c and d
- Real part and imaginary coefficient of the second number.
The calculation, step by step
- Enter the real and imaginary coefficients for both numbers, including negative signs. A purely real number has an imaginary coefficient of zero.
- Select the desired operation. Addition and subtraction combine matching components; multiplication expands the product and replaces i² with −1.
- For division, multiply by the divisor’s conjugate and divide both components by its squared modulus. Read the signed result and its component comparison together.
A worked example
The default product is (2 + 3i)(1 − 2i). Expanding gives 2 − 4i + 3i − 6i². Replacing i² with −1 produces 8 − i. The visual therefore shows a real component of eight and an imaginary coefficient of negative one. Adding the same inputs would instead give 3 + i.
| First real part | 2 |
|---|---|
| First imaginary part | 3 |
| Second real part | 1 |
| Second imaginary part | -2 |
| Operation | Multiply |
| Complex result | 8 − 1i |
How to read the result and visual
The result is one complex number, not two unrelated answers. Its real and imaginary coefficients locate it on the complex plane. A negative imaginary coefficient indicates the lower half of that plane. Multiplication may mix contributions from both original components, so multiplying only real parts and only imaginary parts would give an incorrect answer.
Assumptions, rounding, and limitations
Division by 0 + 0i is undefined and is rejected. Results use finite numeric precision, and small nonzero coefficients remain visible in scientific notation. This calculator does not parse symbolic complex expressions or preserve exact rational coefficients. Enter compatible units if the complex values describe a physical application.
Frequently asked questions
Does i mean a variable I can choose?
No. It denotes the imaginary unit whose square is −1. The fields enter its numeric coefficient.
Why is division possible for a purely imaginary number?
Any nonzero complex divisor has a positive squared modulus, so the conjugate formula works.