Inline math works: Euler's identity eiπ+1=0, the quadratic formula
x=2a−b±b2−4ac, and sums like
∑n=1∞n21=6π2 should sit nicely in the text.
Display math, centered on its own line:
f(x)=∫−∞∞f^(ξ)e2πixξdξ
Maxwell's equations, aligned:
∇⋅E∇⋅B∇×E∇×B=ε0ρ=0=−∂t∂B=μ0J+μ0ε0∂t∂E
A matrix determinant:
det(acbd)=ad−bc
And a piecewise definition:
f(n)={1nf(n−1)if n=0otherwise
More inline: (kn)=k!(n−k)!n!, limits
limx→0xsinx=1, and a Greek mix
αβγδϵθλμπσω.