Complex Numbers: Real and Imaginary Parts
Complex numbers support the usual arithmetic operations, so they can be added, subtracted, multiplied, and divided.
Can Complex Numbers Be Used Like Ordinary Numbers?
Once you meet complex numbers, a natural question follows: are they just a special notation, or can you actually compute with them the way you compute with everyday numbers? The short answer is that complex numbers are full participants in arithmetic. The usual arithmetic operations are supported for them, and the most common mathematical functions are supported too. This article explains what that support means in practice, how each operation is carried out, and where learners usually go wrong.
What do you think happens?
Before reading on, try to predict the result of (2+3i)(1-5i). Which of these do you think it is?
Reveal answer
17 - 7i
Expanding gives 2 - 10i + 3i - 15i^2. Because i2 = -1, the last term becomes +15, so the total is 17 - 7i. Options that skip the i2 step or drop terms are the typical wrong answers, and the rest of this article shows how to avoid them.
Real and Imaginary Parts of a Complex Number
Every complex number has the form a + bi. The number a is the real part, the number b is the imaginary part, and i is the imaginary unit with the property i2 = -1.
The two-part structure is the key to everything that follows. A complex number is not treated as a single opaque quantity. Instead, its real part and its imaginary part are kept distinct, and each operation is carried out by working with those parts. Real parts are combined with real parts, and imaginary parts are combined with imaginary parts. Keeping this two-part view in mind makes every operation in this article easier to follow.
Because the form a + bi includes ordinary numbers as a special case, the usual operations can be extended to the full set of complex numbers. A number whose imaginary part is zero is simply a real number written in complex form, so the extension does not discard anything familiar. The source states that complex numbers support the usual arithmetic operations, which is the reason they can be added, subtracted, multiplied, and divided.
Adding and Subtracting by Parts
Addition and subtraction are the most direct operations. For two complex numbers a + bi and c + di, you combine the real parts together and the imaginary parts together. The sum is found by adding the real parts and adding the imaginary parts, giving a single complex number in the same form.
Subtraction works the same way, with the second number's parts subtracted from the first. No product of imaginary units appears in either operation, so the calculation stays at the level of ordinary subtraction applied to each part.
Subtracting two complex numbers
Compute (5+2i) - (3+7i).
- 1Identify the parts
For the first number, a = 5 and b = 2. For the second number, c = 3 and d = 7.
- 2Subtract the real parts
a - c = 5 - 3 = 2.
- 3Subtract the imaginary parts
b - d = 2 - 7 = -5.
- 4Assemble the result
Combine the two parts into the form real + imaginary i.
2 - 5i
Multiplying With i Squared
Multiplication cannot be done one part at a time, because each part of the first number interacts with each part of the second. The method is to expand the product fully, as you would with brackets in algebra, and then replace i2 with -1. The standard result has a real part and an imaginary part.
Multiplying two complex numbers
Compute (2+3i)(1-5i).
- 1Expand the product
2 times 1 gives 2, 2 times -5i gives -10i, 3i times 1 gives 3i, and 3i times -5i gives -15i^2.
- 2Collect the imaginary terms
-10i + 3i = -7i.
- 3Replace i2 with -1
-15i^2 = -15(-1) = 15. This is the sign-changing step.
- 4Combine the real parts
2 + 15 = 17, so the real part is 17 and the imaginary part is -7.
17 - 7i
Dividing Using the Conjugate
Division is handled by multiplying the top and bottom by the conjugate of the denominator. For a denominator c + di, the conjugate is c - di. This removes the imaginary unit from the denominator, leaving a real number there, so the result can be read off as a single real part and imaginary part.
The denominator simplifies because multiplying c + di by c - di produces c2 + d2 after the i2 = -1 replacement. The imaginary terms cancel in the denominator, which is why the result has no imaginary unit there. The numerator is then expanded in the same way as any product.
Dividing by a complex number
Compute (2+3i) / (1-5i).
- 1Find the conjugate
The denominator is 1 - 5i, so its conjugate is 1 + 5i.
- 2Multiply top and bottom
The numerator becomes (2+3i)(1+5i) and the denominator becomes (1-5i)(1+5i).
- 3Simplify the denominator
(1-5i)(1+5i) = 1 + 5i - 5i - 25i^2 = 1 + 25 = 26. The imaginary unit has left the denominator.
- 4Expand the numerator
(2+3i)(1+5i) = 2 + 10i + 3i + 15i^2 = 2 + 13i - 15 = -13 + 13i.
- 5Divide each part by 26
(-13 + 13i) / 26 = -13/26 + (13/26)i = -1/2 + (1/2)i.
-1/2 + (1/2)i
Functions That Accept Complex Inputs
Beyond the four arithmetic operations, the most common mathematical functions are also supported for complex numbers. This means that a complex value can be passed into a function, and the function's result is again interpreted as a complex quantity. The idea is the same as for arithmetic: the complex number is a legitimate input, not a special case that must be avoided.
The source introduces this support briefly and does not list the individual functions. The key point to take away is the general support rather than a particular catalogue of functions. When you meet a specific function, the question to ask is whether it accepts complex arguments and returns a complex result, and the general statement above tells you that the common functions do.
Mistakes When Computing With Complex Values
Most errors with complex numbers come from handling the parts incorrectly rather than from the operations themselves. The table below contrasts the correct handling of each step with the common error, so you can check your own work against it.
Common mistake Forgetting that i2 = -1 during multiplication
What it looks like(2+3i)(1-5i) computed as 2 - 7i + 3i^2 instead of the correct 17 - 7i
Why it failsThe term 3i times -5i produces -15i^2, which is a real number, not an imaginary one. Leaving it as i2 or dropping it changes the real part.
Do this insteadReplace every i^2 with -1 before collecting terms, and check the sign of the bd i^2 term.
Common mistake Treating i as an ordinary real number
Why it failsCombining i with real terms as if it were a plain number ignores the rule i2 = -1 and breaks the real-part and imaginary-part structure.
Do this insteadKeep the real parts and the imaginary parts separate, and only simplify i^2 using the rule i^2 = -1.
Common mistake Multiplying by the denominator instead of its conjugate when dividing
What it looks likeMultiplying (2+3i)/(1-5i) top and bottom by 1-5i
Why it failsThe denominator stays complex, so the imaginary unit is not removed from it.
Do this insteadMultiply top and bottom by the conjugate, 1+5i, so the denominator becomes the real number 26.
Common mistake Combining real and imaginary parts in one total
Why it failsAddition and subtraction work by combining real parts with real parts and imaginary parts with imaginary parts. Merging them into a single number loses the structure.
Do this insteadWrite the answer as one real number plus one imaginary part, such as 2 - 5i.
Practice Tracing the Parts
Compute (4+2i) + (1-6i), then compute (4+2i)(1-6i) by expanding and replacing i2 with -1. Write each answer in the form real part plus imaginary part i, and check the sign of the i2 term in the product.
Hints
- For the sum, add the real parts 4 and 1, then add the imaginary parts 2 and -6.
- For the product, the four terms are 4, -24i, 2i and -12i^2. Replace i2 with -1 in the last term before collecting.
Summary of Complex Arithmetic
- 1Complex numbers have the form a + bi, with real part a and imaginary part b, and support the usual arithmetic operations.
- 2Addition and subtraction combine real parts with real parts and imaginary parts with imaginary parts.
- 3Multiplication expands the product and uses i2 = -1, and division multiplies top and bottom by the conjugate of the denominator.
- 4Common mathematical functions are also supported for complex numbers, so a complex value can be passed into them and the result is again a complex quantity.
At a glance
- Complex numbers have the form a + bi, with real part a and imaginary part b, and they support the usual arithmetic operations.
- Addition and subtraction combine real parts with real parts and imaginary parts with imaginary parts.
- Multiplication expands the product and uses i2 = -1, while division multiplies top and bottom by the conjugate of the denominator.
- Common mathematical functions also accept complex inputs, and their results are again complex quantities.