Let A=diag(2,0) and b=(8,3). The equation Ax=b has no exact solution because the second output coordinate is always zero. Nevertheless the best attainable output is (8,0), produced by every input (4,t). The smallest input length occurs at t=0. This separates three questions: whether the equation is solvable, which output is nearest, and which input among its preimages has minimum norm.
Predict
Predict why replacing the zero singular value by an infinite reciprocal is meaningless. The missing output coordinate is not merely hard to recover; it never depends on the input. A pseudoinverse instead sets the inverse action on that direction to zero. For a tiny positive singular value the situation is different: the inverse exists but can amplify noise greatly. Exact rank deficiency and unstable near-rank deficiency must not be conflated.
Experiment
In singular coordinates, work one component at a time.
Singular value
Output coefficient
Minimum-norm input coefficient
Residual coefficient
2
8
4
0
0
3
0
−3
Change the zero to 0.01 and recompute the exact input: the second coefficient becomes 300. Compare its length with the truncated solution before deciding which reconstruction is useful for noisy measurements.
Understand
If A=UΣV*, define A⁺=VΣ⁺U*, where Σ⁺ transposes the rectangular shape and replaces each positive singular value by its reciprocal while leaving zeros unchanged. The four Moore–Penrose identities follow by multiplying the diagonal factors: AA⁺A=A, A⁺AA⁺=A⁺, and both AA⁺ and A⁺A are self-adjoint. Their products are orthogonal projections onto im A and (ker A)⊥. Hence AA⁺b is the closest attainable output to b. Every least-squares solution is A⁺b+z with z∈ker A. Because A⁺b is orthogonal to that kernel, the squared input norm is ‖A⁺b‖²+‖z‖², proving unique minimum norm at z=0.
Apply
For approximation, retain only the first k singular terms: A_k=Σⱼ≤k σⱼuⱼvⱼ*. Its operator-norm error is σₖ₊₁, and its Frobenius squared error is the sum of the omitted σⱼ². The operator-norm optimality has a short proof. Any rank-at-most-k matrix B kills a nonzero vector in the span of v₁,…,vₖ₊₁ by rank-nullity. Normalize that vector. Then ‖(A−B)x‖=‖Ax‖≥σₖ₊₁, so no B improves on the truncated error. The best approximation need not be unique, especially at repeated singular values. The tail formula alone does not prove Frobenius optimality; the projection argument below supplies the missing lower bound.
For completeness, Frobenius optimality follows from a projection argument. Let W=im B* be the input-side row space of B and P its orthogonal projection, so B(I−P)=0 and dim W≤k. Orthogonality of the input decomposition gives ‖A−B‖²_F≥‖A(I−P)‖²_F=‖A‖²_F−‖AP‖²_F. In a right singular basis, ‖AP‖²_F=Σσⱼ²‖Pvⱼ‖². These weights lie between zero and one and sum to dim W≤k, so the sum is at most the sum of the first k squared singular values. Therefore every B has at least the omitted squared-singular-value error, attained by A_k.
Continue
These constructions reuse one orthonormal geometry for inversion and compression. Their interpretation depends on the task: minimum input norm is a criterion, not evidence that the true input had that norm. Truncation can suppress noise and erase genuine signal simultaneously. Next, condition numbers will quantify worst-case sensitivity and distinguish a mathematical problem’s instability from errors introduced by a chosen numerical algorithm.
Drafts save locally as you type. Reveal worked solutions when useful; the site remembers that exposure. Automatic matches check the requested answer, while written arguments require review against the rubric.
A=diag(4,0), b=(12,5). What is the first coordinate of A⁺b?
Integers, fractions and finite decimals are accepted. Expressions such as sqrt(2) are not parsed by this checker.
A has singular values 8,5,2,1. What is the best possible operator-norm error of a rank-at-most-2 approximation?
Integers, fractions and finite decimals are accepted. Expressions such as sqrt(2) are not parsed by this checker.
For A=diag(3,0), b=(6,4), find all least-squares solutions and the minimum-norm one.
Structure your argument and preserve revisions
These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.
Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.
Use SVD to show AA⁺ and A⁺A are orthogonal projections.
Structure your argument and preserve revisions
These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.
Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.
Prove any rank-at-most-k B has ‖A−B‖₂≥σₖ₊₁ for k below rank A.
Structure your argument and preserve revisions
These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.
Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.
Why may replacing every tiny singular value by its reciprocal be a poor response to noisy data?
Structure your argument and preserve revisions
These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.
Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.
Reflect and continue
Before marking this lesson complete, explain one key idea without the worked solution and identify a condition that matters. Marking complete records participation, not independent mastery.