Determining the major component in a mixture