Referencing Multi-line Equations

Each line gets its own number. To label a specific line put a label at the end of the line:

\begin{equation}
(a + b)^2 = a^2 + 2ab + b^2 \\
= b^2 + 2ba + a^2 \\
= (b + a)^2\label{eq:3} \\
\end{equation}
Feedback is always welcome! If you'd like to get in touch with me concerning the contents of this article, please use Twitter.