The Theory of Excitation and Ionization by Electron Impact