\copyrightJesse

\begin{frame}[fragile]{Display math}
    Adding a star \texttt{*} to a display math environment removes the equation numbers.

    \begin{minted}[linenos=false]{tex}
     The double angle formula can now be rewritten as   
    \begin{align*}
        \cos(2\theta) &=  \cos^2\theta - sin^2\theta \\
                      &= 2\cos^2\theta - 1 
    \end{align*}
\end{minted}
The double angle formula can now be rewritten as
    \begin{align*}
        \cos(2\theta) &=  \cos^2\theta - sin^2\theta \\
                      &= 2\cos^2\theta - 1 
    \end{align*}
\mintinline{tex}{\[...\]} is a shortcut for \mintinline{tex}{\begin{equation*}...\end{equation*}}.
\end{frame}