Professional Documents
Culture Documents
Unit-14
Unit-14
14.1 Introduction 5
Objective
14.2 Inner Product 6
14.3 Norm of a Vector 10
14.4 Orthogonality 13
14.5 Summary 19
14.6 Solution/Answers 19
14.1 INTRODUCTION
So far you have studied many interesting vector spaces over various field. In
this unit, and the following onces, we will only consider real and complex
vector spaces. In Unit 2 you studied geometrical notions like the length of a
vector, the angle between two vectors and the dot product in ℝ2 or ℝ3 . In this
unit we carry these concepts over to a more general setting. We will define a
certain special class of vector spaces which open up new and interesting vistas
for investigations in mathematics and physics. Hence their study is extremely
fruitful as far as the applications of the theory to problems are concerned. This
fact will become clear in Units 16 and 17.
Before going further we suggest that you refer to Unit 2 for the definitions and
properties of the length and the scalar product of vectors of ℝ2 or ℝ3 .
Objectives
After studying this unit, you should be able to:
• define and give examples of inner product spaces;
(x1 , x2 , x3 ) ⋅ (y1 , y2 , y3 ) = x1 y1 + x2 y2 + x3 y3 .
We also remind you that given any complex number z = a + ib, where a, b ∈ ℝ, its
complex conjugate is z = a − ib.
IP1) ⟨x, x⟩ ≥ 0 ∀ x ∈ V.
IP5) ⟨y, x⟩ = ⟨x, y⟩ for all x, y ∈ V. (Here ⟨x, y⟩ denotes the complex conjugate of
the number ⟨x, y⟩.)
The scalar ⟨x, y⟩ is called inner product (or scalar product) of the vector x
with the vector y.
A vector space V over which an inner product has been defined is called an
inner product space, and is denoted by (V, ⟨ , ⟩).
6 i) IP1 is satisfied because ⟨u, u⟩ = x21 + x22 + x23 , which is always non-negative.
Unit
. . . . .14
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Inner
. . . . . . .Product
. . . . . . . . .Spaces
.......
ii) Now, ⟨u, u⟩ = 0 ⇒ x21 + x22 + x23 = 0 ⇒ x1 = 0, x2 = 0, x3 = 0 since the sum of
positive real number is zero if and only if each of them is zero. ∴, u = 0.
Also, if u = 0, then x1 = 0 = x2 = x3 . ∴⟨u, u⟩ = 0.
So, we have shown that IP2 is satisfied by ⟨ , ⟩.
We suggest that you verify IP4 and IP5. That’s what E1 says!
Example 2: What is the value of the standard inner product of u = (5, −1, 2) and
v = (−1, 0, 1)?
∗∗∗
E1) Check that the inner product on ℝ3 in Example 1 satisfies IP4 and IP5.
The inner product that have been given in Example 1 can be generalised to the
inner product ⟨ , ⟩ on ℝn , defined by ⟨(x1 , … , xn ) , (y1 , … , yn )⟩ = x1 y1 + x2 y2 + ⋯ + xn yn .
This is called the standard inner product on ℝn .
Example 3: Take 𝔽 = ℂ and, for x, y ∈ ℂ, define ⟨x, y⟩ = xy. Show that the map
⟨ , ⟩ ∶ ℂ × ℂ → ℂ is an inner product.
Solution: IP1 and IP2 are satisfied because, for any complex number
x, xx ≥ 0. Also, xx = 0 if and only if x = 0.
∗∗∗
E2) Show that IP4 and IP5 are true for Example 3.
In fact, Example 2 can be generalised to ℂn , for any n > 0. We can define the
inner product of two arbitrary vectors x = (x1 , … , xn ) and y = (y1 , … , yn ) ∈ ℂn by
n
⟨x, y⟩ = ∑ xi yi . This inner product is called the standard inner product on ℂn .
i=1 7
Block
. . . . . . .5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Inner
. . . . . . Products
. . . . . . . . . . .and
. . . . .Quadratic
. . . . . . . . . . .Forms
......
The next example deals with a general complex vector space.
where ai , bi , ci ∈ ℂ ∀ i = 1, … , n. Then
n
⟨x, x⟩ = ∑ ai ai ≥ 0. Also, ⟨x, x⟩ = 0 ⇔ ai = 0 ∀ i = 1, 2, … , n ⇔ x = 0
i=1
n n n
⟨ x + y, z⟩ = ∑ (ai + bi ) ci = ∑ ai ci + ∑ bi ci = ⟨x, z⟩ + ⟨y, z⟩
i=1 i=1 i=1
n n
ab = a b ∀ a, b ∈ ℂ. Also, for any 𝛼 ∈ ℂ, ⟨𝛼x, y⟩ = ∑ 𝛼ai bi = 𝛼 ∑ ai bi = 𝛼⟨x, y⟩
i=1 i=1
n n n
Finally, ⟨y, x⟩ = ∑ bi ai = ∑ bi ai = ∑ ai bi = ⟨x, y⟩
i=1 i=1 i=1
E4) Let X = {x1 , … , xn } be a set and V be the set of all functions from X to C.
Then, with respect to pointwise addition and scalar multiplication, V is a
vector space over ℂ. Now, for any f, g ∈ V, define
n
⟨f, g⟩ = ∑ f(xi ) g(xi ).
i=1
Example 5: Show that C[a, b], where ‘C[a, b]’ denotes the set of all continuous
real-valued functions defined on the closed interval [a, b], is an inner product
8 space.
Unit
. . . . .14
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Inner
. . . . . . .Product
. . . . . . . . .Spaces
.......
Solution: We need to define an inner product on c[a, b]. For this, we define a
simple inner product
b
⟨f1 , f2 ⟩ = ∫ f1 (x) f2 (x) dx ∀ f1 , f2 ∈ c[a, b].
a
b
i) IP1 is satisfied because ⟨f1 , f1 ⟩ = ∫ f21 (x) dx, which is always non-negative.
a
b
ii) Now ⟨f1 , f1 ⟩ = 0 ⇒ ∫ f21 (x) dx = 0, which is possible if and only if the
a
function f is identically zero.
So, we shown that IP2 is satisfied by ⟨ , ⟩.
b
⟨ f1 + f2 , f3 ⟩ = ∫ (f1 (x) + f2 (x)) f3 (x) dx
a
b b
= ∫ f1 (x) f3 (x) dx + ∫ f2 (x) f3 (x) dx
a a
= ⟨f1 , f3 ⟩ + ⟨f2 , f3 ⟩.
∗∗∗
We suggest that you verify IP4 and IP5. That’s what E6 says!
We now state some properties of inner products that immediately follow from
IP1-IP5.
Theorem 1: Let (V, ⟨ , ⟩) be an inner product space. Then, for any x, y, z ∈ V and
𝛼, 𝜇 ∈ ℂ,
a) ⟨𝛼x + 𝜇y, z⟩ = 𝛼⟨x, z⟩ + 𝜇⟨y, z⟩
c) ⟨0, x⟩ = ⟨x, 0⟩ = 0
d) ⟨x − y, z⟩ = ⟨x, z⟩ − ⟨y, z⟩
e) ⟨x, z⟩ = ⟨y, z⟩ ∀ z ∈ V ⇒ x = y.
Proof: We will prove (a) and (c), and leave the rest to you.
a) ⟨𝛼x + 𝜇y, z⟩ = ⟨𝛼x, z⟩ + ⟨𝜇y, z⟩ (by IP3)
= 𝛼⟨x, z⟩ + 𝜇⟨y, z⟩ (by IP4)
b) The vector 0 ∈ V can be written as 0 = 0 ⋅ y for some y ∈ V.
Thus, ⟨0, x⟩ = ⟨0 ⋅ y, x⟩ = 0⟨y, x⟩ = 0.
Then, ⟨x, 0⟩ = ⟨0, x⟩ = 0 = 0.
■
The proof of this theorem will be complete once you solve E7.
9
Block
. . . . . . .5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Inner
. . . . . . Products
. . . . . . . . . . .and
. . . . .Quadratic
. . . . . . . . . . .Forms
......
E6) Show that IP4 and IP5 are true for Example 5.
Definition 2: If (V, ⟨ , ⟩) is an inner product space and x ∈ V, then the norm (or
length) of the vector x is defined to be √⟨x, x⟩. It is denoted by ‖x‖.
Hence, ‖x‖ = √⟨x, x⟩.
1
1/2
c) ‖f‖ = ⟨f, f⟩ = √∫ x2 x2 dx
0
x5 1 1
= √[ ] =
5 0 √5
10 ∗∗∗
Unit
. . . . .14
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Inner
. . . . . . .Product
. . . . . . . . .Spaces
.......
Observe that in E8, x is any vector of V and V is also any vector space. So, ‖xx‖
is a special form of any non-zero vector. It also implies that we can create a unit
vector by using any non-zero vector. So, E8 leads us to the following definition.
We will now prove some results involving norms. The first one is the
Cauchy-Schwarz inequality. It is very simple, but very important because it
allows us to prove many other useful statements.
Now ‖x − 𝛼z‖2 ≥ 0. This means that ‖x‖2 − |⟨x, z⟩|2 + |⟨x, z⟩ − 𝛼|2 ≥ 0 ∀𝛼 ∈ F.
In particular, if we choose 𝛼 = ⟨ x, z⟩, we get 0 ≤ ‖x‖2 − |⟨x, z⟩|2 . Hence,
|⟨x, z⟩| ≤ ‖x‖, that is,
y 1
|⟨x, ⟩| ≤ ‖x‖ ⇔ |⟨ x, y⟩| ≤ ‖x‖ ⇔ |⟨x, y⟩| ≤ ‖x‖ ‖y‖.
‖y‖ ‖y‖
Example 7: Write the expression for the Cauchy-Schwarz inequality for the
vector space given in E4.
n
2
Solution: For any f ∈ V, ‖f‖2 = ⟨f, f⟩ = ∑|f(xi )| . Thus, Theorem 2 says that
i=1
n n n
2 2
2 vectors x and y are |∑ f(xi )g(xi )| ≤ √∑|f(xi )| √∑ |g(xi )| ∀ f, g ∈ V.
i=1 i=1 i=1
called proportional if
∃ 𝛼 ∈ F, 𝛼 ≠ 0, with x = 𝛼y.
∗∗∗
Do try these exercise now.
E10) Write down the expressions for the Cauchy-Schwarz inequality for the
spaces given in Example 1, 3 and 4.
If z = a + ib ∈ ℂ, then
b) ‖x + y‖2 + ‖x − y‖2 = 2 (‖x‖2 + ‖y‖2 ) (Parallelogram law)
a) the real part of z is a,
and is denoted by Re (z), Proof: a) Now
b) z + z = 2Re(z)
c) Re(z) ≤ |z| ‖x + y‖2 = ⟨x + y, x + y⟩ = ‖x‖2 + ⟨x, y⟩ + ⟨y, z⟩ + ‖y‖2 .
= ‖x‖2 + ⟨x, y⟩ + ⟨x, y⟩ + ‖y‖2 .
= ‖x‖2 + 2Re⟨x, y⟩ + ‖y‖2 .
≤ ‖x‖2 + 2|⟨x, y⟩| + ‖y‖2 , since Re ⟨x, y⟩ ≤ |⟨x, y⟩|.
≤ ‖x‖2 + 2‖x‖ ‖y‖ + ‖y‖2 (by Theorem 2)
= (‖x‖ + ‖y‖)2
Hence, ‖x + y‖2 ≤ (‖x‖ + ‖y‖)2 . Taking square roots of both sides we obtain
‖x + y‖ ≤ ‖x‖ + ‖y‖.
⟨x, x⟩ + ⟨x, y⟩ + ⟨y, x⟩ + ⟨y, y⟩ + ⟨x, x⟩ − ⟨x, y⟩ − ⟨y, x⟩ + ⟨y, y⟩ = 2 (‖x‖2 + ‖y‖2 )
Fig. 1: ‖x + y‖ ≤ ‖x‖ + ‖y‖
The reason (a) is called the triangle inequality is that for any triangle the sum of
12 the lengths of any sides is greater than or equal to the length of the third side.
Unit
. . . . .14
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Inner
. . . . . . .Product
. . . . . . . . .Spaces
.......
So, if we consider a triangle in any Euclidean space, two of whose sides are
the vectors x and y, then the third side is x + y (see Fig. 1,) and hence,
‖x‖ + ‖y‖ ≥ ‖x + y‖.
Similarly, (b) is called the parallelogram law because it generalises the fact that
the sum of the squares of the length of the diagonals of a parallelogram in
Euclidean space is always equal to the double of the sum of the squares of its
sides (Fig 2).
E12) Show that |‖x‖ − ‖y‖| ≤ ‖x − y‖ for x, y ∈ (V, ⟨ , ⟩) . Fig. 2: ‖x + y‖2 + ‖x − y‖2 =
(Hint: Use the triangle inequality for y and (x − y) .) 2 (‖x‖2 + ‖y‖2 )
14.4 ORTHOGONALITY
|⟨x,y⟩|
In Theorem 2 we showed that ‖x‖ ‖y‖
≤ 1 for any x, y ∈ V. We knew that, for
2 3 |⟨x,y⟩|
non-zero vectors x and y (in ℝ or ℝ ), ‖x‖ ‖y‖ is equal to the magnitude of the
cosine of the angle between them. We generalise this concept now.
|⟨x,y⟩|
For any inner product space V and for any non-zero x, y ∈ V, we take ‖x‖ ‖y‖ to
be the magnitude of the cosine of the angle between the two vectors x
and y.
E13) Using the definitions of inner product and orthogonality, prove the
following results for an inner product space V.
a) 0 ⟂ x ∀ x ∈ V.
b) ‘ x ⟂ x iff x = 0, where x ∈ V.
c) x ⟂ y ⇒ y ⟂ x, for x ∈ V.
d) x ⟂ y ⇒ 𝛼x ⟂ y for any 𝛼 ∈ F, where x, y ∈ V.
⟨e1 , e1 ⟩ = 1.1 + 0 + ⋯ + 0 = 1.
⟨e2 , e2 ⟩ = 0 + 1 + 0 + ⋯ + 0 = 1.
Similarly, ⟨ei , ei ⟩ = 1 ∀ i = 1, … , n.
Thus, ‖ei ‖ = 1 ∀ i = 1, … , n.
On the lines of Example 8, we can also show that the elements of the standard
basis of ℂn are mutually orthogonal and of unit length with respect to the
standard inner product.
∗∗∗
By definition, every orthonormal set is orthogonal. But the converse is not true,
as the following example tells us.
14 ∗∗∗
Unit
. . . . .14
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Inner
. . . . . . .Product
. . . . . . . . .Spaces
.......
Try the following exercise now.
E15) Let Pn be the real vector space of all polynomials of degree ≤ n. We define
an inner product on Pn by
n n n
⟨∑ ai xi , ∑ bi xi ⟩ = ∑ ai bi .
i=0 i=0 i=0
n
Proof: Let y = ∑ ai yi , where ai ∈ F ∀ i = 1, … , n.
i=1
n n
Then, y ∈ V and ⟨x, y⟩ = ⟨x, ∑ ai yi ⟩ = ∑ ai ⟨x, yi ⟩ = 0, because ⟨x, yi ⟩ = 0 ∀ i. This
i=1 i=1
shows that x ⟂ y. ■
n
Proof: Our hypothesis says that ⟨xi , xj ⟩ = 0 if i ≠ j. Consider y = ∑ ai xi .
i=1
n n n n n n
‖y‖2 = ⟨y, y⟩ = ⟨∑ ai xi , ∑ aj xj ⟩ = ∑ ∑⟨ai xi , aj xj ⟩ = ∑ ∑ ai aj ⟨xi , xj ⟩
i=1 j=1 i=1 j=1 i=1 j=1
n
= ∑ ai ai ⟨xi , xi ⟩ since ⟨xi , xj ⟩ = 0 for i ≠ j
i=1
n
2
= ∑|ai | ‖xi ‖2 . This proves the result.
i=1
Then
n
2 2
‖y‖2 = 0 ⇒ ∑|ai | ‖xi ‖2 = 0 ⇒ |ai | ‖xi ‖2 = 0 ∀ i.
i=1
2
⇒ |ai | = 0 for i = 1, … , n, since ‖xi ‖2 ≠ 0 for any i.
⇒ ai = 0 for i = 1, … , n.
Thus, {x1 , … , xn } is linearly independent. Hence, A is linearly independent. ■
We have just proved that any orthogonal set is linearly independent. Therefore,
any orthogonal set in a vector space V of dimension n must have a maximum
of n elements. So, for example, any orthogonal subset of ℝ3 can have 3
elements, at the most.
We shall use Theorem 6 as a stepping stone towards showing that any inner
product space has an orthonormal set as a basis. But first, some definitions
and remarks.
E16) Let {e1 , … , en } be an orthonormal basis for a real inner product space V.
n n n
Let x = ∑ xi ei and y = ∑ yi ei be elements of V. Show that ⟨x, y⟩ = ∑ xi yi .
i=1 i=1 i=1
v w 1 1 1 −1
{ , } = {( , )( , )}
‖v‖ ‖w‖ √2 √2 √2 √2
Proof: We shall first show that it has an orthogonal basis, and then obtain an
orthonormal basis.
Let {v1 , … , vn } be a basis of V. From this basis we shall obtain an orthogonal
basis {w1 , w2 , … , wn } of V in the following way.
⟨v2 ,w1 ⟩ ⟨v2 ,v1 ⟩
Take w1 = v1 . Define w2 = v2 − ⟨w1 ,w1 ⟩
w1 . Then w2 = v2 − v ,
⟨v1 ,v1 ⟩ 1
and
⟨v2 , v1 ⟩
⟨w2 , v1 ⟩ = ⟨v2 , v1 ⟩ − ⟨v1 , v1 ⟩ = 0.
⟨v1 , v1 ⟩
⟨v2 ,w1 ⟩
That is, ⟨w2 , w1 ⟩ = 0. Further, v2 = c1 v1 + w2 , where c1 = ⟨w1 ,w1 ⟩
∈ F.
This way we obtain an orthogonal set vectors {w1 , w2 , … , wn } , such that the v′i s
are a linear combination of the w′i s. By Theorem 6 this set is linearly
independent, and hence form a basis of V. ■
Example 10: Obtain an orthonormal basis for P2 , the space of all real
polynomials of degree at most 2, the inner product being defined by
1
⟨p1 , p2 ⟩ = ∫ p1 (t)p2 (t)dt.
0
1
⟨t,w1 ⟩ 1 t2 1 1
w2 = t − ⟨w1 ,w1
w . Now ⟨t, w1 ⟩ = ∫ t dt =
⟩ 1
| = . Therefore, w2 = t − 2
0 2 0 2
1 1 2 1
∴, ⟨w2 , w2 ⟩ = ∫ (t − ) dt = .
0 2 12 17
Block
. . . . . . .5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Inner
. . . . . . Products
. . . . . . . . . . .and
. . . . .Quadratic
. . . . . . . . . . .Forms
......
⟨t2 , w2 ⟩ ⟨t2 , w1 ⟩
w3 = t2 − w2 − w1
⟨w2 , w2 ⟩ ⟨w1 , w1 ⟩
1 1 1 1
= t2 − 12 { (t − )} − = t2 − t + .
2 12 3 6
1 1 2 1
Also ⟨w3 , w3 ⟩ = ∫ (t2 − t + ) dt = .
0 6 180
Thus, the orthonormal basis is
w1 w2 w3 1 1
{ , , } = {1, √12 (t − ) , √180 (t2 − t + )} .
‖w1 ‖ ‖w2 ‖ ‖w3 ‖ 2 6
∗∗∗
Here’s an exercise.
E17) Obtain an orthonormal basis with respect to the standard inner product,
for
a) the subspace of ℝ3 generated by (1, 0, 3) and (2, 1, 1)
b) the subspace of ℝ4 generated by (1, 0, 2, 0) and (1, 2, 3, 1).
n
Proof: Let x = ∑ ai xi (ai ∈ F) be any linear combination of the elements of A.
i=1
Then
Corollary 1: Let A = {x1 , … , xn } be any orthonormal set (V, ⟨ , ⟩) . Then, for any
y ∈ V,
n
2 2
∑|⟨y, xi ⟩ | ≤ ‖y‖ .
i=1
14.5 SUMMARY
In this unit we have discussed the following points. We have
14.6 SOLUTIONS/ANSWERS
∴ IP5 is satisfied.
E3) a) ⟨u, v⟩ = 2 − 2 = 0
b) ⟨u, v⟩ = 2 + 2 + 9 = 13
E4) Let f, g, h ∈ V and 𝛼 ∈ ℂ. Then
n n
2
⟨f, f⟩ = ∑ f(xi )f(xi ) = ∑|f(xi )| ≥ 0.
i=1 i=1
⟨f, f⟩ = 0 ⇔ f(xi ) = 0 ∀ i = 1, … , n
⇔ f is the zero function.
n
⟨f + g, h⟩ = ∑ (f + g) (xi )h(xi )
i=1
n
= ∑ {f(xi ) + g(xi )} h(xi )
i=1
n n
= ∑ f(xi )h(xi ) + ∑ g(xi )h(xi )
i=1 i=1
= ⟨f, h⟩ + ⟨g, h⟩.
n n
⟨𝛼f, g⟩ = ∑(𝛼f)(xi )g(xi ) = ∑ 𝛼f(xi )g(xi )
i=1 i=1
n
= 𝛼 ∑ f(xi )g(xi ) = 𝛼⟨f, g⟩
i=1
n n
⟨f, g⟩ = ∑ f(xi )g(xi ) = ∑ f(xi )g(xi )
i=1 i=1
n
= ∑ g(xi )f(xi ) = ⟨g, f⟩.
i=1
20 ∴ IP5 satisfied.
Unit
. . . . .14
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Inner
. . . . . . .Product
. . . . . . . . .Spaces
.......
e) ⟨x, z⟩ = ⟨y, z⟩ ∀ z ∈ V
⇒ ⟨x − y, z⟩ = 0 ∀ z ∈ V, by (d) above.
⇒ ⟨x − y, x − y⟩ = 0, taking z = x − y, in particular.
⇒ x − y = 0, by IP2.
⇒ x = y.
x
E8) Let u = ‖x‖
. Then ⟨u, u⟩ = ⟨ ‖xx‖ , ‖xx‖ ⟩ = 1
‖x‖2
⟨x, x⟩ = 1
‖x‖2
‖x‖2 = 1.
∴, ‖u‖ = √⟨u, u⟩ = 1.
= √1 + 1 + 12 − i2 = 2.
E10) In the situation of Example 1 we get
|u ⋅ v| ≤ ‖u‖ ‖v‖ for u, v ∈ ℝ3 . Thus,
2 2 2 2 2 2
|x1 y1 + x2 y2 + x3 y3 | ≤ √x1 + x2 + x3 √y1 + y2 + y3 ∀ (x1 , x2 , x3 ) , (y1 , y2 , y3 ) ∈ ℝ3 .
⇒‖x‖ ≤ ‖y‖ + ‖x − y‖
⇒‖x‖ − ‖y‖ ≤ ‖x − y‖
d) x ⟂ y ⇒⟨x, y⟩ = 0 ⇒ 𝛼⟨x, y⟩ = 0 ∀𝛼 ∈ F
⇒ ⟨𝛼x, y⟩ = 0 ∀𝛼 ∈ F ⇒ 𝛼x ⟂ y ∀ 𝛼 ∈ F.
E14) If x ⟂ y, then ⟨x, y⟩ = 0. Hence,
∴ ‖w2 ‖ = √ 94 + 1 + 1
4
= √ 72
∴ { 1
(1, 0, 3) , √ 27 ( 32 , 1, −21 )} is the required orthonormal basis.
√10
b) w1 = (1, 0, 2, 0)
7 2 1
w2 = (1, 2, 3, 1) − (1, 0, 2, 0) = (− , 2, , 1) ,
5 5 5
‖w1 ‖ = √5, ‖w2 ‖ = √ 26
5
w w
Then { ‖w1‖ , ‖w2‖ } is the required basis.
1 2
22