The equals signs in the system of equations are represented with a vertical bar in the matrix.
The coefficients of the variables form the columns on the left-hand side of the bar.
The constants form the column on the right-hand side of the bar.
Below we demonstrate this in a generalized form.
a_(11)r+ a_(12)s+ a_(13)t= c_1 a_(21)r+ a_(22)s+ a_(23)t= c_2 a_(31)r+ a_(32)s+ a_(33)t= c_3
⇕
[
ccc|c
a_(11) & a_(12) & a_(13) & c_1
a_(21) & a_(22) & a_(23) & c_2
a_(31) & a_(32) & a_(33) & c_3
]
Because the variables in the given system are not in the same order, our first step will be to write each equation in the same order. It will also help us visualize the process if we leave spaces for any missing variables.
r-s+ t=150 2r + t=425 s+3t=0
Next, let's consider the coefficients and the constants. If there is ever a missing variable, we should treat it as though it has a coefficient of 0.
1r - 1s+ 1t= 150 2r+ 0s+ 1t= 425 r+ 1s+ 3t= 0
Now that we have identified all of the variables and constants, we can place them in a matrix.
[
ccc|c
1 & -1 & 1 & 150
2 & 0 & 1 & 425
& 1 & 3 & 0
]