Solve the system, describe the solution set, and determine the minimum possible value of x1 given that all flows are nonnegative.
Solution
2. Rewrite each equation as (net):
x1−x2x2−x3x3−x4x4−x1=−10=10=20=−20.
The four equations sum to 0=0, so one is redundant. Let x4=t be free. Then x3=20+t, x2=10+x3=30+t, and x1=−10+x2=20+t (this also satisfies the fourth equation: t−(20+t)=−20). So
x=2030200+t1111,t≥0.
All flows are nonnegative iff t≥0 (the binding constraint is x4=t≥0). The minimum value of x1=20+t is therefore 20, achieved at t=0.
3. (3 pts) Balance the combustion of propane:
x1C3H8+x2O2⟶x3CO2+x4H2O.
Solution
3. Carbon: 3x1=x3. Hydrogen: 8x1=2x4, so x4=4x1. Oxygen: 2x2=2x3+x4=6x1+4x1=10x1, so x2=5x1. Take x1=1: x2=5, x3=3, x4=4:
C3H8+5O2⟶3CO2+4H2O.
4. (3 pts) A nutritionist blends three foods. Per unit serving, the grams of protein, carbohydrate, and fat are:
Food A:(2,1,0),Food B:(1,3,1),Food C:(0,1,2),
where each triple is (protein, carbohydrate, fat). Find the numbers of servings a,b,c that provide exactly 7 g protein, 12 g carbohydrate, and 5 g fat.
Solution
4. The constraints give the system
2a+ba+3b+cb+2c=7=12=5.
From the first, b=7−2a; from the third, c=25−b=25−(7−2a)=a−1. Substitute into the second: a+3(7−2a)+(a−1)=12⇒a+21−6a+a−1=12⇒−4a+20=12⇒a=2. Then b=3 and c=1. Answer:2 servings of A, 3 of B, 1 of C. (Check: protein 4+3=7, carbohydrate 2+9+1=12, fat 3+2=5.)
5. (3 pts) Balance the photosynthesis reaction:
x1CO2+x2H2O⟶x3C6H12O6+x4O2.
Solution
5. Carbon: x1=6x3. Hydrogen: 2x2=12x3, so x2=6x3. Oxygen: 2x1+x2=6x3+2x4; substituting, 12x3+6x3=6x3+2x4⇒2x4=12x3⇒x4=6x3. Take x3=1:
6CO2+6H2O⟶C6H12O6+6O2.
6. (3 pts) State whether each of the following is true or false, and justify each answer.
(a) The coefficients that balance a chemical equation are found by solving a homogeneous linear system.
(b) A network-flow system always has a unique solution.
(c) In a flow network, the equation at each node states that total flow in equals total flow out.
Solution
6.
(a) True. Conservation of each element gives one equation with zero on the right (atoms in = atoms out), so the coefficients solve a homogeneous system; the balanced equation comes from a nontrivial solution scaled to smallest integers.
(b) False. A flow network typically yields a dependent system with a free variable, so the solution is a one- (or more-) parameter family, not unique, unless enough branch flows are measured.
(c) True. Conservation of flow at a node is exactly the statement that total inflow equals total outflow.
7. (3 pts) Explain why the node equations of a closed flow network (like Problem 2) are always dependent — their sum is 0=0 — so the system has at least one free variable. Interpret what happens to the solution when one branch flow is measured directly.
Solution
7. Every branch of a closed network leaves one node and enters another, so its flow appears once with a + sign (as an inflow) and once with a − sign (as an outflow) across the node equations. Adding all node equations, each branch variable cancels and every measured inflow cancels against its outflow, leaving 0=0. Thus the equations are linearly dependent: one is redundant, so with n unknown branch flows there are at most n−1 independent equations, forcing at least one free variable. Measuring one branch flow directly supplies the missing equation, pinning down the free parameter and (typically) determining all remaining flows uniquely.
From K and Mn, x3=x4=x1. From O, x5=4x1; from H, x2=2x5=8x1. Substitute into the Cl balance: 8x1=x1+2x1+2x6⇒2x6=5x1⇒x6=25x1. Take x1=2 to clear the fraction: x2=16, x3=2, x4=2, x5=8, x6=5. The balanced equation is
2KMnO4+16HCl⟶2KCl+2MnCl2+8H2O+5Cl2.
(Chlorine check: right side 2+4+10=16 = left side.) ■