mercredi 3 décembre 2014

How do i format the equations so it shows it is aligned?


I have



\begin{eqnarray*}
\phi(n) = \phi(pq) = & pq - (\# of multiples of p) - (\# of multiples of q) + (\# of multiples of pq) \\
& = & pq - q - p +1 \\
& = & (p-1)(1-1) \\
\end{eqnarray*}


But the last two equations on the RHS are to the far right and not aligned under the first RHS equation.


Also I get "# of multiples of p" all bunched up together .. how do i fix that?





Aucun commentaire:

Enregistrer un commentaire