Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools


Singular Value Decomposition


AᵀA gives the singular values and V; uᵢ = A vᵢ / σᵢ gives U; then A = U Σ Vᵀ, a sum of rank-one pieces.

Preset?Every matrix, square or not, maps the unit sphere to an ellipsoid. The singular values σᵢ are the semi-axes, the columns of U their directions in the output space, and the columns of V the input directions that land on them: A vᵢ = σᵢ uᵢ. Computing it by hand goes through AᵀA, whose eigenvalues are σᵢ² and whose eigenvectors are the vᵢ; then uᵢ = A vᵢ / σᵢ.
Size
A2×2
Entries of A
A2×2
3
0
4
5
Step 1 / 11

Step explanations

1Singular value decomposition of a 2×2 matrix
The goal is A = U Σ Vᵀ with U (m×m) and V (n×n) orthogonal and Σ (m×n) diagonal with the singular values σ₁ ≥ σ₂ ≥ … ≥ 0. Geometrically: A sends the orthonormal input directions vᵢ to the orthogonal output directions σᵢuᵢ — the unit sphere becomes an ellipsoid with semi-axes σᵢ. Plan: form AᵀA, take its eigenvalues and eigenvectors, set σᵢ = √λᵢ and uᵢ = A vᵢ / σᵢ, and assemble.
Two orthogonal matrices and a diagonal one, for every matrix. Learn more about the first step · what the SVD is








Key Terms

Singular value decomposition (SVD)A=UΣVTA = U\Sigma V^T for any m×nm \times n matrix, with UU (m×mm \times m) and VV (n×nn \times n) orthogonal and Σ\Sigma (m×nm \times n) diagonal.

Singular values — the diagonal entries σ1σ20\sigma_1 \geq \sigma_2 \geq \cdots \geq 0 of Σ\Sigma; the square roots of the eigenvalues of ATAA^TA.

Right singular vectors — the columns vi\mathbf{v}_i of VV, orthonormal eigenvectors of ATAA^TA; the input directions.

Left singular vectors — the columns ui\mathbf{u}_i of UU, with ui=Avi/σi\mathbf{u}_i = A\mathbf{v}_i / \sigma_i for σi>0\sigma_i > 0; the output directions.

Rank — the number of non-zero singular values.

Rank-one formA=σiuiviTA = \sum \sigma_i\mathbf{u}_i\mathbf{v}_i^T; truncating it gives the best low-rank approximation.

Spectral normA2=σ1\|A\|_2 = \sigma_1, the largest stretch; Frobenius normσi2\sqrt{\sum\sigma_i^2}.

Condition numberσ1/σr\sigma_1 / \sigma_r, the ratio of largest to smallest non-zero singular value.

PseudoinverseA+=VΣ+UTA^+ = V\Sigma^+U^T, inverting the non-zero singular values; gives least-squares solutions.

Getting Started with the Visualizer

Choose a matrix of any shape from 2×22 \times 2 to 3×33 \times 3 and watch it factor into UΣVTU\Sigma V^T.

• Use the Preset pills for seven matrices: a classic 2×22 \times 2, a rank-one matrix, a symmetric one, a rotation, a wide 2×32 \times 3, a tall 3×23 \times 2, and a 3×33 \times 3 with a repeated singular value
• Use the two Size steppers for rows and columns independently, and Shuffle for a random small-integer matrix
• Edit any entry directly
• Hover the ? icon for a reminder of what the pieces mean geometrically
• Press play or step manually; the step log on the right keeps every stage

The computation is the hand method: eigenvalues and eigenvectors of ATAA^TA, square roots for the singular values, ui=Avi/σi\mathbf{u}_i = A\mathbf{v}_i / \sigma_i, and completion of UU when the rank is less than mm. The eigenvalues of ATAA^TA are reported rather than derived, since the eigenvalue visualizer shows that derivation.

The Scenes in Order

The visualizer follows the textbook procedure exactly.

