5.2 Gram-Schmitt Process The first 2 steps of the Gram Schmitt Process For more information...

20
5.2 Gram-Schmitt Process The first 2 steps of the Gram Schmitt Process For more information visit:http://en.wikipedia.org/wiki/Gram %E2%80%93Schmidt_process

Transcript of 5.2 Gram-Schmitt Process The first 2 steps of the Gram Schmitt Process For more information...

Page 1: 5.2 Gram-Schmitt Process The first 2 steps of the Gram Schmitt Process For more information visit:E2%80%93Schmidt_process.

5.2 Gram-Schmitt Process

The first 2 steps of the Gram Schmitt ProcessFor more information visit:http://en.wikipedia.org/wiki/Gram

%E2%80%93Schmidt_process

Page 2: 5.2 Gram-Schmitt Process The first 2 steps of the Gram Schmitt Process For more information visit:E2%80%93Schmidt_process.

It is often helpful to take a basis of a subspace and write it in a form such

that the vectors are orthonormalTo do this just subtract off the component of

the vector that is parallel to the previous vectors in the basis. Repeat this process for each vector in the basis.

Page 3: 5.2 Gram-Schmitt Process The first 2 steps of the Gram Schmitt Process For more information visit:E2%80%93Schmidt_process.

A Geometric view

Page 4: 5.2 Gram-Schmitt Process The first 2 steps of the Gram Schmitt Process For more information visit:E2%80%93Schmidt_process.

Example 1a,b

Page 5: 5.2 Gram-Schmitt Process The first 2 steps of the Gram Schmitt Process For more information visit:E2%80%93Schmidt_process.

1a

Page 6: 5.2 Gram-Schmitt Process The first 2 steps of the Gram Schmitt Process For more information visit:E2%80%93Schmidt_process.

1b Solution

Page 7: 5.2 Gram-Schmitt Process The first 2 steps of the Gram Schmitt Process For more information visit:E2%80%93Schmidt_process.

The Gram-Schmidt Process

Page 8: 5.2 Gram-Schmitt Process The first 2 steps of the Gram Schmitt Process For more information visit:E2%80%93Schmidt_process.

Problem 6

Perform the Gram-Schmitt process

Page 9: 5.2 Gram-Schmitt Process The first 2 steps of the Gram Schmitt Process For more information visit:E2%80%93Schmidt_process.

Problem 6 Solution

Page 10: 5.2 Gram-Schmitt Process The first 2 steps of the Gram Schmitt Process For more information visit:E2%80%93Schmidt_process.

Problem 4

Page 11: 5.2 Gram-Schmitt Process The first 2 steps of the Gram Schmitt Process For more information visit:E2%80%93Schmidt_process.

Solution to problem 4

Page 12: 5.2 Gram-Schmitt Process The first 2 steps of the Gram Schmitt Process For more information visit:E2%80%93Schmidt_process.

QR factorizationList the columns of the orthornomal matrix found in Gram-Schmidt Then use the formula below to find a matrix R that when multiplied by Q generates M (the original matrix)This factoring has some applications in higher math. Note: This formula works

in 2 D, R can be seen as a series of coordinate Vectors we will use this for higher dimensions

Page 13: 5.2 Gram-Schmitt Process The first 2 steps of the Gram Schmitt Process For more information visit:E2%80%93Schmidt_process.

Problem 16

• Find the QR factorization of the following matrix

Page 14: 5.2 Gram-Schmitt Process The first 2 steps of the Gram Schmitt Process For more information visit:E2%80%93Schmidt_process.

Solution to 16

Note: the vectors are already orthogonal so only divide by the length.Create R either by formula or by coordinate vectors.

M=

Page 15: 5.2 Gram-Schmitt Process The first 2 steps of the Gram Schmitt Process For more information visit:E2%80%93Schmidt_process.

Problem 20

Find the QR factorization of

Page 16: 5.2 Gram-Schmitt Process The first 2 steps of the Gram Schmitt Process For more information visit:E2%80%93Schmidt_process.

Problem 20 solutionM=

One shortcut. If rref of M is I then I is an orthonormal basis of M and Gram-Schmitt is not required

Page 17: 5.2 Gram-Schmitt Process The first 2 steps of the Gram Schmitt Process For more information visit:E2%80%93Schmidt_process.

Problem 21Find the QR factorization

Page 18: 5.2 Gram-Schmitt Process The first 2 steps of the Gram Schmitt Process For more information visit:E2%80%93Schmidt_process.

Problem 21 solutionM=

M = QR therefore Q-1M = R

Page 19: 5.2 Gram-Schmitt Process The first 2 steps of the Gram Schmitt Process For more information visit:E2%80%93Schmidt_process.

Homework p.209 1- 31 odd

Page 20: 5.2 Gram-Schmitt Process The first 2 steps of the Gram Schmitt Process For more information visit:E2%80%93Schmidt_process.