The following piece of code
\begin{eqnarray*}
\expval[\mathcal{N}] &= \frac{\rho_0}{\rho_1} ~, &
\var(\mathcal{N}) &= \frac{\rho_0}{\rho_1} + 0.280 \, \frac{\rho_0^2}{\rho_1^2} ~, \\
\expval[\mathcal{L}] &= \frac{\rho_0}{2 \rho_1^{3/2}} ~, &
\var(\mathcal{L}) &= \frac{\rho_0}{\pi \rho_1^2} + 0.147 \, \frac{\rho_0^2}{\rho_1^3} ~.
\end{eqnarray*}
gives the following error.
! Missing $ inserted. <inserted text>
$ l.34 \var(\mathcal{N}) &= \frac{\rho_0}{\rho_1}
+ 0.280 \, \frac{\rho_0^2}{\...
I have defined \expval and \var in the document preamble as follows.
\newcommand{\expval}{\mathbb{E}}
\newcommand{\var}{\mathrm{Var}}
Just wondering what the issue could be.

eqnarrayis outdated and should be replaced by something more advanced; offered in the form ofalignfromamsmath. Moreover,eqnarrayonly allows a singular alignment, while you're attempting to align more than one equation (further motivating the use ofalign). – Werner Mar 29 '12 at 06:53eqnarrayonce, so didn't know it had that limitation! Thank you! – nickpapior Mar 29 '12 at 07:00