Form ATAA^TA — an n×nn \times n symmetric positive semidefinite matrix
Eigenvalues and singular valuesλi0\lambda_i \geq 0 of ATAA^TA in decreasing order and σi=λi\sigma_i = \sqrt{\lambda_i}, with the rank read off and σi2\sum\sigma_i^2 checked against the sum of squared entries
Right singular vectors — for each eigenvalue, ATAλIA^TA - \lambda I row reduced and one integer vector per free column, orthogonalized inside a repeated eigenspace, then normalized
Left singular vectorsui=Avi/σi\mathbf{u}_i = A\mathbf{v}_i / \sigma_i for each σi>0\sigma_i > 0, with the length of AviA\mathbf{v}_i confirmed as σi\sigma_i
Complete UU — only when there are fewer non-zero singular values than rows: Gram–Schmidt on standard basis vectors fills the remaining orthonormal columns
AssembleUU, the rectangular Σ\Sigma, and VTV^T
FactorA=UΣVTA = U \cdot \Sigma \cdot V^T multiplied out
Rank-one sumA=σ1u1v1T+σ2u2v2T+A = \sigma_1\mathbf{u}_1\mathbf{v}_1^T + \sigma_2\mathbf{u}_2\mathbf{v}_2^T + \cdots
Done — rank, norms, condition number, the ellipse picture, and the four fundamental subspaces

Forming A Transpose A

The first move is to multiply ATA^T by AA. The frozen picture below shows it for the default preset: ATA=(25202025)A^TA = \begin{pmatrix} 25 & 20 \\ 20 & 25 \end{pmatrix}, symmetric, with the squared column lengths on the diagonal and the dot product of the columns off it.

Everything about the singular values and VV is in this matrix.
Aᵀ2×23405·A2×23045=AᵀA2×225202025
AᵀA, frozen

The default preset: AᵀA = [25, 20; 20, 25], symmetric with the squared column lengths on the diagonal and the dot product of the columns off it.

ATAA^TA is symmetric because (ATA)T=ATA(A^TA)^T = A^TA, and positive semidefinite because xTATAx=Ax20\mathbf{x}^TA^TA\mathbf{x} = |A\mathbf{x}|^2 \geq 0. So the spectral theorem applies: real non-negative eigenvalues and an orthonormal eigenvector basis. That is why the SVD of an arbitrary matrix reduces to the spectral decomposition of a symmetric one.

The other product, AATAA^T, has the same non-zero eigenvalues and gives UU directly. The tool uses ATAA^TA for VV and then Avi/σiA\mathbf{v}_i / \sigma_i for UU, which is less work and keeps the signs consistent automatically.

The Singular Values

The frozen picture below shows ATAA^TA leading to its eigenvalues 4545 and 55 and then to σ=45,5\sigma = \sqrt{45}, \sqrt{5}.

Both are non-zero, so the rank is 22, and 45+5=5045 + 5 = 50 equals the sum of the squared entries of AA.
AᵀA2×225202025λ of AᵀA455σ = √λ√45√5
Singular values, frozen

Eigenvalues 45 and 5 of AᵀA, then σ = √45, √5. Both non-zero: rank 2. Check: 45 + 5 = 50 = 9 + 0 + 16 + 25.

The singular values are the lengths of the semi-axes of the ellipse that AA makes from the unit circle. The largest, 456.7\sqrt{45} \approx 6.7, is the most any unit vector is stretched, the spectral norm; the smallest non-zero, 52.2\sqrt{5} \approx 2.2, is the least, and their ratio 33 is the condition number.

The identity σi2=aij2\sum\sigma_i^2 = \sum a_{ij}^2 is the quickest check on the arithmetic. It holds because both sides equal the trace of ATAA^TA: the left as the sum of its eigenvalues, the right as the sum of its diagonal entries.

From v to u

