When is the Frobenius norm of a matrix equal to the 2-norm of a matrix?

In summary: So if det(A)=0, the two norms are equal.In summary, the Frobenius and 2-norm of a matrix are equal if and only if the matrix has rank 1 or if the matrix is singular (i.e. its determinant is 0). More generally, the 2-norm is always less than or equal to the Frobenius norm, with the difference being the square root of the rank of the matrix. This can be seen from the formulas for the two norms and the fact that the rank of a matrix is equal to the number of nonzero singular values.
  • #1
GridironCPJ
44
0
What conditions most be true for these two norms to be equal? Or are they always equal?
 
Physics news on Phys.org
  • #2
GridironCPJ said:
What conditions most be true for these two norms to be equal? Or are they always equal?



I'm far from being a specialist in this, but it seems to me that "Frobenius norm of a matrix" is just the name given to the 2-norm...

Don
 
  • #3
Well, in the applied linear algebra course I'm taking currently, the Frobenius norm of a matrix A is defined as the square root of the trace of A'A and the 2-norm is defined as the square root of the largest eigenvalue of A'A. I'm just not sure if they're always the same.
 
  • #4
The Frobenius and 2-norm of a matrix coincide if and only if the matrix has rank 1 (i.e. if and only if the matrix can be represented as A=c r, where r is a row and c is a column).

You can see that from the fact that Frobenius norm is [itex]\left( \sum_k s_k^2\right)^{1/2}[/itex] and the 2-norm is [itex]\max s_k[/itex], where [itex]s_k[/itex] are singular values. So equality happens if and only if there is only one non-zero singular value, which is equivalent to the fact that the rank is 1.
 
  • #5
Hawkeye18 said:
The Frobenius and 2-norm of a matrix coincide if and only if the matrix has rank 1 (i.e. if and only if the matrix can be represented as A=c r, where r is a row and c is a column).

You can see that from the fact that Frobenius norm is [itex]\left( \sum_k s_k^2\right)^{1/2}[/itex] and the 2-norm is [itex]\max s_k[/itex], where [itex]s_k[/itex] are singular values. So equality happens if and only if there is only one non-zero singular value, which is equivalent to the fact that the rank is 1.

Excellent, thank you. The matrix in a proof I'm working on involves a rank 1 matrix, so this equality of the two norms applies perfectly.
 
  • #6
Hawkeye18 said:
The Frobenius and 2-norm of a matrix coincide if and only if the matrix has rank 1

More generally, ##||A||_2 \le ||A||_F \le \sqrt{r}||A||_2## where r is the rank of A.
 
  • #7
AlephZero said:
More generally, ##||A||_2 \le ||A||_F \le \sqrt{r}||A||_2## where r is the rank of A.

May you shed some light on this? Or quote any possible reference? Thanks
 
  • #8
tomz said:
May you shed some light on this? Or quote any possible reference? Thanks
Assuming you accept Hawkeye18's formulas, namely
$$\|A\|_F = \left( \sum_k s_k^2\right)^{1/2}$$
and
$$\|A\|_2 = \max{s_k}$$
then we have
$$\|A\|_2 = \max{s_k} = \left( (\max{s_k})^2\right)^{1/2} \leq \left( \sum_{k} s_k^2 \right)^{1/2} = \|A\|_F$$

For the second inequality, note that the rank of ##A## is precisely the number of nonzero singular values. Let's sort the singular values so that the nonzero ones all come first. Then for a rank ##r## matrix, we have
$$\|A\|_F = \left( \sum_{k=1}^{r} s_k^2\right) ^{1/2} \leq \left( \sum_{k=1}^{r} (\max s_k)^2 \right)^{1/2} = (r (\max s_k)^2)^{1/2} = \sqrt{r} \|A\|_2$$
Equality holds if and only if the ##r## nonzero singular values are all equal.
 
  • Like
Likes hairetikos and jim mcnamara
  • #9
when matrix A is Singular which means det(A)=0.
 

1. What is the difference between the Frobenius norm and the 2-norm of a matrix?

The Frobenius norm of a matrix is a measure of its magnitude, calculated by taking the square root of the sum of the squares of all its elements. The 2-norm, also known as the spectral norm, is the largest singular value of the matrix, which is related to the maximum stretch factor of the matrix.

2. When is the Frobenius norm equal to the 2-norm of a matrix?

The Frobenius norm is equal to the 2-norm of a matrix when the matrix is symmetric and positive definite. This means that the matrix has a full set of real eigenvalues, all of which are greater than zero.

3. Can the Frobenius norm ever be larger than the 2-norm of a matrix?

No, the Frobenius norm is always smaller or equal to the 2-norm of a matrix. This is because the 2-norm is the maximum singular value of the matrix, while the Frobenius norm is the root sum of squares of all singular values.

4. How is the Frobenius norm related to the Euclidean norm?

The Frobenius norm is equivalent to the Euclidean norm when applied to vectors, as both are calculated by taking the square root of the sum of the squares of the vector's components. However, for matrices, the Frobenius norm is the square root of the sum of the squares of all elements, while the Euclidean norm is not defined for matrices.

5. Why is the Frobenius norm commonly used in machine learning and statistics?

The Frobenius norm is commonly used in machine learning and statistics because it is a convenient way to measure the difference between two matrices. It is also a useful metric for regularization methods, as it penalizes larger matrices more heavily than smaller ones, encouraging simpler and more generalizable models.

Similar threads

  • Linear and Abstract Algebra
Replies
2
Views
1K
  • Linear and Abstract Algebra
Replies
8
Views
1K
  • Linear and Abstract Algebra
Replies
3
Views
1K
  • Linear and Abstract Algebra
Replies
5
Views
1K
Replies
1
Views
2K
  • Linear and Abstract Algebra
Replies
14
Views
2K
  • Linear and Abstract Algebra
Replies
8
Views
787
  • Linear and Abstract Algebra
Replies
16
Views
2K
  • Linear and Abstract Algebra
Replies
8
Views
1K
  • Linear and Abstract Algebra
Replies
2
Views
2K
Back
Top