1. NPTEL β Physics β Mathematical Physics - 1
Lecture 12
Gram-Schmidt Orthogonalization (GSO) [continued]
Example 1.
Two vectors u and v where π’, π£ β π are said to be orthogonal if < π’|π£ > = 0. Similarly a
real matrix P is said to be orthogonal if P is invertible and if ππ = πβ1 or
πππ = πππ = 1. Besides the rows and columns of P form an orthonormal set of vectors.
Also det |π| = Β±1.
Suppose π€ β 0, let v be any vector in V, it needs to be shown that,
π = <π£|π€>
= <π£|π€>
<π€|π€> βπ€β2
is the unique scalar such that
π = π£ β ππ€ is orthogonal to w.
The proof can proceed as follows. In order for π to be orthogonal to w,
we must have
< π£ β ππ€|π€ > = 0 or, < π£|π€ > βπ < π€|π€ β₯ 0.
or, < π£|π€ > = π < π€|π€ >
or, π = <π£|π€>
<π€|π€>
Then, < (π£ β ππ€)|π€ > = < π£|π€ > β π < π€|π€ >
= < π£ |π€ > β <π£|π€>
< π€|π€ > = 0
<π€|π€>
The above scalar c is called the fourier coefficient of v with respect to w or the
component of v along w. cw is the projection of v along w as shown below
Example 2.
Find the coefficient c and the projection cw of
π£ = (1, β1, 2)
π€ = (0, 1, 1) in π 3.
Solution: < π£|π€ > = 1 and βπ€β2 = 2
along
Joint initiative of IITs and IISc β Funded by MHRD Page 17 of 28
2. NPTEL β Physics β Mathematical Physics - 1
π =
< π£|π€ > 1
=
2
βπ€β2
ππ€ = (0, 1
, 1
) is the projection of v along w.
2 2
Example 3.
Consider the following basis of Euclidean
space
π 3: {π£1 = (1, 1, 1), π£2 = (0, 1, 1), π£3 = (0, 0, 1)}. Use the Gram-Schmidt procedure to
transform {π£π} into an orthonormal basis {π’π} in π 3.
Solution: To begin with, set π€1 = π£1 = (1, 1, 1)
Then find π£2 β
<π£2|π€1>
βπ€ β2
1
π€1 = (0, 1, 1) β 3
(1, 1, 1)
2
= (β 2
, 1
, 1
)
3 3 3
Next clear fractions to obtain
π€2 = (β2, 1, 1)
Then find
π£3 β
<π£3|π€1> <π£3|π€2>
βπ€ β2
1 2
β βπ€ β2
= (0, 0, 1) β 1
(1, 1, 1) β 1
(β2, 1,
1)
3 6
= (0, β 1
, 1
)
2 2
Again clear fractions to get,
π€3 = (0, β1, 1)
Normally {π€1, π€2, π€3} to obtain the following required orthonormal basis of π 3.
{π’1 = (1, 1, 1),
1 1
β3
π’2 = (β2, 1, 1), π’3 = (0, β1, 1)}
Joint initiative of IITs and IISc β Funded by MHRD Page 18 of 28
β6
1
β2