8
2 linear equations in 2 unknowns: a 11 x a 12 y = b 1 a 21 x a 22 y = b 2 goal: find all x, y making both of these equations true at once. Since the solution set to each single equation is a line one geometric interpretation is that you are looking for the intersection of two lines. Exercise 3 : Consider the system of two equations E 1 , E 2 : E 1 5 x 3 y =1 E 2 x 2 y =8 3a) Sketch the solution set in 2 , as the point of intersection between two lines. 3b ) Use the method of substitution to solve the system above, and verify that the algebraic solution yields the point you estimated geometrically in part a. 3c) What are the possible geometric solution sets to 1, 2, 3, 4 or any number of linear equations in two unknowns? 3g I Sx y f Ex l Y Y L2 im Ox 2 37 lo 4 Ez x 8 29 yI works great E 5 8t2y7t3y I for all sorts 13g 40 1 of systems as 13g 39 7 y 3 x 86 2 long as only ZYfingbures than 2 variables substitution gets messy fast N'ly many solutions each egth had sadie as its solutionset 5 1 31 1 e g 10 64 2 1 solution there is one point no more on all of the lines μ jm so uh.mg e.g 2 pm me µ or at least 2 of the lineage

im - math.utah.edukorevaar/2270fall18/aug21.pdf · 2 linear equations in 2 unknowns: a 11 x a 12 y = b 1 a 21 x a 22 y = b 2 goal: find all x, y making both of these equations true

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: im - math.utah.edukorevaar/2270fall18/aug21.pdf · 2 linear equations in 2 unknowns: a 11 x a 12 y = b 1 a 21 x a 22 y = b 2 goal: find all x, y making both of these equations true

2 linear equations in 2 unknowns:a11 x a12 y = b1 a21 x a22 y = b2

goal: find all x, y making both of these equations true at once. Since the solution set to each single equation is a line one geometric interpretation is that you are looking for the intersection of two lines.

Exercise 3: Consider the system of two equations E1, E2:E1 5 x 3 y = 1 E2 x 2 y = 8

3a) Sketch the solution set in 2, as the point of intersection between two lines.

3b) Use the method of substitution to solve the system above, and verify that the algebraic solution yields the point you estimated geometrically in part a.

3c) What are the possible geometric solution sets to 1, 2, 3, 4 or any number of linear equations in two unknowns?

3g I Sx y f Exl

Y Y

L2

im

Ox 2 37lo 4

Ez x 8 29

yIworks great E 5 8t2y7t3y Ifor all sorts 13g 40 1

ofsystems as 13g 39 7 y 3 x 8 6 2long as onlyZYfingburesthan 2 variables substitutiongetsmessy fast

N'lymanysolutions eachegthhad sadie as itssolutionset5 131 1eg 10 64 2

1 solution there is one point no more on all ofthe linesµ

jm so uh.mg e.g 2 pm me µor at least 2ofthelineage

Page 2: im - math.utah.edukorevaar/2270fall18/aug21.pdf · 2 linear equations in 2 unknowns: a 11 x a 12 y = b 1 a 21 x a 22 y = b 2 goal: find all x, y making both of these equations true

Math 2270-002 Tues Aug 21 1.1 Systems of linear equations and Gaussian elimination 1.2 Row reduction, echelon form, and reduced row echelon form

Announcements:

Warm-up Exercise:

Our Canvaspage is liveI've posted HW 1 on publicpage on CANVAS startHWChapter 1 of text is on CANVAS soon

Quiz 1 tomorrow on Gaussianelimination

til 12 58a Sketch the two lines

sxxt.IE'sand estimate their point of intersectionfromyour

b Solve the system in 1a algebraicallySketch

Compareto sketchthis is Ex in yesterday's notes so you can doyourworkthere

3ab

solution x y 2 3 writing as a point

gwriting as positionvectors

Page 3: im - math.utah.edukorevaar/2270fall18/aug21.pdf · 2 linear equations in 2 unknowns: a 11 x a 12 y = b 1 a 21 x a 22 y = b 2 goal: find all x, y making both of these equations true

This is the system we solved at the end of class on Monday:

E1 5 x 3 y = 1 E2 x 2 y = 8

The method of substituion that we used then does not work well for systems of equations with lots of variables and lots of equations. What does work well is Gaussian elimination, which we now explain andillustrate.

1a) Use the following three "elementary equation operations" to systematically reduce the system E1, E2 to an equivalent system (i.e. one that has the same solution set), but of the form

1 x 0 y = c1 0 x 1 y = c2

(so that the solution is x = c1, y = c2). Make sketches of the intersecting lines, at each stage.

The three types of elementary equation operation that we use are listed below. Can you explain why the solution set to the modified system is the same as the solution set before you make the modification? interchange the order of the equations multiply one of the equations by a non-zero constant replace an equation with its sum with a multiple of a different equation.

