Rotation Matrices & Eigenvectors
Rotation Matrices and Eigenvalues/Eigenvectors
Rotation Matrices
Two-Dimensional Rotation
A rotation matrix transforms a vector by rotating it through an angle while preserving its length. In two dimensions, consider a vector (xy) rotated by angle θ to produce (x′y′).
The rotation matrix R(θ) satisfies:
Using basic trigonometry, the components transform as:
Thus the two-dimensional rotation matrix is:
Orthogonality of Rotation Matrices
Rotation does not change the magnitude of a vector, so R(θ) must be an orthogonal matrix. This means:
Equivalently:
where I=(1001).
The transpose of the rotation matrix corresponds to rotation by −θ:
Therefore, rotating by θ and then by −θ returns the original vector:
Three-Dimensional Rotation Matrices
In three dimensions, rotation occurs about an axis. The coordinate along that axis remains unchanged.
Rotation about the z‑axis by θ
The z‑component of the vector does not change (z′=z). The x and y components transform as in the 2D case:
This matrix is orthogonal: Rz(θ)⊤=Rz(−θ).
Rotation about the x‑axis by ϕ
Now the x‑component is unchanged. The transformation matrix is:
Rotation about the y‑axis by ψ
Similarly, rotation about the y‑axis leaves the y‑coordinate fixed:
All three matrices satisfy orthogonality: Raxis(θ)⊤=Raxis(−θ).
Rotation about an Arbitrary Axis
Rotating a vector by an angle θ about an arbitrary axis in three dimensions is more complex. The resulting matrix can be derived, e.g., using the axis‑angle representation and Rodrigues' rotation formula. This general rotation is built from the basic axis rotations.
Products of Rotations
Multiple successive rotations can be combined by multiplying their matrices. The order matters because matrix multiplication is not commutative. For example, first rotate about the x‑axis by θ, then about the z‑axis by ϕ:
The resulting matrix represents the combined transformation.
Eigenvalues and Eigenvectors
Definition
Given a square matrix A, a non-zero vector x and a scalar λ such that
are called an eigenvector and an eigenvalue of A, respectively.
Key idea: The action of A on an eigenvector x produces a vector parallel to x — it only scales the vector by λ without changing its direction.
Eigenvectors correspond to directions preserved by the linear transformation.
Scaling Property
If x is an eigenvector of A with eigenvalue λ, then any scalar multiple cx (with c=0) is also an eigenvector with the same eigenvalue λ:
Thus eigenvectors represent directions, not magnitudes. Distinct eigenvectors point along different directions.
Finding Eigenvalues and Eigenvectors
To solve Ax=λx:
Rewrite as (A−λI)x=0, where I is the identity matrix.
This is a homogeneous system of linear equations. Non‑trivial solutions (x=0) exist only if the determinant of (A−λI) is zero:
This equation is called the characteristic equation. Expanding the determinant yields a polynomial in λ (the characteristic polynomial). For an n×n matrix, it is a polynomial of degree n.
Example for a 3×3 Matrix
Let A=a11a21a31a12a22a32a13a23a33.
Then
Setting det(A−λI)=0 gives a cubic equation in λ, which has three roots (eigenvalues) λ1,λ2,λ3 (some may be repeated or complex).
For each eigenvalue λi, substitute back into (A−λiI)x=0 and solve for the components of the eigenvector. Because it is a homogeneous system, the solution will have one free parameter (or more if the eigenvalue is repeated). This free parameter reflects the scaling freedom of the eigenvector. Typically, we can set one component to a convenient value (e.g., 1) and solve for the others.
Importance
Eigenvalues and eigenvectors are among the most important concepts in linear algebra with applications across physics, engineering, data science, and more. They reveal the intrinsic structure of linear transformations — the directions that are scaled but not rotated, and the extent of that scaling.

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