lec12 (1)
lec12 (1)
A = QR,
1
2 Householder’s method
We have seen that using Householder transforms one can have the QR
decomposition
A = QR.
However. this is not a similar transform. A question is: can we use
Householder transform to obtain a similar transform to obtain a band matrix
with small bandwidth?
Below, we try to argue that using Householder transform, we can find
similar transformations to change
• a real square matrix into Upper Hessenberg matrix (i.e. hij = 0 for
i ≥ j + 2)
Let us make a first attempt: take Q1 = H1 that maps the first column
of A into −σ1 e1 . Then, consider the similar transform:
Then, we have !
(1)
a11 A12
Q1 AQT1 = (1) .
H1 c1 H1 A22 H1
One can see that Hc1 has only one nonzero entry.
Note that Q1 is also a reflection matrix.
2
Next, one considers
I2 0
Q2 =
0 H2
where H2 is of size (n − 2) × (n − 2). We use this matrix to change the vector
(1)
below the first entry in the first column of H1 A22 H1 into −σ2 e1 .
Repeat this process, we have
Theorem 2. Let A be a real square matrix. Then, there exists reflection
matrices Q1 , · · · , Qn−2 such that
Qn−2 · · · Q1 AQ1 · · · Qn−1
is upper Hessenberg. If A is symmetric, this matrix is tridiagonal.
3
1. Use the Householder’s method to transform a matrix into upper Hes-
senberg or tridiagonal.
4
• f (s, u(s)) ≈ f (tn+1 , un+1 ), we have the backward Euler:
• f (s, u(s)) ≈ 12 (f (tn , un ) + f (tn+1 , un+1 )), then we have the trapezoidal
method:
h
un+1 = un + (f (tn , un ) + f (tn+1 , un+1 ))
2
• (*) The higher order Taylor methods (see below, not required)
The forward Euler and backward Euler methods are different in the sense
that the foward Euler is an explicit scheme while the backward Euler is an
implicit scheme. By “implicit”, we mean the right hand side contains the
desired solution un+1 , so un+1 cannot be evaluated directly. Instead, one
must solve the algebraic equation to obtain un+1 .
Example For the equation y 0 = λy. Apply forward Euler scheme and
backward Euler scheme. Take h → 0, does it give the true solution?
The forward Euler has
yn = y0 (1 + λh)n ,
This means that the explicit method often gives a solution that is below the
true solution while an implicit method often gives a solution above the true
solution.
Taking h → 0, we have
yt/h → eλt .