A mathematical analysis of the effects of component failures on system performance