Difference between revisions of "Complex Numbers"

From Department of Mathematics at UTSA
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
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''}}.
 
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''}}.
  
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|{{mset|1, ''i''}}}} as a standard basis.
+
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.
  
 
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.  
 
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.  
Line 17: Line 17:
 
[[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}}.]]
 
[[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.<ref>{{cite book|title=College algebra |url=https://archive.org/details/collegealgebrawi00axle |url-access=limited |last=Axler |first=Sheldon |page=[https://archive.org/details/collegealgebrawi00axle/page/n285 262]|publisher=Wiley|year=2010|isbn=9780470470770 }}</ref><ref name=":1" />
+
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.}}
 
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.}}
Line 29: Line 29:
 
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''}}.
 
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.<ref>See {{harv|Ahlfors|1979}}.</ref>
+
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,
 
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,
Line 65: Line 65:
 
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.
 
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|φ}})<ref name=":2" /> 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
+
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}
 
<math display=block>\varphi = \arg (x+yi) = \begin{cases}
Line 110: Line 110:
 
===Conjugate===
 
===Conjugate===
  
[[File:Complex conjugate picture.svg|right|thumb|upright=0.8|Geometric representation of {{mvar|z}} and its conjugate {{mvar|{{overline|z}}}} in the complex plane]]
+
[[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.
 
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.
  
Line 251: Line 251:
 
====Integer and fractional exponents====
 
====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''{{sup|''n''}}}} is well defined, and the exponentiation formula simplifies to de Moivre's formula:
+
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>
 
<math display=block> z^{n}=(r(\cos \varphi + i\sin \varphi ))^n = r^n \, (\cos n\varphi + i \sin n \varphi).</math>
  

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: