Complex Math

This page is not a tutorial on complex arithmetic. It is a page that will let students pracitce their skill in basic complex arithemtic (addition, subtraction, multiplication and division) while aimultaneously presenting a graphical representation of the operations. For a description of these operations check another page such as Wikipedia, or Wolfram.

To use this demo: Simply enter the complex numbers x and y in either rectangular or polar form. The page shows the numerical results of addition, subtraction, multiplication and division. To see the results on the graph, simply put the cursor over the corresponding result (i.e., addition, subtraction, multiplication or division). The number x is represented by a red dot on the graph, the number y by a blue dot, and the result of the chosen operations is shown as a magenta () dot.

Enter x. , ,     or     , .

Enter y. , ,    or     , .

x = a + jb = 1 + 1j   =   Mx∠θx = 1.41445°

y = c + jd = -1 + 1j   =   My∠θy = 1.414-45°


Note: For x we get $M_x=\sqrt{a^2+b^2}, \quad \theta_x=\mathrm{atan2}(b,a), \quad a=M_x\cdot cos(\theta_x), \quad b=M_x\cdot sin(\theta_x).$
We get similar expressions for y

 

Move x by dragging red dot with mouse. Move y with shift+mouse.

Addition

p = x + y = (a+c) + j(b+d)

p = 0 + 2j   =   290°
Add the blue vector (representing y) to the red vector (representing x) to get the resulting magenta vector (representing p).
yis shown in faint blue line added to x.

Subtraction

q = x - y = (a-c) + j(b-d)

q = 2 + 0j   =   20°
Subtract the blue vector (representing y) from the red vector (representing x) to get the resulting magenta vector (representing p)
yis shown in faint blue subtracted from x.

Multiplication

r = x·y = (Mx·My)∠(θxy)

r = 2 + 0j   =   20°
Multiply magnitudes, and add phases.


Note: you can also multiply with rectangular form
r = x·y = (a·c-b·d)+j(a·d+b·d)

Division

s = x/y = (Mx/My)∠(θxy)

s = 0 + 1j   =   190°
Divide magnitudes, and subtract phases.


Note: you can also divide with rectangular form
s = x/y = ((a·c+b·d)+j(a·d-b·d)) / (c2 + d2)


References

© Copyright 2005 to 2015 Erik Cheever    This page may be freely used for educational purposes.

Erik Cheever       Department of Engineering         Swarthmore College