Freethought & Rationalism ArchiveThe archives are read only. |
08-08-2003, 02:25 PM | #1 |
Veteran Member
Join Date: Sep 2002
Location: :noitacoL
Posts: 4,679
|
Euler's Equation
I've loved and used Euler's equation for awhile now, that is
e^(pi*i)+1=0, but I've never set out to prove it for myself. Well I did today, but I'm stuck. Here's where I went. If I can show that e^(ix) = cos x + i sin x, then when x=pi, it works out. Let z=cosx + isinx dz/dx = -sinx +i cosx = (i)^2 sinx + i cosx = i (cos x + i sin x) = zi. I don't know what to do next. It looks like I can divide by z, and 1/z * dz/dx = i. If I can integrate the left side I'd get (I think) ln z = xi + a constant. Which would work out nicely, I think. But don't I have to integrate the right side? What does it mean when you have a function times this..... ...wait a minute.....in the middle of writing this, I realized that this: dz/dx = zi, is a first order diffy q. I've not had that class formally..just what I've picked up in quantum physics. So the solution to the DE is z=e^(ix)? I just finished the proof while I was typing this...cool...oh well, I'll go ahead and post just in case I made a mistake. |
08-08-2003, 02:34 PM | #2 |
Veteran Member
Join Date: Jun 2002
Location: A Shadowy Planet
Posts: 7,585
|
It always seemed to me that the way to solve differential equations was to guess at a solution and then show that the solution works.
Not very satisfying, but then again I'm not a mathematician, so it was just fine with me. |
08-08-2003, 02:54 PM | #3 | |
Veteran Member
Join Date: Sep 2002
Location: :noitacoL
Posts: 4,679
|
Quote:
But she moved to CA. |
|
08-08-2003, 03:07 PM | #4 |
Veteran Member
Join Date: Jan 2001
Location: Santa Fe, NM
Posts: 2,362
|
I've always taken it from the power series. By definition:
exp(z) = 1 + z/1! + z^2/2! + z^3/3! + ... letting z = ix, and using i^2 = -1, i^3 = -i, i^4 = 1, &c, we get: exp(ix) = 1 + ix/1! - x^2/2! - ix^3/3! + x^4/4! + ix^5/5! - ... Separating out the terms with i in them, we get: exp(ix) = (1 - x^2/2! + x^4/4! - ...) + i(x - x^3/3! + x^5/5! - ...) The first bracketed expression is the power series for cos(x) and the second is the power series for sin(x), therefore: exp(ix) = cos(x) + i*sin(x) QED. |
08-08-2003, 03:09 PM | #5 | |
Veteran Member
Join Date: Sep 2002
Location: :noitacoL
Posts: 4,679
|
Quote:
|
|
08-08-2003, 03:16 PM | #6 | |
Veteran Member
Join Date: Jan 2001
Location: Santa Fe, NM
Posts: 2,362
|
Re: Euler's Equation
Quote:
|
|
08-08-2003, 03:20 PM | #7 |
Contributor
Join Date: Jul 2000
Location: Lebanon, OR, USA
Posts: 16,829
|
A trick for improving one's "guessing" is the method of undetermined coefficients. You guess that a solution has a certain form, aside from the values of certain coefficients, plug that form in, and then find the coefficient values that give a solution (if any).
Thus, for dz/dx = i*z one guesses that this is some exponential function z = a*exp(b*x) Thus, dz/dx - i*z = a*b*exp(b*x) - a*i*exp(b*z) = a*(b - i) * exp(b*z) with solutions: a undetermined (constant of integration) b = i For differential equations, one will get constants of integration; these can be fixed by the problems' boundary conditions. In fact, one can impose the satisfaction of boundary conditions on one's guessed solutions. Thus, in our current problem, z(0) = 1, which implies that b = 1 |
08-08-2003, 03:34 PM | #8 |
Contributor
Join Date: Jul 2000
Location: Lebanon, OR, USA
Posts: 16,829
|
"Guessing" may seem like one does not know what one's doing, but certain sorts of equations always have certain forms of solutions, which helps considerably.
A common example is homogeneous linear differential equations, like the one in this problem. Their solutions are always linear combinations of exponential functions of linear combinations of the independent variables. |
08-08-2003, 03:34 PM | #9 | |
Veteran Member
Join Date: Sep 2002
Location: :noitacoL
Posts: 4,679
|
Quote:
Anyway, thanks for the tips on solving the DE's. As I indicated, I've not had a formal class in that subject. But I will have after this semester. I'll have to remember this so I can look all cool and stuff by already knowing how to do it. |
|
08-08-2003, 03:42 PM | #10 | |
Veteran Member
Join Date: Sep 2002
Location: :noitacoL
Posts: 4,679
|
Quote:
Also, is there a similiar "method" for solving, I'm not sure if this is the correct terminology, second order DE? For example, depending on the energy, schroedinger's equation (with constant potential and omiting constants) becomes: d^2y/dx^2 = E or -d^2y/dx^2 = E, where y=wave function. I know that there are different solutions for each, but is there any way to solve them when they are more complicated. And what about partial DE? |
|
Thread Tools | Search this Thread |
|