Referencing Multi-line Equations

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

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