Attempt to solve this system using the Gaussian elimination method you learned from chapter 1:
⎩⎨⎧2x+3x+4z=15x+6y+7z=28x+9y+10z=4
What linear algebra is involved in AA HL?
Generally, you'll see matrix operations in AA HL when it comes to solving 3 equations in a system. Although this doesn't sound like the linear algebra you expected when you first clicked on this chapter, I promise you, Gaussian elimination becomes interesting when involving more than 2 equations!
A deeper dive into Gaussian elimination
From Chapter 1, you know that there's different forms of an augmented matrix that lets you find solutions to systems involving 2 equations, and those rules almost exactly apply to systems with 3, despite having that 3rd row and an additional variable:
Note N04.0a - Reduced row form "forms"
1 solution:
100□10□□1□□□
0 solutions:
100□10□□0□□□
Infinite solutions:
100□10□□0□□0
Now, with three equations, we can find points of intersection in 3D space. When you solve these, the best way to achieve the zeros are as follows: get the zero in the center left first, then the bottom left, then the bottom middle.
Example E04.0a - Solving systems with Gaussian elimination
Consider the system
⎩⎨⎧x−2y+5z=12x−y+8z=2−3x−11z=−3
.
As usual, transition the system into a matrix to get
12−3−2−1058−1112−3
(note how, since there's no
y
-variable for that last function, I just subbed in a 0)
Then perform the operation
R2=2R1−R2
to get that middle left zero:
10−3−2−3052−1110−3
Then perform the operation
R3=−3R1−R3
to get that bottom left zero:
100−2−3652−4100
Finally perform the operation
R3=2R2+R3
to get those bottom zeros:
100−2−30520100
You can see however, we get infinite solutions (because the bottom row is all zeros). From here, we assign
z=t
and sub that
t
into the equations we extract from the matrices above. So,
−3y+2(t)=0
which re-arranges to produce
y=32t
and then sub that and
t
into
x−2(32t)+5t=1
which re-arranges to get
x=1−311t
.
These are therefore your solutions:
z=t
,
y=32t
, and
x=1−311t
The example above, shows how you solve it when a) a variable is missing, and b) there are infinite solutions. All questions related to simultaneous equations will take any of these forms:
- Find the solutions of a system
- Find the value of a variable in a system (like
a
) which makes the system have no, one, or infinite solutions
So, you should only really focus on the reduced row forms for this topic, and from there, you can find any answer you need! Below are some practice questions.
Coursework C04.0a - Solving systems using Gaussian elimination
1) Consider the system
⎩⎨⎧x−2y−z=−12x+y+3z=13x+8y+9z=a
. For what values of
a
does the system have no solutions?
2) Consider the system
⎩⎨⎧x+2y+z=32x−y+4z=1x+7y−z=k
. For what values of
k
does the system have no solutions? How about infinite solutions? Find the solutions in this case. Finally, explain why the system never has a unique solution.
3) Consider the system
⎩⎨⎧x+4y+mz=−m(m+1)x+4y+z=14x+4y+z=1
. Show that for one value of
m
, the system has no solutions. Show that for a different value of
m
, the system has infinitely many solutions and find the solutions in this case.
4) Consider the system
⎩⎨⎧x+4y−z=k−2x+z=35x+4y+(k−6)z=−3
. Show that for one value of
k
, the system has infinitely many solutions and find the solutions in this case. Show that there is a unique solution for all other values of
k
. Write this solution in terms of
k
.
That is the extent to which the IB includes linear algebra in their course, hence why this page is also quite short!