<A simple proof that e^(pi*i) = -1
I'll be honest, I only wrote this to test how well KaTex works
But this proof is quite neat, its something I learnt in high school and has stuck with me since.
I remember being curious as to how three numbers, Euler's number, pi and i, two which are transcendental and one being imaginary
could give -1.
Proofofeπ∗i=−1z=cosθ+i∗sinθdθdz=−sinθ+i∗cosθdθdz=i(i∗sinθ+cosθ)dθdz=i∗z∫z1dz=∫i∗θdθlogez=i∗θ+cei∗θ+c=zz=cosθ+i∗sinθWhenθ=0z=1sotheconstantis0..˙ei∗θ=z..˙cosθ+i∗sinθ=ei∗θWhenθ=π−1+i∗0=ei∗πei∗π=−1 Opinions on KaTex
It is pretty mediocre, I think perhaps compiling my LaTex into a png
might have been a better idea.
KaTex misses a lot of functions, and of course, you cannot import any existing LaTex packages.
Initially, I was thinking of doing a post on Lattices and ordering but I was limited by KaTex.
Perhaps this post will come eventually still. I am interested in writing about compiler optimisations (data flow analysis) and concensus algorithms, both of which rely on lattices. I largely want to do this to improve my own confidence on these two topics.