How to use this calculator
Measure the principal stretch factors and spectral condition number of a real 2×2 matrix.
- Enter Matrix entries in row order. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Two by two singular values and condition number explained
For a 2×2 matrix, singular values are the square roots of the eigenvalues of AᵀA. The spectral condition number is the largest singular value divided by the smallest; it measures worst-case relative stretching, not the determinant.
Inputs, symbols, and units
a— Matrix entries in row order- Matrix entries in row order. Use comma-separated values in the stated order.
Formula and method
Compute the eigenvalues λ₁≥λ₂≥0 of AᵀA; σ₁=√λ₁, σ₂=√λ₂, and κ₂=σ₁/σ₂. A zero σ₂ gives an infinite condition number.
For the diagonal matrix diag(3,4), the singular values are 4 and 3, so κ₂=4/3≈1.3333. For an exactly rank-deficient matrix, the smaller value is zero and the condition number is infinite.
A worked scenario
Matrix entries in row order = 3, 0, 0, 4.
- Largest singular value: 4
- Smallest singular value: 3
- Spectral condition number: 1.33333333
The result is unchanged by transposing the matrix, though it may change if the entries themselves change. Very ill-conditioned cases can be sensitive to floating-point rounding.
Assumptions and edge cases
Uses floating-point arithmetic; an exactly singular matrix has an infinite condition number. This page does not compute full U and V factors.
Frequently asked questions
Are singular values eigenvalues?
Not generally; singular values are nonnegative stretch factors.
What does a large condition number suggest?
Sensitivity of linear solves to perturbations.
Can a singular matrix be entered?
Yes, its smaller singular value is zero and condition number is reported as Infinite.
How do I use the Two by two singular values and condition number calculator?
Enter Matrix entries in row order. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Two by two singular values and condition number?
Matrix entries in row order = 3, 0, 0, 4. Largest singular value: 4 Smallest singular value: 3 Spectral condition number: 1.33333333 The result is unchanged by transposing the matrix, though it may change if the entries themselves change. Very ill-conditioned cases can be sensitive to floating-point rounding.
Read our calculation methodology.