MHF.pdf

I could not get my Latex to compile so here it is. It is also in the .pdf

Code:

\documentclass{amsart}
\usepackage{amsmath}%
\usepackage{amsfonts}%
\usepackage{amssymb}%
\usepackage{graphicx}
\begin{document}
\begin{equation*} \int_{-2}^{-1} {x}^{2}-({x}^{4}-4{x}^{2}+4)dx +
\int_{-1}^{1} ({x}^{4}-4{x}^{2}+4)-{x}^{2}dx +
\int_{1}^{2} {x}^{2}-({x}^{4}-4{x}^{2}+4)dx \end{equation*}
Or by using symmetry this gives (Both functions are even)
\begin{equation*} 2 \left[ \int_{0}^{1} ({x}^{4}-4{x}^{2}+4)-{x}^{2}dx +
\int_{1}^{2} {x}^{2}-({x}^{4}-4{x}^{2}+4)dx \right]\end{equation*}
From here just simplify and use the power rule.
\begin{figure}[h]
\centering
\includegraphics[width=0.90\textwidth]{plot.jpg}
\end{figure}
\end{document}