Free Singular Values Calculator

[
]

Result

Enter all matrix entries to see the singular values.

What Are Singular Values?

For any m×nm \times n matrix AA, its singular values are defined as the square roots of the eigenvalues of the matrix A∗AA^*A, where A∗A^* denotes the conjugate transpose (or simply the transpose if AA contains only real entries). Because A∗AA^*A is a positive semi‑definite matrix, all its eigenvalues are non‑negative, so the square roots are always well‑defined and real.

The singular values are usually denoted by σ1,σ2,…,σr\sigma_1, \sigma_2, \dots, \sigma_r (where rr is the rank of AA) and are listed in descending order. The largest singular value σ1\sigma_1 gives the operator norm of AA with respect to the Euclidean norm.

How to Use the Singular Values Calculator

This tool makes finding the singular values of a matrix straightforward. You only need to:

  1. Specify the number of rows and columns (the matrix size).
  2. Enter the numerical entries of your matrix into the cells.
  3. The calculator instantly displays the computed singular values at the bottom.

You can test the tool with various matrices – symmetric, diagonal, or rectangular – and observe how the singular values change.

Manual Computation of Singular Values

If you prefer to compute matrix singular values by hand, follow these steps:

  1. Form A∗A^*: Obtain the Hermitian (conjugate) transpose of AA. For real matrices, this is simply the transpose.
  2. Multiply A∗AA^*A: Perform matrix multiplication to get an n×nn \times n matrix.
  3. Find eigenvalues: Solve the characteristic polynomial of A∗AA^*A to get its eigenvalues λ1,λ2,…,λn\lambda_1, \lambda_2, \dots, \lambda_n.
  4. Take square roots: The singular values are σi=λi\sigma_i = \sqrt{\lambda_i} (only the non‑negative ones matter, as eigenvalues of A∗AA^*A are non‑negative).

In practice, the standard approach uses the Singular Value Decomposition (SVD), which factorizes AA into UΣV∗U \Sigma V^* where Σ\Sigma contains the singular values along its diagonal. Many linear algebra calculators incorporate the SVD to deliver results quickly.

Singular Values vs. Eigenvalues

Although both concepts are related, they are not the same:

  • Applicability: Every matrix, regardless of shape, has singular values. Eigenvalues exist only for square matrices.
  • Nature: Singular values are always real and non‑negative. Eigenvalues can be negative, zero, or even complex (for non‑symmetric matrices).

For a diagonal matrix, the singular values equal the absolute values of the diagonal entries. For a symmetric matrix that is also positive semi‑definite, the singular values coincide with the eigenvalues; otherwise, they equal the absolute values of the eigenvalues.

These properties make singular value decomposition a powerful tool for dimensionality reduction, noise filtering, and solving linear systems, beyond what eigenvalue decomposition can offer for non‑square matrices.

FAQ

1. What exactly are singular values of a matrix?

Singular values are defined as the square roots of the eigenvalues of the matrix A*A (or A^H A, depending on whether the matrix is real or complex). Since A*A is positive semi‑definite, its eigenvalues are non‑negative, so singular values are always real and non‑negative numbers. They are typically sorted in descending order.

2. How do I use this calculator to find singular values?

Select the number of rows and columns, fill in the matrix entries, and the singular values will appear immediately below the input fields. No extra steps are needed.

3. Can I compute singular values manually?

Yes. Form the Hermitian transpose A*, multiply A* by A to get an n×n matrix, compute the eigenvalues of that product, then take the square root of each eigenvalue. The non‑negative results are the singular values.

4. What is the difference between singular values and eigenvalues?

Singular values exist for every matrix (square or rectangular), while eigenvalues are defined only for square matrices. Singular values are always real and non‑negative; eigenvalues can be negative or complex. For a symmetric positive‑definite matrix, the two sets are identical.

5. How do singular values behave for diagonal or symmetric matrices?

For a diagonal matrix, the singular values are the absolute values of the diagonal elements. For a symmetric matrix, the singular values equal the absolute eigenvalues; if the symmetric matrix is also positive semi‑definite, the singular values and eigenvalues are exactly the same.

How to Use

  1. Select the matrix size (2×2 or 3×3) using the radio buttons.
  2. Enter all entries of the matrix.
  3. The singular values are computed automatically and displayed in descending order.