Matrix lesson

32
Solving systems of linear equations using Gauss’s matrix method. Dave Coulson, 2013

Transcript of Matrix lesson

Page 1: Matrix lesson

Solving systems of linear equations using Gauss’s matrix method.

Dave Coulson, 2013

Page 2: Matrix lesson

This is a 3x3 system.

Page 3: Matrix lesson

Your task is to work out the values of x, y and z.

Page 4: Matrix lesson

First, strip away the unnecessary symbols

Page 5: Matrix lesson

... and put a box around the numbers.

Page 6: Matrix lesson

Subtract.

Page 7: Matrix lesson

Replace.

Page 8: Matrix lesson

Subtract.

Page 9: Matrix lesson

Replace.

Page 10: Matrix lesson

Keep doing this so that the numbers turn to zero

Page 11: Matrix lesson

Keep doing this so that the numbers turn to zero

Page 12: Matrix lesson

... in no particular order.

Page 13: Matrix lesson

... in no particular order.

Page 14: Matrix lesson

There’s no ‘best’ way to do it.

Page 15: Matrix lesson

There’s no ‘best’ way to do it.

Page 16: Matrix lesson

Just be tidy.

Page 17: Matrix lesson

Just be tidy.

Page 18: Matrix lesson

And don’t make any mistakes.

Page 19: Matrix lesson

And don’t make any mistakes.

Page 20: Matrix lesson

Eventually...

Page 21: Matrix lesson

Eventually...

Page 22: Matrix lesson

...each column will have only one non-zero number left in it.

Page 23: Matrix lesson

Put the unknowns back into position.

Page 24: Matrix lesson

Put the unknowns back into position.

Page 25: Matrix lesson

That’s the answer.

Page 26: Matrix lesson

This procedure has been around for a very long time.

A Chinese scholar wrote a book on how to do this more than 2000 years ago.

Several other people independently rediscovered the method in later centuries.

Page 27: Matrix lesson

Gauss popularised the method in the early 1800s and his name is attached to it as a result.

‘Gaussian elimination’ is taught in schools and universities all round the world today.

Page 28: Matrix lesson

Computers are programmed to use the method on really large linear systems.

Using this same procedure, they can solve systems involving hundreds or even thousands of unknowns, in less time than it takes you to read this sentence.

Page 29: Matrix lesson

But there are better ways, and still better ways are being discovered all the time.

Linear algebra is a big field of study today, and it’s as much about programming machines as it is about solving equations.

Page 30: Matrix lesson

A typical space journey requires repeatedly solving equations using 7 variables: position in each of 3 directions, speed in each of 3 directions and a clock time.

The variables are put into a 7x7 matrix and identified using procedures similar to what you’ve just seen, advancing the clock time by maybe one second at a time across a journey that may take many months, so that hundreds of thousands of repetitive matrix calculations might be required to find out where the spacecraft ends up.

Page 31: Matrix lesson

You can even calculate the motions of the planets using this sort of mathematics. Gauss used matrices to plot the motion of the asteroid Pallas, which is how he came to be interested in the subject in the first place.

You could say, therefore, that you discovered matrices because I discovered matrices, because my teachers discovered matrices, because somewhere back in that chain of teachers, Gauss demonstrated how useful the method could be, because he was interested in a tumbling rock in the sky some 50 million miles away.

Page 32: Matrix lesson

The next question would be, who will you teach this subject to? And what will your student’s students discover, someday, using Gauss’s matrix method?

-David C, 2013