Search This Blog

Thursday, April 11, 2024

Complex logarithm

From Wikipedia, the free encyclopedia
https://en.wikipedia.org/wiki/Complex_logarithm
A single branch of the complex logarithm. The hue of the color is used to show the argument of the complex logarithm. The brightness of the color is used to show the modulus of the complex logarithm.
The real part of log(z) is the natural logarithm of |z|. Its graph is thus obtained by rotating the graph of ln(x) around the z-axis.

In mathematics, a complex logarithm is a generalization of the natural logarithm to nonzero complex numbers. The term refers to one of the following, which are strongly related:

  • A complex logarithm of a nonzero complex number , defined to be any complex number for which . Such a number is denoted by . If is given in polar form as , where and are real numbers with , then is one logarithm of , and all the complex logarithms of are exactly the numbers of the form for integers . These logarithms are equally spaced along a vertical line in the complex plane.
  • A complex-valued function , defined on some subset of the set of nonzero complex numbers, satisfying for all in . Such complex logarithm functions are analogous to the real logarithm function , which is the inverse of the real exponential function and hence satisfies eln x = x for all positive real numbers x. Complex logarithm functions can be constructed by explicit formulas involving real-valued functions, by integration of , or by the process of analytic continuation.

There is no continuous complex logarithm function defined on all of . Ways of dealing with this include branches, the associated Riemann surface, and partial inverses of the complex exponential function. The principal value defines a particular complex logarithm function that is continuous except along the negative real axis; on the complex plane with the negative real numbers and 0 removed, it is the analytic continuation of the (real) natural logarithm.

Problems with inverting the complex exponential function

A plot of the multi-valued imaginary part of the complex logarithm function, which shows the branches. As a complex number z goes around the origin, the imaginary part of the logarithm goes up or down. This makes the origin a branch point of the function.

For a function to have an inverse, it must map distinct values to distinct values; that is, it must be injective. But the complex exponential function is not injective, because for any complex number and integer , since adding to has the effect of rotating counterclockwise radians. So the points

equally spaced along a vertical line, are all mapped to the same number by the exponential function. This means that the exponential function does not have an inverse function in the standard sense. There are two solutions to this problem.

One is to restrict the domain of the exponential function to a region that does not contain any two numbers differing by an integer multiple of : this leads naturally to the definition of branches of , which are certain functions that single out one logarithm of each number in their domains. This is analogous to the definition of on as the inverse of the restriction of to the interval : there are infinitely many real numbers with , but one arbitrarily chooses the one in .

Another way to resolve the indeterminacy is to view the logarithm as a function whose domain is not a region in the complex plane, but a Riemann surface that covers the punctured complex plane in an infinite-to-1 way.

Branches have the advantage that they can be evaluated at complex numbers. On the other hand, the function on the Riemann surface is elegant in that it packages together all branches of the logarithm and does not require an arbitrary choice as part of its definition.

Principal value

Definition

For each nonzero complex number , the principal value is the logarithm whose imaginary part lies in the interval . The expression is left undefined since there is no complex number satisfying .

When the notation appears without any particular logarithm having been specified, it is generally best to assume that the principal value is intended. In particular, this gives a value consistent with the real value of when is a positive real number. The capitalization in the notation is used by some authors to distinguish the principal value from other logarithms of

Calculating the principal value

The polar form of a nonzero complex number is , where is the absolute value of , and is its argument. The absolute value is real and positive. The argument is defined up to addition of an integer multiple of 2π. Its principal value is the value that belongs to the interval , which is expressed as .

This leads to the following formula for the principal value of the complex logarithm:

For example, , and .

The principal value as an inverse function

Another way to describe is as the inverse of a restriction of the complex exponential function, as in the previous section. The horizontal strip consisting of complex numbers such that is an example of a region not containing any two numbers differing by an integer multiple of , so the restriction of the exponential function to has an inverse. In fact, the exponential function maps bijectively to the punctured complex plane , and the inverse of this restriction is . The conformal mapping section below explains the geometric properties of this map in more detail.

The principal value as an analytic continuation

On the region consisting of complex numbers that are not negative real numbers or 0, the function is the analytic continuation of the natural logarithm. The values on the negative real line can be obtained as limits of values at nearby complex numbers with positive imaginary parts.

Properties

Not all identities satisfied by extend to complex numbers. It is true that for all (this is what it means for to be a logarithm of ), but the identity fails for outside the strip . For this reason, one cannot always apply to both sides of an identity to deduce . Also, the identity can fail: the two sides can differ by an integer multiple of ; for instance,

but