The frozen picture below shows the first left singular vector: AA applied to v1=(1,1)/2\mathbf{v}_1 = (1, 1)/\sqrt{2} gives (3,9)/2(3, 9)/\sqrt{2}, of length 45\sqrt{45} exactly, and dividing by σ1\sigma_1 leaves the unit vector u1=(1,3)/10\mathbf{u}_1 = (1, 3)/\sqrt{10}.

The length of Av1A\mathbf{v}_1 coming out as σ1\sigma_1 is not luck: Av2=vTATAv=λ|A\mathbf{v}|^2 = \mathbf{v}^TA^TA\mathbf{v} = \lambda.
A2×23045v₁0.70710.7071=A v₁2.12136.364u₁0.31620.9487
u₁ = A v₁ / σ₁, frozen

A times v₁ = (1, 1)/√2 gives (3, 9)/√2, of length √45 exactly; dividing by σ₁ leaves u₁ = (1, 3)/√10.

This is the step that makes the SVD geometric. The vi\mathbf{v}_i are the perpendicular input directions along which AA acts as a pure stretch, and ui\mathbf{u}_i is where each one lands. The ui\mathbf{u}_i are perpendicular to one another because AviAvj=viTATAvj=λjvivj=0A\mathbf{v}_i \cdot A\mathbf{v}_j = \mathbf{v}_i^TA^TA\mathbf{v}_j = \lambda_j\,\mathbf{v}_i\cdot\mathbf{v}_j = 0.

Contrast eigenvectors, where the input and output directions are the same. For a non-symmetric matrix that requirement is what forces skewed or complex eigenvectors; the SVD gives up on it, allows two different orthonormal bases, and in exchange works for every matrix.

The Factorization

The frozen picture below shows A=UΣVTA = U\Sigma V^T for the default preset, with the columns of UU, the diagonal of Σ\Sigma and the rows of VTV^T in matching colours.

Read from the right: VTV^T rotates the input by 45°45°, Σ\Sigma stretches by 45\sqrt{45} and 5\sqrt{5}, and UU rotates and reflects into the output axes.
A2×23045=U2×20.31620.94870.9487−0.3162·Σ2×26.7082002.2361·Vᵀ2×20.70710.70710.7071−0.7071
A = U Σ Vᵀ, frozen

Columns of U, diagonal of Σ and rows of Vᵀ in matching colours. Rotate by 45°, stretch by √45 and √5, rotate again: the product reproduces A.

Every matrix is a rotation, a stretch along the axes, and another rotation; that is the whole statement, and it holds in any dimensions, including mnm \neq n, where Σ\Sigma is rectangular and either drops input dimensions or embeds into extra output dimensions.

Because UU and VV are orthogonal, they preserve lengths, so all the stretching is in Σ\Sigma. This is what makes the singular values the right measure of a matrix's size and conditioning, and why numerical algorithms for the SVD are the most trusted in linear algebra: nothing in the orthogonal factors can amplify error.

The Rank-One Expansion

The frozen picture below shows the default preset as 45u1v1T+5u2v2T\sqrt{45}\,\mathbf{u}_1\mathbf{v}_1^T + \sqrt{5}\,\mathbf{u}_2\mathbf{v}_2^T: two rank-one matrices adding to AA.

The first term alone is the best rank-one approximation of AA; its error, in the spectral norm, is 5\sqrt{5}.
A2×23045=√45·u₁v₁ᵀ2×23/23/29/29/2+√5·u₂v₂ᵀ2×23/2−3/2−1/21/2
Rank-one expansion, frozen

A = √45 u₁v₁ᵀ + √5 u₂v₂ᵀ. The first term alone is the best rank-one approximation of A, with error √5.

Each term σiuiviT\sigma_i\mathbf{u}_i\mathbf{v}_i^T takes the component of the input along vi\mathbf{v}_i, scales it by σi\sigma_i, and outputs it along ui\mathbf{u}_i. The terms are ordered by σi\sigma_i, so the sum lists the actions of AA from most to least significant. Truncating after kk terms gives the nearest rank-kk matrix, a theorem due to Eckart and Young, and the discarded singular values measure exactly what was lost.

