← All practice sets

Practice · Unit 2 Rigid Body Motions

Rotation matrices

Cross products, the column rule, basic rotations and the R vs Rᵀ trap. A 3D frame to play with, then endless generated problems that tell you exactly what went wrong.

The method formulary

Cross product

a×b=[aybz−azbyazbx−axbzaxby−aybx]a \times b = \begin{bmatrix} a_y b_z - a_z b_y \\ a_z b_x - a_x b_z \\ a_x b_y - a_y b_x \end{bmatrix}

Check: dot it with a and with b, both give 0. Order matters: b × a = −(a × b).

Rotation matrix from a figure

R=[x^′y^′z^′]R = \begin{bmatrix} \color{#d9776b}{\hat x'} & \color{#9bbf7f}{\hat y'} & \color{#7fa3d9}{\hat z'} \end{bmatrix}

Column j = new axis j, written in old coordinates. RGB = XYZ.

Basic rotations

Rx=[1000c−s0sc]  Ry=[c0s010−s0c]  Rz=[c−s0sc0001]R_x = \begin{bmatrix} 1&0&0 \\ 0&c&\color{#bda04a}{-s} \\ 0&s&c \end{bmatrix} \; R_y = \begin{bmatrix} c&0&s \\ 0&1&0 \\ \color{#bda04a}{-s}&0&c \end{bmatrix} \; R_z = \begin{bmatrix} c&\color{#bda04a}{-s}&0 \\ s&c&0 \\ 0&0&1 \end{bmatrix}

Ry is the odd one: −s sits bottom-left. The cyclic order goes z → x.

Sanity checks

RT=R−1det⁡R=+1x^′×y^′=z^′\begin{gathered} R^T = R^{-1} \qquad \det R = +1 \\ \hat x' \times \hat y' = \hat z' \end{gathered}

Fail one and something is wrong. Symmetric R means 180° (or I).

Exam shortcut

R x^=column 1 of RR\,\hat x = \text{column 1 of } R

Rotating a basis vector needs no multiplication: read off the column.

Play with it drag to orbit

Dashed = old frame · coloured = new frame
Rotate about
90°

Drill endless, mixed

A new problem every time. Switch types on or off. Exact values work in the boxes: type √3/2, sqrt(2)/2, 1/2 or 0.866. The streak only counts first-try answers without the solution.

Loading…

Open