W. Liu - Training to all new Teaching Assistants
1). For any f , g ,∈C[0,1] and a scalar a ∈R, define
(f +g )(t) = f (t)+g (t),
(a f )(t) = a f (t ).
Check that the C[0,1] with above addition and scalar multiplication is a vector space
over R. This is an example of infinite-dimensional vector space.
2). For any f , g ∈C[0,1], define 〈f , g 〉=
R
1
0
f (t)g (t)d t . Check that 〈·,·〉 is an inner product
on the vector space C[0,1].
3). Let V be the subspaces of functions generated by the two functions f (t) = t , g (t) = t
2
.
Find an orthonormal basis for V .
Keywords. Example of vector space, inner product, orthonormal basis, Gram-Schmidt pro-
cess, application of linear algebra.
Suggested Solution.
1). For any f , g , h ∈C[0,1], and a,b ∈R, we check the following axioms.
– Associativity of addition: f +(g +h) =(f +g ) +h.
– Commutativity of addition: f +g = g + f
– Identity element of addition: there exists an element 0 ∈ C[0,1], called the zero
vector, such that f +0 = f . Here 0 is the function which maps every element in
[0,1] to the value 0.
– Inverse elements of addition: for every f ∈ C [0,1], there exists an element −f ∈
C[0,1], called the additive inverse of f , such that f +(−f ) =0.
– Distributivity of scalar multiplication with respect to vector addition: a(f +g) =
a f +ag .
– Distributivity of scalar multiplication with respect to field addition:(a+b) f = a f +
b f .
– Compatibility of scalar multiplication with field multiplication: a(b f ) =(ab)f .
– Identity element of scalar multiplication: 1 f = f , where 1 denotes the multiplica-
tive identity in R.
2). We can check easily that:
– 〈f , g 〉=
R
1
0
f (t)g (t)d t =〈g, f 〉.
– 〈a f , g 〉=
R
1
0
a f (t)g (t )d t = a〈f , g 〉.
– 〈f +g ,h〉=
R
1
0
(f (t) +g (t))h(t)dt =〈f ,h〉+〈g,h〉.
– 〈f , f 〉=
R
1
0
f (t)f (t )d t ≥0, with equality if and only if f =0.
10
linear_algebra_math_HKUST 10