KaTeX Math Demo
By Goosequill
1 minute read
This post is a quick demo to verify that KaTeX rendering works correctly.
Inline math
Einstein’s mass-energy equivalence: E=mc2.
For a=0, the quadratic equation ax2+bx+c=0 has solutions x=2a−b±b2−4ac.
Display math
The Gaussian summation formula:
i=1∑ni=2n(n+1)
Euler’s identity:
eiπ+1=0
Matrix
A=147258369
Piecewise function
f(x)={x2,−x,x≥0x<0
Integral and limit
∫01x2dx=31
x→0limxsinx=1