Linear Algebra · Undergraduate
Applications of Linear Systems: Chemistry, Networks and Curve Fitting
Quick answer
Many problems become linear systems once each condition is written as an equation. Balancing a chemical equation gives one equation per element, with a free variable that sets the scale. A network of roads or pipes gives one equation per junction, flow in equals flow out, and free variables show which flows can be chosen. Fitting a polynomial through points gives one equation per point. Row reduction then solves them all the same way.
What you'll learn
- Balance a chemical equation with a homogeneous system
- Model flow in a network with conservation at each junction
- Interpret free variables in an applied solution
- Fit a polynomial through given points
Turning conditions into equations
Each application follows the same pattern: name the unknowns, write one linear equation per condition, and row reduce. The solution set then answers the question:
| Application | Unknowns | One equation per |
|---|---|---|
| balancing a reaction | coefficients of each compound | element |
| network flow | flow along each road or pipe | junction |
| polynomial fitting | coefficients of the polynomial | data point |
Why free variables carry meaning
A balanced reaction stays balanced when every coefficient is doubled, so its solutions always form a line: one free variable sets the scale. In a network, a loop of roads can carry extra traffic around it without changing any junction’s balance, so loops show up as free variables. A free variable is not a defect in the model; it records a genuine choice in the real situation. Polynomial fitting is the opposite case: with as many points as coefficients and distinct -values, there are no free variables and the curve is unique.
Worked examples
Common mistakes
Practice problems
-
Balance .
Answer
Full solution
H: ; O: . With : , .
-
Balance .
Answer
Full solution
C: ; H: ; O: . With : , , .
-
In Example 2, what is the smallest possible flow on road AB?
Answer
cars per hour
Full solution
with .
-
In Example 2, road BC can carry at most cars per hour. What is the largest allowed ?
Answer
Full solution
.
-
Find the line through and by setting up a system.
Answer
Full solution
and give , .
-
Find the quadratic through , and .
Answer
Full solution
; then and give , .
-
Why does a network with a closed loop of roads always have a free variable?
Answer
Extra traffic can circle the loop without changing any junction’s balance.
Full solution
Adding the same amount to every road in the loop keeps flow in equal to flow out at each corner.
-
A student balances Example 1 as . Is it wrong?
Answer
It is balanced, but not in lowest terms.
Full solution
It is on the same solution line. Chemists use the smallest whole numbers, from .
Frequently asked questions
How do linear systems balance chemical equations?
Give each compound an unknown coefficient and require the number of atoms of each element to match on both sides. The result is a homogeneous system; choose the smallest whole-number solution.
What equation does each junction of a network give?
Flow in equals flow out. With one equation per junction, the system describes all possible flows.
What does a free variable mean in a network?
A flow that can be set freely, such as a road whose traffic can vary; the other flows then adjust to match.
How do you fit a polynomial through points?
For y = a + bx + cx², each point (xᵢ, yᵢ) gives the equation a + bxᵢ + cxᵢ² = yᵢ. Three points with different x give a unique quadratic.
Why does a chemical equation always have a free variable?
Doubling every coefficient balances the equation too, so the solutions form a line through the origin.