Professional Documents
Culture Documents
+ 2(2 proj #» #» ( #»
v (proj w x )) + 2 proj w#» (proj w#» ( #»
x )) − proj w#» ( #»
x ))
− (2 proj #» #» #» ( #»
x ) − #»
v ( x ) + 2 proj w x)
We know that proj #» #» #»
v (proj #»v ( x )) = proj #» v ( x ) proven previousl in#» chapter
#» #» #» #» #» #» #»
1 in the prop-
( x#»· w2 w)· #»
x ·w
#» ( #» #» #»
v #» 2 ( w· v )
erties of projection. Also, proj #» v (proj w x )) = ∥ w∥∥#» v ∥2
v = ∥ w ∥∥ #»
v ∥2
v = 0 by the
properties of dot product and also knowing that #» v ·w #» = 0. Putting these into above
equation we get:
T (T ( #»
x )) =
#» #» #»
v ( x ) + 0 − 2 proj #»
4 proj #» v (x)
#»
+ 0 + 4 proj w#» ( #»
x ) − 2 proj w#» ( #»
x)
− 2 proj #» #» #» ( #»
x ) + #»
v ( x ) − 2 proj w x
= #»
x.
Therefore, we have that T (T ( #»
x )) = AA #»
x = #»
x = I3 #»
x . Thuse, by the matrix equality
2
theorem, AA = A = I3 .
1
MATH136: Linear Algebra 1 Winter 2023
Written Assignment 3 Solutions
1 1
#»
T ( e 1 ) = T ( 0 ) = 0
0 0
0 0
T ( #»
e 2 ) = T (1) = 1
0 0
0 0
T ( #»
e 3 ) = T (0) = 0 .
1 −1
to represent the columns of A respectively. Thuse, A = T ( #»
e 1 ) |T ( #»
e 2 ) |T ( #»
e 3) =
1 0 0
0 1 0 .
0 0 −1
(d) The function T consumes a vector and produces the reflected vector across the plane
P = Span{ #» #» That is why A2 = I , as it just means reflectng twice which gives the
v , w}. 3
initial vector back.
2
MATH136: Linear Algebra 1 Winter 2023
Written Assignment 3 Solutions
Q2. (a) By the definition fpr te matrix A, The diagonals will all be zero, all the elements on the
right side and above the diagonals (the zeroes) will be 3, and the ones below and to the
left of diagonals will be -3. The geneal form of A will be:
0 3 3 ... 3
−3 0 3 . . . 3
−3 −3 0 . . . 3
A= .
..
.
−3 −3 −3 . . . 0
Thus,
0 3
1. A1 =
−3 0
0 3 3 3
−3 0 3 3
2. A2 =
−3
.
−3 0 3
−3 −3 −3 0
(b) Assume that A
is a 2n by 2n matris with
the general form presented in part a for natural
0 3 3 ... 3
−3 0 3 . . . 3
−3 −3 0 . . . 3
n ≥ 1: A = . Let us row reduce this matrix until we get an
..
.
−3 −3 −3 . . . 0
upper triangular matrix. We stat by swapping the first low and the last row of the
matrix:
0 3 3 ... 3 −3 −3 −3 . . . 0
−3 0 3 . . . 3 −3 0 3 . . . 3
A = −3 −3 0 . . . 3 ∼ −3 −3 0 . . . 3.
.. ..
. .
−3 −3 −3 . . . 0 0 3 3 ... 3
Applying the followin ERO to the folloeing rows can get: (we apply Ri → Ri − R1 with
1 ≤ i ∈ N ≤ 2n − 1 and also R2n → R2n + R1 for the last row)
−3 −3 −3 . . . 0 −3 −3 −3 . . . 0
−3 0 3 . . . 3 0 3 6 . . . 3
−3 −3 0 . . . 3 0 0 3 . . . 3
∼ = B ∈ M2n×2n (R).
.. ..
. .
0 3 3 ... 3 0 0 0 ... 3
We know the following:
The upper triangle of the last matrix B, consists of 3s, 6s, and 0s which are not of our
interest as the matrix is upper triangular and to calcualte the determinant we only need
the diagonals. We applied a swap operation whcih brings a -1 as a coeeficiant when
calcuating the determinant. All the other ERO’s are free of additional applications
3
MATH136: Linear Algebra 1 Winter 2023
Written Assignment 3 Solutions
(c) By the invertibility and determinat theorm we know that A is invertible iff det(A) ̸= 0.
As det(A) = 9n we can see that the determinant will never be zero fo r any natural
n ≥ 1. Thus, the matrix A will always be invertible.
4
MATH136: Linear Algebra 1 Winter 2023
Written Assignment 3 Solutions
z = a + bi = c + di = w
5
MATH136: Linear Algebra 1 Winter 2023
Written Assignment 3 Solutions
.
Thus, if f (z) = f (w), then z = w, and by definition, the function f is one-to-one.
6
MATH136: Linear Algebra 1 Winter 2023
Written Assignment 3 Solutions
(a) Assume that A2 = −In and n is odd. Then, det(A2 ) = det(A)2 = det(−In ). As −In is
upper triangular, its determinant is the product of the diagonals which are all -1. Thus,
det(A)2 = det(−In ) = (−1)n . With n being odd, we get det(A)2 = −1. This also means
that det(A) = ±i. The determinant of A, by definition, is computed through addition
and multiplication of the entries of A. As the determinat of A is a comples number, at
least one of those entries must have been non-real or complex. (The other way of seeing
this is by the definition of determinant. The output will be the same type as the input
which are the entries of A). Therefore, A must have at leat one non-real entry.
2
a − b2 −2ab
a −b 2
(b) Let A = with a.b ∈ R. Then, A = AA = . We want
b a 2ab a2 − b2
2
a − b2 −2ab
−1 0
eventually for A2 = 2 2 = to e true. Thus we need values of
2ab a −b 0 −1
a and b such that a2 − b2 = −1 and ab = 0. There will be two cases to consider:
1. When b = 0: then we will get a2 = −1 which means that a is not real and this
contradicts the assumption.
2 0 −1
2. When a = 0: we get that b = 1 =⇒ b = ±1. In this case we will get A1 =
1 0
0 1
and A2 = .
−1 0
Testsing the two matrices we get:
2 0 −1 0 −1 −1 0
1. A1 = = = −I2 . Thus0 A1 works.
1 0 1 0 0 −1
0 1 0 1 −1 0
2. A22 = = = −I2 . Thus0 A2 works.
−1 0 −1 0 0 −1
Therefore, there exist 2 by 2 matrix A such that A2 = −In .
(c) Let A ∈ Mn×n (R) with n being an even natural number. Let A = [aij ] where aij ∈ R
for all natural 0 < i, j ≤ n. Let A be defined as:
(
0 if i + j ̸= n + 1
aij = i
(−1) if i + j = n + 1.
7
MATH136: Linear Algebra 1 Winter 2023
Written Assignment 3 Solutions
0 0 . . . 0 −1 0 0 . . . 0 −1
0 0 . . . 1 0 0 0 . . . 1 0
A2 = ...
..
.
0 −1 . . . 0 0 0 −1 . . . 0 0
1 0 ... 0 0 1 0 ... 0 0
−1 0 . . . 0 0
0 −1 . . . 0 0
..
= . = −In .
0 0 . . . −1 0
0 0 . . . 0 −1
Note that n being even is a necessary requirement as when multipliying the matrices,
the positive 1’s have to be matched with the -1’s.
All in all, there exist a matrix A ∈ Mn×n (R) such that A2 = In .