I want to have a 2 line aligned equation. When I try to compile the following code I receive a few errors and I cannot understand why.
\begin{equation}
\begin{split}
n \nabla \cdot \boldsymbol{v} + \boldsymbol{v} \cdot \nabla n + \frac{\partial n}{\partial t} &= 0 \\
n \sum_{i=1}^3\Big( \frac{\partial\dot{q_i}}{\partial q_i}+\frac{\partial\dot{v_i}}{\partial v_i} \Big) + \boldsymbol{v}\cdot \nabla n + \frac{\partial n}{\partial t} &= 0
\end{split}
\end{equation}
I recieve the errors:
Missing $ inserted
Missing \endgroup inserted
Display math should end with $$.
\Big(should be\Bigl(and similarly\Bigr)– David Carlisle May 17 '18 at 16:13