Quantitative Analysis of Binary Mixtures. I. General Method