For a 2×22 \times 2 matrix the expansion is a curiosity. For a 1000×10001000 \times 1000 image it is compression: a few dozen terms often reproduce the picture, and the singular values say how many are needed.

Completing U

The tall preset (101101)\begin{pmatrix} 1 & 0 \\ 1 & 1 \\ 0 & 1 \end{pmatrix} has two singular values, 3\sqrt{3} and 11, and Avi/σiA\mathbf{v}_i / \sigma_i gives two columns of UU. But UU must be 3×33 \times 3. The frozen picture below shows the completed UU: u1=(1,2,1)/6\mathbf{u}_1 = (1, 2, 1)/\sqrt{6}, u2=(1,0,1)/2\mathbf{u}_2 = (1, 0, -1)/\sqrt{2}, and a third column (1,1,1)/3(1, -1, 1)/\sqrt{3} perpendicular to both.

The third column multiplies a zero row of Σ\Sigma and does not affect the product.
U3×30.40820.70710.57740.81650−0.57740.4082−0.70710.5774
Completing U, frozen

The tall preset: two columns from A vᵢ / σᵢ, and a third, (1, −1, 1)/√3, from Gram–Schmidt on e₁. It spans the left null space and multiplies a zero row of Σ.

The added column spans the left null space of AA, the vectors y\mathbf{y} with ATy=0A^T\mathbf{y} = \mathbf{0}; it is the direction in the output space that AA cannot reach. Gram–Schmidt on a standard basis vector finds it: subtract the projections onto u1\mathbf{u}_1 and u2\mathbf{u}_2 and normalize what is left.

Many texts avoid the completion by using the reduced SVD, with UU of size m×rm \times r and Σ\Sigma square r×rr \times r. The product is the same; the full form is the one with UU orthogonal, and the one that displays all four fundamental subspaces at once.

A Rank-One Matrix

The rank-one preset (1224)\begin{pmatrix} 1 & 2 \\ 2 & 4 \end{pmatrix} has singular values 55 and 00. The frozen picture below shows its expansion: a single term, 5u1v1T5\,\mathbf{u}_1\mathbf{v}_1^T with u1=v1=(1,2)/5\mathbf{u}_1 = \mathbf{v}_1 = (1, 2)/\sqrt{5}, which is the matrix itself.

The zero singular value contributes nothing, and v2=(2,1)/5\mathbf{v}_2 = (2, -1)/\sqrt{5} spans the null space.
A2×21224=5·u₁v₁ᵀ2×21224
A rank-one matrix, frozen

The rank-one preset: σ = 5 and 0, so the expansion has one term, 5 u₁v₁ᵀ with u₁ = v₁ = (1, 2)/√5 - which is A itself.

A rank-one matrix is an outer product σuvT\sigma\mathbf{u}\mathbf{v}^T, and the SVD recognizes it as such: one term and nothing else. The second column of VV is the direction AA collapses, and the second column of UU, obtained by completion, the direction AA never reaches.

The condition number of a singular matrix is infinite, and the tool says so. Near-singular matrices, with a small but non-zero σ2\sigma_2, are the practical concern: their condition number is large, and solving with them amplifies errors by that factor.

Reading the Scene Player

Each scene shows the matrices for one step with the arithmetic in the caption.

• The columns of UU, the diagonal of Σ\Sigma and the rows of VTV^T share one colour per index, since each triple is one equation Avi=σiuiA\mathbf{v}_i = \sigma_i\mathbf{u}_i
• Non-zero singular values are accent, zero ones muted; the off-diagonal zeros of Σ\Sigma are grey
• Entries of UU and VV are decimals because they involve square roots; the captions give the exact forms, such as (1,3)/10(1, 3)/\sqrt{10}, and the singular values as 45\sqrt{45} rather than 6.7086.708 when they are square roots of integers
• In the completion scene the columns obtained from AviA\mathbf{v}_i keep their colours and the added columns are secondary
• The rank-one terms are shown as separate matrices that add up to AA

