Complex Numbers

Dynamics of Complex Numbers

604

Complex Numbers

Math

Complex numbers are amazing. <i>Understatement</i>. Allow me to go on. Who knew creating an abstraction for the square root of -1 would open up a whole field of mathematics? Let's dive into it. <h2><b><u>Quick Introduction</u></b></h2> Just to get an idea of what a complex number actually is: <center><b>z = a + <i>i</i>b</b></center> where a, b are real numbers. The <i>i</i> here is core to the complex part of a complex number. <center><b>i = &#8730;-1</b></center> For a more formal description, they can be viewed as a 2-dimensional number, where a + <i>i</i>b can be denoted as (a, b) which follow the operations, addition and multiplication: (a, b) + (c, d) = (a + c, b + d) (a, b) * (c, d) = (ac - bd, ad + bc) <h2><b><u>Motivation</u></b></h2> What was the motivation for it? Seems to be a useless and non-practical thing which somehow just exists, for the sake of naming/abstraction. <b>NO</b> x<sup>2</sup> + 1 = 0, roots of this equation? You can catch on, just by observing a very basic equation. Complex numbers were motivated by the fact that we could not figure out how to split 10, to get a product of 40. Well, not really, but you can get the point. It started out with solving polynomial equations, but evolved into something much more. The concept of complex numbers have a subtlety to it which is not evident at first. You get the hang of it; the notation and the slight absurdity of it. But it slowly, but surely, unveils its magical powers. <h2><b><u>Complex in Action</u></b></h2> First of all, it allows you to express all the roots of an equation of any degree, whereas before, we just had to make do with saying it doesn't exist. See the equation above. Using the real plane of numbers, it can be a bit tedious to do some rotations or particular transformations mathematically, of say a picture, but complex number system allows us to make this step many times easier. These rotations and transformations are done through physics engines for FPS games, which is a monumental task, for realistic game-play and visual effects. Complex numbers have been used in physics, specifically, theoretical physics, to describe the nature of reality itself. String theory describes our reality as a 10-dimensional structure which has 4 dimensions describing our physical and perceivable reality and the remaining 6 dimensions are the 6-dimensional <i>Calabi-Yau</i> manifolds which are complex dimensions. It also shows up in the extremely well known <i>Schr&#246;dinger's equation</i> which governs the wave-function of a quantum mechanical system. In the space of pure mathematics, we can assign meaning to something like <i>log<sub>n</sub>(-1)</i>. Not only this, take it as far as you like. What would be the solution to sin(x) = &#960;? cos(x) = -3? ln(<i>i</i>)?!?! This may seem absurd. Complex numbers can also be used during integrating some functions which may look cumbersome, mathematically. Say, you have to integrate the function 1/(x<sup>4</sup> + 1). Now obviously the denominator can't be factorized to ease the integration process, or can they? Looks like they can be, using complex numbers. x<sup>4</sup> + 1 can be written/factorized as (x<sup>2</sup> + <i>i</i>)(x<sup>2</sup> - <i>i</i>). This can be done to factorized components again, till you get all of them to be linear equations, which can be much easier to handle as <i>i</i> is in fact a constant. As we haven't seen the different representation of complex numbers, these equations would seem to be impossible to solve. But that is exactly the point. There is no answer on the real plane. We have to look to the <i>complex plane</i> for the solutions to some of the seemingly absurd equations pointed out in the last point. <h2><b><u>Representations</u></b></h2> As discussed above, complex numbers can be looked at as a 2D number. It has a real part which can be plotted on the X-axis and the imaginary part on the Y-axis. This is the simple, <b>visual</b> representation. Also as discussed, it has a <b>rectangular</b> representation, which is the simple, a + <i>i</i>b. Other than these two, we have a more interesting representation to observe. Any complex number, <i>z</i>, can be represented through a <b>polar</b> representation which is: <center><b>z = re<sup>i&#952;</sup></b></center> To describe some of the variables used in this, r = <b>magnitude</b> of the complex number(distance from origin to (a, b) = r), <i>i</i> is basically the same as defined above and <i>&#952;</i> = tan<sup>-1</sup>(b/a), also called the <b>argument</b>, which basically tells you the angle between the X-axis and the line connecting the point (a, b) and origin(complex number can also be looked at as a <b>vector</b>). Seems like an extremely weird representation. How did <i>e</i> come about in this? Not to go into too much detail, but it comes about through interpreting the rectangular form of the complex numbers in a more parametric way. A few steps are shown to give you an idea of what goes on, might write up a different article to show how the equality holds, but this can give you a decent intuition: <center><b>z = a + <i>i</i>b = r(cos(&#952;) + <i>i</i>sin(&#952;))</b> <b>r = &#8730;(a<sup>2</sup> + b<sup>2</sup>)</b> <b>sin(x) = x - x<sup>3</sup>/3! + x<sup>5</sup>/5! ...</b> <b>cos(x) = 1 - x<sup>2</sup>/2! + x<sup>4</sup>/4! ...</b> <b>e<sup>x</sup> = 1 + x/1! + x<sup>2</sup>/2! + x<sup>3</sup>/3! ...</b> <b>If we multiply the <i>i</i> to the sin(x) expansion and add it with the cos(x) expansion, you will see it is the same as the e<sup>ix</sup> expansion, hence the equivalency.</b></center> Digesting that math, you can get an intuition of why any complex number can be written as <b>z = re<sup>i&#952;</sup></b>. <i>r</i> is just a scaling factor for the unit vector, if you look at it through the lens of vector representation. The unit vector specifically, because, if <i>r</i> = 1, you are left with a complex number which has a magnitude of 1. For example, e<sup>i(0)</sup> = 1 + 0<i>i</i>, e<sup>i(&#960;/2)</sup> = 0 + <i>i</i>, which both have a magnitude of 1, but have different angles from the X-axis. In the case of 1, as 1 lies purely on the X-axis, the argument is 0, but as <i>i</i> will be purely on the positive Y-axis, it has an argument equal to &#960;/2. <h2><b><u>Dynamism</u></b></h2> <h3><b>Rotation</b></h3> Most of the time, complex numbers are represented through the polar form. It gives us amazing capabilities to play around with objects, in this form. As you can see it has some angle in the representation, and it is the angle between the X-axis and the line from the origin to the point (a, b). Calculating rotation of vectors can be a bit tedious, more formally, to calculate a rotation of some vector by some angle, &#945;. But if we look at the vector as a complex number, we just have to multiply it with a complex number of <i>r</i> = 1 and an argument &#952; = &#945;. Why? Because a complex number re<sup>i&#952;</sup> multiplied with e<sup>i&#945;</sup> will equal to re<sup>i(&#952; + &#945;)</sup>, which basically means the original complex number has been rotated by &#945;. Simple as that. You can then convert this back to rectangular form to get the rotated vector. A quick tip, if you want to rotate a vector by 90 degrees, just multiply the complex number for the vector by <i>i</i>. I think you can figure out why. <h3><b>Logarithms</b></h3> As complex numbers use the number e in their representation, you can see how logarithms can be used and produce weird, but spectacular results. You may know logarithm isn't defined for negative numbers, <b>in the real plane</b>. But in the complex plane, it sure is. Taking the natural log, <i>ln</i>, for a negative number say ln(-1), is defined and has an answer in the complex plane. Not just that, ln will be defined for even complex numbers. Why? The polar form representation. <center><b>ln(re<sup>i&#952;</sup>) = ln(r) + <i>i</i>&#952;</b></center> As any number can be represented through the polar form, any number's natural log can also be calculated. In this case, ln(-1) = i&#960;. <h3><b>sin(x) = &#960;?!?!</b></h3> How can sin(x) be more than 1? Just imagine <b>complex angles</b>. Again, we come back to the representation of the complex number which has a lot of richness to it. sin(x) can be written as the difference of e<sup>ix</sup> and e<sup>-ix</sup> divided by 2<i>i</i>. <center><b>sin(x) = (e<sup>ix</sup> - e<sup>-ix</sup>)/2<i>i</i></b></center> If we take a = sin(x), X = e<sup>ix</sup> which implies 1/X = e<sup>-i&#952;</sup>, then we get, <center><b>X + 1/X = 2a<i>i</i></b> <b>X<sup>2</sup> + 1 = 2aiX (multiplying both sides by X)</b> <b>X<sup>2</sup> - 2aiX + 1 = 0</b></center> We get a quadratic equation which can be solved for X and subsequently for x, which gives us the solution for sin(x) = &#960; or for any value. The variable a can be assigned any value and you can generate an angle which will satisfy sin(x) = a. Taking it a little further, we can do the same for cos(x), tan(x) and obviously any other trigonometric function. <h3><b>Solving quadratic equations with "no solutions"</b></h3> There are many articles on that. I want to finish this article. :) <h2><b><u>Fin.</u></b></h2> Studying complex numbers, I have realized that many people prefer complex analysis to real analysis, just because of its amazing properties. As mentioned earlier, complex numbers can look pretty uninteresting, inconsequential and highly specific at first, but have amazing richness and use which can be taken apart and played with by just learning some of its different representations. If you feel this was an interesting introduction to the dynamics of complex numbers, you can continue the experiment.

- Shubham Anuraj, 03:11 AM, 11 Jun, 2021

Math


Next Read: Hot and Cold