Igreattriumsplems with morethan two variables

won't changesaltsset

does noteffect when all ofthe egh are true

if a a man ca ca g ca ca g a a gain.aeby

it a then a a the fatback is trueb b cb cb

reversible if at cl jatcba tab at cbcb cb

Page 4: im - math.utah.edukorevaar/2270fall18/aug21.pdf · 2 linear equations in 2 unknowns: a 11 x a 12 y = b 1 a 21 x a 22 y = b 2 goal: find all x, y making both of these equations true

yE 5 33 1Ez X 2g 8 L2

EEE l X 29 8 changed 1947E 7Ez 5 34 1 namesof Llines

x 24 8SE tEzEz 13g 39

3Ez Ez ly 3 10 4 x 2

5 5µ

2

y 3 y 32 3

4

Page 5: im - math.utah.edukorevaar/2270fall18/aug21.pdf · 2 linear equations in 2 unknowns: a 11 x a 12 y = b 1 a 21 x a 22 y = b 2 goal: find all x, y making both of these equations true

1b) Look at our work in 1a. Notice that we could have saved a lot of writing by doing this computation "synthetically", i.e. by just keeping track of the coefficients in front of the variables and right-side values: We represent the system

E1 5 x 3 y = 1 E2 x 2 y = 8

with the augmented matrix

5 3

1 2

1

8 .

Using R1, R2 as symbols for the rows, redo the operations from part (a). Notice that when you operate synthetically the "elementary equation operations" correspond to "elementary row operations": interchange two rows multiply a row by a non-zero number replace a row by its sum with a multiple of another row.

weft augment with right sidevaluesmatrix

T Tx outs yuet's

53 II 2 g

Rz 112 I 2 8r r µ

2 8SR tRz Rz 13 39

08Ry Rz 0 uncloak

1 01 22122 12 112 to 0,123 7O ly 3

2

7 3

Page 6: im - math.utah.edukorevaar/2270fall18/aug21.pdf · 2 linear equations in 2 unknowns: a 11 x a 12 y = b 1 a 21 x a 22 y = b 2 goal: find all x, y making both of these equations true

Solutions to linear equations in 3 unknowns:

What is the geometric question we're answering in these cases?

Exercise 1) Consider the system x 2 y z = 4

3 x 8 y 7 z = 202 x 7 y 9 z = 23 .

Use elementary equation operations (or if you prefer, elementary row operations in the synthetic version) to find the solution set to this system. The systematic algorithm we use is called Gaussian elimination. (Check Wikipedia about Gauss - he was amazing!)

Hint: The solution set is a single point, x, y, z = 5, 2, 3 .

2 I 43 8 7 20

2792312 I 4312tRz Rz O 4 8

212,1123

1123037151

Page 7: im - math.utah.edukorevaar/2270fall18/aug21.pdf · 2 linear equations in 2 unknowns: a 11 x a 12 y = b 1 a 21 x a 22 y = b 2 goal: find all x, y making both of these equations true

Exercise 2) There are other possibilities. In the two systems below we kept all of the coeffients the same as in Exercise 1, except for a33 , and we changed the right side in the third equation, for 2a. Work out what happens in each case.

2a)x 2 y z = 4

3 x 8 y 7 z = 202 x 7 y 8 z = 20 .

2b)x 2 y z = 4

3 x 8 y 7 z = 202 x 7 y 8 z = 23 .

2c) What are the possible solution sets (and geometric configurations) for 1, 2, 3, 4,... equations in 3 unknowns?

Page 8: im - math.utah.edukorevaar/2270fall18/aug21.pdf · 2 linear equations in 2 unknowns: a 11 x a 12 y = b 1 a 21 x a 22 y = b 2 goal: find all x, y making both of these equations true

Summary of the systematic method known as Gaussian elimination for solving systems of linear equations.

We write the linear system (LS) of m equations for the vector x = x1, x2,...xn of the n unknowns asa11 x1 a12 x2 ... a1 n xn = b1 a21 x1 a22 x2 ... a2 n xn = b2

: : :am1 x1 am2 x2 ... am n xn = bm

The matrix that we get by adjoining (augmenting) the right-side b-vector to the coefficient matrix A = ai j is called the augmented matrix A b :

a11 a12 a13 ... a1 n

a21 a22 a23 ... a2 n

: :

am1 am2 am3 ... am n

b1

b2

:

bm

Our goal is to find all the solution vectors x to the system - i.e. the solution set .

There are three types of elementary equation operations that don't change the solution set to the linear system. They are interchange two of equations multiply one of the equations by a non-zero constant replace an equation with its sum with a multiple of a different equation.

And that when working with the augmented matrix A b these correspond to the three types ofelementary row operations: interchange ("swap") two rows multiply one of the rows by a non-zero constant replace a row by its sum with a multiple of a different row.