# In the align environment, how to number only one of the lines? [duplicate]

Possible Duplicate:
Selective numbering of equations with align

I would like to know, how to number only one specific line among many, in the align environment.

For instance, I don't want to number all the step of my equation, only the final result.

-

## marked as duplicate by Torbjørn T., cmhughes, percusse, Gonzalo Medina, Harish KumarAug 19 '12 at 1:09

possible duplicate of Selective numbering of equations with align See also Make align* number the last equation, which is at least a little related. –  Torbjørn T. Aug 18 '12 at 23:59

You can use the \notag command

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
x=5\notag\\
y=2\notag\\
z=1
\end{align}
\end{document}


-
I think we jumped here together. I changed my answer to \nonumber. –  Harish Kumar Aug 18 '12 at 23:45
@HarishKumar No problem. Today, I had this more than twice :) –  percusse Aug 18 '12 at 23:47
Thanks to both of you for that quick fix! –  Bibi541 Aug 18 '12 at 23:58

You can use \notag or \nonumber to get rid of numbers.

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
ax^2+bx+c
& = 0\nonumber\\
ax^2+bx
& = -c\nonumber\\
ax^2+bx
& = -c
\end{align}
\end{document}

-