Error propagation and optimal performance in multicomponent analysis