Linear Algebra Endsem 1
Linear Algebra Endsem 1
• Award 1 mark for deriving the conclusion from the above step that
the coefficient of v is zero, correctly
• Award 1 mark for deriving the conclusion from the above step that
the coefficient of T v is zero, correctly.
• Award 5 marks for showing that the remaining coefficients are zero.
Solution. (a) Let A = (aij ) be the matrix of T with respect to the standard
basis {e1 , . . . , en } of V . Then
Rubric.
(a) 1 mark for fixing a basis and finding matrix of T relative to that basis
(U + W )⊥ = U ⊥ ∩ W ⊥
(U ∩ W )⊥ = U ⊥ + W ⊥
hx, yi = 0, ∀y ∈ U + W.
hx, yi = 0, ∀y ∈ U =⇒ x ∈ U ⊥ .
U ⊥ ∩ W ⊥ ⊂ (U + W )⊥ .
Thus
U ⊥ ∩ W ⊥ = (U + W )⊥
The proof of the above claim can be found on page 195 of [6].
Using part (a) and the above claim, we obtain
U ∩ W = (U ⊥ )⊥ ∩ (W ⊥ )⊥ = (U ⊥ + W ⊥ )⊥
(U ∩ W )⊥ = ((U ⊥ + W ⊥ )⊥ )⊥ = U ⊥ + W ⊥
Rubric.
(b) 5 marks for the applying the relation (X ⊥ )⊥ = X to derive the required
result.
Question 4 (10 marks). Let a, b ∈ R, and let b 6= 0. Orthogonally diago-
nalize
a 0 b
A= 0 a 0
b 0 a
Solution. Let p(λ) be the characteristic polynomial of A. Then
Rubric.
• Justifying the fact that the eigenvectors obtained are mutually orthog-
onal: 1 mark
A = P BP −1 .
−49π − λ 20π −52π + 4πi 20π
Nul(A−λI) = Nul = Nul
−136π 55π − λ −136π 52π + 4πi
where µ ∈ C. Let
5 5 5 0
v1 = Re = , v2 = Im =
13 − i 13 13 − i −1
Rubric.
• Finding B: 2 marks
Please note: The answers for P and B are not unique. They will vary
according to which complex eigenvector is chosen in order to construct P .
Please check the calculations so that the equation P BP −1 = A (or P −1 AP =
B) holds.
Question 6.
2 −4 2π 2 −2
A = 6 −9 7 −3
−1 −4 8 0
−4π 2
b = −12π 2 + 7
8 − 4π 2
Solution.
(a) Step 1. Divide the first column of A by 2 to obtain the first column of L.
Perform the corresponding inverse row operations clear out the
entries in the first column of A below the first entry. Resultant
matrices:
2π 2
1 0 0 2 −4 −2
L1 = 3 1 0 ,A ∼ 0 3 7 − 6π 2 3
−1/2 0 1 0 −6 8 + π 2 −1
Step 2. Divide the entries below the first entry of the second column
of the matrix obtained in Step 1 (row equivalent to A) by 3
to obtain the second column of L. Perform the corresponding
inverse row operations on the matrix obtained in Step 1 (row
equivalent to A). Resultant matrices:
2π 2
1 0 0 2 −4 −2
L2 = 3 1 0 ,A ∼ 0 3 7 − 6π 2 3
−1/2 −2 1 0 0 22 − 11π 2 5
2π 2
1 0 0 2 −4 −2
L= 3 1 0 ,U = 0 3 7 − 6π 2 3
−1/2 −2 1 0 0 22 − 11π 2 5
(b) We first solve the system Ly = b, where y = (y1 , y2 , y3 ).
−4π 2
1 0 0 y1 y1
3 1 0 y2 = 3y1 + y2 = −12π 2 + 7
−1/2 −2 1 y3 −y1 /2 − 2y2 + y3 8 − 4π 2
to obtain
−4π 2 −4π 2
y1
y2 = −12π 2 + 7 − 3y1 = 7
y3 2
8 − 4π + y1 /2 + 2y2 22 − 6π 2
Rubric.
(a) (2 marks) Show that V is a vector space over R, under the usual opera-
tions of pointwise addition of functions and pointwise multiplication of
a function by a scalar.
is an inner product on V .
Next, if f ∈ V, c ∈ R, then
(b) Let us verify that the mapping h., .i : V × V → R satisfies the conditions
for being an inner product:
(i) Let f, g, h ∈ V . Then
Z π Z π
hf + g, hi = (f + g)(t)h(t) dt + (f + g)0 (t)h0 (t) dt
Z−π
π
−π
Z π
= (f (t) + g(t))h(t) dt + (f 0 (t) + g 0 (t))h0 (t) dt
Z−π
π Z π −π
Z π Z π
0 0
= f (t)h(t) dt + g(t)h(t) dt + f (t)h (t) dt + g 0 (t)h0 (t) dt
Z−π
π Z−π
π
−π
Z π Z−π
π
0 0
= f (t)h(t) dt + f (t)h (t) dt + g(t)h(t) dt + g 0 (t)h0 (t) dt
−π −π −π −π
= hf, hi + hg, hi
(iv) If f = 0, then Z π
hf, f i = 2 0 dt = 0.
−π
Hence f = 0.
(The integral of a non-negative continuous function can only be
zero if the function is the zero function. This is a fact which will
be covered later on in Calculus/Analysis courses. The students do
not need to mention this in the proof.)
1 + cos 2t
(c) Let f0 = 1, f1 = cos t, f2 = sin t, f3 = cos2 t = . Observe the
2
for any n ∈ Z,
sin nt π
Z π
cos nt dt = − =0 (1)
−π n −π
and π
cos nt π
Z
sin nt dt = = 0. (2)
−π n −π
g0 = f0 = 1
hf1 , g0 i
g1 = f1 − g0
hg0 , g0 i
Z π Z π
1
= cos t − cos t dt + 0 dt
hg0 , g0 i −π −π
= cos t
hf2 , g0 i hf2 , g1 i
g2 = f2 − g0 − g1
hg0 , g0 i hg1 , g1 i
Z π Z π Z π Z π
1 g1
= sin t − sin t dt + 0 dt − sin t cos t dt − sin t cos t dt
hg0 , g0 i −π −π hg1 , g1 i −π −π
= sin t
hf3 , g0 i hf3 , g1 i hf3 , g2 i
g3 = f3 − g0 − g1 − g2
hg0 , g0 i hg1 , g1 i hg2 , g2 i
Z π
1 + cos 2t 1
= − (1 + cos 2t) dt
2 2hg0 , g0 i −π
Z π Z π
g1
− cos t(1 + cos 2t) dt +2 sin t sin 2t dt
2hg1 , g1 i −π −π
Z π Z π
g2
− sin t(1 + cos 2t) dt −2 cos t sin 2t dt
2hg2 , g2 i −π −π
Z π Z π
1 + cos 2t 1 g1
= − − cos t cos 2t dt + (cos t − cos 3t) dt
2 2 2hg1 , g1 i −π −π
Z π Z π
g2
− sin t cos 2t dt + (sin 3t − sin t) dt
2hg2 , g2 i −π −π
Z π Z π
1 + cos 2t 1 g1 cos 3t + cos t g2 sin 3t − sin t
= − − − dt dt
2 2 2hg1 , g1 i −π 2 2hg2 , g2 i −π 2
cos 2t
=
2
1 + cos 2t
Method 2: Since cos2 t = and cos 2t = 2 cos2 t − 1, it follows
2
that
(c) Method 1:
• 1 mark for computing g0
• 1 mark for computing g1
• 1 mark for computing g2
• 3 marks for computing g3
Method 2:
c1 q1 + c2 q2 + c3 q3
= c1 (a11 p1 + a12 p2 + a13 p3 )
+ c2 (a21 p1 + a22 p2 + a23 p3 )
+ c3 (a31 p1 + a32 p2 + a33 p3 )
(3)
= (c1 a11 + c2 a21 + c3 a31 )p1
+ (c1 a12 + c2 a22 + c3 a32 )p2
+ (c1 a13 + c2 a23 + c3 a33 )p3
= (aT1 ξ)p1 + (aT2 ξ)p2 + (aT3 ξ)p3
c1 q1 + c2 q2 + c3 q3 = 0.
References
[1] David C. Lay, Linear Algebra and its Applications. Pearson, 2005.
[2] Strang Linear Algebra and Its Applications.
[3] Lipschutz, Linear Algebra, Schaum’s Outline Series.
[4] Hoffman and Kunze, Linear Algebra.
[5] Kumaresan, Linear Algebra: A Geometric Approach
[6] Axler, Linear Algebra Done Right. Undergraduate Texts in Mathemat-
ics, Springer 2015.
[7] Halmos, Finite-Dimensional Vector Spaces
[8] Michael Artin, Algebra. Prentice-Hall Inc.,New Jersey, 1991.