06.09.2021 Views

Linear Algebra, 2020a

Linear Algebra, 2020a

Linear Algebra, 2020a

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.

Section I. Solving <strong>Linear</strong> Systems 3<br />

1.3 Example The ordered pair (−1, 5) is a solution of this system.<br />

In contrast, (5, −1) is not a solution.<br />

3x 1 + 2x 2 = 7<br />

−x 1 + x 2 = 6<br />

Finding the set of all solutions is solving the system. We don’t need guesswork<br />

or good luck; there is an algorithm that always works. This algorithm is Gauss’s<br />

Method (or Gaussian elimination or linear elimination).<br />

1.4 Example To solve this system<br />

3x 3 = 9<br />

x 1 + 5x 2 − 2x 3 = 2<br />

1<br />

3 x 1 + 2x 2 = 3<br />

we transform it, step by step, until it is in a form that we can easily solve.<br />

The first transformation rewrites the system by interchanging the first and<br />

third row.<br />

swap row 1 with row 3<br />

−→<br />

1<br />

3 x 1 + 2x 2 = 3<br />

x 1 + 5x 2 − 2x 3 = 2<br />

3x 3 = 9<br />

The second transformation rescales the first row by a factor of 3.<br />

multiply row 1 by 3<br />

−→<br />

x 1 + 6x 2 = 9<br />

x 1 + 5x 2 − 2x 3 = 2<br />

3x 3 = 9<br />

The third transformation is the only nontrivial one in this example. We mentally<br />

multiply both sides of the first row by −1, mentally add that to the second row,<br />

and write the result in as the new second row.<br />

add −1 times row 1 to row 2<br />

−→<br />

x 1 + 6x 2 = 9<br />

−x 2 − 2x 3 =−7<br />

3x 3 = 9<br />

These steps have brought the system to a form where we can easily find the<br />

value of each variable. The bottom equation shows that x 3 = 3. Substituting 3<br />

for x 3 in the middle equation shows that x 2 = 1. Substituting those two into<br />

the top equation gives that x 1 = 3. Thus the system has a unique solution; the<br />

solution set is {(3, 1, 3)}.<br />

We will use Gauss’s Method throughout the book. It is fast and easy. We<br />

will now show that it is also safe: Gauss’s Method never loses solutions nor does<br />

it ever pick up extraneous solutions, so that a tuple is a solution to the system<br />

before we apply the method if and only if it is a solution after.

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

Saved successfully!

Ooh no, something went wrong!