The value of the exponential function with an imaginary input is of interest.
eix=?
Using the well known series expansion of the exponential function:
ex=n=0∑∞n!xn
Substitute in imaginary constant
eix=n=0∑∞n!(i)nxn
There is no direct way to simplify this expression as
(i)n doesn’t directly work out to anything nice.
This expression is equivalent to a few other, more-useful ones.
With that, use the exponential function with a negative imaginary number
e−ix=cosx−isinx
We can now solve for cosine and sine using the exponential function.
e−ix+eix=2cosx
cosx=2eix+e−ixeix−e−ix=2sinx
sinx=2eix−e−ix
Clever proof of solutions to linear diophantine equation
A simple result in elementary number theory relates to the linear diophantine equation
ax+by=c
a,x,b,y,c∈Z
A property of this equation (which is not proven here) is that it has infinitely many
(x,y) solutions if
c is a multiple of
gcd(a,b), otherwise it has none.
The clever part is, after finding the first solution we can find the rest.
Suppose there exists a solution
(x,y), and that
(x′,y′) is another solution:
c=ax+by=ax′+by′
Rearrange equation
a(x−x′)=−b(y−y′)
Let
d=gcd(a,b). Naturally,
a and
b are both divisible by
d. Divide by
d
da(x−x′)=−db(y−y′)
Now,
a/d and
b/d share no common factors, therefor
a/d does not divide
b/d and
b/d does not divide
a/b.
Note however that
b/d does divide the right side of the equation, and therefor must divide the left side of the equation.
Because we already determined that
b/d does not divide
a/d,
b/d must divide
(x−x′), thus
(x−x′) must be a multiple of
b/d (likewise
(y−y′) is a multiple of
a/d).
State that
(x−x′) is a multiple of
b/d in a new equation:
dbn=x−x′
Likewise of
y
dan=y−y′
Thus, given the initial solutions of
x,y, the other solutions are found as:
dbn+x=x′
dan+y=y′
This proof is not complete but highlights the clever trick of extracting an equation based on divisibility.
It comes down to the (often subtle) fact that when
x divides
y,
y=xq.
Complex Difference of Squares
Sometimes the solution to math puzzles lies in the difference off squares identity,
x2−y2=(x+y)(x−y).
I’ve often thought that it’s a shame how there is no similar identity for
x2+y2, but… there is!