Piecewise equations: use the \begin{cases}, \end{cases} tags Piecewise equations with forced display style: use \begin{dcases}, \end{dcases} tags (needs \usepacage{mathtools} Bibliography Stuff: change \bibliographystyle{plain} to \bibliographystyle{unsrt} to bibliography to order of citation instead of alphabetical