Calculus: Compute a QR Factorization using the Householder Method
Date: 2013-11-11 |
DISCLOSURE: If you buy through affiliate links, I may earn a small commission. (disclosures)
Compute a QR Factorization of A using the Householder Method. Separately list all of the Householder reflections used along the way.
A =
1 | 4 | 3 |
2 | 2 | 1 |
2 | -4 | 1 |
X = V1 = (1, 2, 2)
Y = ||X||e1 = (3, 0, 0)
U = (Y-X)/(||Y-X||) = (1/sqrt(3))(1, -1, -1)
M1 = I – 2 UU^t (^t denotes the matrix’s transpose)
M1 =
1/3 | 2/3 | 2/3 |
2/3 | 1/3 | -2/3 |
2/3 | -2/3 | 1/3 |
**R = M1A = **
3 | 0 | 7/3 |
0 | 6 | 5/3 |
0 | 0 | 5/3 |
1/3 | 2/3 | 2/3 |
2/3 | 1/3 | -2/3 |
2/3 | -2/3 | 1/3 |
Want more like this?
The best way to support my work is to like / comment / share for the algorithm and subscribe for future updates.