[Tex/LaTex] How to properly reference equations numbered by default in an align block

alignamsmathcross-referencing

I have two equations in an align block:

\begin{align}
4x-3y&=2\\ 
3x+2y&=1 
\end{align}

Both of these equations are numbered (1) and (2) respectively. In a sentence beneath this align block I want to reference these two equations by referring to their labelled numbers. Is there a way to do this without simply typing (1) and (2) i.e having the numbers automatically generated and inserted?

I tried this:

\begin{align}
4x-3y&=2\\ \label{eq:simul1}
3x+2y&=1 \label{eq:simul2}
\end{align}

but this did not compile. Or is it not worth doing and better to just simply enter the equation numbers manually? Obviously the downside to this is if my numbering changes I would have to change all occurrences of this.

Best Answer

In the align use \label{simul1}"

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
4x-3y&=2 \label{simul1}\\
3x+2y&=1 \label{simul2}
\end{align}
See \eqref{simul2} for...
\end{document}
Related Question