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 y=ax2+bx+cy = ax^2 + bx + c? It has three unknown coefficients, so you need three points, and each point gives one linear equation in aa, bb and cc.

Exactly one parabola y=ax2+bx+cy = ax^2 + bx + c passes through (−1,6)(-1, 6), (1,0)(1, 0) and (2,3)(2, 3).

Worked example

Find the parabola through three points

  • Simple familiar
  • Technology free

Find the equation of the parabola y=ax2+bx+cy = ax^2 + bx + c that passes through (1,0)(1, 0), (2,3)(2, 3) and (−1,6)(-1, 6).

4 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Substitute each point to get a linear equation in the coefficients.

  2. Solve the system by elimination or with technology.

  3. Check every point in the final equation.

Watch out for

  • Squaring −1-1 wrongly: a(−1)2=aa(-1)^2 = a, not −a-a.

The parabola y=ax2+bx+cy = ax^2 + bx + c passes through (1,4)(1, 4), (2,9)(2, 9) and (3,16)(3, 16). Find aa, bb and cc.

Modelling with a system

  1. Define the variables

    Say exactly what each one stands for, with units: "let xx kg be the mass of grain A".

  2. Write one equation per fact

    Totals, values, rates and relationships ("twice as many") each give a linear equation. Write "twice as many cc as kk" as c−2k=0c - 2k = 0.

  3. Solve

    With technology, enter the coefficient matrix and constants and use X=A−1B\bm{X} = \bm{A}^{-1}\bm{B} or rref. By hand, use Gaussian elimination.

  4. 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

  • Complex unfamiliar
  • Technology active

A stockfeed company blends 10001000 kg of feed from three ingredients.

IngredientProteinFat
A12%4%
B20%6%
C8%2%

The blend must contain 126126 kg of protein and 3838 kg of fat.

(a) Find the mass of each ingredient needed.

(b) A customer wants 150150 kg of protein instead, with the same total mass and fat. Evaluate whether that is possible.

6 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Define variables with units.

  2. Write one equation for each requirement, using decimals for percentages.

  3. Solve X=A−1B\bm{X} = \bm{A}^{-1}\bm{B} with technology.

  4. 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 x=−800x = -800 as the answer instead of concluding that the blend is impossible.

Interactive

Change the targets

This is the feed-blend model. Change the protein target from 126126 to 150150 kg. Is the new blend still possible? (Look for a negative mass.)

A theatre sold 200200 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, 12.412.4 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 nn unknown coefficients needs nn points; each point gives a linear equation in the coefficients.

  • Solve with X=A−1B\bm{X} = \bm{A}^{-1}\bm{B} 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.

Lesson 5 of 80% read

Save your progress with a free account