Vectors & Matrix Operations
Explore 2D vector arithmetic and matrix-vector multiplication interactively.
Every computer image, voice recording, and recommendation you receive is just a vector being multiplied by a matrix — millions of times per second.
Can you find a 2×2 matrix that flips a vector across the Y-axis?
This lab builds on concepts from:
Vectors & Matrices
Vector Operations
Vector A: (2.0, 3.0)
Vector B: (-1.0, 2.0)
Result: (1.00, 5.00)
Dot product: 4.00
A.x2.0
A.y3.0
B.x-1.0
B.y2.0
Matrix × Vector
[
]
×
[
]
[a b; c d] × [x; y] = [ax+by; cx+dy]
Step-by-step calculation
[2 1]×[1]=[2×1 + 1×2]=[4.00]
[0 1.5]×[2]=[0×1 + 1.5×2]=[3.00]