21.04.2015 Views

Lesson 16 Linear Systems - Bruce E. Shapiro

Lesson 16 Linear Systems - Bruce E. Shapiro

Lesson 16 Linear Systems - Bruce E. Shapiro

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

104 LESSON <strong>16</strong>. LINEAR SYSTEMS<br />

1. Convert the system Ax = b into an equivalent form T x = b ′ where T is uppertriangular.<br />

2. Solve for x using back-substitution.<br />

It is possible to take this idea one step further. If we can reduce equation <strong>16</strong>.3 to the<br />

form<br />

Dx = b ′′ (<strong>16</strong>.5)<br />

where D is a diagonal matrix, then it is even easier to read off the solutions, namel,<br />

x i = b ′ i/D ii . In this revised form the matrix D is said to be in Reduced Row<br />

Echelon Form, and the revised algorithm is called Gauss-Jordan Elimination.<br />

The revised algorithm is summarized:<br />

1. Convert the system Ax = b into an equivalent form T x = b ′ , where T is<br />

upper-triangular.<br />

2. Convert the system T x = b ′ into an equivalent form Dx = b ′′ , where D is<br />

diagonal.<br />

3. Solve for the x i .<br />

We will outline the first algorithm (row reduction followed by back-substitution). We<br />

start by writing the linear system<br />

a 11 x 1 + a 12 x 2 + · · · + a 1n x n = b 1 (<strong>16</strong>.6)<br />

a 21 x 1 + a 22 x 2 + · · · + a 2n x n = b 2 (<strong>16</strong>.7)<br />

.<br />

a n11 x 1 + a n2 x 2 + · · · + a nn x n = b n (<strong>16</strong>.8)<br />

From equation <strong>16</strong>.6 we can solve for x 1 in terms of x 2 , . . . , x n ,<br />

x 1 = (b 1 − a 12 x 2 − a 13 x 3 − · · · − a 1n x n )/a 11 (<strong>16</strong>.9)<br />

so if we already know x 2 , . . . , x n we can solve for x 1 immediately. But if we eliminate<br />

x 1 from each of the remaining equations, we have system of n − 1 equations in the<br />

n − 1 variables x 2 , . . . , x n , which is easier to solve than the original system because<br />

it is smaller. We get this system by subtracting an appropriate multiple of the first<br />

equation from each of the remaining equations, namely we subtract<br />

(a i1 /a 11 ) × (a 11 x 1 + a 12 x 2 + · · · + a 1n x n = b 1 ) (<strong>16</strong>.10)<br />

Math 481A<br />

California State University Northridge<br />

2008, B.E.<strong>Shapiro</strong><br />

Last revised: November <strong>16</strong>, 2011

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

Saved successfully!

Ooh no, something went wrong!