Solutions
Solutions
Homework 1
Deadline 15 September 17:15 hrs after the class
This homework consists of six exercises and a programming assignment related Vector Spaces.
You can turn in your hand written solutions after the class. For the programming part, turn
in your SINGLE .ipynb file or .m file via MS Teams. MS Teams submission window will
automatically close by Sept. 15th 6 pm. So plan ahead.
Note that we plan to have eight homework sets out of which we will consider the best 5
towards your final grade. Hence no deadline extension requests will be entertained.
Part A: Exercises
1. Let V be a vector space over a field F. Let Xi for i = 1, 2, 3...., K be a non empty family
of subspaces of V. Then show that
K
\
X = Xi
i=1
3. Let us denote the set of all n × n matrices over a field F as Mn (F). Let us denote the
set of all n×n symmetric matrices as Sn , i.e. A ∈ Sn means that A = AT .Let us denote
the set of all n × n skew symmetric matrices as Kn , i.e. B ∈ Kn means B = −BT .
A(S) = {Ax | x ∈ S}
and B = {s1 , s2 , · · · , sk } be a basis for S. Find a basis for A(S) in terms of B. Explain
why it is a basis.
5. Suppose rank(A) = 2 and rank(B) = 1. Then, is the following true or false:
1 ≤ rank(A + B) ≤ 3.
Explain your claim and give example matrices A and B to justify it.
Part B: Programming
Make Python routines in Google CoLab that computes a basis for each of the four fundamental
subspaces associated with a matrix A ∈ Rm×n . To do so, you will have to use the discussions
from lectures on computing the spanning sets for the fundamental subspaces. Using inbuilt
functions that output a basis is not allowed.
Test your routines to compute the fundamental subspaces and its dimension of
1 2 0 2 1
A = 3 6 1 9 6 .
2 4 1 7 5
Although Python is strongly encouraged, you may use Matlab. In that case, submit a
SINGLE *.m file that has all the four functions at the end of the script via MS Teams.
2
Indian Institute of Science
Department of Electrical Communication Engineering
Homework 2
Deadline 27 October 17:15 hrs after the class
This homework consists of exercises on Norms. Deadline extension requests will not be
entertained.
3. If ∥ · ∥ is a norm on V that is derived from an inner product ⟨·, ·⟩, show that
∥x + y∥ ∥x − y∥ ≤ ∥x∥2 + ∥y∥2 .
4. ℓp norm: For real numbers p ≥ 1 and q ≥ 1 such that 1/p+1/q = 1, show the following.
a. !1/p !1/q
n
X n
X n
X
p q
|xi yi | ≤ |xi | |yi | .
i=1 i=1 i=1
b.
∥x + y∥p ≤ ∥x∥p + ∥y∥p ,
where x = [xi ], y = [yi ], and ∥x∥p = (|x1 |p + . . . + |xn |p )1/p is the ℓp norm.
5. Let ∥ · ∥α and ∥ · ∥β be two given norms on Cn , and suppose that there is some C > 0
such that ∥x∥α ≤ C∥x∥β for all x ∈ Cn . Explain why ∥x∥D D
β ≤ C∥x∥α for all x ∈ C .
n
√
6. Show that ∥x∥2 ≤ ∥x∥1 ≤ n∥x∥2 .
11. Explain why the function |||A||| = max{|||A|||1 , |||A|||∞ } is a matrix norm on Mn that is
unital.
12. If |||·||| is a matrix norm on Mn , show that its adjoint is also a matrix norm.
13. Let ∥ · ∥ be a norm on Mn and let A ∈ Mn be given. Explain why for any Y ∈ Mn
with ∥Y∥ = 1, |trYH A| ≤ ∥A∥D .
14. Let |||·||| is a matrix norm on Mn that is induced by the norm ∥ · ∥ be a norm on Cn .
Then AH = max{|tr BH A| : |||B||| = 1 and rank B = 1}.
√
15. Let |||·||| is a matrix norm on Mn . Show that √1n |||X|||2 ≤ |||X|||1 ≤ n|||X|||2 .
2
Scanned by CamScanner
Scanned by CamScanner
Scanned by CamScanner
Scanned by CamScanner
Scanned by CamScanner
Scanned by CamScanner
Scanned by CamScanner
Scanned by CamScanner
Scanned by CamScanner
Indian Institute of Science
Department of Electrical Communication Engineering
Homework 3
Deadline 10 November 17:15 hrs after the class
Show that σ(A) = σ(A11 ) ∪ σ(A22 ). Also, show that if λ is an eigenvalue of A11 , then
it must be an eigenvalue of A; and if λ is an eigenvalue of A, then it is an eigenvalue of
either A11 or A22 .
4. Let A ∈ Mn (R) be a real matrix. (a) Explain why all the coefficient of pA (t) are real.
(b) Show that the eigenvalues of A occur as complex conjugate pairs. (c) If n is odd,
show that A has at least one real eigenvalue.
8. Explain why the algebraic mulitplicity of an eigenvalue is greater than or equal to its
geometric multiplicity?
10. Show that U ∈ Mn and V ∈ Mm are unitary if and only if U ⊕ V ∈ Mm+n is unitary.
(Here, ⊕ indicated block diagonal operator.)
11. If U ∈ Mn is unitary, show that |detU| = 1. Further, show that the eigenvalues of a
Householder matrix are always −1, 1, . . . , 1.
12. Cholesky factorization. Show that any B ∈ Mn of the form B = AAH , A ∈ Mn may
be written as B = LLH , in which L ∈ Mn is lower triangular and has non-negative
diagonal entries. Explain why this factorization is unique if A is nonsingular.
14. Let A, B ∈ Mn be given, and suppose that A and B are simultaneously unitarily similar
to upper triangular matrices, i.e., UH AU and UH BU are both upper triangular for
some unitary U ∈ Mn . Show that every eigenvalue of AB − BA must be zero.
2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Indian Institute of Science
Department of Electrical Communication Engineering
Homework 4 and 5
Deadline 2 December 17:30 hrs
This homework consists of exercises on Normal matrices, singular value decomposition, and
Jordan canonical form,. For logistics purpose, homework 4 and 5 are combined as one.
Handover the homework to the TA (Robin Francis) by the deadline. Deadline extension
requests will not be entertained.
Homework 4
1. Explain why a normal matrix is non-defective, i.e., the geometric multiplicity of every
eigenvalue is the same as its algebraic multiplicity.
3. Suppose that A ∈ Mn is normal, ĀA = AĀ, and A = B + iC, in which B and C are
real. Explain why B and C are normal and commute.
4. Let A ∈ Mn be normal. Show that the following statements are equivalent: (a) ĀA =
AĀ. (b) AT A = AAT .
10. Let A ∈ Mn,m with rank(A) = r. Show that its singular values σ1 , · · · , σr are the
positive square roots of the decreasingly ordered nonzero eigenvalues of AAH , which
are the same as the decreasingly ordered nonzero eigenvalues of AH A.
11. Derive the closed-form expression for the two squared singular values of A ∈ M2 .
12. For A ∈ Mn , show that the product of its singular values is |det(A)|.
13. Let A ∈ Mn,m with n ≥ m. Show that A has full column rank if and only if all of its
singular values are positive.
14. Let A ∈ Mn,k and B ∈ Mk,m be given. Use the singular value decomposition to show
that rank(AB) ≤ min{rank(B), rank(B)}.
15. Show that A ∈ Mn is unitary if and only if Σ = I, where Σ contains the singular values
of A.
16. Show that two complex matrices of the same size are unitarily equivalent if and only if
they have the same singular values.
Homework 5
1. Explain why every Jordan block Jk (λ) has a one-dimensional eigenspace associated with
the eigenvalue λ. Conclude that λ has geometric multiplicity 1 and algebraic multiplicity
k as an eigenvalue of Jk (λ).