Mathematics + mixing / INTERACTIVE LESSON 10
Two equations. One drink.
Choose two ingredient concentrations and solve for the amounts that hit your target.
CHANGE A CONDITION. SEE WHAT FOLLOWS.
Teaching modelEnlarge for bigger labels, then swipe sideways →
Use 600 g of A and 400 g of B. Their solute masses add to 180 g within 1,000 g total. Swapping the feed labels swaps the required masses without changing the blend.
What this model assumes
Two mass balances: mA + mB = M and xA·mA + xB·mB = xTarget·M. All percentages are mass fractions, not volume fractions. Assume complete mixing with no reaction, evaporation or material loss. Nonnegative feed masses can only produce a target between the two feed concentrations. Equal-concentration feeds do not provide independent concentration control.
THE IDEA TO TAKE WITH YOU
Linear algebra organizes constraints. Here the constraints are total mass and ingredient mass.
The two stream masses must add to the requested total mass.
Their contributions of sugar must add to the target sugar mass. When the feed concentrations differ, these balances form two independent equations.
Percentages here are mass fractions. A target outside the two inlet concentrations cannot be reached using only positive amounts of these streams.
QUICK CHECK
Can 10% and 30% sugar streams make a 40% blend by mixing alone?
FROM THE VIDEO: THE MATRIX, AND WHEN THE TWO EQUATIONS STOP HELPING
Two lines, one crossing.
Move the feeds. Watch the crossing.
The total-mass balance and the sugar balance are each a straight line. Where they cross is the one recipe that satisfies both. Slide the two feed concentrations together and see the second line turn into a copy of the first.
What the plane assumes
Percentages are mass fractions; mixing only, with no evaporation, reaction or loss; total mass fixed at 1000 g. Two linear equations in two unknowns have one solution only when the determinant is non-zero, which here means the feeds differ in concentration. A crossing outside the positive quadrant is a mathematically valid point that cannot be made by mixing.
FROM UNDERSTANDING TO BUILDING
Taking a real process
beyond the lab?
Jon and I are building RARE Labs toward an autonomous pilot plant builder. Join the waitlist for updates, and tell us what you’re trying to scale.
FOLLOW THE EVIDENCE
Go a little deeper.
- OpenStax / Rice UniversitySolve Mixture Applications with Systems of Equations ↗
Independent total-mixture and component balances determine proportions. Our example uses mass fractions to avoid an assumption that liquid volumes add.
- MIT OpenCourseWare / Gilbert StrangElimination with Matrices ↗
Matrices organize simultaneous linear equations and elimination.
- Carnegie Mellon / Ulissi GroupRank, Gaussian Elimination and Examples ↗
Steady-state tank balances become a linear matrix system; Gaussian elimination solves coupled constraints.