Lesson 5 of 8 · 16 min
Modelling with systems of equations
Turn real situations with three or more unknowns into a system of linear equations, solve it with matrices or Gaussian elimination, and interpret and check the answer in context.
What you will be able to do
- Define variables and write a system of three or more linear equations from a description.
- Find a curve through given points by solving for its coefficients.
- Solve the model with technology and interpret the solution in context.
- Use constraints such as whole, non-negative numbers when a model has infinitely many solutions.
Most problems with three or more unknowns follow the same plan: name the unknowns, turn each piece of information into an equation, solve, and then ask whether the answer makes sense.
A neat first example is fitting a curve. Two points fix a straight line. How many points fix a parabola ? It has three unknown coefficients, so you need three points, and each point gives one linear equation in , and .
Exactly one parabola passes through , and .
Worked example
Find the parabola through three points
Find the equation of the parabola that passes through , and .
Step 1: One equation per point
Substitute each point into :
The unknowns are , and , and each equation is linear in them, even though the curve is not a line.
Step 2: Eliminate to find
Subtract the third equation from the first: , so .
Step 3: Find and
With : the first equation gives and the second gives . Subtracting, , so and .
Step 4: Check
gives , and .
Try it yourself first, then check the working one step at a time.
Answer
Method
Substitute each point to get a linear equation in the coefficients.
Solve the system by elimination or with technology.
Check every point in the final equation.
Watch out for
Squaring wrongly: , not .
The parabola passes through , and . Find , and .
Modelling with a system
Define the variables
Say exactly what each one stands for, with units: "let kg be the mass of grain A".
Write one equation per fact
Totals, values, rates and relationships ("twice as many") each give a linear equation. Write "twice as many as " as .
Solve
With technology, enter the coefficient matrix and constants and use or rref. By hand, use Gaussian elimination.
Check and interpret
Substitute into the original facts, check the answer is sensible (positive masses, whole numbers of tickets) and answer the question in words.
Worked example
Blend a stock feed to meet nutrient targets
A stockfeed company blends kg of feed from three ingredients.
| Ingredient | Protein | Fat |
|---|---|---|
| A | 12% | 4% |
| B | 20% | 6% |
| C | 8% | 2% |
The blend must contain kg of protein and kg of fat.
(a) Find the mass of each ingredient needed.
(b) A customer wants kg of protein instead, with the same total mass and fat. Evaluate whether that is possible.
Step 1: Define the variables
Let , and be the masses, in kg, of ingredients A, B and C.
Step 2: Write the system
Step 3: Write it as a matrix equation and solve
With technology, .
Step 4: Check and answer (a)
Protein: kg. Fat: kg. The blend needs kg of A, kg of B and kg of C, all positive, so it is possible.
Step 5: Change the target for (b)
Replace by and solve again: .
Step 6: Evaluate
The model requires kg of ingredient A, which is impossible. With these three ingredients, kg of feed with kg of fat cannot contain kg of protein. The company would need a higher-protein ingredient, or must relax the fat or mass requirement.
Try it yourself first, then check the working one step at a time.
Answer
(a) kg of A, kg of B and kg of C. (b) Not possible: the solution needs a negative mass of A ( kg).
Method
Define variables with units.
Write one equation for each requirement, using decimals for percentages.
Solve with technology.
Check the solution makes physical sense before you answer.
Watch out for
Writing percentages as whole numbers in one equation and decimals in another.
Reporting as the answer instead of concluding that the blend is impossible.
This is the feed-blend model. Change the protein target from to kg. Is the new blend still possible? (Look for a negative mass.)
A theatre sold tickets for $2880. Adult tickets cost $20, concession tickets $12 and child tickets $8, and twice as many concession tickets as child tickets were sold. How many of each type were sold?
Some models have fewer independent equations than unknowns, so they have infinitely many solutions. Traffic through a network of one-way streets is a classic: at every intersection, cars in equal cars out, but those equations can't pin down every flow.
Then the context finishes the job. Flows and counts can't be negative, and tickets come in whole numbers, so the parameter is restricted to an interval, or to a short list of integers.
Tip
Is the answer reasonable?
A model's solution can be mathematically correct and still impossible: a negative mass, people, a flow larger than a road can carry. Say so when it happens. That evaluation is exactly what QCAA's "evaluate the reasonableness" objective rewards.
Exam tip
Paper 2 modelling
Write the system (or the matrix equation) before you reach for the calculator, then the solution, then a sentence in context with units. If you rounded, say so.
Summary
Define each variable with units, then write one linear equation for each fact.
A curve with unknown coefficients needs points; each point gives a linear equation in the coefficients.
Solve with or rref using technology, or by Gaussian elimination by hand.
If the model has infinitely many solutions, use the context (non-negative, whole numbers) to restrict the parameter.
Check the solution against the original facts and comment on whether it is reasonable.
Finished the lesson?
Try the 2 quick checks above and the lesson completes itself, or mark it complete now.