 [Â HomeÂ ]

How to add,Â  subtract, multiply and divide complex numbers. This topic is part of the TCS FREE high school mathematics 'How-to Library', and shows you how to add,Â  subtract, multiply and divide complex numbers. (See the index page for a list of all available topics in the library.)Â To make best use of this topic, you need to download the Maths Helper Plus software. Click here for instructions. ### Theory:

This topic shows you how to add,Â  subtract, multiply and divide complex numbers.

If 'A' and 'B' are two complex numbers, so that:

A = a + biÂ Â Â Â Â  andÂ Â Â Â  B = c + di

Then we can sum A and B like this:

A + BÂ  =Â  a + biÂ  + c + di

Â Â Â Â Â Â Â Â Â Â  =Â  (a + c) + (b + d)i

For example, if A = 1 + 2i, and B = 3 - 4i, then:

Â Â Â Â Â Â Â Â Â Â Â Â  A + BÂ  =Â  (1 + 3) + (2 - 4)i

Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  =Â  4 - 2i

#### 2 Subtracting complex numbers

If 'A' and 'B' are two complex numbers, so that:

A = a + biÂ Â Â Â Â  andÂ Â Â Â  B = c + di

Then we can subtract B from A like this:

A - BÂ  =Â  a + biÂ  - ( c + di)

Â Â Â Â Â Â Â Â Â Â  =Â  (a - c) + (b - d)i

For example, if A = 1 + 2i, and B = 3 - 4i, then:

Â Â Â Â Â Â Â Â Â Â Â Â  A - BÂ  =Â  (1 - 3) + (2 - -4)i

Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  =Â  -2 + 6i

#### 3 Multiplying complex numbers

If 'A' and 'B' are two complex numbers, so that:

A = a + biÂ Â Â Â Â  andÂ Â Â Â  B = c + di

Then we can multiply A and B like this:

A × BÂ  =Â  ( a + bi ) × ( c + di )

Â Â Â Â Â Â Â Â Â Â  =Â  a × cÂ  +Â  a ×diÂ Â  +Â Â  bi × cÂ  +Â  bi × di

Â Â Â Â Â Â Â Â Â Â  =Â  acÂ  +Â  adiÂ Â  +Â Â  bciÂ  +Â  bdi²

Â  ButÂ  i² =Â  -1

Â SoÂ  A × BÂ Â  =Â Â  ( acÂ  -Â  bd ) + ( adÂ  +Â  bc )i

Â  For example, if A = 1 + 2i, and B = 3 - 4i, then:

Â Â Â Â Â Â Â Â Â Â Â Â  A × BÂ  =Â  (1×3 - 2×(-4)) + (1×(-4) + 2×3)i

Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â Â Â Â Â Â Â Â Â  =Â  11 + 2i

#### 4Â  Dividing complex numbers

If 'A' and 'B' are two complex numbers, so that:

A = a + biÂ Â Â Â Â  andÂ Â Â Â  B = c + di

Then we can divide A by B like this: For example, ifÂ Â  A = 1 + 2i, and B = 3 - 4i, then: It should be noted that the denominator terms: ( c2 + d2 ), are the square of the magnitude of complex number 'B'.Â  ( c2 + d2 ) = |B|², which leads to the more compact version of the division formula: where |B|² = ( c2 + d2 )

The 'Method' section below shows you how Maths Helper Plus can display all of the working steps for adding, subtracting, multiplying or dividing complex numbers.

### Method:

In the following steps, we will use the examples from the 'Theory' section above. To solve your own complex number problems, insert your own numbers.

If you have just launched the software then you already have an empty document, otherwise hold down ‘Ctrl’ while you briefly press the ‘N’ key.

#### Step 2Â  Create a complex calculator

1. Press the F3 key to activate the 'input box' for typing (see below):

2. Type: com into the input box:

Â Â Â Â Â Â Â Â Â Â Â Â Â 3. Press Enter to complete the entry

Â

The 'options' box for the complex calculator will display immediately.Â

Click the 'Complex Calculations' tab (see below) at the top of the options box to display the calculation options:

Â Click to select the operations that you want to see working steps for.

Â

#### Step 3Â  Enter the complex numbers A and B

Click the 'Complex Editor' tab at the top of the options box. This displays the 'Complex Editor' tab where you enter the complex numbers A and B to create the working steps. See below:

Â Click on the 'A' edit box and type complex number A like this:

real part , imaginary part

( So, to enter A = 1 + 2i, type:Â  1,2 )

Â

The edit box displays in yellow to show that the values have been changed.

Â

Similarly, click on the 'B' edit box and type complex number B.

( So, to enter B = 3 - 4i, type:Â  3,-4 )

Â

Now, click the 'Apply' button at the bottom of the edit box. The text view will display the complex number calculations.Â

Â

IMPORTANT: Each time you change either 'A' or 'B', remember to click the 'Apply' button to update the calculations.

Â

Â The text view displays the results. To see the results, you will probably need to close the complex calculator options box by clicking the OK button.

Â

Here are the results displayed by Maths Helper Plus for the 'A' and 'B' values entered above:

Â

Complex calculations

Complex Sum:

Â  Let A = a + bi, and B = c + di, then

Â  A + B = (a + c) + (b + d)i

Â Â Â Â Â Â Â  = (1 + 3)

Â Â Â Â Â Â Â Â Â  + (2 + -4)i

Â Â Â Â Â Â Â  = 4 + -2i

|A + B| = 4.47214, arg(A+B) = -26.5651°

Â

Complex Difference:

Â  Let A = a + bi, and B = c + di, then

Â  A - B = (a - c) + (b - d)i

Â Â Â Â Â Â Â  = (1 - 3)

Â Â Â Â Â Â Â Â Â  + (2 - -4)i

Â Â Â Â Â Â Â  = -2 + 6i

|A - B| = 6.32456, arg(A-B) = 108.435°

Â

Complex Product:

Â  Let A = a + bi, and B = c + di, then

Â  A × B = (ac - bd) + (ad + bc)i

Â Â Â Â Â Â Â  = (1 × 3 - 2 × -4)

Â Â Â Â Â Â Â Â Â  + (1 × -4 + 2 × 3)i

Â Â Â Â Â Â Â  = 11 + 2i

|A × B| = 11.1803, arg(A × B) = 10.3048°

Â

Complex Division:

Â  Let A = a + bi, and B = c + di,

so |B|² = c² + d²

Â Â Â Â Â Â Â  = 3² + -4²

Â Â Â Â Â Â Â  = 25

Â  A ÷ B = [(ac + bd)/|B|²] + [(bc - ad)/|B|²]i

Â Â Â Â Â Â Â  = [ (1 × 3

Â Â Â Â Â Â Â Â Â Â Â Â Â Â  + 2 × -4)/25 ]

Â Â Â Â Â Â Â Â Â Â  + [ (2 × 3

Â Â Â Â Â Â Â Â Â Â Â Â Â Â  - 1 × -4)/25 ]i

Â Â Â Â Â Â Â  = -0.2 + 0.4i

|A ÷ B| = 0.447214, arg(A ÷ B) = 116.565°

#### How to make changes to your complex settings

To display the complex calculator options box at any time, double click on the text view to the left of the results display, OR if there are no results displayed, to the left of the words 'Complex Calculator'.

Â

 This picture (right) shows you where to double click... Â If there are results displayed, double click in the area we have shaded blue. Otherwise, double click in the area we have shaded pink, then choose the required tab at the top of the options box when it is displayed. Â Â Â Â

Â

Â