The optical properties of the semiconductors silicon and gallium arsenide have been examined by a Kramers-Kronig analysis of the available experimental measurements of the optical constants (reflectivity, extinction coefficient, index of refraction, and dielectric function) for these materials. The results include the full range of optical electronic excitations, from infrared through X-rays, and have been examined by the evaluation of various sum rules. The sum rules are well satisfied by ...