To have the 0s in the last column aligned, you can use the pmatrix* environment (defined by mathtools) with option[r], as mentioned by @Mico. However this will have the effect that all columns will be right-aligned, which might be unwanted (for instance a 0 in the second column, last row, would require a left alignment), or use \llap for this specific element:
Using the eqnarray environment instead of array, you can add \nonumber to any lines you don't want numbered. If you don't do this, every line will be numbered.
Best Answer
Something like this?
To have the 0s in the last column aligned, you can use the
pmatrix*
environment (defined bymathtools
) with option[r]
, as mentioned by @Mico. However this will have the effect that all columns will be right-aligned, which might be unwanted (for instance a 0 in the second column, last row, would require a left alignment), or use\llap
for this specific element: