Secret Code: Vectors
Why write "4 right and 2 down" when two numbers in brackets can say it all?
Flashback
Your mission today: read and write a translation as a column vector. About 7 minutes.
Cracking the code
A column vector is two numbers stacked in brackets:
4−2
Top number = left or right.
+ is right, − is left
Bottom number = up or down.
+ is up, − is down
+ is right, − is left
Bottom number = up or down.
+ is up, − is down
So this vector means 4 right, 2 down. Watch the code in action:
Memory trick: the top number is like walking along the corridor (x), and the bottom number is the lift (y). Along the corridor, then up or down the stairs!
Vector lab
Drag the sliders and watch Pip obey the code. Can you make Pip visit every corner of the grid?
Crack the code
Write the column vector for each translation.
Follow the code
Quick check
Claim your badge
World 1 complete: Slide Master! +50 XP
You can slide anything, anywhere. Time to step through the looking glass…
Lesson 4: The Mirror Power →