The function is discontinuous at each negative real number, but continuous everywhere else in . To explain the discontinuity, consider what happens to as approaches a negative real number . If approaches from above, then approaches which is also the value of itself. But if approaches from below, then approaches So "jumps" by as crosses the negative real axis, and similarly jumps by

Branches of the complex logarithm

Is there a different way to choose a logarithm of each nonzero complex number so as to make a function that is continuous on all of ? The answer is no. To see why, imagine tracking such a logarithm function along the unit circle, by evaluating as increases from to . If is continuous, then so is , but the latter is a difference of two logarithms of so it takes values in the discrete set so it is constant. In particular, , which contradicts .

To obtain a continuous logarithm defined on complex numbers, it is hence necessary to restrict the domain to a smaller subset of the complex plane. Because one of the goals is to be able to differentiate the function, it is reasonable to assume that the function is defined on a neighborhood of each point of its domain; in other words, should be an open set. Also, it is reasonable to assume that is connected, since otherwise the function values on different components of could be unrelated to each other. All this motivates the following definition:

A branch of is a continuous function defined on a connected open subset of the complex plane such that is a logarithm of for each in .

For example, the principal value defines a branch on the open set where it is continuous, which is the set obtained by removing 0 and all negative real numbers from the complex plane.

Another example: The Mercator series

converges locally uniformly for , so setting defines a branch of on the open disk of radius 1 centered at 1. (Actually, this is just a restriction of , as can be shown by differentiating the difference and comparing values at 1.)

Once a branch is fixed, it may be denoted if no confusion can result. Different branches can give different values for the logarithm of a particular complex number, however, so a branch must be fixed in advance (or else the principal branch must be understood) in order for "" to have a precise unambiguous meaning.

Branch cuts

The argument above involving the unit circle generalizes to show that no branch of exists on an open set containing a closed curve that winds around 0. One says that "" has a branch point at 0". To avoid containing closed curves winding around 0, is typically chosen as the complement of a ray or curve in the complex plane going from 0 (inclusive) to infinity in some direction. In this case, the curve is known as a branch cut. For example, the principal branch has a branch cut along the negative real axis.

If the function is extended to be defined at a point of the branch cut, it will necessarily be discontinuous there; at best it will be continuous "on one side", like at a negative real number.

The derivative of the complex logarithm

Each branch of on an open set is the inverse of a restriction of the exponential function, namely the restriction to the image . Since the exponential function is holomorphic (that is, complex differentiable) with nonvanishing derivative, the complex analogue of the inverse function theorem applies. It shows that is holomorphic on , and for each in . Another way to prove this is to check the Cauchy–Riemann equations in polar coordinates.

Constructing branches via integration

The function for real can be constructed by the formula

If the range of integration started at a positive number other than 1, the formula would have to be
instead.

In developing the analogue for the complex logarithm, there is an additional complication: the definition of the complex integral requires a choice of path. Fortunately, if the integrand is holomorphic, then the value of the integral is unchanged by deforming the path (while holding the endpoints fixed), and in a simply connected region (a region with "no holes"), any path from to inside can be continuously deformed inside into any other. All this leads to the following:

If is a simply connected open subset of not containing 0, then a branch of defined on can be constructed by choosing a starting point in , choosing a logarithm of , and defining
for each in .

The complex logarithm as a conformal map

The circles Re(Log z) = constant and the rays Im(Log z) = constant in the complex z-plane.
Complex log mapping maps radii to horizontal lines and circles to vertical lines

Any holomorphic map satisfying for all is a conformal map, which means that if two curves passing through a point of form an angle (in the sense that the tangent lines to the curves at form an angle ), then the images of the two curves form the same angle at . Since a branch of is holomorphic, and since its derivative is never 0, it defines a conformal map.

For example, the principal branch , viewed as a mapping from to the horizontal strip defined by , has the following properties, which are direct consequences of the formula in terms of polar form:

  • Circles in the z-plane centered at 0 are mapped to vertical segments in the w-plane connecting to , where is the real log of the radius of the circle.
  • Rays emanating from 0 in the z-plane are mapped to horizontal lines in the w-plane.

Each circle and ray in the z-plane as above meet at a right angle. Their images under Log are a vertical segment and a horizontal line (respectively) in the w-plane, and these too meet at a right angle. This is an illustration of the conformal property of Log.

The associated Riemann surface

A visualization of the Riemann surface of log z. The surface appears to spiral around a vertical line corresponding to the origin of the complex plane. The actual surface extends arbitrarily far both horizontally and vertically, but is cut off in this image.

Construction

The various branches of cannot be glued to give a single continuous function because two branches may give different values at a point where both are defined. Compare, for example, the principal branch on with imaginary part in and the branch on whose imaginary part lies in . These agree on the upper half plane, but not on the lower half plane. So it makes sense to glue the domains of these branches only along the copies of the upper half plane. The resulting glued domain is connected, but it has two copies of the lower half plane. Those two copies can be visualized as two levels of a parking garage, and one can get from the level of the lower half plane up to the level of the lower half plane by going radians counterclockwise around 0, first crossing the positive real axis (of the level) into the shared copy of the upper half plane and then crossing the negative real axis (of the level) into the level of the lower half plane.

One can continue by gluing branches with imaginary part in , in , and so on, and in the other direction, branches with imaginary part in , in , and so on. The final result is a connected surface that can be viewed as a spiraling parking garage with infinitely many levels extending both upward and downward. This is the Riemann surface associated to .

A point on can be thought of as a pair where is a possible value of the argument of . In this way, R can be embedded in .

The logarithm function on the Riemann surface

Because the domains of the branches were glued only along open sets where their values agreed, the branches glue to give a single well-defined function . It maps each point on to . This process of extending the original branch by gluing compatible holomorphic functions is known as analytic continuation.

There is a "projection map" from down to that "flattens" the spiral, sending to . For any , if one takes all the points of lying "directly above" and evaluates at all these points, one gets all the logarithms of .

Gluing all branches of log z

Instead of gluing only the branches chosen above, one can start with all branches of , and simultaneously glue every pair of branches and along the largest open subset of on which and agree. This yields the same Riemann surface and function as before. This approach, although slightly harder to visualize, is more natural in that it does not require selecting any particular branches.

If is an open subset of projecting bijectively to its image in , then the restriction of to corresponds to a branch of defined on . Every branch of arises in this way.

The Riemann surface as a universal cover

The projection map realizes as a covering space of . In fact, it is a Galois covering with deck transformation group isomorphic to , generated by the homeomorphism sending to .

As a complex manifold, is biholomorphic with via . (The inverse map sends to .) This shows that is simply connected, so is the universal cover of .

Applications

  • The complex logarithm is needed to define exponentiation in which the base is a complex number. Namely, if and are complex numbers with , one can use the principal value to define . One can also replace by other logarithms of to obtain other values of , differing by factors of the form .] The expression has a single value if and only if is an integer.
  • Because trigonometric functions can be expressed as rational functions of , the inverse trigonometric functions can be expressed in terms of complex logarithms.
  • Since the mapping transforms circles centered at 0 into vertical straight line segments, it is useful in engineering applications involving an annulus.
  • In electrical engineering, the propagation constant involves a complex logarithm.

Generalizations

Logarithms to other bases

Just as for real numbers, one can define for complex numbers and

with the only caveat that its value depends on the choice of a branch of log defined at and (with ). For example, using the principal value gives

Logarithms of holomorphic functions

If f is a holomorphic function on a connected open subset of , then a branch of on is a continuous function on such that for all in . Such a function is necessarily holomorphic with for all in .

If is a simply connected open subset of , and is a nowhere-vanishing holomorphic function on , then a branch of defined on can be constructed by choosing a starting point a in , choosing a logarithm of , and defining

for each in .

Wednesday, April 10, 2024

Solving quadratic equations with continued fractions

In mathematics, a quadratic equation is a polynomial equation of the second degree. The general form is

where a ≠ 0.

The quadratic equation on a number can be solved using the well-known quadratic formula, which can be derived by completing the square. That formula always gives the roots of the quadratic equation, but the solutions are expressed in a form that often involves a quadratic irrational number, which is an algebraic fraction that can be evaluated as a decimal fraction only by applying an additional root extraction algorithm.

If the roots are real, there is an alternative technique that obtains a rational approximation to one of the roots by manipulating the equation directly. The method works in many cases, and long ago it stimulated further development of the analytical theory of continued fractions.

Simple example

Here is a simple example to illustrate the solution of a quadratic equation using continued fractions. We begin with the equation

and manipulate it directly. Subtracting one from both sides we obtain

This is easily factored into

from which we obtain

and finally

Now comes the crucial step. We substitute this expression for x back into itself, recursively, to obtain

But now we can make the same recursive substitution again, and again, and again, pushing the unknown quantity x as far down and to the right as we please, and obtaining in the limit the infinite continued fraction

By applying the fundamental recurrence formulas we may easily compute the successive convergents of this continued fraction to be 1, 3/2, 7/5, 17/12, 41/29, 99/70, 239/169, ..., where each successive convergent is formed by taking the numerator plus the denominator of the preceding term as the denominator in the next term, then adding in the preceding denominator to form the new numerator. This sequence of denominators is a particular Lucas sequence known as the Pell numbers.

