I'm trying to get two equations aligned via the equals sign, this is my code so far:
\begin{align}
\int_0^1 xJ_v(\lambda x)J_v(\mu x) \mathrm{d}x &= \frac{\mu J_v(\lambda)J^{\prime}_v(\mu) - \lambda J_v (\mu)J^{\prime}_v(\lambda)}{\lambda^2 - \mu^2}
\\[5mm]
\int_0^1 x[J_v(\lambda x)]^2 \mathrm{d}x &= [J_{v+1}(\lambda)]^2 + \left( \frac{\lambda^2 - v^2}{2 \lambda^2} \right)[J_v(\lambda)]^2,
\end{align}
I've tried using & and also \begin{align} but it doesn't seem to work. Any help?
\[5mm]
where a double backslash was needed. you edited in the second backslash when you reformatted the code.