Skip to content

Mathematics

Inline notation keeps a variable in context; display notation gives a derivation room to breathe.

A sample mean is written as \(\bar{x}\), where \(n\) is the number of observations.

\[ \bar{x} = \frac{1}{n} \sum_{i=1}^{n} x_i \]

For a right triangle, \(a^2 + b^2 = c^2\).

Show Markdown source
A sample mean is written as $\bar{x}$, where $n$ is the number of observations.

$$
\bar{x} = \frac{1}{n} \sum_{i=1}^{n} x_i
$$

For a right triangle, $a^2 + b^2 = c^2$.

A probability model

Display equations work for definitions as well as sums.

For independent events \(A\) and \(B\):

\[ P(A \cap B) = P(A)P(B) \]
Show Markdown source
For independent events $A$ and $B$:

$$
P(A \cap B) = P(A)P(B)
$$

References