Algebraic explanation

We can gain further insight into this simple example by considering the successive powers of

That sequence of successive powers is given by

and so forth. Notice how the fractions derived as successive approximants to 2 appear in this geometric progression.

Since 0 < ω < 1, the sequence {ωn} clearly tends toward zero, by well-known properties of the positive real numbers. This fact can be used to prove, rigorously, that the convergents discussed in the simple example above do in fact converge to 2, in the limit.

We can also find these numerators and denominators appearing in the successive powers of

The sequence of successive powers {ωn} does not approach zero; it grows without limit instead. But it can still be used to obtain the convergents in our simple example.

Notice also that the set obtained by forming all the combinations a + b2, where a and b are integers, is an example of an object known in abstract algebra as a ring, and more specifically as an integral domain. The number ω is a unit in that integral domain. See also algebraic number field.

General quadratic equation

Continued fractions are most conveniently applied to solve the general quadratic equation expressed in the form of a monic polynomial

which can always be obtained by dividing the original equation by its leading coefficient. Starting from this monic equation we see that

But now we can apply the last equation to itself recursively to obtain

If this infinite continued fraction converges at all, it must converge to one of the roots of the monic polynomial x2 + bx + c = 0. Unfortunately, this particular continued fraction does not converge to a finite number in every case. We can easily see that this is so by considering the quadratic formula and a monic polynomial with real coefficients. If the discriminant of such a polynomial is negative, then both roots of the quadratic equation have imaginary parts. In particular, if b and c are real numbers and b2 − 4c < 0, all the convergents of this continued fraction "solution" will be real numbers, and they cannot possibly converge to a root of the form u + iv (where v ≠ 0), which does not lie on the real number line.

General theorem

By applying a result obtained by Euler in 1748 it can be shown that the continued fraction solution to the general monic quadratic equation with real coefficients

given by

either converges or diverges depending on both the coefficient b and the value of the discriminant, b2 − 4c.

If b = 0 the general continued fraction solution is totally divergent; the convergents alternate between 0 and . If b ≠ 0 we distinguish three cases.

  1. If the discriminant is negative, the fraction diverges by oscillation, which means that its convergents wander around in a regular or even chaotic fashion, never approaching a finite limit.
  2. If the discriminant is zero the fraction converges to the single root of multiplicity two.
  3. If the discriminant is positive the equation has two real roots, and the continued fraction converges to the larger (in absolute value) of these. The rate of convergence depends on the absolute value of the ratio between the two roots: the farther that ratio is from unity, the more quickly the continued fraction converges.

When the monic quadratic equation with real coefficients is of the form x2 = c, the general solution described above is useless because division by zero is not well defined. As long as c is positive, though, it is always possible to transform the equation by subtracting a perfect square from both sides and proceeding along the lines illustrated with 2 above. In symbols, if

just choose some positive real number p such that

Then by direct manipulation we obtain

and this transformed continued fraction must converge because all the partial numerators and partial denominators are positive real numbers.

Complex coefficients

By the fundamental theorem of algebra, if the monic polynomial equation x2 + bx + c = 0 has complex coefficients, it must have two (not necessarily distinct) complex roots. Unfortunately, the discriminant b2 − 4c is not as useful in this situation, because it may be a complex number. Still, a modified version of the general theorem can be proved.

The continued fraction solution to the general monic quadratic equation with complex coefficients

given by

converges or not depending on the value of the discriminant, b2 − 4c, and on the relative magnitude of its two roots.

Denoting the two roots by r1 and r2 we distinguish three cases.

  1. If the discriminant is zero the fraction converges to the single root of multiplicity two.
  2. If the discriminant is not zero, and |r1| ≠ |r2|, the continued fraction converges to the root of maximum modulus (i.e., to the root with the greater absolute value).
  3. If the discriminant is not zero, and |r1| = |r2|, the continued fraction diverges by oscillation.

In case 2, the rate of convergence depends on the absolute value of the ratio between the two roots: the farther that ratio is from unity, the more quickly the continued fraction converges.

This general solution of monic quadratic equations with complex coefficients is usually not very useful for obtaining rational approximations to the roots, because the criteria are circular (that is, the relative magnitudes of the two roots must be known before we can conclude that the fraction converges, in most cases). But this solution does find useful applications in the further analysis of the convergence problem for continued fractions with complex elements.

Cryogenics

From Wikipedia, the free encyclopedia https://en.wikipedia.org/wiki/Cryogenics...