Difference between revisions of "Complex Numbers"

From Department of Mathematics at UTSA
Jump to navigation Jump to search
 
(28 intermediate revisions by the same user not shown)
Line 1: Line 1:
A complex number is a number of the form <math> a + bi </math> where <math> a </math> is the real part of the complex number, and <math> bi </math> is the imaginary part of the complex number. If <math> b = 0 </math>, then <math> a + bi </math> is a real number. If <math> a = 0 </math> and b is not equal to 0, the complex number is called an imaginary number. The imaginary unit <math> i = \sqrt{-1}</math>, and can be used to express other imaginary numbers (for example, <math> \sqrt{-25} = 5\sqrt{-1} = 5i </math>). Note that <math> i^2 = -1 <math>, <math> i^3 = -i </math>, <math> i^4 = 1 </math>, <math> i^5 = i </math>, <math> i^6 = -1 </math>, and so on.
+
[[File:A plus bi.svg|thumb|upright=1.15|right|A complex number can be visually represented as a pair of numbers {{math|(''a'', ''b'')}} forming a vector on a diagram called an Argand diagram, representing the complex plane. ''Re'' is the real axis, ''Im'' is the imaginary axis, and {{mvar|i}} is the "imaginary unit" that satisfies {{math|1=''i''<sup>2</sup> = −1}}.]]
  
===Operations with Complex Numbers===
+
In mathematics, a '''complex number''' is a number that can be expressed in the form {{math|''a'' + ''bi''}}, where {{mvar|a}} and {{mvar|b}} are real numbers, and {{mvar|i}} is a symbol, called the imaginary unit, that satisfies the equation {{math|1=''i''<sup>2</sup> = −1}}. Because no real number satisfies this equation, {{mvar|i}} was called an imaginary number by René Descartes. For the complex number {{math|''a'' + ''bi''}}, {{mvar|a}} is called the '''real part''' and {{mvar|b}} is called the '''imaginary part'''. The set of complex numbers is denoted by either of the symbols <math>\mathbb C</math> or {{math|'''C'''}}. Despite the historical nomenclature "imaginary", complex numbers are regarded in the mathematical sciences as just as "real" as the real numbers and are fundamental in many aspects of the scientific description of the natural world.
Addition: Given two complex numbers <math> a + bi </math> and <math> c + di </math>, <math> (a + bi) + (c + di) = (a + c) + (b + d)i</math>. For example, <math> (4 + 3i) + (-3 - i) = 1 + 2i </math>.
 
  
Subtraction: <math> (a + bi) - (c + di) = (a - c) + (b - d)i</math>.
+
Complex numbers allow solutions to all polynomial equations, even those that have no solutions in real numbers. More precisely, the fundamental theorem of algebra asserts that every polynomial equation with real or complex coefficients has a solution which is a complex number. For example, the equation
 +
<math>(x+1)^2 = -9</math>
 +
has no real solution, since the square of a real number cannot be negative, but has the two nonreal complex solutions {{math|−1 + 3''i''}} and {{math|−1 − 3''i''}}.
  