Choosing a Matrix

The seven presets each make a different point.

2×22 \times 2 classic(3045)\begin{pmatrix} 3 & 0 \\ 4 & 5 \end{pmatrix} with σ=45,5\sigma = \sqrt{45}, \sqrt{5}; VV is the 45°45° rotation and UU has columns (1,3)/10(1, 3)/\sqrt{10} and (3,1)/10(3, -1)/\sqrt{10}
Rank one(1224)\begin{pmatrix} 1 & 2 \\ 2 & 4 \end{pmatrix} with σ=5,0\sigma = 5, 0; one term, and UU needs completing
Symmetric(2112)\begin{pmatrix} 2 & 1 \\ 1 & 2 \end{pmatrix}; the singular values are the eigenvalues 3,13, 1 and U=VU = V, so the SVD is the spectral decomposition
Rotationσ=1,1\sigma = 1, 1; a repeated singular value, V=IV = I and UU is the rotation itself
Wide 2×32 \times 3σ=3,1\sigma = \sqrt{3}, 1 and a third v3\mathbf{v}_3 with λ=0\lambda = 0 spanning the null space
Tall 3×23 \times 2σ=3,1\sigma = \sqrt{3}, 1 and a third column of UU from Gram–Schmidt
3×33 \times 3σ=2,1,1\sigma = 2, 1, 1; a repeated singular value needing Gram–Schmidt inside the eigenspace of ATAA^TA

Shuffle produces small-integer matrices whose singular values are usually irrational; the tool shows them to four decimals.

What the SVD Is

Every real m×nm \times n matrix can be written as

A=UΣVTA = U\Sigma V^T


with UU an m×mm \times m orthogonal matrix, VV an n×nn \times n orthogonal matrix, and Σ\Sigma an m×nm \times n matrix whose only non-zero entries are σ1σ2σr>0\sigma_1 \geq \sigma_2 \geq \cdots \geq \sigma_r > 0 on the diagonal, where rr is the rank. Column by column the equation says

Avi=σiuiA\mathbf{v}_i = \sigma_i\mathbf{u}_i


An orthonormal set of input directions is sent to an orthogonal set of output directions, each scaled by its singular value. The unit sphere in Rn\mathbb{R}^n becomes an ellipsoid in Rm\mathbb{R}^m with semi-axes σi\sigma_i along ui\mathbf{u}_i; directions with σi=0\sigma_i = 0 are flattened away.

The hand computation goes through ATAA^TA. Substituting the factorization, ATA=VΣTΣVTA^TA = V\Sigma^T\Sigma V^T, which is the spectral decomposition of the symmetric matrix ATAA^TA with eigenvalues σi2\sigma_i^2 and eigenvectors vi\mathbf{v}_i. So the vi\mathbf{v}_i and σi\sigma_i come from a symmetric eigenvalue problem, and then ui=Avi/σi\mathbf{u}_i = A\mathbf{v}_i / \sigma_i for each positive σi\sigma_i. These ui\mathbf{u}_i are automatically orthonormal, because AviAvj=viTATAvj=σj2vivjA\mathbf{v}_i \cdot A\mathbf{v}_j = \mathbf{v}_i^TA^TA\mathbf{v}_j = \sigma_j^2\,\mathbf{v}_i\cdot\mathbf{v}_j. If r<mr < m, the remaining columns of UU are any orthonormal completion.

Expanding the product gives the other form,

A=σ1u1v1T+σ2u2v2T++σrurvrTA = \sigma_1\mathbf{u}_1\mathbf{v}_1^T + \sigma_2\mathbf{u}_2\mathbf{v}_2^T + \cdots + \sigma_r\mathbf{u}_r\mathbf{v}_r^T


