An introduction to complex numbers
This topic introduces complex numbers, and demonstrates how complex number calculations can be done using complex calculator data sets in Maths Helper Plus.
Complex numbers are an extension of the real number system which give meaning to expressions such as:
x² + 5 = 0 where:
The complex number system depends upon the definition of the symbol ' i ' such that i 2 = -1. ' i ' is called the 'imaginary' number.
A complex number is made up of two real numbers: the 'real' part and the 'imaginary' part. The imaginary part of a complex number is multiplied by ' i '.
A complex number can be written as the sum of its real and imaginary parts, eg: 3 + 4i, or as an ordered pair: (3,4), ie:
If the ordered pair is plotted as a point on the x-y plane, the x axis being the real axis, and the y axis being the imaginary axis, then the complex number can also be expressed in polar form, ie. as a magnitude (distance of the point from the origin) and an angle.
The magnitude of a complex number is equivalent to its absolute value, while the angle is called the argument ( written as 'arg') of the complex number.
The magnitude and argument are written as: 'magnitude cis argument'
eg. complex number z = 1 + Ö3i or (1,Ö3) has magnitude: |z| = 2 and arg z = 60° , written as: 2cis60. See diagram below:
Maths Helper Plus can perform many complex number operations. It has a feature called the 'complex calculator' that can demonstrate basic complex number operations, as well as evaluate many kinds of complex number expressions.
Step 1 Start with an empty Maths Helper Plus document
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, like this:
This is the 'Program' tab, where you can type complex number expressions to be evaluated.
Step 3 Enter the expressions to evaluate
1. Click on the large edit box.
2. Type the expressions to be evaluated.
Here is a selection of complex number operations that the complex calculator can understand:
NOTE: 'sqrt' means 'square root'
3. Click the 'Run' button to evaluate the expressions you entered.
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 for the example expressions above:
How to make changes to your complex number expressions
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'.
How to use complex number variables
The complex calculator includes five variables: 'A', 'B', 'C', 'D' and 'X' that you can use in any expressions.
The example at the beginning of this article will demonstrate how they can be used.
Recall the following equation: x² + 5 = 0 where: are the two solutions.
The solutions can be typed into the complex calculator like this: X = -sqrt(-5) and X = sqrt(-5).
We want to substitute these two complex numbers into the equation x² + 5 = 0 to show that they satisfy it. We will also add some comment lines. These begin with a double quote: " . Comment lines make the output more meaningful. A double quote on a line by itself makes a blank line in the output. The completed steps are shown below:
After clicking the 'Run' button, the text view displays this output:
Set 'X' to negative root:
X = -sqrt(-5)
X² + 5 = 0
Set 'X' to positive root:
X = sqrt(-5)
X² + 5 = 0
By using variable 'X', we have shown that the equation x² + 5 = 0 is indeed satisfied by the two complex roots.