I'm doing a very basic mathematical typesetting homework. I know it won't make any difference to the marks, but it is really annoying me that there is more space before an aligned environment than before an equation in math mode.
\begin{itemize}
%item(i)
\item[(i)] Einstein is constantly being referenced in popular culture, Einstein wrote:
\[
E^2=(mc^2)^2+(pc)^2
\]
The equation we know best is $E=mc^2$, this is for a non-moving object, where $p$, the momentum, is equal to zero, if $p=0$ then
\begin{align*}
E^2&=(mc^2)^2+(pc)^2\\
&=(mc^2)^2+(0)^2\\
&=(mc^2)^2\\
E&=mc^2
\end{align*}
\end{itemize}
Does anyone know why this happens? Is there a better way of doing this than putting the equation in an align environment?


align*. In other words: If you remove / comment out the empty line before\begin{align*}and\[the spaces will be equal. – leandriis Dec 01 '19 at 18:15