Multiplication: <math> (a + bi)(c + di) = ac + bci +  adi + bdi^2 = ac + bci + adi - bd = (ac - bd) + (bc + ad)i</math>
+
Addition, subtraction and multiplication of complex numbers can be naturally defined by using the rule {{math|1=''i''<sup>2</sup> = −1}} combined with the associative, commutative and distributive laws. Every nonzero complex number has a multiplicative inverse. This makes the complex numbers a field that has the real numbers as a subfield. The complex numbers form also a real vector space of dimension two, with {{math|{1, ''i''}} as a standard basis.
  
Division: Division works a bit differently with complex numbers. The reciprocal of a complex number <math> \frac{1}{a + bi} = \frac{a - bi}{(a + bi)(a - bi)} = \frac{a - bi}{a^2 + abi - abi - b^2i^2} = \frac{a - bi}{a^2 + b^2}</math>.
+
This standard basis makes the complex numbers a Cartesian plane, called the complex plane. This allows a geometric interpretation of the complex numbers and their operations, and conversely expressing in terms of complex numbers some geometric properties and constructions. For example, the real numbers form the real line which is identified to the horizontal axis of the complex plane. The complex numbers of absolute value one form the unit circle. The addition of a complex number is a translation in the complex plane, and the multiplication by a complex number is a similarity centered at the origin. The complex conjugation is the reflection symmetry with respect to the real axis. The complex absolute value is a Euclidean norm.  
  
So, <math> \frac{a + bi}{c + di} = \frac{(a + bi)(c - di)}{c^2 + d^2} = \frac{(ac + bd) + (bc - ad)i}{c^2 + d^2}</math> = .
+
In summary, the complex numbers form a rich structure that is simultaneously an algebraically closed field, a commutative algebra over the reals, and a Euclidean vector space of dimension two.
  
==Resources==
+
==Definition==
* [https://tutorial.math.lamar.edu/classes/alg/ComplexNumbers.aspx Complex Numbers], Paul's Online Notes
+
 
* [https://courses.lumenlearning.com/collegealgebra2017/chapter/introduction-complex-numbers/ Intro to Complex Numbers], Lumen Learning
+
[[File:Illustration of a complex number.svg|right|thumb|upright=1.05|An illustration of the complex number {{math|1=''z'' = ''x'' + ''iy''}} on the complex plane. The real part is {{mvar|x}}, and its imaginary part is {{mvar|y}}.]]
 +
 
 +
A complex number is a number of the form {{math|1=''a'' + ''bi''}}, where {{mvar|a}} and {{mvar|b}} are real numbers, and {{math|''i''}} is an indeterminate satisfying {{math|1=''i''<sup>2</sup> = −1}}. For example, {{math|2 + 3''i''}} is a complex number.
 +
 
 +
This way, a complex number is defined as a polynomial with real coefficients in the single indeterminate {{math|''i''}}, for which the relation {{math|''i''<sup>2</sup> + 1 = 0}} is imposed. Based on this definition, complex numbers can be added and multiplied, using the addition and multiplication for polynomials. The relation {{math|''i''<sup>2</sup> + 1 = 0}} induces the equalities {{math|''i''<sup>4''k''</sup> = 1, ''i''<sup>4''k''+1</sup> = ''i'', ''i''<sup>4''k''+2</sup> = −1,}} and {{math|''i''<sup>4''k''+3</sup> = −''i'',}} which hold for all integers {{mvar|k}}; these allow the reduction of any polynomial that results from the addition and multiplication of complex numbers to a linear polynomial in {{mvar|i}}, again of the form {{math|1=''a'' + ''bi''}} with real coefficients {{mvar|a, b.}}
 +
 
 +
The real number {{mvar|a}} is called the ''real part'' of the complex number {{math|''a'' + ''bi''}}; the real number {{mvar|b}} is called its ''imaginary part''. To emphasize, the imaginary part does not include a factor {{mvar|i}}; that is, the imaginary part is {{mvar|b}}, not {{math|''bi''}}.
 +
 
 +
Formally, the complex numbers are defined as the quotient ring of the polynomial ring in the indeterminate {{math|''i''}}, by the ideal generated by the polynomial {{math|''i''<sup>2</sup> + 1}}.
 +
 
 +
==Notation==
 +
 
 +
A real number {{mvar|a}} can be regarded as a complex number {{math|''a'' + 0''i''}}, whose imaginary part is 0. A purely imaginary number {{math|''bi''}} is a complex number {{math|0 + ''bi''}}, whose real part is zero. As with polynomials, it is common to write {{mvar|a}} for {{math|''a'' + 0''i''}} and {{math|''bi''}} for {{math|0 + ''bi''}}. Moreover, when the imaginary part is negative, that is, {{math|1=''b'' = −''{{!}}b{{!}}'' < 0}}, it is common to write {{math|''a'' − ''{{!}}b{{!}}i''}} instead of {{math|''a'' + (−''{{!}}b{{!}}'')''i''}}; for example, for {{math|1=''b'' = −4}}, {{math|3 − 4''i''}} can be written instead of {{math|3 + (−4)''i''}}.
 +
 
 +
Since the multiplication of the indeterminate {{math|''i''}} and a real is commutative in polynomials with real coefficients, the polynomial {{math|''a'' + ''bi''}} may be written as {{math|''a'' + ''ib''.}} This is often expedient for imaginary parts denoted by expressions, for example, when {{mvar|b}} is a radical.
 +
 
 +
The real part of a complex number {{mvar|z}} is denoted by {{math|Re(''z'')}}, <math>\mathcal{Re}(z)</math>, or <math>\mathfrak{R}(z)</math>; the imaginary part of a complex number {{mvar|z}} is denoted by {{math|Im(''z'')}}, <math>\mathcal{Im}(z)</math>, or <math>\mathfrak{I}(z).</math> For example,
 +
<math display=block>  \operatorname{Re}(2 + 3i) = 2 \quad \text{ and } \quad  \operatorname{Im}(2 + 3i) = 3~.</math>
 +
 
 +
The set of all complex numbers is denoted by <math>\Complex</math> (blackboard bold) or {{math|'''C'''}} (upright bold).
 +
 
 +
In some disciplines, particularly in electromagnetism and electrical engineering, {{mvar|j}} is used instead of {{mvar|i}} as {{mvar|i}} is frequently used to represent electric current.
 +
 
 +
==Visualization==
 +
 
 +
[[File:Complex number illustration.svg|thumb|right|A complex number {{mvar|z}}, as a point (black) and its position vector (blue)]]
 +
 
 +
A complex number {{mvar|z}} can thus be identified with an ordered pair <math>(\Re (z),\Im (z))</math> of real numbers, which in turn may be interpreted as coordinates of a point in a two-dimensional space. The most immediate space is the Euclidean plane with suitable coordinates, which is then called ''complex plane'' or ''Argand diagram,'' named after Jean-Robert Argand. Another prominent space on which the coordinates may be projected is the two-dimensional surface of a sphere, which is then called Riemann sphere.
 +
 
 +
===Cartesian complex plane===
 +
The definition of the complex numbers involving two arbitrary real values immediately suggests the use of Cartesian coordinates in the complex plane. The horizontal (''real'') axis is generally used to display the real part, with increasing values to the right, and the imaginary part marks the vertical (''imaginary'') axis, with increasing values upwards.
 +
 
 +
A charted number may be viewed either as the coordinatized point or as a position vector from the origin to this point. The coordinate values of a complex number {{mvar|z}} can hence be expressed in its ''Cartesian'', ''rectangular'', or ''algebraic'' form.
 +
 
 +
Notably, the operations of addition and multiplication take on a very natural geometric character, when complex numbers are viewed as position vectors: addition corresponds to vector addition, while multiplication (see below) corresponds to multiplying their magnitudes and adding the angles they make with the real axis. Viewed in this way, the multiplication of a complex number by {{math|''i''}} corresponds to rotating the position vector counterclockwise by a quarter turn (90°) about the origin—a fact which can be expressed algebraically as follows:
 +
<math display=block>(a + bi)\cdot i = ai + b(i)^2 = -b + ai .</math>
 +
 
 +
===Polar complex plane===
 +
 
 +
[[File:Complex number illustration modarg.svg|right|thumb|Argument {{mvar|φ}} and modulus {{mvar|r}} locate a point in the complex plane.]]
 +
 
 +
====Modulus and argument====
 +
An alternative option for coordinates in the complex plane is the polar coordinate system that uses the distance of the point {{mvar|z}} from the origin ({{mvar|O}}), and the angle subtended between the positive real axis and the line segment {{mvar|Oz}} in a counterclockwise sense. This leads to the polar form of complex numbers.
 +
 
 +
The ''absolute value'' (or ''modulus'' or ''magnitude'') of a complex number {{math|1=''z'' = ''x'' + ''yi''}} is
 +
<math display=block>r=|z|=\sqrt{x^2+y^2}.</math>
 +
If {{mvar|z}} is a real number (that is, if {{math|1=''y'' = 0}}), then {{math|1=''r'' = {{!}}''x''{{!}}}}. That is, the absolute value of a real number equals its absolute value as a complex number.
 +
 
 +
By Pythagoras' theorem, the absolute value of a complex number is the distance to the origin of the point representing the complex number in the complex plane.
 +
 
 +
The ''argument'' of {{mvar|z}} (in many applications referred to as the "phase" {{mvar|φ}}) is the angle of the radius {{mvar|Oz}} with the positive real axis, and is written as {{math|arg ''z''}}. As with the modulus, the argument can be found from the rectangular form {{mvar|x + yi}} by applying the inverse tangent to the quotient of imaginary-by-real parts. By using a half-angle identity, a single branch of the arctan suffices to cover the range of the {{math|arg}}-function, (−''π'', ''π''], and avoids a more subtle case-by-case analysis
 +
 
 +
<math display=block>\varphi = \arg (x+yi) = \begin{cases}
 +
  2 \arctan\left(\dfrac{y}{\sqrt{x^2 + y^2} + x}\right) &\text{if } x > 0 \text{ or } y \neq 0, \\
 +
  \pi &\text{if } x < 0 \text{ and } y = 0, \\
 +
  \text{undefined} &\text{if } x = 0 \text{ and } y = 0.
 +
\end{cases}</math>
 +
 
 +
Normally, as given above, the principal value in the interval (−{{mvar|π}}, {{mvar|π}}] is chosen. If the arg value is negative, values in the range (−{{mvar|π}}, {{mvar|π}}] or [0, 2{{mvar|π}}) can be obtained by adding {{math|2''π''}}.<!--don't change this into π. Doing so produces *another* complex number.--> The value of {{mvar|φ}} is expressed in radians in this article. It can increase by any integer multiple of {{math|2''π''}} and still give the same angle, viewed as subtended by the rays of the positive real axis and from the origin through {{mvar|z}}. Hence, the arg function is sometimes considered as multivalued. The polar angle for the complex number 0 is indeterminate, but arbitrary choice of the polar angle&nbsp;0 is common.
 +
 
 +
The value of {{mvar|φ}} equals the result of atan2:
 +
<math display=block>\varphi = \operatorname{atan2}\left(\operatorname{Im}(z),\operatorname{Re}(z) \right).</math>
 +
 
 +
Together, {{mvar|r}} and {{mvar|φ}} give another way of representing complex numbers, the ''polar form'', as the combination of modulus and argument fully specify the position of a point on the plane. Recovering the original rectangular co-ordinates from the polar form is done by the formula called ''trigonometric form''
 +
<math display=block> z = r(\cos \varphi + i\sin \varphi ).</math>
 +
 
 +
Using Euler's formula this can be written as
 +
<math display=block>z = r e^{i \varphi} \text{ or } z = r \exp i \varphi.</math>
 +
 
 +
Using the {{math|cis}} function, this is sometimes abbreviated to
 +
<math display=block> z = r \operatorname\mathrm{cis} \varphi. </math>
 +
 
 +
In angle notation, often used in electronics to represent a phasor with amplitude {{mvar|r}} and phase {{mvar|φ}}, it is written as
 +
<math display=block>z = r \angle \varphi . </math>
 +
 
 +
===Complex graphs===
 +
 
 +
[[File:Complex-plot.png|right|thumb|A color wheel graph of the expression <math>\frac{(z^2 - 1)(z - 2 - i)^2}{z^2 + 2 + 2i}</math>]]
 +
When visualizing complex functions, both a complex input and output are needed. Because each complex number is represented in two dimensions, visually graphing a complex function would require the perception of a four dimensional space, which is possible only in projections. Because of this, other ways of visualizing complex functions have been designed.
 +
 
 +
In domain coloring the output dimensions are represented by color and brightness, respectively. Each point in the complex plane as domain is ''ornated'', typically with ''color'' representing the argument of the complex number, and ''brightness'' representing the magnitude. Dark spots mark moduli near zero, brighter spots are farther away from the origin, the gradation may be discontinuous, but is assumed as monotonous. The colors often vary in steps of <math>\frac{\pi}{3}</math> for {{math|0}} to <math>2\pi</math> from red, yellow, green, cyan, blue, to magenta. These plots are called color wheel graphs. This provides a simple way to visualize the functions without losing information. The picture shows zeros for {{math|±1, (2 + ''i'')}} and poles at <math>\sqrt{-2-2\text{i}}</math>
 +
 
 +
Riemann surfaces are another way to visualize complex functions. Riemann surfaces can be thought of as deformations of the complex plane; while the horizontal axes represent the real and imaginary inputs, the single vertical axis only represents either the real or imaginary output. However, Riemann surfaces are built in such a way that rotating them 180 degrees shows the imaginary output, and vice versa. Unlike domain coloring, Riemann surfaces can represent multivalued functions like <math>\sqrt{z}</math>.
 +
 
 +
==Relations and operations==
 +
 
 +
===Equality===
 +
Complex numbers have a similar definition of equality to real numbers; two complex numbers {{math|''a''<sub>1</sub> + ''b''<sub>1</sub>''i''}} and {{math|''a''<sub>2</sub> + ''b''<sub>2</sub>''i''}} are equal if and only if both their real and imaginary parts are equal, that is, if {{math|1=''a''<sub>1</sub> = ''a''<sub>2</sub>}} and {{math|1=''b''<sub>1</sub> = ''b''<sub>2</sub>}}. Nonzero complex numbers written in polar form are equal if and only if they have the same magnitude and their arguments differ by an integer multiple of {{math|2''π''}}.
 +
 
 +
===Ordering===
 +
Unlike the real numbers, there is no natural ordering of the complex numbers. In particular, there is no linear ordering on the complex numbers that is compatible with addition and multiplication – the complex numbers cannot have the structure of an ordered field. This is e.g. because every non-trivial sum of squares in an ordered field is {{math|≠ 0}}, and {{math|1=''i''<sup>2</sup> + 1<sup>2</sup> = 0}} is a non-trivial sum of squares.
 +
Thus, complex numbers are naturally thought of as existing on a two-dimensional plane.
 +
 
 +
===Conjugate===
 +
 
 +
[[File:Complex conjugate picture.svg|right|thumb|upright=0.8|Geometric representation of {{mvar|z}} and its conjugate <math>\overline{z}</math> in the complex plane]]
 +
The ''complex conjugate'' of the complex number {{math|1=''z'' = ''x'' + ''yi''}} is given by {{math|''x'' − ''yi''}}. It is denoted by either <math>\overline{z}</math> or {{math|''z''*}}. This unary operation on complex numbers cannot be expressed by applying only their basic operations addition, subtraction, multiplication and division.
 +
 
 +
Geometrically, <math>\overline{z}</math> is the "reflection" of {{mvar|z}} about the real axis. Conjugating twice gives the original complex number
 +
<math display=block>\overline{\overline{z}}=z,</math>
 +
 
 +
which makes this operation an involution. The reflection leaves both the real part and the magnitude of {{mvar|z}} unchanged, that is
 +
<math display=block>\operatorname{Re}(\overline{z}) = \operatorname{Re}(z)\quad</math> and <math>\quad |\overline{z}| = |z|.</math>
 +
 
 +
The imaginary part and the argument of a complex number {{mvar|z}} change their sign under conjugation
 +
<math display=block>\operatorname{Im}(\overline{z}) = -\operatorname{Im}(z)\quad \text{ and } \quad \operatorname{arg} \overline{z} \equiv -\operatorname{arg} z \pmod {2\pi}.</math>
 +
 
 +
For details on argument and magnitude, see the section on Polar form.
 +
 
 +
The product of a complex number {{math|''z'' = ''x'' + ''yi''}} and its conjugate is known as the ''absolute square''. It is always a non-negative real number and equals the square of the magnitude of each:
 +
<math display=block>z\cdot \overline{z} = x^2 + y^2 = |z|^2 = |\overline{z}|^2.</math>
 +
 
 +
This property can be used to convert a fraction with a complex denominator to an equivalent fraction with a real denominator by expanding both numerator and denominator of the fraction by the conjugate of the given denominator. This process is sometimes called "rationalization" of the denominator (although the denominator in the final expression might be an irrational real number), because it resembles the method to remove roots from simple expressions in a denominator.
 +
 
 +
The real and imaginary parts of a complex number {{mvar|z}} can be extracted using the conjugation:
 +
<math display=block>\operatorname{Re}(z) = \dfrac{z+\overline{z}}{2},\quad \text{ and } \quad \operatorname{Im}(z) = \dfrac{z-\overline{z}}{2i}.</math>
 +
Moreover, a complex number is real if and only if it equals its own conjugate.
 +
 
 +
Conjugation distributes over the basic complex arithmetic operations:
 +
<math display=block>\overline{z\pm w} = \overline{z} \pm \overline{w},</math>
 +
<math display=block>\overline{z\cdot w} = \overline{z} \cdot\overline{w},\quad \overline{z/w} = \overline{z}/\overline{w}.</math>
 +
 
 +
Conjugation is also employed in inversive geometry, a branch of geometry studying reflections more general than ones about a line. In the network analysis of electrical circuits, the complex conjugate is used in finding the equivalent impedance when the maximum power transfer theorem is looked for.
 +
 
 +
===Addition and subtraction===
 +
[[File:Vector Addition.svg|right|thumb|Addition of two complex numbers can be done geometrically by constructing a parallelogram.]]
 +
 
 +
Two complex numbers {{mvar|a}} and {{mvar|b}} are most easily added by separately adding their real and imaginary parts of the summands. That is to say:
 +
<math display=block>a + b =(x+yi) + (u+vi) = (x+u) + (y+v)i.</math>
 +
Similarly, subtraction can be performed as
 +
<math display=block>a - b =(x+yi) - (u+vi) = (x-u) + (y-v)i.</math>
 +
 
 +
Using the visualization of complex numbers in the complex plane, the addition has the following geometric interpretation: the sum of two complex numbers {{mvar|a}} and {{mvar|b}}, interpreted as points in the complex plane, is the point obtained by building a parallelogram from the three vertices {{mvar|O}}, and the points of the arrows labeled {{mvar|a}} and {{mvar|b}} (provided that they are not on a line). Equivalently, calling these points {{mvar|A}}, {{mvar|B}}, respectively and the fourth point of the parallelogram {{mvar|X}} the triangles {{mvar|OAB}} and {{mvar|XBA}} are congruent. A visualization of the subtraction can be achieved by considering addition of the negative subtrahend.
 +
 
 +
===Multiplication and square===
 +
The rules of the distributive property, the commutative properties (of addition and multiplication), and the defining property {{math|1=''i''<sup>2</sup> = −1}} apply to complex numbers. It follows that
 +
<math display=block>(x+yi)\, (u+vi)= (xu - yv) + (xv + yu)i.</math>
 +
 
 +
In particular,
 +
<math display=block>(x+yi)^2=x^2-y^2 + 2xyi.</math>
 +
 
 +
===Reciprocal and division===
 +
Using the conjugation, the reciprocal of a nonzero complex number {{math|1=''z'' = ''x'' + ''yi''}} can always be broken down to
 +
<math display=block>\frac{1}{z}=\frac{\overline{z}}{z \overline{z}} = \frac{\overline{z}}{|z|^2}=\frac{\overline{z}}{x^2+y^2}=\frac{x}{x^2+y^2} -\frac{y}{x^2+y^2}i,</math>
 +
 
 +
since ''non-zero'' implies that {{math|''x''<sup>2</sup> + ''y''<sup>2</sup>}} is greater than zero.
 +
 
 +
This can be used to express a division of an arbitrary complex number {{math|''w'' = ''u'' + ''vi''}} by a non-zero complex number {{mvar|z}} as
 +
<math display=block>\frac {w}{z}= w\cdot \frac {1}{z}= (u+vi)\cdot \left(\frac{x}{x^2+y^2} -\frac{y}{x^2+y^2}i\right)= \frac{(ux+vy)+(vx-uy)i} {x^2+y^2}.</math>
 +
 
 +
===Multiplication and division in polar form===
 +
[[File:Complex multi.svg|right|thumb|Multiplication of {{math|2 + ''i''}} (blue triangle) and {{math|3 + ''i''}} (red triangle). The red triangle is rotated to match the vertex of the blue one and stretched by √5, the length of the hypotenuse of the blue triangle.]]
 +
Formulas for multiplication, division and exponentiation are simpler in polar form than the corresponding formulas in Cartesian coordinates. Given two complex numbers {{math|1=''z''<sub>1</sub> = ''r''<sub>1</sub>(cos ''φ''<sub>1</sub> + ''i'' sin ''φ''<sub>1</sub>)}} and {{math|1=''z''<sub>2</sub> = ''r''<sub>2</sub>(cos ''φ''<sub>2</sub> + ''i'' sin ''φ''<sub>2</sub>)}}, because of the trigonometric identities
 +
<math display=block>\begin{alignat}{4}
 +
\cos a \cos b & - \sin a \sin b \,& = \,& \cos(a + b) {} \\
 +
\cos a \sin b & + \sin a \cos b \,& = \,& \sin(a + b) .
 +
\end{alignat}</math>
 +
 
 +
we may derive
 +
 
 +
<math display=block>z_1 z_2 = r_1 r_2 (\cos(\varphi_1 + \varphi_2) + i \sin(\varphi_1 + \varphi_2)).</math>
 +
In other words, the absolute values are multiplied and the arguments are added to yield the polar form of the product. For example, multiplying by {{math|''i''}} corresponds to a quarter-turn counter-clockwise, which gives back {{math|1=''i''<sup>2</sup> = −1}}. The picture at the right illustrates the multiplication of
 +
<math display=block>(2+i)(3+i)=5+5i. </math>
 +
Since the real and imaginary part of {{math|5 + 5''i''}} are equal, the argument of that number is 45 degrees, or {{math|''π''/4}} (in radians). On the other hand, it is also the sum of the angles at the origin of the red and blue triangles are arctan(1/3) and arctan(1/2), respectively. Thus, the formula
 +
<math display=block>\frac{\pi}{4} = \arctan\left(\frac{1}{2}\right) + \arctan\left(\frac{1}{3}\right) </math>
 +
holds. As the arctan function can be approximated highly efficiently, formulas like this – known as Machin-like formulas – are used for high-precision approximations of <math>\pi</math>.
 +
 
 +
Similarly, division is given by
 +
<math display=block>\frac{z_1}{z_2} = \frac{r_1}{r_2} \left(\cos(\varphi_1 - \varphi_2) + i \sin(\varphi_1 - \varphi_2)\right).</math>
 +
 
 +
===Square root===
 +
 
 +
The square roots of {{math|''a'' + ''bi''}} (with {{math|''b'' ≠ 0}}) are <math> \pm (\gamma + \delta i)</math>, where
 +
 
 +
<math display=block>\gamma = \sqrt{\frac{a + \sqrt{a^2 + b^2}}{2}}</math>
 +
 
 +
and
 +
 
 +
<math display=block>\delta = (\sgn b)\sqrt{\frac{-a + \sqrt{a^2 + b^2}}{2}},</math>
 +
 
 +
where {{math|sgn}} is the signum function. This can be seen by squaring <math> \pm (\gamma + \delta i)</math> to obtain {{math|''a'' + ''bi''}}.
 +
 
 +
===Exponential function===
 +
The exponential function <math>\exp \colon \Complex \to \Complex ; z \mapsto \exp z </math> can be defined for every complex number {{mvar|z}} by the power series
 +
<math display=block>\exp z= \sum_{n=0}^\infty \frac {z^n}{n!},</math>
 +
which has an infinite radius of convergence.
 +
 
 +
The value at {{math|1}} of the exponential function is Euler's number
 +
<math display=block>e = \exp 1 = \sum_{n=0}^\infty \frac1{n!}\approx 2.71828.</math>
 +
If {{mvar|z}} is real, one has
 +
<math>\exp z=e^z.</math>
 +
Analytic continuation allows extending this equality for every complex value of {{mvar|z}}, and thus to define the complex exponentiation with base {{mvar|e}} as
 +
<math display=block>e^z=\exp z.</math>
 +
 
 +
====Functional equation====
 +
The exponential function satisfies the functional equation <math>e^{z+t}=e^ze^t.</math>
 +
This can be proved either by comparing the power series expansion of both members or by applying analytic continuation from the restriction of the equation to real arguments.
 +
 
 +
====Euler's formula====
 +
Euler's formula states that, for any real number {{mvar|y}},
 +
<math display=block>e^{iy} = \cos y + i\sin y .</math>
 +
 
 +
The functional equation implies thus that, if {{mvar|x}} and {{mvar|y}} are real, one has
 +
<math display=block>e^{x+iy} = e^x(\cos y + i\sin y) = e^x \cos y + i e^x \sin y ,</math>
 +
which is the decomposition of the exponential function into its real and imaginary parts.
 +
 
 +
===Complex logarithm===
 +
In the real case, the natural logarithm can be defined as the inverse
 +
<math>\ln \colon \R^+ \to \R ; x \mapsto \ln x </math> of the exponential function. For extending this to the complex domain, one can start from Euler's formula. It implies that, if a complex number <math>z\in \Complex^\times</math> is written in polar form
 +
<math display=block> z = r(\cos \varphi + i\sin \varphi )</math>
 +
with <math>r, \varphi \in \R ,</math> then with
 +
<math display=block> \ln z = \ln r + i \varphi </math>
 +
as complex logarithm one has a proper inverse:
 +
<math display=block> \exp \ln z = \exp(\ln r + i \varphi ) = r \exp i \varphi = r(\cos \varphi + i\sin \varphi ) = z .</math>
 +
 
 +
However, because cosine and sine are periodic functions, the addition of an integer multiple of {{math|2''π''}} to {{mvar|φ}} does not change {{mvar|z}}. For example, {{math|1=''e''<sup>''iπ''</sup> = ''e''<sup>3''iπ''</sup> = −1}} , so both {{mvar|iπ}} and {{math|3''iπ''}} are possible values for the natural logarithm of {{math|−1}}.
 +
 
 +
Therefore, if the complex logarithm is not to be defined as a multivalued function
 +
<math display=block> \ln z = \left\{ \ln r + i (\varphi + 2\pi k) \mid k \in \Z \right\},</math>
 +
one has to use a branch cut and to restrict the codomain, resulting in the bijective function
 +
<math display=block>\ln \colon \; \Complex^\times \; \to \; \; \; \R^+ + \; i \, \left(-\pi, \pi\right] .</math>
 +
 
 +
If <math>z \in \Complex \setminus \left( -\R_{\ge 0} \right)</math> is not a non-positive real number (a positive or a non-real number), the resulting principal value of the complex logarithm is obtained with {{math|−''π'' < ''φ'' < ''π''}}. It is an analytic function outside the negative real numbers, but it cannot be prolongated to a function that is continuous at any negative real number <math>z \in -\R^+ </math>, where the principal value is {{math|1=ln ''z'' = ln(−''z'') + ''iπ''}}.
 +
 
 +
===Exponentiation===
 +
If {{math|''x'' > 0}} is real and {{mvar|z}} complex, the exponentiation is defined as
 +
<math display=block>x^z=e^{z\ln x},</math>
 +
where {{math|ln}} denotes the natural logarithm.
 +
 
 +
It seems natural to extend this formula to complex values of {{mvar|x}}, but there are some difficulties resulting from the fact that the complex logarithm is not really a function, but a multivalued function.
 +
 
 +
It follows that if {{mvar|z}} is as above, and if {{mvar|t}} is another complex number, then the ''exponentiation'' is the multivalued function
 +
<math display=block>z^t=\left\{e^{t\ln r}\,(\cos(\varphi t+ 2 \pi kt)+i\sin(\varphi t+ 2 \pi kt))\}\mid k\in \mathbb Z\right\}</math>
 +
 
 +
====Integer and fractional exponents====
 +
 
 +
If, in the preceding formula, {{mvar|t}} is an integer, then the sine and the cosine are independent of {{mvar|k}}. Thus, if the exponent {{mvar|n}} is an integer, then <math>z^n</math> is well defined, and the exponentiation formula simplifies to de Moivre's formula:
 +
<math display=block> z^{n}=(r(\cos \varphi + i\sin \varphi ))^n = r^n \, (\cos n\varphi + i \sin n \varphi).</math>
 +
 
 +
The {{mvar|n}} {{mvar|n}}th roots of a complex number {{mvar|z}} are given by
 +
<math display=block>z^{1/n} = \sqrt[n]r \left( \cos \left(\frac{\varphi+2k\pi}{n}\right) + i \sin \left(\frac{\varphi+2k\pi}{n}\right)\right)</math>
 +
for {{math|0 ≤ ''k'' ≤ ''n'' − 1}}. (Here <math>\sqrt[n]r</math> is the usual (positive) {{mvar|n}}th root of the positive real number {{mvar|r}}.) Because sine and cosine are periodic, other integer values of {{mvar|k}} do not give other values.
 +
 
 +
While the {{mvar|n}}th root of a positive real number {{mvar|r}} is chosen to be the ''positive'' real number {{mvar|c}} satisfying {{math|1=''c''<sup>''n''</sup> = ''r''}}, there is no natural way of distinguishing one particular complex {{mvar|n}}th root of a complex number. Therefore, the {{mvar|n}}th root is a {{mvar|n}}-valued function of {{mvar|z}}. This implies that, contrary to the case of positive real numbers, one has 
 +
<math display=block>(z^n)^{1/n} \ne z,</math>
 +
since the left-hand side consists of {{mvar|n}} values, and the right-hand side is a single value.
 +
 
 +
==Licensing==
 +
Content obtained and/or adapted from:
 +
* [https://en.wikipedia.org/wiki/Complex_number Complex number, Wikipedia] under a CC BY-SA license

Latest revision as of 10:06, 3 November 2021

A complex number can be visually represented as a pair of numbers (a, b) forming a vector on a diagram called an Argand diagram, representing the complex plane. Re is the real axis, Im is the imaginary axis, and i is the "imaginary unit" that satisfies i2 = −1.

In mathematics, a complex number is a number that can be expressed in the form a + bi, where a and b are real numbers, and i is a symbol, called the imaginary unit, that satisfies the equation i2 = −1. Because no real number satisfies this equation, i was called an imaginary number by René Descartes. For the complex number a + bi, a is called the real part and b is called the imaginary part. The set of complex numbers is denoted by either of the symbols or C. Despite the historical nomenclature "imaginary", complex numbers are regarded in the mathematical sciences as just as "real" as the real numbers and are fundamental in many aspects of the scientific description of the natural world.

Complex numbers allow solutions to all polynomial equations, even those that have no solutions in real numbers. More precisely, the fundamental theorem of algebra asserts that every polynomial equation with real or complex coefficients has a solution which is a complex number. For example, the equation has no real solution, since the square of a real number cannot be negative, but has the two nonreal complex solutions −1 + 3i and −1 − 3i.

Addition, subtraction and multiplication of complex numbers can be naturally defined by using the rule i2 = −1 combined with the associative, commutative and distributive laws. Every nonzero complex number has a multiplicative inverse. This makes the complex numbers a field that has the real numbers as a subfield. The complex numbers form also a real vector space of dimension two, with {1, i as a standard basis.

This standard basis makes the complex numbers a Cartesian plane, called the complex plane. This allows a geometric interpretation of the complex numbers and their operations, and conversely expressing in terms of complex numbers some geometric properties and constructions. For example, the real numbers form the real line which is identified to the horizontal axis of the complex plane. The complex numbers of absolute value one form the unit circle. The addition of a complex number is a translation in the complex plane, and the multiplication by a complex number is a similarity centered at the origin. The complex conjugation is the reflection symmetry with respect to the real axis. The complex absolute value is a Euclidean norm.

In summary, the complex numbers form a rich structure that is simultaneously an algebraically closed field, a commutative algebra over the reals, and a Euclidean vector space of dimension two.

Definition

An illustration of the complex number z = x + iy on the complex plane. The real part is x, and its imaginary part is y.

A complex number is a number of the form a + bi, where a and b are real numbers, and i is an indeterminate satisfying i2 = −1. For example, 2 + 3i is a complex number.

This way, a complex number is defined as a polynomial with real coefficients in the single indeterminate i, for which the relation {{{1}}} is imposed. Based on this definition, complex numbers can be added and multiplied, using the addition and multiplication for polynomials. The relation {{{1}}} induces the equalities {{{1}}} and {{{1}}} which hold for all integers k; these allow the reduction of any polynomial that results from the addition and multiplication of complex numbers to a linear polynomial in i, again of the form a + bi with real coefficients a, b.

The real number a is called the real part of the complex number a + bi; the real number b is called its imaginary part. To emphasize, the imaginary part does not include a factor i; that is, the imaginary part is b, not bi.

Formally, the complex numbers are defined as the quotient ring of the polynomial ring in the indeterminate i, by the ideal generated by the polynomial i2 + 1.

Notation

A real number a can be regarded as a complex number a + 0i, whose imaginary part is 0. A purely imaginary number bi is a complex number 0 + bi, whose real part is zero. As with polynomials, it is common to write a for a + 0i and bi for 0 + bi. Moreover, when the imaginary part is negative, that is, b = −|b| < 0, it is common to write a|b|i instead of a + (−|b|)i; for example, for b = −4, 3 − 4i can be written instead of 3 + (−4)i.

Since the multiplication of the indeterminate i and a real is commutative in polynomials with real coefficients, the polynomial a + bi may be written as a + ib. This is often expedient for imaginary parts denoted by expressions, for example, when b is a radical.

The real part of a complex number z is denoted by Re(z), , or ; the imaginary part of a complex number z is denoted by Im(z), , or For example,

The set of all complex numbers is denoted by (blackboard bold) or C (upright bold).

In some disciplines, particularly in electromagnetism and electrical engineering, j is used instead of i as i is frequently used to represent electric current.

Visualization

A complex number z, as a point (black) and its position vector (blue)

A complex number z can thus be identified with an ordered pair of real numbers, which in turn may be interpreted as coordinates of a point in a two-dimensional space. The most immediate space is the Euclidean plane with suitable coordinates, which is then called complex plane or Argand diagram, named after Jean-Robert Argand. Another prominent space on which the coordinates may be projected is the two-dimensional surface of a sphere, which is then called Riemann sphere.

Cartesian complex plane

The definition of the complex numbers involving two arbitrary real values immediately suggests the use of Cartesian coordinates in the complex plane. The horizontal (real) axis is generally used to display the real part, with increasing values to the right, and the imaginary part marks the vertical (imaginary) axis, with increasing values upwards.

A charted number may be viewed either as the coordinatized point or as a position vector from the origin to this point. The coordinate values of a complex number z can hence be expressed in its Cartesian, rectangular, or algebraic form.

Notably, the operations of addition and multiplication take on a very natural geometric character, when complex numbers are viewed as position vectors: addition corresponds to vector addition, while multiplication (see below) corresponds to multiplying their magnitudes and adding the angles they make with the real axis. Viewed in this way, the multiplication of a complex number by i corresponds to rotating the position vector counterclockwise by a quarter turn (90°) about the origin—a fact which can be expressed algebraically as follows:

Polar complex plane

Argument φ and modulus r locate a point in the complex plane.

Modulus and argument

An alternative option for coordinates in the complex plane is the polar coordinate system that uses the distance of the point z from the origin (O), and the angle subtended between the positive real axis and the line segment Oz in a counterclockwise sense. This leads to the polar form of complex numbers.

The absolute value (or modulus or magnitude) of a complex number z = x + yi is

If z is a real number (that is, if y = 0), then r = |x|. That is, the absolute value of a real number equals its absolute value as a complex number.

By Pythagoras' theorem, the absolute value of a complex number is the distance to the origin of the point representing the complex number in the complex plane.

The argument of z (in many applications referred to as the "phase" φ) is the angle of the radius Oz with the positive real axis, and is written as arg z. As with the modulus, the argument can be found from the rectangular form x + yi by applying the inverse tangent to the quotient of imaginary-by-real parts. By using a half-angle identity, a single branch of the arctan suffices to cover the range of the arg-function, (−π, π], and avoids a more subtle case-by-case analysis

Normally, as given above, the principal value in the interval (−π, π] is chosen. If the arg value is negative, values in the range (−π, π] or [0, 2π) can be obtained by adding 2π. The value of φ is expressed in radians in this article. It can increase by any integer multiple of 2π and still give the same angle, viewed as subtended by the rays of the positive real axis and from the origin through z. Hence, the arg function is sometimes considered as multivalued. The polar angle for the complex number 0 is indeterminate, but arbitrary choice of the polar angle 0 is common.

The value of φ equals the result of atan2:

Together, r and φ give another way of representing complex numbers, the polar form, as the combination of modulus and argument fully specify the position of a point on the plane. Recovering the original rectangular co-ordinates from the polar form is done by the formula called trigonometric form

Using Euler's formula this can be written as

Using the cis function, this is sometimes abbreviated to

In angle notation, often used in electronics to represent a phasor with amplitude r and phase φ, it is written as

Complex graphs

A color wheel graph of the expression

When visualizing complex functions, both a complex input and output are needed. Because each complex number is represented in two dimensions, visually graphing a complex function would require the perception of a four dimensional space, which is possible only in projections. Because of this, other ways of visualizing complex functions have been designed.

In domain coloring the output dimensions are represented by color and brightness, respectively. Each point in the complex plane as domain is ornated, typically with color representing the argument of the complex number, and brightness representing the magnitude. Dark spots mark moduli near zero, brighter spots are farther away from the origin, the gradation may be discontinuous, but is assumed as monotonous. The colors often vary in steps of for 0 to from red, yellow, green, cyan, blue, to magenta. These plots are called color wheel graphs. This provides a simple way to visualize the functions without losing information. The picture shows zeros for ±1, (2 + i) and poles at

Riemann surfaces are another way to visualize complex functions. Riemann surfaces can be thought of as deformations of the complex plane; while the horizontal axes represent the real and imaginary inputs, the single vertical axis only represents either the real or imaginary output. However, Riemann surfaces are built in such a way that rotating them 180 degrees shows the imaginary output, and vice versa. Unlike domain coloring, Riemann surfaces can represent multivalued functions like .

Relations and operations

Equality

Complex numbers have a similar definition of equality to real numbers; two complex numbers a1 + b1i and a2 + b2i are equal if and only if both their real and imaginary parts are equal, that is, if a1 = a2 and b1 = b2. Nonzero complex numbers written in polar form are equal if and only if they have the same magnitude and their arguments differ by an integer multiple of 2π.

Ordering

Unlike the real numbers, there is no natural ordering of the complex numbers. In particular, there is no linear ordering on the complex numbers that is compatible with addition and multiplication – the complex numbers cannot have the structure of an ordered field. This is e.g. because every non-trivial sum of squares in an ordered field is ≠ 0, and i2 + 12 = 0 is a non-trivial sum of squares. Thus, complex numbers are naturally thought of as existing on a two-dimensional plane.

Conjugate

Geometric representation of z and its conjugate in the complex plane

The complex conjugate of the complex number z = x + yi is given by xyi. It is denoted by either or z*. This unary operation on complex numbers cannot be expressed by applying only their basic operations addition, subtraction, multiplication and division.

Geometrically, is the "reflection" of z about the real axis. Conjugating twice gives the original complex number

which makes this operation an involution. The reflection leaves both the real part and the magnitude of z unchanged, that is

and

The imaginary part and the argument of a complex number z change their sign under conjugation

For details on argument and magnitude, see the section on Polar form.

The product of a complex number {{{1}}} and its conjugate is known as the absolute square. It is always a non-negative real number and equals the square of the magnitude of each:

This property can be used to convert a fraction with a complex denominator to an equivalent fraction with a real denominator by expanding both numerator and denominator of the fraction by the conjugate of the given denominator. This process is sometimes called "rationalization" of the denominator (although the denominator in the final expression might be an irrational real number), because it resembles the method to remove roots from simple expressions in a denominator.

The real and imaginary parts of a complex number z can be extracted using the conjugation:

Moreover, a complex number is real if and only if it equals its own conjugate.

Conjugation distributes over the basic complex arithmetic operations:

Conjugation is also employed in inversive geometry, a branch of geometry studying reflections more general than ones about a line. In the network analysis of electrical circuits, the complex conjugate is used in finding the equivalent impedance when the maximum power transfer theorem is looked for.

Addition and subtraction

Addition of two complex numbers can be done geometrically by constructing a parallelogram.

Two complex numbers a and b are most easily added by separately adding their real and imaginary parts of the summands. That is to say:

Similarly, subtraction can be performed as

Using the visualization of complex numbers in the complex plane, the addition has the following geometric interpretation: the sum of two complex numbers a and b, interpreted as points in the complex plane, is the point obtained by building a parallelogram from the three vertices O, and the points of the arrows labeled a and b (provided that they are not on a line). Equivalently, calling these points A, B, respectively and the fourth point of the parallelogram X the triangles OAB and XBA are congruent. A visualization of the subtraction can be achieved by considering addition of the negative subtrahend.

Multiplication and square

The rules of the distributive property, the commutative properties (of addition and multiplication), and the defining property i2 = −1 apply to complex numbers. It follows that

In particular,

Reciprocal and division

Using the conjugation, the reciprocal of a nonzero complex number z = x + yi can always be broken down to

since non-zero implies that x2 + y2 is greater than zero.

This can be used to express a division of an arbitrary complex number {{{1}}} by a non-zero complex number z as

Multiplication and division in polar form

Multiplication of 2 + i (blue triangle) and 3 + i (red triangle). The red triangle is rotated to match the vertex of the blue one and stretched by √5, the length of the hypotenuse of the blue triangle.

Formulas for multiplication, division and exponentiation are simpler in polar form than the corresponding formulas in Cartesian coordinates. Given two complex numbers z1 = r1(cos φ1 + i sin φ1) and z2 = r2(cos φ2 + i sin φ2), because of the trigonometric identities

we may derive

In other words, the absolute values are multiplied and the arguments are added to yield the polar form of the product. For example, multiplying by i corresponds to a quarter-turn counter-clockwise, which gives back i2 = −1. The picture at the right illustrates the multiplication of
Since the real and imaginary part of 5 + 5i are equal, the argument of that number is 45 degrees, or π/4 (in radians). On the other hand, it is also the sum of the angles at the origin of the red and blue triangles are arctan(1/3) and arctan(1/2), respectively. Thus, the formula
holds. As the arctan function can be approximated highly efficiently, formulas like this – known as Machin-like formulas – are used for high-precision approximations of .

Similarly, division is given by

Square root

The square roots of a + bi (with b ≠ 0) are , where

and

where sgn is the signum function. This can be seen by squaring to obtain a + bi.

Exponential function

The exponential function can be defined for every complex number z by the power series

which has an infinite radius of convergence.

The value at 1 of the exponential function is Euler's number

If z is real, one has Analytic continuation allows extending this equality for every complex value of z, and thus to define the complex exponentiation with base e as

Functional equation

The exponential function satisfies the functional equation This can be proved either by comparing the power series expansion of both members or by applying analytic continuation from the restriction of the equation to real arguments.

Euler's formula

Euler's formula states that, for any real number y,

The functional equation implies thus that, if x and y are real, one has

which is the decomposition of the exponential function into its real and imaginary parts.

Complex logarithm

In the real case, the natural logarithm can be defined as the inverse of the exponential function. For extending this to the complex domain, one can start from Euler's formula. It implies that, if a complex number is written in polar form

with then with
as complex logarithm one has a proper inverse:

However, because cosine and sine are periodic functions, the addition of an integer multiple of 2π to φ does not change z. For example, e = e3 = −1 , so both and 3 are possible values for the natural logarithm of −1.

Therefore, if the complex logarithm is not to be defined as a multivalued function

one has to use a branch cut and to restrict the codomain, resulting in the bijective function

If is not a non-positive real number (a positive or a non-real number), the resulting principal value of the complex logarithm is obtained with π < φ < π. It is an analytic function outside the negative real numbers, but it cannot be prolongated to a function that is continuous at any negative real number , where the principal value is ln z = ln(−z) + .

Exponentiation

If x > 0 is real and z complex, the exponentiation is defined as

where ln denotes the natural logarithm.

It seems natural to extend this formula to complex values of x, but there are some difficulties resulting from the fact that the complex logarithm is not really a function, but a multivalued function.

It follows that if z is as above, and if t is another complex number, then the exponentiation is the multivalued function

Integer and fractional exponents

If, in the preceding formula, t is an integer, then the sine and the cosine are independent of k. Thus, if the exponent n is an integer, then is well defined, and the exponentiation formula simplifies to de Moivre's formula:

The n nth roots of a complex number z are given by

for 0 ≤ kn − 1. (Here is the usual (positive) nth root of the positive real number r.) Because sine and cosine are periodic, other integer values of k do not give other values.

While the nth root of a positive real number r is chosen to be the positive real number c satisfying cn = r, there is no natural way of distinguishing one particular complex nth root of a complex number. Therefore, the nth root is a n-valued function of z. This implies that, contrary to the case of positive real numbers, one has

since the left-hand side consists of n values, and the right-hand side is a single value.

Licensing

Content obtained and/or adapted from: