solve a system of linear equations by reducing a matrix pamela leutwyler

34
Solve a system of linear equations By reducing a matrix Pamela Leutwyler

Upload: mary-pitts

Post on 17-Jan-2016

221 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

Solve a system of linear equations

By reducing a matrix

Pamela Leutwyler

Page 2: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

Describe the solutions to:

Page 3: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

Describe the solutions to:

01433

01211

01322

The coefficient matrix:

Page 4: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

01433

01211

01322

Page 5: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

01433

01211

01322

Replace row 1 with row 1 – row 2

Page 6: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

01433

01211

01322

Replace row 1 with row 1 – row 2

-1

1 1 1 0

Page 7: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

01433

01211

00111

Page 8: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

01433

01211

00111

Replace row 2 with row 2 – row 1

Page 9: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

01433

01211

00111

Replace row 2 with row 2 – row 1

-1

Page 10: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

01433

01211

00111

Replace row 2 with row 2 – row 1

-10 0 1 1

Page 11: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

01433

01100

00111

Page 12: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

01433

01100

00111

Replace row 3 with row 3 – 3 row 1

Page 13: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

01433

01100

00111

Replace row 3 with row 3 – 3 row 1

-3

Page 14: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

01433

01100

00111

Replace row 3 with row 3 – 3 row 1

-3

0 0 1 1

Page 15: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

01100

01100

00111

Page 16: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

01100

01100

00111

Replace row 3 with row 3 – row 2

Page 17: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

01100

01100

00111

Replace row 3 with row 3 – row 2

-1

Page 18: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

01100

01100

00111

Replace row 3 with row 3 – row 2

-1

0 0

Page 19: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

00000

01100

00111

Page 20: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

00000

01100

00111

Replace row 1 with row 1 – row 2

Page 21: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

00000

01100

00111

Replace row 1 with row 1 – row 2

-1

Page 22: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

00000

01100

00111

Replace row 1 with row 1 – row 2

-1

0 -1

Page 23: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

00000

01100

01011

Page 24: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

00000

01100

01011

The matrix is in REDUCED ECHELON FORM

Page 25: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

00000

01100

01011

The matrix is in REDUCED ECHELON FORM

11

Every FNZE is a 1First NonZero Entry in a row of a matrix

Page 26: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

00000

01100

01011

The matrix is in REDUCED ECHELON FORM

11

Every FNZE is a 1Every FNZE is to the right of the FNZE above it.

Page 27: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

00000

01100

01011

The matrix is in REDUCED ECHELON FORM

11

Every FNZE is a 1Every FNZE is to the right of the FNZE above it.

00

0

0

In a column containing a FNZE, every other element is a 0

Page 28: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

00000

01100

01011

Interpret :

Page 29: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

Interpret :

00000

01100

01011

zyxw

zyxw

zyxw w= -x +z

Page 30: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

Interpret :

00000

01100

01011

zyxw

zyxw

zyxw w= -x +z

y= -z

Page 31: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

Interpret :

w= -x +z

y= -z

Page 32: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

Interpret :

w= -x +z

y= -zx= x

z= z

x and z are theindependent variables

Page 33: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

Interpret :

w= -x +z

y= -zx= x

z= z zz

zy

xx

zxw

1

1

1

11

Page 34: Solve a system of linear equations By reducing a matrix Pamela Leutwyler

0433

02

0322

zyxw

zyxw

zyxw

Interpret :

zz

zy

xx

zxw

1

1

1

11

1

1

0

1

0

0

1

1

zx

z

y

x

w

Every solution is a linear combination of these vectors