Givens Rotation Algorithm — Geometric Interpretation in 3D

The Givens rotation algorithm applies a sequence of rotations in coordinate planes to eliminate selected entries of a matrix one at a time. Each step acts only in a two-dimensional coordinate plane, so the transformation is local and targeted rather than global.

In QR factorization, these rotations are used to turn a matrix into an upper triangular form. Geometrically, each rotation reorients the columns just enough to zero one chosen entry while preserving lengths and orthogonality properties.

Concept

A Givens rotation is an orthogonal transformation that mixes only two coordinates and leaves the others unchanged. In matrix language, it is almost the identity matrix, except for a 2×2 rotation block.

This makes the algorithm especially useful when one wants to eliminate entries one at a time, or when the matrix is sparse and it is better not to disturb more structure than necessary.

Structure

Suppose we want to eliminate an entry below the diagonal. We choose a rotation in the coordinate plane determined by the two relevant rows so that the target entry becomes zero after multiplication. Repeating that process systematically transforms the matrix toward upper triangular form.

In QR factorization, the product of all these Givens rotations gives the orthogonal factor, while the transformed matrix becomes the triangular factor.

Related visual: QR Decomposition — Geometric Interpretation in 2D and 3D

Related visual: Gram-Schmidt Orthogonalization — Stepwise Visualization in 2D and 3D

Related chapter: Givens rotations

Related work: GraphMath Linear Algebra

Contact: info@graphmath.com