Coordinate Systems
Hover over a variable in the formula above, or see glossary below:
Imagine looking at a Vector arrow pointing 'Up'. Now tilt your head sideways. The arrow is still pointing to the same physical place, but to your eyes, it's now pointing 'Right'. Spacecraft do this constantly, rotating their frames of reference from pointing at the Sun, to pointing at Earth.
The Rotation Matrix
A rotation matrix is like a mathematical machine. You feed it your original X and Y coordinates, and it multiplies them by Trigonometric functions (sines and cosines) to spit out the brand new rotated coordinates.
Preserving Magnitude
A pure rotation matrix changes the direction of a vector but preserves its magnitude (length). The spacecraft's speed or distance remains the exact same, we've just pivoted the camera.