a sum of rr rank-one matrices in decreasing order of importance. Keeping the first kk terms gives the closest rank-kk matrix to AA, in both the spectral and Frobenius norms, which is why the SVD underlies compression and dimensionality reduction. For the theory, see the singular value decomposition page and the spectral decomposition theory page.

Key Properties

Facts that hold for every matrix.

Existence: every matrix has an SVD, square or not, invertible or not, symmetric or not
Singular values are unique; UU and VV are unique up to signs when the singular values are distinct, and up to rotations within a repeated one
Rank is the number of non-zero singular values, and the SVD is the numerically reliable way to compute it
Norms: A2=σ1\|A\|_2 = \sigma_1 and AF2=σi2=\|A\|_F^2 = \sum\sigma_i^2 = the sum of the squares of all entries
Condition number σ1/σr\sigma_1 / \sigma_r measures how much AA amplifies relative errors when solving Ax=bA\mathbf{x} = \mathbf{b}
Four subspaces: u1,,ur\mathbf{u}_1, \ldots, \mathbf{u}_r span the column space, ur+1,\mathbf{u}_{r+1}, \ldots the left null space, v1,,vr\mathbf{v}_1, \ldots, \mathbf{v}_r the row space, vr+1,\mathbf{v}_{r+1}, \ldots the null space, all orthonormal
Pseudoinverse: A+=VΣ+UTA^+ = V\Sigma^+U^T, with Σ+\Sigma^+ inverting the non-zero singular values; A+bA^+\mathbf{b} is the least-squares solution of minimum length
Inverse: for square invertible AA, A1=VΣ1UTA^{-1} = V\Sigma^{-1}U^T and the singular values of A1A^{-1} are 1/σi1/\sigma_i
Symmetric positive semidefinite AA: the SVD is the spectral decomposition, U=VU = V and σi=λi\sigma_i = \lambda_i; for symmetric AA in general, σi=λi\sigma_i = |\lambda_i|
Determinant: for square AA, detA=σi|\det A| = \prod\sigma_i

Why It Matters

The SVD is the factorization that works for every matrix, and most of applied linear algebra rests on it.

Low-rank approximation: keeping the largest singular values compresses images, signals and data matrices with the least possible error
Principal component analysis: the right singular vectors of a centred data matrix are the principal components and the singular values measure the variance along them, without ever forming the covariance matrix
Least squares: the pseudoinverse solves overdetermined and rank-deficient systems, and the singular values show which directions are poorly determined
Numerical rank and conditioning: tiny singular values reveal near-dependence among columns that Gaussian elimination cannot see reliably
Recommender systems and latent semantic analysis: users-by-items and documents-by-terms matrices are factored into a few dominant rank-one patterns
Geometry of a map: the singular vectors and values give the exact stretching, in any dimension, for matrices that are not square and have no eigenvectors
Polar decomposition and Procrustes: A=(UVT)(VΣVT)A = (UV^T)(V\Sigma V^T) splits any map into a rotation and a symmetric stretch, and UVTUV^T is the nearest orthogonal matrix to AA

Worked Example

Take the default preset,

A=(3045)A = \begin{pmatrix} 3 & 0 \\ 4 & 5 \end{pmatrix}


ATAA^TA. ATA=(25202025)A^TA = \begin{pmatrix} 25 & 20 \\ 20 & 25 \end{pmatrix}.

Eigenvalues. λ250λ+225=0\lambda^2 - 50\lambda + 225 = 0 gives λ=45,5\lambda = 45, 5, so σ1=45\sigma_1 = \sqrt{45} and σ2=5\sigma_2 = \sqrt{5}. Check: 45+5=50=9+0+16+2545 + 5 = 50 = 9 + 0 + 16 + 25.

Right singular vectors. For 4545: ATA45I=(20202020)A^TA - 45I = \begin{pmatrix} -20 & 20 \\ 20 & -20 \end{pmatrix} gives v1=(1,1)/2\mathbf{v}_1 = (1, 1)/\sqrt{2}. For 55: (20202020)\begin{pmatrix} 20 & 20 \\ 20 & 20 \end{pmatrix} gives v2=(1,1)/2\mathbf{v}_2 = (1, -1)/\sqrt{2}.

