But what happens when you have a graph that doesn't cross the x-axis? For example, consider
Around the 16th century mathematicians began to study higher order polynomials. Factoring had already been known to al-Khwarizmi in his famous algebra text, yet attempts to factor some higher order equations seemed impossible, even if irrational numbers were used, since it was required to take the square roots of negative numbers. For example, Niccolò Tartaglia had developed the method of solving certain cubic equations. Using his method, solutions to an equation like
At the same time it was known that there were real solutions -1, 0, and 1 by factoring. Clearly, the square root of -1 must have had some mathematical meaning. Otherwise, it could not be possible to obtain a real number by manipulating it.
The solution, it turned out was simple enough. In order to solve
At first, this might seem a bit like "cheating," but it is in fact no less valid than using negative numbers to represent a financial debt. You might not be able to have a "negative five dollar bill", but you can certainly owe someone five dollars. Similarly, imaginary numbers are perfectly valid from a mathematical standpoint, and there are indeed real-world applications that use i, most notably electrical engineering and signal analysis. Complex numbers can also be used to produce beautiful fractals such as the Mandlebrot Set and the Julia Set.
Combining imaginary numbers with real numbers numbers, you can get complex numbers. Complex numbers can have the form
Negative numbers went on the left, and positive numbers went on the right, and the number you wanted to plot went right on the line. When we represent complex numbers, we need some more space to show the complex part, so we add another dimension, and our "complex number plane" ends up looking like this:
You can now plot any complex number as a coordinate, using the horizontal axis as the real axis and the vertical axis as the imaginary axis. For example, point A represents the complex value -3 + 2i, while B represents 1 + i. Keep in mind that even though we use the addition formula, they are really one single value rather than two.
Look closely at the complex plane. If I wanted to, I could draw a triangle to any point on the complex plane, using that point as the "tip" of the triangle and vertical and horizontal lines as legs. For example, to plot 3 + 4i, I could draw the following:
The angle between the slanted line is obviously atan(b/a), based on the definition of the tangent function and the length is