MHB Householder method : Which α do we take?

  • Thread starter Thread starter mathmari
  • Start date Start date
  • Tags Tags
    Method
AI Thread Summary
The discussion focuses on the Householder method for QR factorization of the matrix A. The first column is analyzed to determine the value of α, where it is concluded that α should be -3 to maximize the norm difference. For the second iteration, when considering the submatrix, both possible values of α yield equal norms, leading to uncertainty about which to choose. It is clarified that while different choices may result in distinct QR decompositions, the impact on calculation errors remains minimized. Ultimately, the choice of α in this scenario does not affect the error significantly.
mathmari
Gold Member
MHB
Messages
4,984
Reaction score
7
Hey! 😊

We have the matrix $A=\begin{pmatrix}1 & 4 & -1 \\ 2 & 2 & 7 \\ 2 & -4 & 7\end{pmatrix}$ and we want to calculate the $QR$ factorisation using the Householder method.

First we take the first column of the matrix $a_0=\begin{pmatrix}1 \\ 2 \\ 2\end{pmatrix}$.
We have that $\alpha=\pm \|a_0\|=\pm \sqrt{9}\pm 3$.
Then we take the sign of that so that $\|a_0-\alpha e_1\|_2$ is big.
We have $$\|a_0-\alpha e_1\|_2=\begin{cases}\|\begin{pmatrix}1 \\ 2 \\ 2\end{pmatrix}-\begin{pmatrix}3 \\ 0 \\ 0\end{pmatrix}\|_2 =\|\begin{pmatrix}-2 \\ 2 \\ 2\end{pmatrix} =\sqrt{12}\\ \|\begin{pmatrix}1 \\ 2 \\ 2\end{pmatrix}-\begin{pmatrix}-3 \\ 0 \\ 0\end{pmatrix}\|_2 =\|\begin{pmatrix}4 \\ 2 \\ 2\end{pmatrix}\end{cases} =\sqrt{20}$$
So we take $\alpha=-3$.
Then $u=\frac{1}{\|a_0-\alpha e_1\|_2}\begin{pmatrix}4 \\ 2 \\ 2\end{pmatrix}=\begin{pmatrix}\frac{4}{\sqrt{20}} \\ \frac{2}{\sqrt{20}} \\ \frac{2}{\sqrt{20}}\end{pmatrix}$.
Then $$H_1=I-2uu^T=\cdots =\begin{pmatrix}-1/3 & -2/3 & -2/3 \\ -2/3 & 2/3 & -1/3 \\ -2/3 & -1/3 & 2/3\end{pmatrix}$$
Then $A^{(1)}=H_1\cdot A=\begin{pmatrix}-3 & 0 & -9 \\ 0 & 0 & 3 \\ 0 & -6 & 3\end{pmatrix}$.
Then we consider the first column of the $2\times 2$-submatrix, $a_1=\begin{pmatrix}0 \\ -6\end{pmatrix}$.
Then $\alpha=\pm \|a_1\|=\pm 6$.
We have $$\|a_1-\alpha e_1\|_2=\begin{cases}\|\begin{pmatrix}0 \\ -6\end{pmatrix}-\begin{pmatrix}6\\ 0\end{pmatrix}\|_2 =\|\begin{pmatrix}-6 \\ -6\end{pmatrix} =6\sqrt{2}\\ \|\begin{pmatrix}0\\ -6\end{pmatrix}-\begin{pmatrix}-6 \\ 0\end{pmatrix}\|_2 =\|\begin{pmatrix}6 \\ 0\end{pmatrix}\end{cases} =6\sqrt{2}$$
In this case the norms are equal, which $\alpha$ do we take then?

:unsure:
 
Mathematics news on Phys.org
mathmari said:
In this case the norms are equal, which $\alpha$ do we take then?
Since the norms are equal, the impact on the calculation error is the same.
So it doesn't matter which one we pick. You can choose. 🤔
 
Klaas van Aarsen said:
Since the norms are equal, the impact on the calculation error is the same.
So it doesn't matter which one we pick. You can choose. 🤔

But the result that we get will be different, or not? :unsure:
 
mathmari said:
But the result that we get will be different, or not?
We may find a different QR decomposition, but the impact of calculation errors will have been minimized to the same extent. 🤔
 
Klaas van Aarsen said:
We may find a different QR decomposition, but the impact of calculation errors will have been minimized to the same extent. 🤔

Ok! Thank you! 🤩
 
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...

Similar threads

Replies
9
Views
3K
Replies
2
Views
2K
Replies
21
Views
4K
Replies
10
Views
3K
Replies
5
Views
2K
Replies
9
Views
5K
Back
Top