Professional Documents
Culture Documents
LaTeX Math For Undergraduates
LaTeX Math For Undergraduates
LaTeX Math For Undergraduates
Arrays, Matrices Make an array of mathematical text as Discrete mathematics examples There are four
you make a table of plain text. modulo forms: m mod n is from m\textbackslash bmod n, and a \equiv b
(mod m) is from a\textbackslash equiv b\textbackslash pmod m, and a \equiv b mod m
0 \updownarrow 0 \textbackslash begin \{ array \}\{ rcl \}
0 \&\textbackslash lef tright arrow \&0 \textbackslash \textbackslash is from a\textbackslash equiv b\textbackslash mod m, and a \equiv b (m) is from
1 \updownarrow 1 1 \&\textbackslash lef tright arrow \&1 \textbackslash \textbackslash a\textbackslash equiv b\textbackslash pod m.
2 \updownarrow 4 2 \&\textbackslash lef tright arrow \&4 \textbackslash \textbackslash
For combinations the binomial symbol nk is from
\bigl( \bigr)
.. .. \textbackslash vdots \& \&\textbackslash vdots
. . \textbackslash end \{ array \} \textbackslash binom\{n\}\{k\}. This resizes to be bigger in a display (to
require the display version use \textbackslash dbinom\{n\}\{k\} and for the
Definition by cases is an array with two columns.
inline version use \textbackslash tbinom\{n\}\{k\}).
\Biggl\{ f\]n = For permutations use nr from n\textasciicircum \{\textbackslash underline\{r\}\} (some
a if n = 0 \textbackslash begin \{ cases \} authors use P (n, r), or n Pr from \{\}\]nP\]r).
fn = a \&\textbackslash text \{ if \textbackslash ( n =0\textbackslash )\} \textbackslash \textbackslash
r \cdot fn - 1 else r \textbackslash cdot f\] \{n -1\} \&\textbackslash text \{ else \} Statistics examples
\textbackslash end \{ cases \}
\sqrt{} \sum
\sigma 2 = (xi - \mu )2 /N \textbackslash sigma\textasciicircum 2=\textbackslash sqrt\{\textbackslash sum (x\]i-\textbackslash mu)\textasciicircum 2/N\}
A matrix is another array variant. With this abbreviation \sum
E(X) = \mu X = (xi - P (xi )) E(X)=\textbackslash mu\]X=\textbackslash sum (x\]i-P(x\]i))
you need not specify that columns are centered.
\biggl( \biggr) \textbackslash begin \{ pmatrix \}
The probability density of the normal distribution
a b a \& b \textbackslash \textbackslash
c d c \& d 1 (x - \mu )2
\textbackslash end \{ pmatrix \} \surd e - 2\sigma 2
2\sigma 2 \pi
For the determinant use |A| inline and vmatrix in display. comes from this.
Spacing in mathematics \textbackslash frac \{1\}\{ sqrt \{2\textbackslash sigma \textasciicircum 2\textbackslash pi \}\}
\textbackslash , e \textasciicircum \{ -\textbackslash frac \{( x -\textbackslash mu )\textasciicircum 2\}\{2\textbackslash sigma \textasciicircum 2\}\}!.
\rightarrow \leftarrow \textbackslash , \rightarrow \leftarrow \textbackslash quad
\rightarrow \leftarrow \textbackslash : \rightarrow \leftarrow \textbackslash qquad For more See also the Comprehensive LATEX Symbols List
\rightarrow \leftarrow \textbackslash ; \rightarrow \leftarrow \textbackslash ! at mirror.ctan.org/info/symbols/comprehensive and
The left column spaces are in ratio 3 : 4 : 5. The last in the DeTEXify at detexify.kirelabs.org/classify.html.
right column is a negative space, opposite to \textbackslash ,. Get arbi-
trary space as in \textbackslash hspace\{0.5cm\}. Jim Hefferon, Saint Michael's College, VT USA 2017-Jan-19