Left singular vectors. Av1=(3,9)/2A\mathbf{v}_1 = (3, 9)/\sqrt{2}, of length 90/2=45\sqrt{90/2} = \sqrt{45}, so u1=(3,9)/90=(1,3)/10\mathbf{u}_1 = (3, 9)/\sqrt{90} = (1, 3)/\sqrt{10}. Av2=(3,1)/2A\mathbf{v}_2 = (3, -1)/\sqrt{2}, of length 5\sqrt{5}, so u2=(3,1)/10\mathbf{u}_2 = (3, -1)/\sqrt{10}. Their dot product is 00.

Assemble.

U=110(1331),Σ=(45005),VT=12(1111)U = \frac{1}{\sqrt{10}}\begin{pmatrix} 1 & 3 \\ 3 & -1 \end{pmatrix}, \qquad \Sigma = \begin{pmatrix} \sqrt{45} & 0 \\ 0 & \sqrt{5} \end{pmatrix}, \qquad V^T = \frac{1}{\sqrt{2}}\begin{pmatrix} 1 & 1 \\ 1 & -1 \end{pmatrix}


Check. ΣVT=12(454555)\Sigma V^T = \frac{1}{\sqrt{2}}\begin{pmatrix} \sqrt{45} & \sqrt{45} \\ \sqrt{5} & -\sqrt{5} \end{pmatrix}, and UΣVT=120(45+3545353455345+5)U\Sigma V^T = \frac{1}{\sqrt{20}}\begin{pmatrix} \sqrt{45} + 3\sqrt{5} & \sqrt{45} - 3\sqrt{5} \\ 3\sqrt{45} - \sqrt{5} & 3\sqrt{45} + \sqrt{5} \end{pmatrix}. With 45=35\sqrt{45} = 3\sqrt{5} and 20=25\sqrt{20} = 2\sqrt{5} this is 12(60810)=A\frac{1}{2}\begin{pmatrix} 6 & 0 \\ 8 & 10 \end{pmatrix} = A.

Numbers. Rank 22, A2=456.71\|A\|_2 = \sqrt{45} \approx 6.71, AF=50\|A\|_F = \sqrt{50}, condition number 45/5=3\sqrt{45}/\sqrt{5} = 3, and detA=15=455|\det A| = 15 = \sqrt{45}\sqrt{5}. The unit circle maps to an ellipse with semi-axes 45\sqrt{45} along (1,3)(1, 3) and 5\sqrt{5} along (3,1)(3, -1).

Common Mistakes

A few mistakes recur.

Forgetting the square root — the eigenvalues of ATAA^TA are σi2\sigma_i^2, not σi\sigma_i
Taking eigenvectors of AA instead of ATAA^TA — for a non-symmetric matrix they are different, and AA may not have real eigenvectors at all
Mismatched signs — if vi\mathbf{v}_i is replaced by vi-\mathbf{v}_i then ui\mathbf{u}_i must be too; ui\mathbf{u}_i is computed from vi\mathbf{v}_i, never chosen independently
Wrong order — the singular values must decrease along the diagonal, and UU and VV must follow the same order
Square Σ\Sigma for a rectangular AAΣ\Sigma has the shape of AA, with zero rows or columns making up the difference
Stopping at rr columns of UUUU must be square and orthogonal; the extra columns come from an orthonormal completion, though the reduced SVD, with UU of size m×rm \times r, is also standard
Forgetting to normalize vi\mathbf{v}_i — an integer eigenvector gives the right direction but the wrong length for Avi=σiuiA\mathbf{v}_i = \sigma_i\mathbf{u}_i
Reading singular values as eigenvalues — they agree only for symmetric positive semidefinite matrices; in general σiλi\sigma_i \neq |\lambda_i|