Let f:A→B be a function of x only such that A⊆R and B⊆R. Let us, now, investigate the following differential equation:
aix=Df(x)+if(x); [1]
Where Df(x) stands for the derivative of f in relation to x. Now, the relation above gives us iDf(x)=iaix+f(x) simply by multiplying the relation by i. Now, differentiating equation [1] will give us
ilnaaix=D2f(x)+iDf(x)
and using the relation iDf(x)=iaix+f(x) that we just proved will result in
iaix(lna−1)=(D2+1)f(x)
i(lna−1)Df(x)−(lna−1)f(x)=(D2+1)f(x); [2]
Now, as f(x)∈R for any x on its domain, it follows that
i(lna−1)Df(x)=0
As we don't want the trivial solution f(x)=c with c a constant, we need to take a=e. Now let us find the solution to the rest of the differential equation [2]. The equation is
−(lna−1)f(x)=(D2+1)f(x)
or
(D2+lne)f(x)=0
(D+i)(D−i)=0
And the solutions is obviosly
f(x)=Asinx+Bcosx
Feeding it back into [1] turns into
eix=(A+iB)cosx+(iA−B)sinx
as we want e0=1 it turns out that A=1−iB which is only possible if B=0, because A and B must be real once they are part of f(x), and also A=1 because A=1−iB=1−0=1. Then the equation becomes
eix=cosx+isinx
#Calculus
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
This looks like a correct but pretty roundabout way to derive Euler's formula. If you know the solutions to the differential equation f′′(x)=−f(x), as you assume we do, then you can get the result by writing eix=f(x)+ig(x), taking the first and second derivative, and using the initial values.
Log in to reply
But you see, I just wanted to find the solutions to the differential equation [1], and I didn't even set a=e; what I did here is: if f assumes only real values, then differential equation [1] is Euler's formula.
Log in to reply
You assumed that we know that the real solutions of f′′(x)=−f(x) are of the form f(x)=asin(x)+bcos(x).
Now if we write eix=f(x)+ig(x), then we have, taking derivatives, ieix=f′(x)+ig′(x) and −eix=f′′(x)+ig′′(x). The second derivative tells us that f(x) and g(x) are solutions of our Diff Equ, and the initial values (f(0)=1,f′(0)=0 etc) tell us that f(x)=cosx and g(x)=sinx... done.
Log in to reply
a=e?
But why did you choose the baseLog in to reply
eix, and Euler's formula is his answer.
I didn't choose it... my country man Euler chose it (hey, it's his number): He asked for the real and imaginary parts ofLog in to reply
Log in to reply
Log in to reply
Log in to reply
aix=f′(x)+if(x)?
What motivated you to consider the differential equationLog in to reply