Interview questions
Linear Algebra quant interview questions
22 interview-style linear algebra problems, ordered from easy to hard.
Linear algebra questions come up in quant research and quant developer interviews, especially for roles involving portfolio construction, statistical modelling and machine learning. Expect eigenvalues and eigenvectors, positive definiteness of covariance matrices, projections and least squares, matrix decompositions, rank and determinants, and quick reasoning about special matrices. Interviewers often ask for intuition, such as what an eigenvector of a covariance matrix represents or why a correlation matrix must be positive semi-definite. The problems here build from computational warm-ups to conceptual questions linked to finance and statistics. Free problems include hints and worked solutions showing each step. Practise them to strengthen the foundation behind regression, principal component analysis and risk models that appear throughout quant research interviews.
Practice Linear Algebra interactivelyEasy (11)
- Eigenvalues of a Symmetric 2x2 Matrix · Eigenvalues
- Trace From Eigenvalues · Eigenvalues
- Determinant From Eigenvalues · Eigenvalues
- Condition for Orthogonal Vectors · Inner Products
- Minimizing Sum of Squares Under a Linear Constraint · Optimization
- Maximizing a Product Under a Sum Constraint · Optimization
- Normal Equations for Ordinary Least Squares · Least Squares
- Eigenvalues of a Triangular Matrix · Eigenvalues
- Determinant of a Triangular Matrix · Determinants
- Rank-Nullity for a Map From R^7 · Rank-Nullity Theorem
- Inverse of an Orthogonal Matrix · Orthogonal Matrices
Medium (10)
- Inverse of a 2x2 Matrix · Matrix Inverse
- Orthogonal Projection of a Vector Onto a Line · Projections
- Positive Semidefiniteness of a Covariance Matrix · Covariance Matrices
- Hessian of a Quadratic Form · Matrix Calculus
- Cobb-Douglas Maximization With Unequal Exponents · Optimization
- Maximizing a Geometric Mean Under a Weighted Constraint · Optimization
- Singular Values and A^T A · Singular Value Decomposition
- First Principal Component Direction · Principal Component Analysis
- Determinant of an Orthogonal Matrix · Orthogonal Matrices
- Convexity and the Hessian · Convex Functions