WalzoneInterview Prep
📞 Interviewing soon? Practice with a realistic AI mock phone interview — it calls you, then scores you. First 15 min FREE →

Wall Street Quant · Linear Algebra · question 61 of 155

What is the geometric interpretation of a matrix?

📕 Buy this interview preparation book: 155 Wall Street Quant questions & answers — PDF + EPUB for $5

A matrix can be geometrically interpreted as a linear transformation that maps vectors from one space to another. Considering a matrix A of size m x n, A acts as a transformation that takes vectors from an n-dimensional space to an m-dimensional space. For example, if A is of size 2 x 2, then the matrix A maps 2-dimensional vectors to other 2-dimensional vectors. To understand the geometric interpretation, let’s discuss two main aspects: the action of a matrix on a vector and the basis of the resulting vector space.

1. Action of the matrix on a vector:

Given a matrix A and a vector v, the product Av represents a transformed vector in the new space. This transformation can be seen as scaling, rotation, reflection, or other changes depending on the matrix.

Let A be a 2x2 matrix:


$$A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}$$

Let v be a 2-dimensional column vector:


$$v = \begin{bmatrix} x\\ y \end{bmatrix}$$

When we multiply A by v, we get the following 2-dimensional column vector:


$$Av = \begin{bmatrix} a & b\\ c & d \end{bmatrix} \begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} ax + by \\cx + dy \end{bmatrix}$$

In this case, Av represents a new vector in the 2-dimensional space after performing the transformation determined by matrix A.

2. Basis of the resulting vector space:

By analyzing the columns of the matrix A, we can understand the geometric transformation that it represents. The columns represent the images of the standard basis under the transformation A, which essentially dictates how the final space will look like.

Let’s analyze two cases to make it more clear:

a) Scaling:

Consider a diagonal matrix, which represents a scaling transformation:


$$A_{scale} = \begin{bmatrix} k_1 & 0 \\ 0 & k_2 \end{bmatrix}$$

When we multiply Ascale by v, we get:


$$Av = \begin{bmatrix} k_1 & 0 \\0 & k_2 \end{bmatrix} \begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} k_1x\\ k_2y \end{bmatrix}$$

The resulting vector has been scaled by factors k1 and k2in the x and y directions, respectively.

b) Rotation:

Consider a rotation matrix:


$$A_{rot} = \begin{bmatrix} \cos(\theta) & -\sin(\theta) \\ \sin(\theta) & \cos(\theta) \end{bmatrix}$$

When we multiply Arot by v, we get:


$$Av = \begin{bmatrix} \cos(\theta) & -\sin(\theta)\\ \sin(\theta) & \cos(\theta) \end{bmatrix} \begin{bmatrix} x\\ y \end{bmatrix} = \begin{bmatrix} x\cos(\theta) - y\sin(\theta)\\ x\sin(\theta) + y\cos(\theta) \end{bmatrix}$$

The resulting vector has been rotated counterclockwise by angle θ.

In conclusion, the geometric interpretation of a matrix is a linear transformation that maps input vectors to resulting vectors based on the action determined by the matrix. Different matrix types can represent various geometric transformations like scaling, rotation, reflection, etc.

Reading is step one. Saying it out loud is the interview. Our AI interviewer calls your phone and runs a realistic Wall Street Quant interview — then scores it.
📞 Practice Wall Street Quant — free 15 min
📕 Buy this interview preparation book: 155 Wall Street Quant questions & answers — PDF + EPUB for $5

All 155 Wall Street Quant questions · All topics