[Tex/LaTex] Alignment and labeling list of equations

alignequations

I want to obtain a list of equations aligned on the left, where every equation has the labeling number on the right and it can be done by using align. However I have an equation which takes two lines and I want only one labeling number for the whole equation. How could I do? Thanks

EDIT:

\documentclass[a4paper,twoside,openright]{book}   
\usepackage[utf8x]{inputenc}   
\usepackage[T1]{fontenc}   
\usepackage[pdftex]{color,graphicx}  
\usepackage{amsthm, amssymb, amsmath,mathrsfs}  
\usepackage{caption}  
\usepackage{subfig}  
\usepackage{fancyhdr}  
\usepackage[italian]{babel}  
\usepackage{indentfirst}  
\usepackage{microtype}  
\usepackage{varioref}  
\usepackage{hyperref}  
\usepackage{comment}  
\usepackage{amsmath}  

\begin{document}
\begin{align}  
&(\lambda_0,\lambda(t))\neq(0,0) \label{eq:nontriv}\\  
&\text{Maximum principle: } u^{\ast}(t) \text { maximizes } \mathcal{H}(x^{\ast}(t),u(t),t), \text { for } u\in U \notag\\  
&\text {that is } \mathcal{H}(x^{\ast}(t),u^{\ast} 
 (t),\lambda(t),t)\ge\mathcal{H}(x^{\ast}(t),u,\lambda(t),t) \label{eq:pmax}\\  
(...etc...)  
\end{align}  

\end{document}

I wanted to enumerate only the first and the third line and now I got it. However I'd also like to gather the second and the third.

Best Answer

Some general options you might have to enumerate two equations as one:

\documentclass[]{article}

\usepackage{amsmath}

\begin{document}
Using subeqations to give them number 3a and 3b, also inserts more vertical
space.
\begin{align}
  E &= mc^2\\
  E &= \frac{1}{2}mv^2
\end{align}
\begin{subequations}
  \begin{align}
    \Delta E &= E_0 - E_1\\
    \Delta E &> 0
  \end{align}
\end{subequations}
Using split, so they share a number which is printed vertically between the two
equations.
\begin{align}
  E &= mc^2\\
  E &= \frac{1}{2}mv^2\\
  \begin{split}
    \Delta E &= E_0 - E_1\\
    \Delta E &> 0
  \end{split}
\end{align}
\end{document}

enter image description here