Row space of a matrix is orthogonal to the null space of the matrix.
Row space of a matrix is orthogonal to the null space of transpose of thematrix.
Dimension of row space of a matrix is always equal to the dimension ofcolumn space of the matrix.
Dimension of row space of a matrix need not be equal to the dimension ofcolumn space of the matrix.
Q3MSQ3 marksselect all that apply
Q4MSQ3 marksselect all that apply
Q5MSQ4 marksselect all that apply
Q6MSQ4 marksselect all that apply
Q7MCQ4 marks
Q8MCQ4 marks
(1, 3)
(1/2, 1/6)
(0, 0)
The algorithm does not converge
Q9SA4 marks
Q10SA4 marks
Q11SA4 marks
Let P1 be the projection matrix onto the line spanned by the vector a = [1, 2, 3]T . Let P2 be the projection matrix that projects vectors onto the plane perpendicular to span of a. Find the determinant of P1 + P2.
Q12SA3 marks
Q13SA2 marks
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions.
Q14MCQ2 marks
Is the system Ax = b consistent?
Yes
No
Q15SA3 marks
Using the least square approximation, find the length of the projection vector p of b onto the column space of A. Enter the answer correct to two decimal places.
Auto-generated summary from the source site. Handy as a checklist; the lessons above explain each idea from scratch.
The examination covers fundamental concepts in Machine Learning, Linear Algebra, Multivariable Calculus, and Optimization. A strong understanding of these mathematical and algorithmic foundations is crucial.
Summary of Core Topics, Concepts, Principles, and Equations
1. Machine Learning Fundamentals
Loss Functions: Quantify the error between predicted and actual values.
Mean Squared Error (MSE): Primarily used for regression problems, penalizes larger errors more heavily.
MSE=n1i=1∑n(yi−y^i)2
Max Absolute Error (L∞ Loss): Determines the largest absolute difference between any single prediction and its true value.
L=imax∣yi−y^i∣
Classification vs. Regression: Distinguish between problems predicting discrete categories (classification) and continuous values (regression). MSE is not suitable for classification.
Autoencoders and Dimensionality Reduction:
Encoder: Maps input data to a lower-dimensional representation.
Decoder: Maps the lower-dimensional representation back to the original data space.
Reconstruction Error: Measures how well the decoder can reconstruct the original input from the encoded representation. Often uses squared Euclidean norm.
R(f,g)=n1i=1∑n∥xi−g(f(xi))∥2
where f is the encoder, g is the decoder, and ∥⋅∥ is the Euclidean norm.
Gaussian Mixture Models (GMM): A probabilistic model used for representing sub-populations within an overall population, often for modeling multimodal data.
Indicator Function: A function that returns 1 if a given condition is true, and 0 otherwise.
I(condition)={10if condition is trueif condition is false
2. Linear Algebra
Vector Spaces and Subspaces:
Row Space, Column Space, Null Space (Kernel): Understand their definitions and properties.
Orthogonality: The row space of a matrix is orthogonal to its null space. The column space of a matrix is orthogonal to the null space of its transpose.
Rank-Nullity Theorem: For a matrix A∈Rm×n, the dimension of its column space (rank) plus the dimension of its null space (nullity) equals the number of columns n.
rank(A)+nullity(A)=n
Rank: The dimension of the column space (or row space) of a matrix. The column rank is always equal to the row rank.
Eigenvalues and Eigenvectors:
Definition: For a matrix A, a non-zero vector v is an eigenvector if Av=λv for some scalar λ, called the eigenvalue.
Symmetric Matrices: Have real eigenvalues and an orthogonal basis of eigenvectors. They are always diagonalizable.
Diagonalization: A square matrix A is diagonalizable if and only if there exists a basis of eigenvectors for the entire space Rd. This means the algebraic multiplicity of each eigenvalue equals its geometric multiplicity.
Matrix Operations and Properties:
Matrix multiplication, transpose.
Determinant: A scalar value that can be computed from the elements of a square matrix.
Projection Matrices: Project vectors onto a subspace.
Projection matrix onto the line spanned by vector a:
Pa=aTaaaT
Projection matrix onto the orthogonal complement of the span of a:
Pa⊥=I−Pa
Systems of Linear Equations (Ax=b):
Consistency: A system is consistent if a solution x exists (i.e., b lies in the column space of A). This can be checked by comparing the rank of A with the rank of the augmented matrix [A∣b].
Least Squares Approximation: If Ax=b is inconsistent, the least squares method finds x^ that minimizes ∥Ax−b∥2. The solution x^ is found by solving the normal equations:
ATAx^=ATb
Projection Vector: The vector p=Ax^ is the projection of b onto the column space of A.
Euclidean Norm (Vector Length):
∥v∥=i=1∑dvi2
3. Multivariable Calculus
Partial Derivatives: Derivatives of a multivariable function with respect to one variable, holding others constant.
Gradient Vector (∇f): A vector containing all the partial derivatives of a multivariable function. Points in the direction of the greatest rate of increase of the function.
∇f=∂x1∂f⋮∂xd∂f
Directional Derivative (Duf): The rate of change of a function in a specific direction defined by a unit vector u.
Duf=∇f⋅u
Linear Approximation (First-Order Taylor Series): Approximating a function near a point (x0,y0) with a linear function.
Continuity of Functions: For a function to be continuous at a point c, the limit of the function as x approaches c from both sides must exist and be equal to the function's value at c.
x→c−limf(x)=x→c+limf(x)=f(c)
4. Optimization
Gradient Descent: An iterative optimization algorithm used to find the local minimum of a function. It moves in the direction opposite to the gradient.
Xn+1=Xn−h∇f(Xn)
where h is the learning rate (step size).
Convergence: Understanding how the choice of step size and function properties (e.g., convexity) affect the convergence of optimization algorithms. Convex functions guarantee convergence to a global minimum under appropriate conditions.