QR factorization for a 4x4 tridiagonal symmetric matrix

Click For Summary
For the 4x4 symmetric tridiagonal matrix, the QR factorization reveals that certain elements in matrices R and Q are zero, specifically ##r_{14}## and ##q_{31}, q_{41}, q_{42}##. The inner product approach shows that the first row of R can yield zeros based on the structure of matrix A, particularly when certain elements are zero. However, if elements along the tridiagonal band are zero, it complicates the uniqueness of the solution. The discussion highlights that while predicting zeros in the first row of R is straightforward, extending this method to other rows is complex and may not be feasible without further calculations. Overall, the visual method for determining zeros in QR factorization has limitations, suggesting the necessity of algorithmic approaches for comprehensive analysis.
pyroknife
Messages
611
Reaction score
4

Homework Statement


$$\begin{bmatrix}
a_{11} & a_{12} & 0 & 0\\
a_{12} & a_{22} & a_{23} & 0\\
0 & a_{23} & a_{33} & a_{34} \\
0 & 0 & a_{34} & a_{44} \\
\end{bmatrix}
=
\begin{bmatrix}
q_{11} & q_{12} & q_{13} & q_{14} \\
q_{21} & q_{22} & q_{23} & q_{24} \\
q_{31} & q_{32} & q_{33} & q_{34} \\
q_{41} & q_{42} & q_{43} & q_{44} \\
\end{bmatrix}
\begin{bmatrix}
r_{11} & r_{12} & r_{13} & r_{14} \\
0 & r_{22} & r_{23} & r_{24} \\
0 & 0 & r_{33} & r_{34} \\
0 & 0 & 0 & r_{44} \\
\end{bmatrix}
$$

For the given 4x4 symmetric tridiagonal matrix A, determine which elements of its QR factorization is zero. The trick is to determine this visually.

Homework Equations

The Attempt at a Solution


I plugged a simple 4x4 symmetric tridagonal matrix into MATLAB and took its qr factorization and found that the top left element, ##r_{14}## of the matrix R and the bottom left 3 elements, ##q_{31}, q_{41}, q_{42}## of the matrix Q are zero. But the task was to determine this with ease and visually. Is there a trick to do this? I am not seeing it.
 
Physics news on Phys.org
If we look at the process for factorising, we see that the ##j##th entry in the top row of the R triangular matrix is proportional to ##\langle a_1,a_j\rangle##, where ##a_j## is the ##j##th column of the original matrix ##A##. For ##j=4## that inner product must be zero because the first two components of ##a_1## and the last two components of ##a_4## are zero.
 
andrewkirk said:
If we look at the process for factorising, we see that the ##j##th entry in the top row of the R triangular matrix is proportional to ##\langle a_1,a_j\rangle##, where ##a_j## is the ##j##th column of the original matrix ##A##. For ##j=4## that inner product must be zero because the first two components of ##a_1## and the last two components of ##a_4## are zero.
Ahh thanks I see this. But what if some of the elements in the original matrix ##A## along the tridiagonal band are zero? This still seems to fit the definition of a tridiagonal matrix? But if, say, ##a_{11}## was 0, then the solution is not unique?

And also, how does your process apply to the elements of Q, and to rows 2-4 of matrix R?
 
Last edited:
pyroknife said:
Ahh thanks I see this. But what if some of the elements in the original matrix ##A## along the tridiagonal band are zero? This still seems to fit the definition of a tridiagonal matrix? But if, say, ##a_{11}## was 0, then the solution is not unique?

And also, how does your process apply to the elements of Q, and to rows 2-4 of matrix R?
Edit: you mean ##j##th entry in the top row of the R triangular matrix is proportional to ##\langle q_1,a_j\rangle## right?
 
pyroknife said:
Ahh thanks I see this. But what if some of the elements in the original matrix ##A## along the tridiagonal band are zero? This still seems to fit the definition of a tridiagonal matrix? But if, say, ##a_{11}## was 0, then the solution is not unique?

And also, how does your process apply to the elements of Q, and to rows 2-4 of matrix R?
Looking at the process as set out here, we see that the expression of an element of R in terms of columns of A is only simple in the first row. So I think it would be hard to visually predict zeros in other rows of R. It would be possible, but would require thinking several steps ahead (probably beyond me, without a paper and pencil).

If there were other zeros in the tridiag band, one could visually predict. For instance, if ##a_{23}=0## then we know that ##r_{13}## will be zero because ##\langle a_1,a_3\rangle=0##. Ditto for ##r_{12}## if ##a_{12}=a_{22}=0##. So the method is fairly limited in scope. I doubt that there is a visual method that can get any further than that. Since your MatLab result shows that there is only one zero to be found, perhaps your lecturer doesn't believe there is any more general method either. After all, if these things could be completely determined visually, why would there be a need for an algorithm?
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

Replies
9
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
6
Views
2K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
2
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 30 ·
2
Replies
30
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K