Avoid eqnarray! Use the better align (amsmath) instead.

The eqnarray and eqnarray* environments are not recommended because they produce inconsistent spacing of the equal signs and make no attempt to prevent overprinting of the equation body and equation number.