This is the first post on the new Jekyll site.

1. Inline Math

To display a formula inside a sentence, wrap it in single dollar signs: The definition of the derivative is $\lim_{h \to 0} \frac{f(x+h) - f(x)}{h}$.

2. Block Equations

To display a formula on its own line centered, use a block with double dollar signs:

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

3. Calculus

$$ \int_{a}^{b} x^2 \,dx = \left[ \frac{x^3}{3} \right]_{a}^{b} $$

4. Matrices

$$ A = \begin{pmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{pmatrix} $$

5. Multi-line Systems (Aligned at the ‘=’ sign)

$$ \begin{aligned} 3x + 2y &= 10 \\ x - y &= 5 \end{aligned} $$

6. Piecewise Functions

$$ f(x) = \begin{cases} x^2 & \text{if } x < 0 \\ x & \text{if } x \ge 0 \end{cases} $$

Updated: