SLIDE 31 Inner products and orthogonality Orthogonalisation Application: computational linguistics Wrapping up
Radboud University Nijmegen
Gram-Schmidt orthogonalisation: example II
- Take in R4, v1 = (0, 1, 2, 1), v2 = (0, 1, 3, 1), v3 = (1, 1, 1, 0)
- v ′
1 = v1 = (0, 1, 2, 1); then v ′ 1, v ′ 1 = 1 · 1 + 2 · 2 + 1 · 1 = 6.
2 = v2 − v2, v ′ 1
v ′
1, v ′ 1v ′ 1
= (0, 1, 3, 1) − 1·1+3·2+1·1
6
(0, 1, 2, 1) = (0, 1, 3, 1) − 8
6(0, 1, 2, 1) = (0, − 1 3, 1 3, − 1 3)
2 = (0, −1, 1, −1); then v ′ 2, v ′ 2 = 3.
3 = v3 − v3, v ′ 1
v ′
1, v ′ 1v ′ 1 − v3, v ′ 2
v ′
2, v ′ 2v ′ 2
= · · · = (1, 1
2, 0, − 1 2)
- We can change it into v ′
3 = (2, 1, 0, −1), for convenience.
Version: spring 2017 Matrix Calculations 33 / 48