Professional Documents
Culture Documents
2014 Assignments With Solutions
2014 Assignments With Solutions
2014 Assignments With Solutions
LINEAR ALGEBRA
MAT3701
Semester 1
BAR CODE
university
Learn without limits.
Open Rubric of south africa
ASSIGNMENT 01
Solution
UNIQUE ASSIGNMENT NUMBER: 890658
Please note that we will only mark a selection of the questions. It is therefore in your own interest to
do all the questions. The fact that a question is not marked does not mean that it is less important
than one that is marked. Worked solutions to all the questions will be sent to all students shortly
after the due date. For this assignment, questions 2, 3, 5, and 8 will be marked.
Question 1
Let V be the vector space C 2 with scalar multiplication over the real numbers R, and let T : V → V
be the mapping defined by
T (z1 , z2 ) = (z1 − z 2 , z2 − z 2 ) .
Solution
2
MAT3701/201
(b) By definition,
N (T ) = {(z1 , z2 ) ∈ V : T (z1 , z2 ) = (0, 0)}.
T (z1 , z2 ) = (0, 0)
⇔ (z1 − z2 , z2 − z2 ) = (0, 0)
⇔ z1 − z2 = 0 and z2 − z2 = 0
⇔ z1 = z2 and z2 = z2 .
Note that the only complex numbers that are equal to their conjugates are the real numbers:
If a + ib = a − ib, then b = −b, hence b = 0. (See also Theorem D2(e) in the Appendix of
Friedberg).
Thus T (z1 , z2 ) = (0, 0) ⇔ z1 = z2 = a where a is real, and therefore
(c) We will use Theorem 2.2 in Friedberg. In order to apply this theorem, we first determine a basis
for V . Write an element (z1 , z2 ) ∈ V as a linear combination with coefficients in R (since V is
a vector space over R): If we write z1 = a + ib and z2 = c + id, then
Therefore, V = span{(1, 0), (i, 0), (0, 1), (0, i)}. To check that it is linearly independent, suppose
that
a(1, 0) + b(i, 0) + c(0, 1) + d(0, i) = (0, 0)
for some a, b, c, d ∈ R. Adding up, we obtain (a + ib, c + id) = (0, 0). Therefore, a + ib = 0 and
c + id = 0, which implies that a = b = c = d = 0. It follows that
To find a basis contained in this set, we can clearly ignore (−1, 0) since it is a real multiple of
the first vector in the set. You may verify that the remaining three vectors, namely, (1, 0), (i, 0),
and (i, 2i) are linearly independent, and therefore a basis for R(T ) is β2 = {(1, 0), (i, 0), (i, 2i)}.
(d) We leave it to you to show that β1 ∪ β2 is linearly independent and therefore a basis for V since
it consists of four vectors. Therefore V is the direct sum of the two subspaces N (T ) and R(T ).
3
Question 2
Let fa , fb , fc be the Lagrange polinomials associated with the distinct real numbers a, b, c
respectively. Define T : P2 (R) → P2 (R) by T (g) = g (a) fa .
(a) Show that T is a linear operator.
(b) Explain whether or not T is a projection.
(c) Find [T ]β , where β = {fa , fb , fc } .
Solution
(a) Let g, h ∈ P2 (R) and d ∈ R.
Then
T (g + h) = (g + h) (a) fa
= (g (a) + h (a)) fa
= g (a) fa + h (a) fa
= T (g) + T (h)
and
T (dg) = (dg) (a) fa
= dg (a) fa
= d (g (a) fa )
= dT (g)
4
MAT3701/201
Question 3
Classify each of the following statements as true or false. If true, construct a T with the given
properties. If false, explain why such a T does not exist.
(b) There exists a linear transformation T : C 3 → C 3 such that T is onto and N (T ) = span{(1, 1, 1)} .
(c) There exists a linear transformation T : C 3 → C 3 such that N (T ) =span{(1, 0, 0) , (0, 1, 0)} and
R(T ) = span{(1, 1, 1)} .
Solution
(a) False. Since rank(T ) + nullity(T ) = 3, it is impossible for rank(T ) = nullity(T ) . (6)
(b) False. The domain and codomain are both equal to C 3 , hence of the same dimension, therefore
if T is onto, it should also be one-to-one. (6)
[22]
Question 4
(b) λ2 is an eigenvalue of T 2 ;
Solution
5
(b) T 2 (v) = T (T (v))
= T (λv)
= λT (v)
= λ2 v,
so that λ2 is an eigenvalue of T 2 .
(c)
Question 5
Let T : M2×2 (C) → M2×2 (C) be the linear operator defined by T (A) = 21 (A − At ) .
(d) Find a basis γ for M2×2 (C) such that [T ]γ is diagonal. Write down [T ]γ .
Solution
= T 12 (A − At )
(a) T 2 (A)
= 21 T (A − At )
= 21 (T t
h (A) − T (A )) i
1 1 1 t
= 2
(A − At ) −
At − (At )
1
12 2
1
= 2
(A − At ) − (At − A)
2 2
1
= (A − At )
2
= T (A)
Therefore, T is a projection. (7)
6
MAT3701/201
then
(7)
A ∈ N (T ) ⇔ T (A) = 0
1
A − At = 0
⇔
2
⇔ At = A
a b
Let A = , then
c d
At = A
a c a b
⇔ =
b d c d
⇔ b=c
1 0 0 1 0 0
⇔ A=a +b +d , a, b, d ∈ C
0 0 1 0 0 1
Thus,
1 0 0 1 0 0
N (T ) = span , , ,
0 0 1 0 0 1
7
hence
0 1 1 0 0 1 0 0
γ = γ1 ∪ γ2 = , , ,
−1 0 0 0 1 0 0 1
is a basis for M2×2 (C) such that [T ]γ is diagonal, and
1 0 0 0
0 0 0 0
[T ]γ = 0 0 0
0
0 0 0 0
since the first matrix in γ is an eigenvector of T corresponding to λ = 1 and the last three
matrices in γ are eigenvectors of T corresponding to λ = 0. (7)
[30]
Question 6
Solution
8
MAT3701/201
which clearly splits. The eigenvalues of T are λ = 0 and λ = 2, both of multiplicity two.
−1 0 −1 1
0 −1 0 −1
E0 : 0I4 − [T ]β =
−1 −1 −1
0
0 −1 0 −1
−1 0 −1 1
0 −1 0 −1
→
0 −1
0 −1 R3 → R3 − R1
0 0 0 0 R4 → R4 − R2
−1 0 −1 1
0 −1 0 −1 . . . (ii)
→
0 0 0 0 R3 → R3 − R2
0 0 0 0
It follows that
dim (E0 ) = 2 = multiplicity of λ = 0.
9
1 0 −1 1
0 1 0 −1
E2 : 2I4 − [T ]β =
−1 −1
1 0
0 −1 0 1
1 0 −1 1
0 1 0 −1
→
0 −1
0 1 R3 → R3 + R1
0 −1 0 1
1 0 −1 1
0 1 0 −1
→
0 0 0 0 R3 → R3 + R2 . . . (iii)
0 0 0 0 R4 → R4 + R2
Thus
dim (E2 ) = 2 = multiplicity of λ = 2.
Since in both cases the dimension of the eigenspace equals the multiplicity of its associated
eigenvalue, it follows that T is diagonalisable.
(b) We use (ii) to obtain a basis for E0 [T ]β : Let x3 = α and x4 = β, then x2 = −β and
x1 = −α + β. Thus
So that {(−1, 0, 1, 0) , (1, −1, 0, 1)} is a basis for E0 [T ]β .
Since
−1 0
−E11 + E21 =
1 0
and
1 −1
E11 − E12 + E22 =
0 1
it follows that
−1 0 1 −1
τ1 = ,
1 0 0 1
is a basis for E0 (T ) .
We use (iii) to obtain a basis for E2 [T ]β : Let x3 = α and x4 = β, then x2 = β and x1 = α−β.
Thus
10
MAT3701/201
(x1 , x2 , x3 , x4 )= {(α − β, β, α, β) : α, β ∈ C}
= {α (1, 0, 1, 0) + β (−1, 1, 0, 1) : α, β ∈ C}
=span{(1, 0, 1, 0) , (−1, 1, 0, 1)}
so that {(1, 0, 1, 0) , (−1, 1, 0, 1)} is a basis for E2 [T ]β .
Since
1 0
E11 + E21 =
1 0
and
−1 1
−E11 + E12 + E22 =
0 1
it follows that
1 0 −1 1
τ2 = ,
1 0 0 1
is a basis for E2 (T ) .
Therefore
−1 0 1 −1 1 0 −1 1
τ = τ1 ∪ τ2 = , , ,
1 0 0 1 1 0 0 1
(c)
2 a b a+c−d b+d
T =T
c d a+b+c b+d
2a + 2c − 2d 2b + 2d
=
2a + 2b + 2c 2b + 2d
a+c−d b+d
=2
a+b+c b+d
so that T 2 = 2T.
Question 7
11
→ M2×2 (C) be the linear operator defined by T (X) = AX, where
Let T : M2×2 (C)
0 1
A= , and let W be the cyclic subspace generated by A.
−1 0
(a) Find the T –cyclic basis for W.
(b) Find the characteristic polynomial of TW .
(c) Explain whether or not
2 1 −1 2
U = span ,
−1 2 −2 −1
is T –invariant.
Solution
(a)
2
T (A) =A
−1 0
=
0 −1
T 2 (A) 3
= A = −A.
Note that {A, T (A)} is linearly independent since A is not a multiple of T (A) = −I2 , but that
{A, T (A) , T 2 (A)} is linearly dependent since
T 2 (A) + A = 0. (iv)
12
MAT3701/201
Therefore U is T -invariant.
Question 8
Let
1
2
0 1
1
A=
2
0 0
.
0 1 0
Solution
(a) A is a transition matrix since all three of its column sums are equal to 1. A is also regular since
all the entries of 1
1 12
1
1 12
9 1 5
4 4 16 4 8
A4 = 41 0 12 41 0 12 = 16 5 1
4
1
8
1 1 1 1 1
2
0 0 2
0 0 8 2 4
Thus,
1 1 1
2 2 2
lim Am = 1
4
1
4
1
4
.
m→∞ 1 1 1
4 4 4
(12)
13
(c) Let Ci denote the Gerschgorin disk associated with the i–th row of A.Then
C1 = z ∈ C : z − 12 ≤ 1
= z ∈ C : |z| ≤ 12
C2
C3 = {z ∈ C : |z| ≤ 1}
(6)
[25]
Total [100]
14
MAT3701/202/1/2014
LINEAR ALGEBRA
MAT3701
Semester 1
BAR CODE
university
Learn without limits.
Open Rubric of south africa
ASSIGNMENT 02
Solution
UNIQUE ASSIGNMENT NUMBER: 776521
Please note that we will only mark a selection of the questions. It is therefore in your own interest to
do all the questions. The fact that a question is not marked does not mean that it is less important
than one that is marked. Worked solutions to all the questions will be sent to all students shortly
after the due date. For this assignment, questions 1, 4, 6, and 7 will be marked.
Question 1
2 2 ∗ 1 i
Define <, >: C × C → C by < x, y >= y Ax, where A = and x and y are column vectors
−i 2
in C 2 . Show that <, > is an inner product on C 2 . [30]
Solution
x1 y1 z1
Let x = , y= and z = be column vectors in C 2 and let c ∈ C.
x2 y2 z2
IP1
hx + z, yi = y ∗ A (x + z)
= y ∗ Ax + y ∗ Az
= hx, yi + hz, yi.
hcx, yi = y ∗ A (cx)
= c(y ∗ Ax)
= chx, yi.
2
MAT3701/202
IP3
hx, yi = y ∗ Ax
= ȳ t Ax
= y t Āx̄
= (y t Āx̄)t
= x̄t Āt (y t )t
= x∗ A ∗ y
= x∗ Ay, since A = A∗
= hy, xi.
Further,
Question 2
Let fa , fb , fc be the Lagrange polynomials associated with the distinct real numbers a, b, c
respectively.
3
(a) Show that
hg, hi = g (a) h (a) + g(b)h (b) + g (c) h (c)
(b) Show that {fa , fb , fc } is an orthonormal basis for P2 (R) with respect to h, i in (a).
(c) Show that, with respect to h, i, the orthogonal projection P : P2 (R) → P2 (R) on W = span{fa }
is given by P (g) = g (a) fa .
Solution
IP2
hrg, hi = (rg) (a) h (a) + (rg) (b) h (b) + (rg) (c) h (c)
= (rg (a)) h (a) + (rg (b)) h (b) + (rg (c)) h (c)
= r (g (a) h (a) + g (b) h (b) + g (c) h (c))
= r hg, hi
IP3
Over R this axiom becomes hg, hi = hh, gi since g, h = hg, hi .
Now
IP4
hg, gi = g (a)2 + g (b)2 + g (c)2 ≥ 0
4
MAT3701/202
and
(b)
(c) By definition,
P (g) = hg, fa i fa
= (g (a) fa (a) + g (b) fa (b) + g (c) fa (c)) fa
= (g (a) .1 + g (b) .0 + g (c) .0) fa
= g (a) fa
Question 3
(a) If {v, w} is a basis for R2 over R, show that {v, w, iv, iw} is a basis for C 2 over R.
(b) Without any further computations, use (a) to explain why β = {(1, 0) , (i, 0) , (0, 1) , (0, i)} is a
basis for C 2 over R.
5
Solution
(a)
av + bw + civ + diw = 0, a, b, c, d ∈ R
⇔ av + bw + i(cv + dw) = 0
⇔ av + bw = 0 and cv + dw = 0, since av + bw and cv + dw lie in R2
⇔ a = b = 0 and c = d = 0 since {v, w} is a basis over R
Therefore, {v, w, iv, iw} is linearly independent, and hence also a basis for C 2 over R, since it contains
four vectors and dim(C 2 ) = 4 over R.
(b) Let v = (1, 0) and w = (0, 1) and apply the result in (a).
Question 4
Prove that if V = W ⊕ W ⊥ and T is the projection on W along W ⊥ , then T = T ∗ . Hint: Recall that
N (T ) = W ⊥ . [10]
Solution
Let v1 = w1 + w1⊥ and v2 = w2 + w2⊥ be arbitrary vectors in V , where w1 , w2 ∈ W and w1⊥ , w2⊥ ∈ W ⊥ .
Then
hT (v1 ) , v2 i = w1 , w2 + w2⊥
= hw1 , w2 i since w1 , w2⊥ = 0
= hv1 , w2 i since w1⊥ , w2 = 0
= hv1 , T (v2 )i since T is the projection on W along W ⊥
Thus T = T ∗ . [10]
Question 5
6
MAT3701/202
Solution
(a) Let v1 and v2 denote vectors in V and let a ∈ F.
Then
T (v1 + v2 ) = hv1 + v2 , yi z
= (hv1 , yi + hv2 , yi) z
= hv1 , yi z + hv2 , yi z
= T (v1 ) + T (v2 )
and
T (av1 ) = hav1 , yi z
= a hv1 , yi z
= aT (v1 ) .
hT (v1 ) , v2 i = hhv1 , yi z, v2 i
= hv1 , yi hz, v2 i since hv1 , yi ∈ F
= hv1 , hz, v2 i yi since hz, v2 i ∈ F
= hv1 , hv2 , zi yi
= hv1 , T ∗ (v2 )i ,
equivalently,
T ∗ (x) = hx, zi y for all x ∈ V.
(c)
T 2 (x) = T (hx, yi z)
= hx, yi T (z)
= hx, yi hz, yi z for all x ∈ V
(d)
7
Question 6
It is given that A ∈ M3×3 (C) is a normal matrix with eigenvalues 1 and i and corresponding
eigenspaces
√
1 1
E1 = span √ (−1, 1, 0) , 1, 1, 2
2 2
and
√
1
Ei = span 1, 1, − 2 .
2
[30]
Solution
(a) −1
√ 1 3 −1 1
√
2 2 4 4 2 2
−1 √1
√ 0
2 2
−1
P1 = √12 1 = 3 1
√
2 4 4 2 2
1 1 √1
2 2 2
0 √1 1
√ 1
√ 1
2 2 2 2 2 2
and
1 1 1 −1
√
2 4 4 2 2
h
i
1 −1 −1
1 1 1 1
Pi = √ = √
2 2 2 2 4 4 2 2
−1
√ −1 −1 1
√ √
2 2 2 2 2 2
A = 1 · P1 + i · Pi
3 −1 1
1 1 −1
√ √
4 4 2 2 4 4 2 2
= 1 · −1 3 1
√ + i · 1 1 −1
√
4 4 2 2 4 4 2 2
1
√ 1
√ 1 −1
√ −1
√ 1
2 2 2 2 2 2 2 2 2 2
(25)
(b)
3 i −1 i 1 i
4
+ 4 4
+ 4
√
2 2
− √
2 2
−1 i 3 i 1
A=
4
+ 4 4
+ 4
√
2 2
− 2√i 2
.
1 i 1 i 1 i
√
2 2
− √
2 2
√
2 2
− √
2 2 2
+2
8
MAT3701/202
(5)
[30]
Question 7
by a rotation of the axes, that is, find a rotation matrix P ∈ M2×2 (R) such that (i), expressed in
terms of x0 , y 0 defined by 0
x x
=P ,
y y0
contains no cross term.
Express x, y in terms of x0 , y 0 , and state the (counterclockwise) angle of rotation. [30]
Solution
The quadratic form (i) can be expressed as
X t AX = 1,
where
3 1 x
A= and X=
1 3 y
The characteristic polynomial of A is given by
3−t 1
det (A − tI2 ) =
1 3−t
= (3 − t)2 − 1
= (3 − t − 1) (3 − t + 1)
= (t − 2) (t − 4) ,
Thus,
E2 = span {(1, −1)} ,
with orthonormal basis
1
√ (1, −1)
2
To find E4 , we solve
−1 1 1 −1 −R1
→
1 −1 0 0 R2 + R1
9
Thus,
E4 = span {(1, 1)} ,
with orthonormal basis
1
√ (1, 1)
2
Thus,
P t AP = D,
where
1 1 1 t 1 1 −1
P =√ , that is, P =√
2 −1 1 2 1 1
(note that det (P ) = 1), and
2 0
D=
0 4
If we let
x0 x0
x 1 1 1
=P =√ ,
y y0 2 −1 1 y0
that is,
1
x = √ (x0 + y 0 )
2
1
y = √ (−x0 + y 0 ) ,
2
then (i) becomes
2 2
2 (x0 ) + 4 (y 0 ) = 1
Since " #
√1 √1 cos − π4 − sin − π4
2 2
P = = ,
− √12 √1
2
sin − π4 cos − π4
it means that the x– and y–axes are rotated through −45o .
[30]
Question 8
Let
0 −1 −1
A = −1 1 −1 .
−1 −1 0
10
MAT3701/202
Solution
(a) Use the algorithm after Example 6 in Friedberg(see also SG: Section 16.3).
. ..
0 −1 −1 .. 1 0 0 1 −1 −1 . 0 1 0
. .. [R1 ↔ R2 ]
−1
1 −1 .. 0 1 0 → −1
0 −1 . 1 0 0 and
. .. [C1 ↔ C2 ]
−1 −1 0 .. 0 0 1 −1 −1 0 . 0 0 1
.
1 0 −1 .. 0 1 0
.. [R2 → R2 + R1 ]
→ 0 −1 −2 . 1 1 0 and
.. [C2 → C2 + C1 ]
−1 −2 0 . 0 0 1
..
1 0 0 . 0 1 0
.. [R3 → R3 + R1 ]
→
0 −1 −2 . 1 1 0 and
. [C3 → C3 + C1 ]
0 −2 −1 .. 0 1 1
.
1 0 0 .. 0 1 0
.. [R3 → R3 − 2R2 ]
→
0 −1 0 . 1 1 0
and
.. [C3 → C3 − 2C2 ]
0 0 3 . −2 −1 1
Therefore t
0 1 0 0 1 −2 1 0 0
Q= 1 1 0 = 1 1 −1 and D = 0 −1 0
−2 −1 1 0 0 1 0 0 3
[25]
Total [100]
11
MAT3701/201/2/2014
LINEAR ALGEBRA
MAT3701
Semester 2
BAR CODE
university
Learn without limits.
Open Rubric of south africa
ONLY FOR SEMESTER 2 STUDENTS
ASSIGNMENT 01
Based on Study Units 1 - 9
FIXED CLOSING DATE: 15 AUGUST 2014
UNIQUE NUMBER: 20140815
Please note that we will only mark a selection of the questions. It is therefore in your own interest to
do all the questions. The fact that a question is not marked does not mean that it is less important
than one that is marked. Worked solutions to all the questions will be sent to all students shortly
after the due date. For this assignment Questions 2, 4, 5, and 8 will be marked.
QUESTION 1
and
−1 0
U = span .
0 1
Solution
2
MAT3701/201
z1 = z2 + z3
z1 − z4 = a
z2 = b
z3 = c
z4 = −a + b + c,
hence
z1 = b+c
z2 = b
z3 = c
z4 = −a + b + c
so that
a b b+c b a−b−c 0
v= = + ,
c −a + b + c c 0 0 −a + b + c
and it follows that V ⊆ W + U . This, together with (i), shows that V = W + U .
Finally, since
z1 z2 −z4 0
=
z3 0 0 z4
with z1 − z2 − z3 = 0 and z1 , z2 , z3 , z4 ∈ C implies that z1 = z2 = z3 = z4 = 0, it follows that
W ∩ U = {0} and therefore V = W ⊕ U .
QUESTION 2
(b) If
dim (V ) = dim (W1 ) + dim (W2 ) ,
Solution
3
(a) Since W1 ∩ W2 6= W2 , it follows that W2 * W1 . Hence V = W1 + W2 , since dim (W1 ) = n − 1.
Therefore
so that
dim(W1 ∩ W2 ) = dim(W2 ) − 1.
(b) If V = W1 ⊕ W2 , then it follows from the definition of direct sum that W1 ∩ W2 = {0} .
Conversely, suppose W1 ∩ W2 = {0} . Then
(a) Prove that if B is invertible, then there exists a scalar c ∈ C such that A + cB is not invertible.
Hint: Examine det (A + cB) .
(b) Find nonzero 2 × 2 matrices A and B such that both A and A + cB are invertible for all c ∈ C.
Solution
(a) A + cB = (AB −1 + cIn )B, so that det (A + cB) = det(AB −1 + cIn ) det(B). Choose −c equal to
an eigenvalue of AB −1 , then det (A + cB) = 0 and therefore A + cB is not invertible.
QUESTION 4
(b) Find a basis for the space onto which T projects. (8)
4
MAT3701/201
(c) Find a basis for the space along which T projects. (8)
[25]
Solution
(a)
QUESTION 5
Let f0 , f1 , and f2 denote the Lagrange polynomials associated with 0, 1 and 2, respectively. Let
γ = {f0 , f1 , f2 } and β = {1, x, x2 } .
(a) Find f0 , f1 , f2 , and express each one in standard polynomial form, i.e. a + bx + cx2 , where a, b,
and c are real numbers. (10)
(b) Use the Lagrange interpolation formula to express 1, x, and x2 as linear combinations of
f0 , f1 , and f2 . (5)
(c) Without any further computations, explain why γ is a basis for P2 (R) . (5)
5
(d) Write down the change of coordinate matrix P which changes β− coordinates to γ− coordinates.
(5)
(e) Without any further computations, write down P −1 . (5)
[30]
Solution
(a)
(x − 1) (x − 2) 3 1
f0 (x) = = 1 − x + x2
(0 − 1) (0 − 2) 2 2
(x) (x − 2)
f1 (x) = = 0 + 2x − x2
(1 − 0) (1 − 2)
(x − 0) (x − 1) 1 1
f2 (x) = = 0 − x + x2 .
(2 − 0) (2 − 1) 2 2
(b)
(c) From (b), it follows that γ spans P2 (R) and since we further have that |γ| = dim (P2 (R)) = 3, it
follows that γ is a basis for P2 (R) .
(e) Since P −1 is the change of coordinate matrix which changes γ–coordinates to β–coordinates we
have
1 0 0
P −1 = − 32 2 − 12 .
1 1
2
−1 2
QUESTION 6
6
MAT3701/201
(b) Find a basis τ for P2 (C) consisting of eigenvectors of T, and write down [T ]τ .
Solution
T (1) = 3 + x + x2
T (x) = 2x
T x2 = 2x2 .
Thus,
3 0 0
[T ]β = 1 2 0 .
1 0 2
It follows that the characteristic polynomial of T is
p (x) = (x − 3) (x − 2)2 ,
(b) Considering (ii) as the coefficient matrix of a system of homogeneous linear equations, it follows
that
x = 0 and y and z are arbitrary.
Hence,
E2 = {(0, y, z) : y, z ∈ C}
= span {(0, 1, 0) , (0, 0, 1)}
E2 (T ) = span x, x2 .
Similarly,
E3 (T ) = span 1 + x + x2 .
7
Thus,
2 0 0
[T ]τ = 0 2 0
0 0 3
where
τ = x, x2 , 1 + x + x2 .
(c)
Since
3IP2 (C) − T τ = 3IP2 (C) τ − [T ]τ
= 3I3 − [T ]τ
1 0 0
= 0 1 0 ,
0 0 0
it follows by direct multiplication that (iv) holds and therefore also (iii).
QUESTION 7
1 0 0 1 0 0 0 0
(a) Find the matrix representation of T with respect to β = , , ,
0 0 0 0 1 0 0 1
Solution
8
MAT3701/201
Now,
a+k b 1 0
=
c k−a+b+c 0 0
with
1 1
0 0
2 ∈W and 2 ∈ U.
0 − 21 0 1
2
Continuing this process, we express the other elements of β as sums of elements in W and U as
follows:
1 1
0 1 2
1 −2 0
= +
0 0 0 12 0 − 21
1 1
0 0 2
0 − 2
0
= +
1 0 1 12 0 − 21
1 1
0 0 −2 0 0
= + 2 1
0 1 0 12 0 2
We have now expressed each of the elements of β in the form w + u, where w ∈ W and u ∈ U.
Since T is the projection on W along U, we have
1
1 0 2
0
T =
0 0 0 − 12
1
0 1 2
1
T =
0 0 0 21
1
0 0 2
0
T =
1 0 1 21
1
0 0 −2 0
T =
0 1 0 12
9
Since β is the standard basis for M2×2 (R) , the matrix of T with respect to β is given by
1 1 1
− 21
2 2 2
0 1 0 0
[T ]β =
0 0 1
0
− 12 12 12 2
1
(b) Since
a b 1 0 0 1 0 0 0 0
=a +b +c +d ,
c d 0 0 0 0 1 0 0 1
we have
a b 1 0 0 1
T = aT + bT
c d 0 0 0 0
0 0 0 0
+cT + dT
1 0 0 1
1 1 1 1
2
0 2
1 2
0 −2 0
= a +b +c +d
0 − 21 0 21 1 21 0 12
a+b+c−d
2
b
= −a+b+c+d
c 2
QUESTION 8
[25]
Solution
10
MAT3701/201
(a) It suffices to show that the image under T of each generator of W is again in W . This is clearly
the case for the first two generators of W . For the third generator we have
and since the right-hand side lies again in W , it follows that W is T –invariant.
(d) Since TW is not one-to-one according to (c) and since W is finite dimensional, it follows that TW
is not onto.
[TOTAL 100]
11
MAT3701/202/2/2014
LINEAR ALGEBRA
MAT3701
Semester 2
BAR CODE
university
Learn without limits.
Open Rubric of south africa
ASSIGNMENT 02
Solution
UNIQUE ASSIGNMENT NUMBER: 20140912
Please note that we will only mark a selection of the questions. It is therefore in your own interest to
do all the questions. The fact that a question is not marked does not mean that it is less important
than one that is marked. Worked solutions to all the questions will be sent to all students shortly
after the due date. For this assignment, questions 1, 4, 6, and 8 will be marked.
Question 1
[25]
Solution
(a)
2
MAT3701/202
hence
T (1, 0, 0, 0) = (0, 1, −1, 0) ∈ W.
Similarly
T (0, 1, −1, 0) = (1, −1, 1, 0) = (1, 0, 0, 0) − (0, 1, −1, 0) ∈ W.
Since the image under T of each spanning vector of W lies in W again, it follows that W is
T –invariant.
(b)
(a, b, c, d) ∈ W ⊥ ⇔ h(a, b, c, d) , (1, 0, 0, 0)i = 0 and h(a, b, c, d) , (0, 1, −1, 0)i = 0
a=0
⇔
b − c = 0.
Thus
W⊥ = {(0, b, b, d) : b, d ∈ C}
= {(0, b, b, 0) + (0, 0, 0, d) : d, b ∈ C}
= {b (0, 1, 1, 0) + d (0, 0, 0, 1) : b, d ∈ C}
... (i)
= span ({0, 1, 1, 0} , (0, 0, 0, 1)) .
Since these two spanning vectors are linearly independent, a basis of W ⊥ is
{(0, 1, 1, 0) , (0, 0, 0, 1)} .
To show that W ⊥ is T ∗ –invariant, we show that the image under T ∗ of each spanning vector in
(i) again lies in W ⊥ .
[T ∗ (0, 1, 1, 0)]β = [T ∗ ]β [(0, 1, 1, 0)]β
0 1 −1 0 0
1 0 1 −i 1
=
0 1 0 −i 1
1 0 −i 1 − i 0
0
1
=
1 ,
−i
3
hence
Similarly,
Thus, W ⊥ is T ∗ –invariant.
Question 2
x−y+z = 0
x + y = 0.
Solution
Let
1 −1 1 0
A= and b = .
1 1 0 0
We follow the method outlined in Friedberg: Section 6.3, Example 3.
1 1
∗ 1 −1 1 3 0
AA = −1 1 =
1 1 0 0 2
1 0
so that
∗ 3 0 x1 0 3x1 +0x2 = 0
AA x = b ⇔ = ⇔
0 2 x2 0 0x1 2x2 = 0
0
The solution to the system is , therefore the minimal solution is
0
1 1 0
∗ 0
s = A x = −1 1
= 0 .
0
1 0 0
4
MAT3701/202
Question 3
Consider M2×2 (R) with respect to the Frobenius inner product defined by hA, Bi = tr (B ∗ A) . Find
the formula for the orthogonal projection P : M2×2 (R) → M2×2 (R) on W, where
1 1 1 1 1 1
W = span , .
2 −1 −1 2 1 1
Solution
It is easy to check that
1 1 1 1 1 1
S= ,
2 −1 −1 2 1 1
is an orthonormal basis for W. Let
a b
A= .
c d
Denoting the elements of S by S1 and S2 , respectively, we obtain that
P (A) = hA, S1 i S1 + hA, S2 i S2
1 1
= (a + b − c − d) S1 + (a + b + c + d) S2
2 2
1 2a + 2b 2a + 2b
=
4 2c + 2d 2c + 2d
i.e.
a b 1 a+b a+b
P =
c d 2 c+d c+d
Question 4
√ √
It is given that A ∈ M3×3 (C) is a normal matrix with eigenvalues 0, 2 and − 2 and corresponding
eigenspaces
1
E0 = span √ (−1, 1, 0)
2
√
√
1
E 2 = span 1, 1, 2
2
√
√
1
E− 2 = span 1, 1, − 2
2
5
[25]
Solution
(a) Since the eigenspaces are all one-dimensional with basis vectors of unit length, the matrix
1 1 1
−√
2 2 2
1 1 1
√
P =
2 2
2
1 1
0 √ −√
2 2
0 √0 0
with these basis vectors as columns will be unitary, and A = P DP ∗ with D = 0 2 0 .
√
0 0 − 2
Hence
1 0 0 √ 0 0 0 √ 0 0 0 √ √
A = 0 · P 0 0 0 P ∗ + 2 · P 0 1 0 P ∗ − 2 · P 0 0 0 P ∗ = 0 · P1 + 2 · P2 − 2 · P3
0 0 0 0 0 0 0 0 1
6
MAT3701/202
Question 5
Let V be a complex inner product space, and let T be a linear operator on V. Define
1 1
T1 = (T + T ∗ ) and T2 = (T − T ∗ ) .
2 2i
(a) Prove that T1 and T2 are self–adjoint and that T = T1 + iT2 .
(b) Suppose also that T = U1 + iU2 , where U1 and U2 are self–adjoint. Prove that U1 = T1 and
U2 = T2 .
Solution
(a)
1 1 1
T1∗ = (T + T ∗ )∗ = (T ∗ + (T ∗ )∗ ) = (T ∗ + T ) = T1 ,
2 2 2
and
1 −1 ∗ −1 ∗
T2∗ = (T − T ∗ )∗ = (T − (T ∗ )∗ ) = (T − T ) = T2 ,
2i 2i 2i
thus T1 and T2 are self-adjoint.
Further,
1 1
T1 + iT2 = (T + T ∗ ) + i (T − T ∗ ) = T,
2 2i
as required.
(b) (
T + T ∗ = 2U1 ⇒ T1 = U1
T = U1 + iU2 ⇒ T ∗ = U1∗ − iU2∗ = U1 − iU2 ⇒
T − T ∗ = 2iU2 ⇒ T2 = U2
7
as required.
(c)
T T ∗ = (T1 + iT2 )(T1 − iT2 ) = T12 − iT1 T2 + iT2 T1 + T22
and
T ∗ T = (T1 − iT2 )(T1 + iT2 ) = T12 + iT1 T2 − iT2 T1 + T22 .
Therefore,
T T ∗ = T ∗ T ⇔ −T1 T2 + T2 T1 = T1 T2 − T2 T1 ⇔ T1 T2 = T2 T1 ,
and the result follows.
Question 6
Let f : R2 → R2 be defined by
f (a, b) = (1 − b, 2 + a)
[25]
Solution
f (a, b) − f (c, d) = (1 − b, 2 + a) − (1 − d, 2 + c) = (d − b, a − c)
so that
kf (a, b) − f (c, d) k2 = k (d − b, a − c) k2
= (d − b)2 + (a − c)2
= (a − c)2 + (b − d)2
= k (a, b) − (c, d) k2 ,
(b)
where
g (a, b) = (1, 2) + (a, b) ,
8
MAT3701/202
Question 7
Solution
9
and
Hu (ax) = ax − 2hax, uiu = ax − 2ahx, uiu = a(x − 2hx, uiu) = aHu (x).
(b)
Hu (x) = x
⇔ x − 2 hx, ui u = x
⇔ hx, ui u = 0
⇔ hx, ui = 0, since u 6= 0
⇔ x is orthogonal to u
(c)
Hu (u) = u − 2 hu, ui u = −u, since hu, ui = 1.
thus
Hu∗ (x) = x − 2 hx, ui u = Hu (x), i.e., Hu∗ = Hu .
Finally,
that is,
Hu2 = I.
Question 8
√ √
2 − 2
Let A = and suppose k·k denotes the Euclidean norm.
1 1
10
MAT3701/202
[25]
Solution
(a) √ √ √
∗ √2 1 2 − 2 3 −1
A A= = ,
− 2 1 1 1 −1 3
thus
λ−3 1
det(λI − A∗ A) =
1 λ−3
= (λ − 3)2 − 1
= (λ − 4)(λ − 2),
so that
√ 1 2 √
kAk = 4 = 2, A−1 = √ , and cond (A) = kAk · A−1 = √ = 2.
2 2
(b)
1
e − A−1 b = A−1 (Ae
x x − b) ≤ A−1 kAe
x − bk ≤ √ (0.001),
2
and
x − A−1 bk
ke ke
x − xk kAe
x − bk √
= ≤ cond (A) ≤ 0.001 2.
kA−1 bk kxk kbk
Total [100]
11