2×2 Matrix Times a Vector
Matrices · Class XII
Set entries of a 2×2 matrix and a 2-vector. See the matrix-vector product compute live.
- (M v)₁ with v = (1, 0)1
- (M v)₂ with v = (1, 0)3
- (M v)₁ with v = (0, 1)2
- (M v)₂ with v = (0, 1)4
- (M v)₁ with v = (1, 1)3
Formulas in this lab
- (M v)₁ with v = (1, 0)
- (M v)₂ with v = (1, 0)
- (M v)₁ with v = (0, 1)
- (M v)₂ with v = (0, 1)
- (M v)₁ with v = (1, 1)
Frequently asked questions
▶How does a $2\times 2$ matrix act on a vector?
For $M = \begin{pmatrix}a & b\\ c & d\end{pmatrix}$ and $\vec v = \begin{pmatrix}x\\ y\end{pmatrix}$, $M\vec v = \begin{pmatrix}ax + by\\ cx + dy\end{pmatrix}$. The columns of $M$ are exactly the images of the basis vectors $\hat e_1 = (1,0)$ and $\hat e_2 = (0,1)$.
▶How do I use the matrix product lab?
Slide the four entries $a, b, c, d$. The lab shows the images of standard basis vectors $(1, 0)$, $(0, 1)$ and $(1, 1)$ under $M$. Try $a = d = 0$, $b = c = 1$: a swap matrix that flips $\hat e_1$ and $\hat e_2$.
▶Why do columns of $M$ tell the whole story?
Because any vector $\vec v = x\hat e_1 + y\hat e_2$, so $M\vec v = xM\hat e_1 + yM\hat e_2$ — a linear combination of the columns. This is the geometric heart of linear algebra: matrices are determined by what they do to a basis.
▶Where do $2\times 2$ matrices act in real applications?
2-D rotation by angle $\theta$ uses the matrix $\begin{pmatrix}\cos\theta & -\sin\theta\\ \sin\theta & \cos\theta\end{pmatrix}$. Computer graphics, image transformations on Photoshop, robot arm kinematics, and even Markov chain transitions in two-state systems all use $2\times 2$ matrix-vector products.