Linear Algebra
Graduation

2D Matrix Transformation

[xy]=[sxcosθsysinθsxsinθsycosθ][xy]\begin{bmatrix}x'\\y'\end{bmatrix} = \begin{bmatrix}s_x\cos\theta & -s_y\sin\theta\\s_x\sin\theta & s_y\cos\theta\end{bmatrix}\begin{bmatrix}x\\y\end{bmatrix}

What is this? (Explained Simply)

Imagine you drew a square on a rubber sheet. Now stretch it, squish it, rotate it, or flip it. A matrix transformation is the math recipe that tells you exactly how each corner of your square moves. Video games use this constantly — every time a character moves, jumps, or rotates on screen, matrices are doing the math behind the scenes. It's like giving the computer step-by-step instructions to move shapes around!

−0.500.5100.20.40.60.811.21.4
OriginalTransformed

Adjust Variables

Rotation (degrees)
angle =
0360
Scale X
scale_x =
0.13
Scale Y
scale_y =
0.13

Matrices can rotate, scale, and transform shapes. Watch how a unit square transforms as you change the rotation angle and scaling factors.

Real-World Applications

Game graphics (PUBG, Free Fire): Character rotation and movement use matrix multiplication

Instagram/Snapchat filters: Face transformations are matrix operations on coordinate points

Robotics: Robot arm movements are calculated using transformation matrices

What would an intelligent skeptic say?

Matrix multiplication is just a compact way to write linear transformations. The real insight isn't the math — it's that we chose to represent reality in a way that matrices can handle. Non-linear transformations (face morphing, fluid dynamics) require much more complex tools. Matrices work great for rigid, predictable systems — but the interesting problems aren't rigid or predictable.

Community Explanations

No community explanations yet. Be the first to share yours!

to write your own explanation

Community Aha! Moments

to share your insights

No insights yet. Be the first to share!

Related Formulas

Great exploration of Linear Algebra!

With Pro, you get AI explanations that connect formulas to real-world applications.

Ask AI to explain any formula
Real-world connections