(i) What changes when the molecule turns?
The target aj stays fixed. The moving atom goes from bj to Qbj. Because Q is orthogonal, the moving atom keeps its distance from the origin. Only the dot product changes when we expand its squared gap.
Add this identity over all atoms. The dot products are the diagonal entries of , so their sum is its trace.
The first two terms are fixed. The largest trace gives the smallest error. Squaring the error preserves the minimiser because the error is nonnegative.
(ii) How large can the trace be?
Move AT to the end of the trace using the cyclic trace rule. This puts B next to AT. Take the SVD of that product, . After substitution, cycle VT to the front.
Write . As a product of orthogonal matrices, Z is orthogonal. Each column has length one, so each diagonal entry is at most 1. Since Σ is diagonal, the trace is a weighted sum of those entries.
Each weight is nonnegative. The bound is reached if every diagonal entry is 1.
(iii) Which matrix reaches the bound?
Choose Z = I. To recover Q, multiply by V on the left and by UT on the right.
Read one column at a time. The fit sends each left singular vector ui of BAT to the corresponding right singular vector vi. The product VUT is orthogonal, so this choice is allowed and attains the maximum trace.
(iv) The orthogonal Procrustes solution
Let A and B be real m × n matrices. If is a full SVD, then Q∗ = VUT minimises over all orthogonal m × m matrices Q. If a singular value of BAT is zero, the minimiser need not be unique.
The minimum squared error is . Its square root is the minimum error displayed in the lab.
Check the result on the seven-atom molecule
Set the planar target misfit to zero and leave reflection off. Compare the starting angle with the angle given by the SVD.
| Planar fit | Trace | Frobenius error |
| Starting angle (0°) | 23.166 | 3.762 |
|---|
| SVD fit (−40°) | 30.241 | 0 |
To three decimal places, the singular values are 24.918 and 5.323. Their sum is 30.241, the trace at the best fit. For the red atom (column 7), the clockwise turn gives
Compare the result with the red target in the coordinates table. The same turn matches the other six atoms, giving zero total error.