Linear Transformations in 3D
🌌 Linear Transformations in Higher Dimensions
While linear transformations are often visualized and explained in two dimensions due to their ease of comprehension, the core concepts extend seamlessly to higher dimensions. Understanding these transformations in 2D provides a strong foundation for grasping their application in 3D and beyond. The principles of linearity—keeping grid lines parallel and evenly spaced, and fixing the origin—remain constant across dimensions.
🚀 Extending to Three Dimensions
When considering a linear transformation with three-dimensional vectors as inputs and outputs, we can visualize this as "smooshing" all points in 3D space. Each point represents the tip of a vector, and the transformation maps input vectors to their corresponding output vectors.
Just as in 2D, a 3D linear transformation is completely described by where its basis vectors land.
📐 Standard Basis Vectors in 3D
In three dimensions, there are three standard basis vectors:
i^: The unit vector in the x-direction.
j^: The unit vector in the y-direction.
k^: The unit vector in the z-direction.
Visualizing the full 3D grid can be complex. It's often easier to focus solely on the movement of these three basis vectors to understand the transformation. By observing their final positions relative to the original axes, we can determine the transformation.
📈 Representing 3D Transformations with Matrices
To represent a 3D linear transformation, we record the coordinates of where each of the three basis vectors (i^, j^, k^) lands as the columns of a matrix.
This results in a 3x3 matrix that completely describes the transformation using just nine numbers.
🔄 Example: Rotation Around the Y-axis
Consider a transformation that rotates space 90 degrees around the y-axis:
i^ (original: (1,0,0)) moves to (0,0,-1) (on the negative z-axis).
j^ (original: (0,1,0)) does not move, staying at (0,1,0).
k^ (original: (0,0,1)) moves to (1,0,0) (on the x-axis).
These resulting coordinates form the columns of the transformation matrix:
✨ Applying 3D Transformations to Vectors
The process for finding where an arbitrary vector with coordinates (x,y,z) lands after a 3D linear transformation is analogous to the 2D case:
Decomposition: Each coordinate (x, y, z) acts as a scaling factor for its respective basis vector (i^, j^, k^).
Linearity: The crucial property of linear transformations is that this scaling and adding process works both before and after the transformation.
Transformation: To find the transformed vector, you multiply the input vector's coordinates by the corresponding columns of the transformation matrix and then add the three resulting vectors together.
For an input vector v=xyz and a transformation matrix A=adgbehcfi, the transformed vector v′ is:
✖️ Matrix Multiplication in 3D
Multiplying two 3x3 matrices represents the composition of two successive linear transformations:
Imagine first applying the transformation encoded by the right matrix.
Then, apply the transformation encoded by the left matrix to the result of the first transformation.
This concept is particularly important in fields like computer graphics and robotics, where complex 3D rotations can be broken down into a series of simpler, easier-to-manage rotations. The numerical computation of 3D matrix multiplication follows a similar pattern to 2D, involving dot products of rows and columns.

Ask anything
We've read this whole study set, so questions about it get the best answers.