g.lemaitre
- 267
- 2
Homework Statement
Decompose the following matrix using QR decomposition
\begin{bmatrix}
4 & 1 \\
3 & -1
\end{bmatrix}
the answer is
\begin{bmatrix}
.8 & .6 \\
.6 & .8
\end{bmatrix}
The following matrix is supposed to be next to the previous but I can't figure out how to do that. Any help in that area would be appreciated.
\begin{bmatrix}
5 & .2 \\
0 & 1.4
\end{bmatrix}
Homework Equations
c_2 = (v_2 * u_1)q_1 + \parallel w_2 \parallel q_2
The Attempt at a Solution
I was able to get the first part of the answer
\begin{bmatrix}
.8 & \\
.6 &
\end{bmatrix}
It's the second part
\begin{bmatrix}
.6 & \\
-.8 &
\end{bmatrix}
that I'm having trouble with. I'm also not worried about the R part right now.
Ok, let's plug the numbers into this equation:
c_2 = (v_2 * u_1)q_1 + \parallel w_2 \parallel q_2
v_2 * u_1 = .2
c_2 = \begin{bmatrix}<br /> 1 & \\<br /> -1 &<br /> \end{bmatrix}<br />
\parallel w_2 \parallel = -49/25
Therefore,
\begin{bmatrix}<br /> 1 & \\<br /> -1 &<br /> \end{bmatrix} = .2 \begin{bmatrix}<br /> .8 & \\<br /> .6 &<br /> \end{bmatrix} - 49/25q_2
step two
\begin{bmatrix}<br /> 1 & \\<br /> -1 &<br /> \end{bmatrix} = \begin{bmatrix}<br /> 4/25 & \\<br /> 3/25 &<br /> \end{bmatrix} - 49/25q_2
step three
<br /> \begin{bmatrix}<br /> (25-4)/25 & \\<br /> (-25-3)/25 &<br /> \end{bmatrix} = 49/25q_2
step four
<br /> \begin{bmatrix}<br /> 21/49 & \\<br /> -28/49 &<br /> \end{bmatrix} = q_2
The answer is supposed to be
<br /> \begin{bmatrix}<br /> .6 & \\<br /> -.8 &<br /> \end{bmatrix} = q_2<br />
So I made an error somewhere.
Last edited: