Euler's formula is ubiquitous in mathematics, physics, chemistry, and engineering. The physicistRichard Feynman called the equation "our jewel" and "the most remarkable formula in mathematics".[2]
Whenx =π, Euler's formula may be rewritten aseiπ + 1 = 0 oreiπ = −1, which is known asEuler's identity.
In 1714, the English mathematicianRoger Cotes presented a geometrical argument that can be interpreted (after correcting a misplaced factor of) as:[3][4][5]Exponentiating this equation yields Euler's formula. Note that the logarithmic statement is not universally correct for complex numbers, since a complex logarithm can have infinitely many values, differing by multiples of2πi.
Visualization of Euler's formula as a helix in three-dimensional space. The helix is formed by plotting points for various values of and is determined by both the cosine and sine components of the formula. One curve represents the real component () of the formula, while another curve, rotated 90 degrees around the z-axis (due to multiplication by), represents the imaginary component ().
Around 1740Leonhard Euler turned his attention to the exponential function and derived the equation named after him by comparing the series expansions of the exponential and trigonometric expressions.[6][4] The formula was first published in 1748 in his foundational workIntroductio in analysin infinitorum.[7]
And sincethe above equation tells us something aboutcomplex logarithms by relating natural logarithms to imaginary (complex) numbers. Bernoulli, however, did not evaluate the integral.
Bernoulli's correspondence with Euler (who also knew the above equation) shows that Bernoulli did not fully understandcomplex logarithms. Euler also suggested that complex logarithms can have infinitely many values.
The view of complex numbers as points in thecomplex plane was described about 50 years later byCaspar Wessel.
The exponential functionex for real values ofx may be defined in a few different equivalent ways (seeCharacterizations of the exponential function). Several of these methods may be directly extended to give definitions ofez for complex values ofz simply by substitutingz in place ofx and using the complex algebraic operations. In particular, we may use any of the three following definitions, which are equivalent. From a more advanced perspective, each of these definitions may be interpreted as giving theuniqueanalytic continuation ofex to the complex plane.
This proof shows that the quotient of the trigonometric and exponential expressions is the constant function one, so they must be equal (the exponential function is never zero,[9] so this is permitted).[10]
Consider the functionf(θ)for realθ. Differentiating gives by theproduct ruleThus,f(θ) is a constant. Sincef(0) = 1, thenf(θ) = 1 for all realθ, and thus
Another proof[12] is based on the fact that all complex numbers can be expressed inpolar coordinates. Therefore,for somer andθ depending onx,No assumptions are being made aboutr andθ; they will be determined in the course of the proof. From any of the definitions of the exponential function it can be shown that the derivative ofeix isieix. Therefore, differentiating both sides givesSubstitutingr(cosθ +i sinθ) foreix and equating real and imaginary parts in this formula givesdr/dx = 0 anddθ/dx = 1. Thus,r is a constant, andθ isx +C for some constantC. The initial valuesr(0) = 1 andθ(0) = 0 come frome0i = 1, givingr = 1 andθ =x. This proves the formula
This formula can be interpreted as saying that the functioneiφ is aunit complex number, i.e., it traces out theunit circle in thecomplex plane asφ ranges through the real numbers. Hereφ is theangle that a line connecting the origin with a point on the unit circle makes with thepositive real axis, measured counterclockwise and inradians.
The original proof is based on theTaylor series expansions of theexponential functionez (wherez is a complex number) and ofsinx andcosx for real numbersx (see above). In fact, the same proof shows that Euler's formula is even valid for allcomplex numbers x.
A point in thecomplex plane can be represented by a complex number written incartesian coordinates. Euler's formula provides a means of conversion between cartesian coordinates andpolar coordinates. The polar form simplifies the mathematics when used in multiplication or powers of complex numbers. Any complex numberz =x +iy, and its complex conjugate,z =x −iy, can be written aswhere
φ is theargument ofz, i.e., the angle between thex axis and the vectorz measured counterclockwise inradians, which is definedup to addition of2π. Many texts writeφ = tan−1y/x instead ofφ = atan2(y,x), but the first equation needs adjustment whenx ≤ 0. This is because for any realx andy, not both zero, the angles of the vectors(x,y) and(−x, −y) differ byπ radians, but have the identical value oftanφ =y/x.
Use of the formula to define the logarithm of complex numbers
Now, taking this derived formula, we can use Euler's formula to define thelogarithm of a complex number. To do this, we also use the definition of the logarithm (as the inverse operator of exponentiation):and thatboth valid for any complex numbersa andb. Therefore, one can write:for anyz ≠ 0. Taking the logarithm of both sides shows thatand in fact, this can be used as the definition for thecomplex logarithm. The logarithm of a complex number is thus amulti-valued function, becauseφ is multi-valued.
Finally, the other exponential lawwhich can be seen to hold for all integersk, together with Euler's formula, implies severaltrigonometric identities, as well asde Moivre's formula.
Relationship between sine, cosine and exponential function
Euler's formula, the definitions of the trigonometric functions and the standard identities for exponentials are sufficient to easily derive most trigonometric identities. It provides a powerful connection betweenanalysis andtrigonometry, and provides an interpretation of the sine and cosine functions asweighted sums of the exponential function:
The two equations above can be derived by adding or subtracting Euler's formulas:and solving for either cosine or sine.
These formulas can even serve as the definition of the trigonometric functions for complex argumentsx. For example, lettingx =iy, we have:
In addition
Complex exponentials can simplify trigonometry, because they are mathematically easier to manipulate than their sine and cosine components. One technique is simply to convert sines and cosines into equivalent expressions in terms of exponentials sometimes calledcomplex sinusoids.[13] After the manipulations, the simplified result is still real-valued. For example:
Another technique is to represent sines and cosines in terms of thereal part of a complex expression and perform the manipulations on the complex expression. For example:
This formula is used for recursive generation ofcosnx for integer values ofn and arbitraryx (in radians).
Consideringcosx a parameter in equation above yields recursive formula forChebyshev polynomials of the first kind.
Indifferential equations, the functioneix is often used to simplify solutions, even if the final answer is a real function involving sine and cosine. The reason for this is that the exponential function is theeigenfunction of the operation ofdifferentiation.
Inelectrical engineering,signal processing, and similar fields, signals that vary periodically over time are often described as a combination of sinusoidal functions (seeFourier analysis), and these are more conveniently expressed as the sum of exponential functions withimaginary exponents, using Euler's formula. Also,phasor analysis of circuits can include Euler's formula to represent the impedance of a capacitor or an inductor.
Thespecial cases that evaluate to units illustrate rotation around the complex unit circle:
x
eix
0 + 2πn
1
π/2 + 2πn
i
π + 2πn
−1
3π/2 + 2πn
−i
The special case atx =τ (whereτ = 2π, oneturn) yieldseiτ = 1 + 0. This is also argued to link five fundamental constants with three basic arithmetic operations, but, unlike Euler's identity, without rearranging theaddends from the general case:An interpretation of the simplified formeiτ = 1 is that rotating by a full turn is anidentity function.[14]
^Cotes wrote:"Nam si quadrantis circuli quilibet arcus, radioCE descriptus, sinun habeatCX sinumque complementi ad quadrantemXE ; sumendo radiumCE pro Modulo, arcus erit rationis inter&CE mensura ducta in." (Thus if any arc of a quadrant of a circle, described by the radiusCE, has sinusCX and sinus of the complement to the quadrantXE ; taking the radiusCE as modulus, the arc will be the measure of the ratio between &CE multiplied by.) That is, consider a circle having centerE (at the origin of the (x,y) plane) and radiusCE. Consider an angleθ with its vertex atE having the positive x-axis as one side and a radiusCE as the other side. The perpendicular from the pointC on the circle to the x-axis is the "sinus"CX ; the line between the circle's centerE and the pointX at the foot of the perpendicular isXE, which is the "sinus of the complement to the quadrant" or "cosinus". The ratio between andCE is thus. In Cotes' terminology, the "measure" of a quantity is its natural logarithm, and the "modulus" is a conversion factor that transforms a measure of angle into circular arc length (here, the modulus is the radius (CE) of the circle). According to Cotes, the product of the modulus and the measure (logarithm) of the ratio, when multiplied by, equals the length of the circular arc subtended byθ, which for any angle measured in radians isCE •θ. Thus,. This equation has a misplaced factor: the factor of should be on the right side of the equation, not the left side. If the change of scaling by is made, then, after dividing both sides byCE and exponentiating both sides, the result is:, which is Euler's formula. See:
Roger Cotes (1714) "Logometria,"Philosophical Transactions of the Royal Society of London,29 (338) : 5-45; see especially page 32. Available on-line at:Hathi Trust
Roger Cotes with Robert Smith, ed.,Harmonia mensurarum … (Cambridge, England: 1722), chapter: "Logometria",p. 28.
^Bernoulli, Johann (1702). "Solution d'un problème concernant le calcul intégral, avec quelques abrégés par rapport à ce calcul" [Solution of a problem in integral calculus with some notes relating to this calculation].Mémoires de l'Académie Royale des Sciences de Paris.1702:289–297.
^Apostol, Tom (1974).Mathematical Analysis. Pearson. p. 20.ISBN978-0201002881. Theorem 1.42
Wilson, Robin (2018).Euler's Pioneering Equation: The Most Beautiful Theorem in Mathematics. Oxford: Oxford University Press.ISBN978-0-19-879492-9.MR3791469.