Numerical Analysis/Householder transformation exercises

From Wikiversity
Jump to navigation Jump to search

Householder's method Exercises[edit | edit source]

Exercise 1[edit | edit source]

This exercise will help you in introducing how to perform the Householder's method to transform a symmetric matrix A into the tridiagonal form. All of the notations and computations in this Exercise follow from those in Section 9.3, Numerical Analysis, Burden and Faires, 8th Edition. It's recommended that you read that section before solving the problem. It's also recommended that you read the following useful links
1. Householder's method for symmetric matrices, J. H. Wilkinson, Handbook Series Linear Algebra, Volume 4, Number 1 / December, 1962, Springer Berlin / Heidelberg.
2. Module for Householder Transformations, Mathematics Department, California State University, Fullerton.


Problem
Let

Perform Householder's method to bring A into a tridiagonal form.

Solution

Step 1: k = 1 (Meaning: Making 0's for the third and fourth rows of the first column)

1

is

.

2

is

.

3

Now, we are going to find the vector
Set , we need to find

.
for j = 3 and 4 gives

4

The orthogonal matrix , defined as is (click Submit to see the answer)

5

The new matrix , defined as , should be in the form
This is the end of Step 1.




Step 2: k = 2 (Meaning: Making 0's for the fourth row of the second column)
In Step 2, we redo the computations in Step 1 with the matrix

1

is

.

2

is

.

3

Now, find the vector
Set , we need to find

.

4

The orthogonal matrix , defined as is (click Submit to see the answer)

5

The new matrix , defined as , should be in the form
This is the end of Step 2.

Now the matrix is in a tridiagonal form. The Householder's method is complete.

Exercise 2[edit | edit source]

1 Householder's method is for

Any matrix.
A non-symmetric positive define matrix.
A symmetric matrix.
A non-symmetric diagonally dominant matrix.

2 The goal of Householder's method is for

Finding the determinant of a matrix.
Transforming a matrix to tridiagonal form.
Finding eigenvalues of a matrix.
Finding the LU decomposition of a matrix.

3 How many steps do we need to perform in Householder's method

n steps (where n is the size of the matrix).
2n steps.
steps.
n-2 steps.

4 What should be performed after Householder's method

LU decomposition.
Support Vector Decomposition (SVD).
Power method.
QR decomposition.

5 Will the Householder's method ever fail

Yes
No.


Exercise 3[edit | edit source]

Problem
Based on the computations performed in Exercise 1, write code in Matlab to perform the Householder's method for an input symmetric matrix A.


Solution



132.235.39.18 19:02, 28 May 2009 (UTC) Nam Nguyen