generic facts about vectors, matrices, coordinate systems
A 2×2 matrix like:
⎡ a b ⎤
⎣ c d ⎦
describes how some point with coordinates [x, y] is transformed into the new point [x’, y’]:
x' = a⋅x + b⋅y
y' = c⋅x + d⋅y
This transformation can also be understood as a combination of two column vectors, [a, c] and [b, d], scaled by the coefficients x and y, respectively:
⎡x'⎤ ⎡a⎤ ⎡b⎤
⎢ ⎥ = ⎢ ⎥⋅x + ⎢ ⎥⋅y
⎣y'⎦ ⎣c⎦ ⎣d⎦
This also can be seen as calculating a vector with coordinates x and y, but within a coordinate system defined by the vectors [a, c] and [b, d], instead of the usual coordinate system defined by [1, 0] and [0, 1].
Derpy rotation matrix
Now, let’s talk about this specific matrix with column vectors [cos(φ), sin(φ)] and [-sin(φ), cos(φ)]. The first is the vector [1, 0] rotated by an angle φ, and the second is the vector [0, 1] rotated by the same angle. These rotated vectors come from the definitions of sine and cosine, either as coordinates on a unit circle or as ratios in a right triangle.
When you combine these rotated vectors with coefficients x and y:
you get a vector [x, y] in a coordinate system that is a rotated version of the standard coordinate system defined by the vectors [1, 0] and [0, 1]. Because it’s defined by almost the same pair of vectors, but both rotated by φ.
——
It’s not me rotating around you. It’s you who is rotating inside me.
Alternative way, which gives exactly the same expressions: let’s define the new coordinate system defined by vector [x, y] and its orthogonal friend [-y, x]. Let’s calculate coordinates in default coordinate system of vector with coordinates [cos(φ), sin(φ)] in this new coordinate system:
This is actually the rotation of vector with coordinates [1, 0] in this new coordinate system [x,y];[-y,x]. Which is also the rotation of the vector with coordinates [x,y] in the original coordinate system. Because vector with coordinates [1,0] in the new coordinate system is vector with coordinates [x,y] in the original coordinate system.
@Chopsticks
Tbf Twilight could already create infinite energy by teleporting to the top of a mountain over and over, since teleporting all over Equestria doesn’t seem to cause her significant strain
some old hippie caught another hippie tripping on acid
Please use this image in your class

your current filter.generic facts about vectors, matrices, coordinate systems
Derpy rotation matrix
It’s not me rotating around you. It’s you who is rotating inside me.
Edited
Noice!
Edited
Tbf Twilight could already create infinite energy by teleporting to the top of a mountain over and over, since teleporting all over Equestria doesn’t seem to cause her significant strain
Edited
The rotation, defintitely. I don’t see her as being stupid.
Edited
Luckily it is unlikely, as eigenvalues are imaginary for θ ≠ nπ, and they are safely contained within Discord’s realm.
LOOOOOOOOL
Ever divide by zero in the pale moonlight?