Assignments Problem
Assignments Problem
Assignments Problem
Notations: Vectors and matrices are denoted below by bold-faced lower case and upper
case alphabets, respectively.
(a) Let A be a 10×10 matrix representing the linear mapping from data d1 , d2 , d3 , ...d10
to coefficients c1 , c2 , c3 , ...c10 . What is the i,j th entry of A−1 ? [4 marks]
(b) Note that a symmetric matrix A ∈ Rm×m can be decomposed as QDQT where Q
is an orthogonal matrix and D is a diagonal matrix. Using this result, show that
uT Au = 0 ∀ u ∈ Rm , if and only if A = 0. [5 marks]
Give an example of a non-zero vector or matrix for which equality is achieved in the
above inequalities.
Problem 5 [10 marks]
Induced matrix norm is defined as ∥A∥(m,n) = max ∥Ax∥(m) , where x ∈ Rn and is a unit
x
vector. ∥.∥ corresponds to p-norm (1 ≤ p < ∞). For this exercise, let us consider p to
be a natural number.
Using MATLAB/Octave/Python programming environment, create a matrix using
“A = randn(100, 2)”. Subsequently, create random unit vectors x using “temp =
randn(2, 1)” and normalize x using “x = temp/norm(temp)”. Check for multiple
random vectors x (use a loop, and check for about 1000 random vectors x) using
“norm of Ax = norm(Ax, p)” for p = 1, 2, 3, 4, 5, 6, ∞. What is the maximum value of
p-norm for the vector Ax? Now calculate p-norm of A using “norm of A = norm(A, p)”
for p = 1, 2, ∞ within the same programming environment you used before. Verify the
equality ∥A∥(m,n) = max ∥Ax∥(m) for p = 1, 2, ∞. Note that this equality is true for
x
other values of p as well but you are restricting to p = 1, 2, ∞ in this exercise.