How to prove e^ix=cos x + i sin x

  • Context: Undergrad 
  • Thread starter Thread starter HeilPhysicsPhysics
  • Start date Start date
  • Tags Tags
    Sin
Click For Summary
SUMMARY

The discussion provides a comprehensive proof of the equation eix = cos(x) + i sin(x) using various mathematical approaches. Key methods include utilizing the Taylor series for ex and defining cos(x) and sin(x) in terms of exponential functions. Additionally, the proof employs differential equations, demonstrating that the functions f(x) = cos(x) and g(x) = sin(x) satisfy the required conditions. Historical context is also provided, linking Euler's work on harmonic oscillators to the development of this formula.

PREREQUISITES
  • Taylor series expansion for exponential functions
  • Understanding of complex numbers and imaginary unit i
  • Basic differential equations and their solutions
  • Knowledge of trigonometric identities and functions
NEXT STEPS
  • Study the Taylor series for ex and its applications
  • Learn about the properties of complex numbers and their geometric interpretations
  • Explore differential equations, particularly second-order linear equations
  • Investigate Euler's formula and its implications in physics and engineering
USEFUL FOR

Mathematicians, physics students, and anyone interested in complex analysis or the foundations of trigonometric functions will benefit from this discussion.

HeilPhysicsPhysics
Messages
16
Reaction score
0
How to prove e^ix=cos x + i sin x
 
Physics news on Phys.org
HeilPhysicsPhysics said:
How to prove e^ix=cos x + i sin x

One way is to start with the taylor series for ex and then change x to ix and remembering that
i2 = -1, i3 = -i, and i4 = 1 you can rearrange the series and show that this is equal to the other side of that equation.
 
The proof depends on your definitions (for example, if you define \cos{x} as (e^{ix}+e^{-ix})/2 and \sin{x} as (e^{ix} - e^{-ix})/(2i) then it's pretty easy!).

It's also clear if you start from the Taylor series of the three functions about the origin as d_leet suggested.

You can also start from the differential equation for e^x,

y^\prime = y, y(0)=1.

Write

e^{ix} = f(x) + ig(x),

(where f, g are real-valued)

so that f(0) = 1 and g(0) = 0

then you must have (by the chain rule)

ie^{ix} = f^\prime(x) + ig^\prime(x),

or, rearranging,

e^{ix} = \frac{1}{i}f^\prime(x) + g^\prime(x) = g^\prime(x) - if^\prime(x).

Since e^0 = 1 that means g^\prime(0) = 1 and f^\prime(0) = 0. Now differentiate again and you get

ie^{ix} = g^{\prime \prime}(x) - if^{\prime \prime}(x)

or

e^{ix} = -f^{\prime \prime}(x) - ig^{\prime \prime}(x).

Comparing the real and imaginary parts with our original e^{ix} = f(x) + ig(x) you get two differential equations with initial conditions:

f^{\prime \prime}(x) = -f(x), f^{\prime}(0) = 0, f(0) = 1

and

g^{\prime \prime} (x) = -g(x), g^{\prime}(0) = 1, g(0) = 0.

It's easy to check that f(x) = cos(x) and g(x)= sin(x) satisfy these DEs, and by a theorem in the theory of DEs the solutions are unique.
 
Last edited:
Let z = \rm{cos}\theta + i \cdot \rm{sin}\theta

Then derive z:

\frac{\rm{d}z}{\rm{d}\theta} = - \rm{sin}\theta + i \cdot \rm{cos}\theta = -1 (\rm{sin}\theta - i \cdot \rm{cos}\theta) = i^2 (\rm{sin}\theta - i \cdot\rm{cos}\theta ) = i (i \cdot \rm{sin}\theta - i^2 \cdot \rm{cos}\theta) = i(\rm{cos}\theta + i \cdot \rm{sin}\theta) = i \cdot z

This is a differential equation:
\frac{\rm{d}z}{\rm{d}\theta} = i z
whose solution is

z = e^{i \theta}

Thus, \rm{cos}\theta + i \rm{sin}\theta = e^{i \theta}
 
Last edited:
Umm.. in fact i think that the "historical" development fo the formula came with euler when studying the "Harmonic (classical) oscilator"..

y'' + \omega ^2 y =0 trying y=exp(ax) then you get..

a^2 +\omega ^2 =0 so + \sqrt (-1) \omega =a (and the same

with a minus sign)

-On the other hand the long-known solution for the Harmonic movement was y= Asin (\omega t) +B Cos(\omega t) then if you set the initial condition y(0)=0 you get the identity for sin. and using the well-known formula cos^2 (x) + sen^2 (x) =1 oh..if today math were so easier...i would have became famous years ago... :o :o
 
Last edited:

Similar threads

  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K