← cd /blog

Math & Equations Deep Dive

2026-02-21·1 min read
#math#katex#tutorial

Math & Equations Deep Dive

This post verifies LaTeX rendering via remark-math and rehype-katex.

Inline Math

The Pythagorean theorem: a2+b2=c2a^2 + b^2 = c^2.

Euler's number as a limit: e=limn(1+1n)ne = \lim_{n \to \infty} \left(1 + \frac{1}{n}\right)^n

Block Equations

Euler's Identity:

eiπ+1=0e^{i\pi} + 1 = 0

The quadratic formula:

x=b±b24ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

Matrix

[1xx21yy21zz2]\begin{bmatrix} 1 & x & x^2 \\ 1 & y & y^2 \\ 1 & z & z^2 \end{bmatrix}