# Notes - NLA MT25, Givens rotations

> Source: https://ollybritton.com/notes/uni/part-c/mt25/nla/notes/givens-rotations/ · Updated: 2026-05-18 · Tags: uni, notes

- [Course - Numerical Linear Algebra MT25](https://ollybritton.com/notes/uni/part-c/mt25/nla/)
	- [Notes - NLA MT25, QR factorisation](https://ollybritton.com/notes/uni/part-c/mt25/nla/notes/qr-factorisation/)
	- [Notes - Numerical Analysis HT24, Givens rotations](https://ollybritton.com/notes/uni/part-a/ht24/numerical-analysis/notes/givens-rotations/)

### Givens rotation
<!-- flash-start -->
@Define the Givens rotation matrix $G(i, j, \theta_{ij}) \in \mathbb R^{m \times m}$, and state how the angle $\theta_{ij}$ is chosen when it is used to triangularise a matrix.::

$G(i, j, \theta_{ij})$ is the $m \times m$ identity matrix except for four entries: the $(i,i)$ and $(j,j)$ entries equal $\cos \theta_{ij}$, the $(i,j)$ entry equals $-\sin \theta_{ij}$, and the $(j,i)$ entry equals $\sin \theta_{ij}$:
$$G(i, j, \theta_{ij}) = \begin{bmatrix} I & & & & \\ & \cos\theta_{ij} & & -\sin\theta_{ij} & \\ & & I & & \\ & \sin\theta_{ij} & & \cos\theta_{ij} & \\ & & & & I \end{bmatrix}$$
where the four displayed scalars sit at rows/columns $i$ and $j$ and the $I$ blocks are identity.

It is **orthogonal** ($\cos^2\theta_{ij} + \sin^2\theta_{ij} = 1$, so $G^\ast G = I$) but **not symmetric**, so $G^{-1} = G^\ast \ne G$ — unlike a Householder reflector. It acts locally: left-multiplication modifies only rows $i$ and $j$, right-multiplication only columns $i$ and $j$.

When used to triangularise a matrix, $\theta_{ij}$ is chosen so that left-multiplication by $G(i, j, \theta_{ij})$ makes the $(i,j)$ entry of the product zero. Concretely, to zero an entry $b$ sitting below a pivot $a$, solving
$$\begin{bmatrix} c & -s \\ s & c \end{bmatrix}\begin{bmatrix} a \\ b \end{bmatrix} = \begin{bmatrix} r \\ 0 \end{bmatrix}, \qquad r = \sqrt{a^2 + b^2}$$
gives $\cos\theta_{ij} = a/r$ and $\sin\theta_{ij} = -b/r$.

**Source**: Lecture 6, **§6.4** of the lecture notes (Givens rotations).

^givens-rotation-full-matrix-definition
<!-- flash-end -->

---
Olly Britton — https://ollybritton.com. Machine-readable index: https://ollybritton.com/llms.txt
