|
13. QR Decomposition (Gram Schmidt Method) example
( Enter your problem )
|
- Example `[[1,-1,4],[1,4,-2],[1,4,2],[1,-1,0]]`
- Example `[[3,2,4],[2,0,2],[4,2,3]]`
- Example `[[1,-4],[2,3],[2,2]]`
- Example `[[1,2,4],[0,0,5],[0,3,6]]`
|
|
3. Example `[[1,-4],[2,3],[2,2]]`
Find QR Decomposition (Gram Schmidt Method) ... `[[1,-4],[2,3],[2,2]]`Solution:`r_(11)=||q_1'||=sqrt((1)^2+(2)^2+(2)^2)=sqrt(9)=3` | `q_1 = 1/(||q_1'||) * q_1'` | = | `1/3 * ` | | = | | `0.3333333333` | | | `0.6666666667` | | | `0.6666666667` | |
|
| `r_(12)=q_1^T * a_2` | = | | [ | `0.3333333333` | `0.6666666667` | `0.6666666667` | ] |
| `xx` | | `=2` |
| `q_2'` | `=a_2-r_(12) * q_1` | = | | `-2` | | `0.3333333333` | | | `0.6666666667` | | | `0.6666666667` | |
|
| = | | `-4.6666666667` | | | `1.6666666667` | | | `0.6666666667` | |
|
`r_(22)=||q_2'||=sqrt((-4.6666666667)^2+(1.6666666667)^2+(0.6666666667)^2)=sqrt(25)=5` | `q_2 = 1/(||q_2'||) * q_2'` | = | `1/5 * ` | | `-4.6666666667` | | | `1.6666666667` | | | `0.6666666667` | |
| = | | `-0.9333333333` | | | `0.3333333333` | | | `0.1333333333` | |
|
| `Q` | `=[q_1,q_2]` | = | | `0.3333333333` | `-0.9333333333` | | | `0.6666666667` | `0.3333333333` | | | `0.6666666667` | `0.1333333333` | |
|
| `R` | = | | `r_(11)` | `r_(12)` | | | `0` | `r_(22)` | |
| = | |
checking `Q xx R = A?` | `Q xx R` | = | | `0.3333333333` | `-0.9333333333` | | | `0.6666666667` | `0.3333333333` | | | `0.6666666667` | `0.1333333333` | |
| `xx` | | = | |
Solution is possible.
This material is intended as a summary. Use your textbook for detail explanation.Any bug, improvement, feedback then Submit Here
|
|
|