featured image

Math Equations

Display math equations in blog posts!

Chris Tham Chris Tham Wed Aug 24 2022 00:00:00 GMT+0000 (Coordinated Universal Time) 1 min read

Some simple mathematical expressions:

3x1+(1+x)2\sqrt{3x-1}+(1+x)^2

ax2+bx+c(a+b)2=0\frac{ax^2+bx+c}{(a+b)^2}=0

f(x)=±Asin(2π4+θ)f(x) = \pm A \sin\left(\frac{2\pi}{4} + \theta\right)

More complicated examples (from KateX home page):

1(ϕ5ϕ)e25π=1+e2π1+e4π1+e6π1+e8π1+\displaystyle \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} {1+\frac{e^{-8\pi}} {1+\cdots} } } }

(k=1nakbk)2(k=1nak2)(k=1nbk2)\displaystyle \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)

1+q2(1q)+q6(1q)(1q2)+=j=01(1q5j+2)(1q5j+3),for q<1.\displaystyle {1 + \frac{q^2}{(1-q)}+\frac{q^6}{(1-q)(1-q^2)}+\cdots }= \prod_{j=0}^{\infty}\frac{1}{(1-q^{5j+2})(1-q^{5j+3})}, \quad\quad \text{for }\lvert q\rvert<1.

Prev
PlantUML Diagrams
Next
Sample MDX post