Solution Key Comprehensive Question Paper
Solution Key Comprehensive Question Paper
4 10 8 � 0 0 � � �
Q.1. If 10 26 26 = � � 0 0 � � find the values of a,b,c,d,e,f and show the
8 26 61 � � � 0 0 �
calculations in details too. [5]
Solution :
4 10 8 � 0 0 � � �
10 26 26 = � � 0 0 � �
8 26 61 � � � 0 0 �
2 marks for matrix Multiplication 3 marks for calculating a,b,c,d,e,f (0.5 each)
and just because of "c" and "d" position is interchanged in 2nd matrix (typo error), so i am giving
full marks to you.
Q.2. Find the largest eigenvalue and the corresponding eigenvector of the matrix
10 7 8 7
7 5 6 5 [5]
8 6 10 9
7 5 9 10
Solution:
So largest eigenvalue is 30.2887
And Corresponding eigenvector is (1.01467, 0.729975, 1.05957, 1).
1mark for ch equation
2 marks for largest eigenvalue
2 marks for largest eigenvector
Solution :
2.5 marks for one way and 2.5 marks for the other way
Q.5. Let (x1, y1),(x2, y2), . . .(xN , yN ) be N points on which we find a SVM classifier using the dual
SVM formulation which is given below:
Maximize
� � �
�� − �� �� �� �� ����
�=1 �=1 �=1
Subject to
�
�� �� = 0 ��� �� ≥ 0, ∀�
�=1
Let OA be the value of the objective function at the optimal solution returned by the dual SVM
formulation for this problem. Now we add a new point (xN+1, yN+1) and find a SVM classifier by
solving the dual formulation again. Let OB be the value of the objective function at the optimal
solution for this problem. Considering the following three relationships
(a) OA > OB,
(b) OA = OB,
(c) OA < OB
Determine which of these relationships are possible and give a mathematical argument for your
answer in each case. [5]
Solution :
Q.6. Let x1, x2, . . . xN be N points on which we perform Principle Components Analysis leading to
the discovery of the principle component directions b1, b2 . . . bD. The given data is now
transformed to the points y1, y2, . . . yN where yi = Qxi + µ where QTQ = I and µ is a constant
vector. Determine the principle components for the transformed set of points in terms of the
old principle components. How much variance is accounted for by the first principal
component for the transformed set of points in terms of the variance accounted for by the
first principle component for the original set of points? Justify your answer with
mathematical arguments. [5]
Solution :
Q.7. Consider three linearly independent vectors in Rn named a1, a2 and a3. Now construct three
vectors b1 = a2 − a3, b2 = a1 − a3 and b3 = a1 − a2. Now consider the set Q = {b1, b2, b3}.
Prove or disprove that the set Q is linearly independent. [5]
Solution :
Q.8. Consider two sets named H1 and H2. It is known that these two sets are convex sets.
(a) Prove or disprove that H1 ∩ H2 is a convex set. Here ∩ represents the set intersection
operation.
(b) Prove or disprove that H1 ∪ H2 is a convex set. Here ∪ represents the set union
operation. [5]
Solution :
Q.9. A linear Algebra student arrived at an n × n real matrix given below
�11 �12 �1�
�21 �22 ⋯ �2�
A= ⋮ ⋱ ⋮
��1 ��2 ⋯ ���
Help the student to find singular value decomposition of full rank matrix A if the columns of
A are orthogonal. [5]
Solution :
Q.10. A data analyst modeled the objective function f : Rn → R as product of squares of n feature
xi’s and n ≥ 2. He has to maximize the objective function such that sum of squares of n
features is less than or equal to c2 where c ∈ R. Write the mathematical formulation of the
problem and solve it. Using the above result prove the inequality
***********