Analytical expressions to calculate relative amounts of phases in a three-component phase diagram.