Build a reflection
A column has leading entries \(x=(3,4)^T\). Using the target \((-5,0)^T\), construct the reflector, apply it to \(y=(0,5)^T\), and check preservation of the angle between the columns.
Worked solution
Take \(v=x+5e_1=(8,4)^T\). Then
It sends \(x\) to \((-5,0)^T\) and \(y\) to \((-4,3)^T\).
Both lengths stay five. The original dot product is 20 and the transformed dot product is also 20, so the cosine is \(20/25=0.8\). Retaining the reflector vector suffices to apply the same transformation to another load.
Try this calculation. Change the parameters in the corresponding calculation and compare its independently recomputed values with the equation derived in this solution.
Detect a missing direction
A measurement matrix has rows \((1,1)\) and \((2,2)\). Compute its singular values. For observations \(b=(3,6)^T\), find every exact solution and the one of smallest Euclidean norm.
Worked solution
The Gram matrix has both rows equal to \((5,5)\), so its eigenvalues are 10 and 0. The singular values are \(\sqrt{10}\) and zero. The null direction is \((1,-1)\).
The independent measurement requires \(x_1+x_2=3\). Write \(x=(1.5+t,1.5-t)^T\); its squared length is \(4.5+2t^2\), minimised at \(t=0\). Doubling a measurement supplies no independent information about \(t\).
Try this calculation. Explore the continuum of parameter pairs with the same observed sum, and see how a chosen norm selects one pair.
Decide whether to truncate
Let \(A=\operatorname{diag}(4,0.02)\) and observe \(b=(4,0.03)^T\) with a possible second-component error of 0.02. Find the unregularised estimate, propagate the uncertainty, and compare with a truncated SVD retaining singular values above 0.1.
Worked solution
Direct inversion gives \((1,1.5)^T\); an observational error of 0.02 in the second component propagates to an uncertainty of one unit in \(x_2\). The interval of consistent values is \([0.5,2.5]\).
Truncating gives \((1,0)^T\) and residual norm 0.03. Truncation suppresses noise amplification but also discards the second-coordinate signal. The predicted second measurement is now outside the stated uncertainty range, which is evidence against this cutoff for these data.
Explore the related calculation with adjustable inputs. Change the parameters in the corresponding calculation and compare its independently recomputed values with the equation derived in this solution.