You have no doubt heard about the complex numbers C. The word “complex” is an intimidating word. Surely it must be a complex task to learn about the complex numbers. That may be true in general, but not if you know about vectors. Complex numbers are similar to two-dimensional vectors →v∈R2. We add and subtract complex numbers like vectors. Complex numbers also have components, length and “direction”. If you understand vectors then you will understand complex numbers at almost no additional mental cost.
Suppose you are asked to solve the following quadratic equation: x2+1=0. You are looking for a number x, such that x2=−1 so that adding one to x2 we get zero. If you are only allowed to give real answers (the set of real numbers is denoted R), then there is no answer to this question. In other words, this equation has no solution. This is because the quadratic function f(x)=x2+1 does not cross the x axis.
We are not going to take that though. We will imagine a new number called i which fits this requirement. By definition i2=−1. And we call i the unit imaginary number. The solutions to the equation are going to be x=i and x=−i. Remember that a quadratic equation has two solutions. We can check i2+1=−1+1=0 and also (−i)2+1=(−1)2i2+1=i2+1=0.
NOINDENT When using the polar representation of complex numbers we have:
Just like the addition of vectors is done component wise, the addition of complex numbers is done reals-part-with-real-part and imaginary-part-with-imaginary-part: (a+bi)+(c+di)=(a+c)+(b+d)i.
A geometrical interpretation of the complex numbers is to extend the real number line that stretches from −∞ to ∞ into a two-dimensional plane. The horizontal axis (where the x-axis is usually) will measure the real part of the number. The vertical axis will measure the imaginary component. Complex numbers are vectors in the complex plane.
It is possible to represent any complex number z=a+bi in terms of length and direction notation: z=|z|∠ϕz=(|z|cosϕz)+(|z|sinϕz)i.
The magnitude of a complex number z=a+bi is |z|=√a2+b2. This corresponds to the distance of from the origin. The formula is obtained by using Pythagoras theorem.
The phase of the complex number is ϕz=tan−1(b/a). This corresponds to the angle that z makes with the real axis.
The product of two complex numbers is computed using the usual rules of algebra: (a+bi)(c+di)=(ac−bd)+(ad+bc)i. In the polar representation, the product is (p∠ϕ)(q∠ψ)=pq∠(ϕ+ψ).
One of the first examples of reasoning using complex numbers was given by Jerome Cardan in his Ars Magna. “If someone says to you, divide 10 into two parts, one of which multiplied into the other shall produce 40, it is evident that this case or question is impossible.” What is required is to find wo numbers x1 and x2 such that x1+x2=10 and x1x2=40. This sounds kind of impossible. Or is it?
“Nevertheless,” Cardan says, “we shall solve it in this fashion: x1=5+√15i, and x2=5−√15i. When you add x1+x2 you get 10, and when you multiply them you get x1x2=(5+√15i)(5−√15i)=25−√152i2=25+15=40. Hence this product is 40.”[1]
Both i and −1 have a magnitude of 1, but i has an argument of π/2 (90∘) while −1 has an argument of π (180∘). (i)(−1)=(1∠π2)(1∠π)=1∠3π2=−i. Effectively, multiplication by i is like rotation by 90 degrees leftward.
Let me now show you the procedure for dividing complex numbers: (a+bi)(c+di)=(a+bi)(c+di)(c−di)(c−di)=(a+bi)(c−di)(c2+d2)=(a+bi)¯c+di|c+di|2. In other words, if you want to divide the number z by the complex number s, you should compute ˉs and |s|2=sˉs and then use: z/s=zˉs|s|2. You can think of ˉs|s|2 as being equivalent to s−1.
The solutions to any polynomial equation a0+a1x+a2x2+⋯anxn=0 are of the form: z=a+bi. In other words, any polynomial P(x) of nth degree can be written as P(x)=(x−z1)(x−z2)⋯(x−zn), where zi∈C are its complex roots.
Before today, you would say that the equation x2+1=0 had no solutions. Now you know that actually it has solutions, but the solutions are complex numbers: x1=i and x2=−i.
We know that sin(θ) is just a shifted version of cos(θ), so clearly these two functions are related. The exponential function, however, seems kind of unrelated to sin and cos. Lo and behold Euler's formula: exp(iθ)≡eiθ=cos(θ)+isin(θ), where i=√−1 is the unit imaginary number. An imaginary input number to the exponential function produces a complex number as output which contains both cos and sin. Euler's formula gives us a more natural notation for the polar representation of complex numbers: z=|z|∠ϕz=|z|eiϕz
If you want to impress your friends with you math knowledge, you can plug θ=π into the above equation to get exp(iπ)=cos(π)+isin(π)=−1, which can be rearranged into this form: eπi+1=0. This equation shows a relationship between the five most important numbers in all of mathematics: Euler's number e=2.71828..., π=3.14…, the imaginary number i, one and zero.
We can replace θ in Euler's formula with nθ, we obtain de Moivre's theorem: (cosθ+isinθ)n=cosnθ+isinnθ.
De Moivre's Theorem seems obvious if you think of the multiplication law in the polar representation of the complex number as z=|z|eiθ which is simply raised to the nth power (cosθ+isinθ)n=zn=(|z|eiθ)n=|z|neinθ=cosnθ+isinnθ.
Using n=2 in de Moivre's formula, we can derive the double angle formulas as the real an imaginary part of the following equation: (cos2θ−sin2θ)+(2sinθcosθ)i=cos(2θ)+sin(2θ)i.
[ Mini tutorial ]
http://paste.lisp.org/display/133628
[ Pretty pictures of the Mandelbrot set ]
https://christopherolah.wordpress.com/2011/08/08/the-real-3d-mandelbrot-set/
NOINDENT [1] Girolamo Cardan, The Great Art or The Rules of Algebra, trans. and ed. by T. Richard Widmer (Cambridge: Massachusetts Institute of Technology Press, 1968), pp. 219–20.