Skip to main content
Science1 min read

Mathematical Notation

Written by

Amytis uses rehype-katex to render beautiful mathematical formulas. Inline Math The Pythagorean theorem is $a^2 + b^2 = c^2$. We can also express complex number...

Amytis uses rehype-katex to render beautiful mathematical formulas.

Inline Math

The Pythagorean theorem is a2+b2=c2a^2 + b^2 = c^2. We can also express complex numbers like eiπ+1=0e^{i\pi} + 1 = 0.

Block Math

For more complex equations, use block math:

I=ex2dx=πI = \int_{-\infty}^{\infty} e^{-x^2} dx = \sqrt{\pi}

Or Maxwell's equations:

E=ρε0B=0×E=Bt×B=μ0(J+ε0Et)\begin{aligned} \nabla \cdot \mathbf{E} &= \frac{\rho}{\varepsilon_0} \\ \nabla \cdot \mathbf{B} &= 0 \\ \nabla \times \mathbf{E} &= -\frac{\partial \mathbf{B}}{\partial t} \\ \nabla \times \mathbf{B} &= \mu_0\left(\mathbf{J} + \varepsilon_0 \frac{\partial \mathbf{E}}{\partial t}\right) \end{aligned}
John Hu

Written by

John Hu

Coder, Writer, Creator.

Follow on WeChat
Follow on WeChat