06.09.2021 Views

A First Course in Linear Algebra, 2017a

A First Course in Linear Algebra, 2017a

A First Course in Linear Algebra, 2017a

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

24 Systems of Equations<br />

Take −1 times the first row and add to the second. Then take −1 times the first row and add to the<br />

third. This yields<br />

⎡<br />

⎤<br />

1 2 −1 1 3<br />

⎣ 0 −1 0 0 −2 ⎦<br />

0 1 0 0 2<br />

Now add the second row to the third row and divide the second row by −1.<br />

⎡<br />

1 2 −1 1<br />

⎤<br />

3<br />

⎣ 0 1 0 0 2 ⎦ (1.9)<br />

0 0 0 0 0<br />

This matrix is <strong>in</strong> row-echelon form and we can see that x and y correspond to pivot columns, while<br />

z and w do not. Therefore, we will assign parameters to the variables z and w. Assign the parameter s<br />

to z and the parameter t to w. Then the first row yields the equation x + 2y − s + t = 3, while the second<br />

row yields the equation y = 2. S<strong>in</strong>ce y = 2, the first equation becomes x + 4 − s + t = 3 show<strong>in</strong>g that the<br />

solution is given by<br />

x = −1 + s −t<br />

y = 2<br />

z = s<br />

w = t<br />

It is customary to write this solution <strong>in</strong> the form<br />

⎡<br />

⎢<br />

⎣<br />

x<br />

y<br />

z<br />

w<br />

⎤ ⎡<br />

⎥<br />

⎦ = ⎢<br />

⎣<br />

−1 + s −t<br />

2<br />

s<br />

t<br />

⎤<br />

⎥<br />

⎦ (1.10)<br />

This example shows a system of equations with an <strong>in</strong>f<strong>in</strong>ite solution set which depends on two parameters.<br />

It can be less confus<strong>in</strong>g <strong>in</strong> the case of an <strong>in</strong>f<strong>in</strong>ite solution set to first place the augmented matrix <strong>in</strong><br />

reduced row-echelon form rather than just row-echelon form before seek<strong>in</strong>g to write down the description<br />

of the solution.<br />

In the above steps, this means we don’t stop with the row-echelon form <strong>in</strong> equation 1.9. Instead we<br />

first place it <strong>in</strong> reduced row-echelon form as follows.<br />

⎡<br />

⎣<br />

1 0 −1 1 −1<br />

0 1 0 0 2<br />

0 0 0 0 0<br />

Then the solution is y = 2 from the second row and x = −1 + z − w from the first. Thus lett<strong>in</strong>g z = s and<br />

w = t, the solution is given by 1.10.<br />

You can see here that there are two paths to the correct answer, which both yield the same answer.<br />

Hence, either approach may be used. The process which we first used <strong>in</strong> the above solution is called<br />

Gaussian Elim<strong>in</strong>ation. This process <strong>in</strong>volves carry<strong>in</strong>g the matrix to row-echelon form, convert<strong>in</strong>g back<br />

to equations, and us<strong>in</strong>g back substitution to f<strong>in</strong>d the solution. When you do row operations until you obta<strong>in</strong><br />

reduced row-echelon form, the process is called Gauss-Jordan Elim<strong>in</strong>ation.<br />

⎤<br />

⎦<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!