Just a quick question regarding aligning equations in LaTeX. Basically, this is a snippet of my source code:
\begin{align*}
dU&=\partial Q - \partial W \\
\partial Q &= dU + \partial W
\end{align*}
Since $U_E$ was already calculated, $U_A$ can be calculated using equation (1.1) as well:
\begin{align*}
U_A&=\frac{3}{2}PV \\
U_A&=\frac{3}{2}*10^5*10^{-3}\\
U_A&=150J
\end{align*}
Now, the problem I'm facing is that the first align* tag is not aligned with the second one, I mean the equations are shifted. I'm not 100% sure why this happens or how to fix this.