77
$\begingroup$

Given a matrix, is the Frobenius norm of that matrix always equal to the 2-norm of it, or are there certain matrices where these two norm methods would produce different results?

If they are identical, then I suppose the only difference between them is the method of calculation, eh?

$\endgroup$
4
  • 3
    $\begingroup$ What do you mean by 2-norm? $\endgroup$ Apr 15, 2011 at 1:59
  • 3
    $\begingroup$ The p-norm where p=2, also known as the Euclidean norm. $\endgroup$
    – Ricket
    Apr 15, 2011 at 2:02
  • 1
    $\begingroup$ If you mean the Euclidean norm when $M_n$ is treated like $\mathbb{C}^{n^2}$, then yes they are the same; this is the definition of the Frobenius norm, as seen on Wikipedia: en.wikipedia.org/wiki/Matrix_norm#Frobenius_norm $\endgroup$ Apr 15, 2011 at 2:06
  • 2
    $\begingroup$ Ricket: Could you please give the precise definitions you are using (or precise references to these definitions)? The phrase "p-norm" for matrices is ambiguous, which is why I asked earlier. Many think of "2-norm" as meaning the operator norm when $M_n$ acts on $\mathbb{C}^n$ with Euclidean norm, hence Yuval's answer. I think I now know what you mean, but then your question is answered by the Wikipedia link, right? $\endgroup$ Apr 15, 2011 at 2:26

4 Answers 4

65
$\begingroup$

There are three important types of matrix norms. For some matrix $A$

  • Induced norm, which measures what is the maximum of $\frac{\|Ax\|}{\|x\|}$ for any $x \neq 0$ (or, equivalently, the maximum of $\|Ax\|$ for $\|x\|=1$).

  • Element-wise norm, which is like unwrapping $A$ into a long vector, then calculating its vector norm.

  • Schatten norm, which measures the vector norm of the singular values of $A$.

So, to answer your question:

  • Frobenius norm = Element-wise 2-norm = Schatten 2-norm

  • Induced 2-norm = Schatten $\infty$-norm. This is also called Spectral norm.

So if by "2-norm" you mean element-wise or Schatten norm, then they are identical to Frobenius norm. If you mean induced 2-norm, you get spectral 2-norm, which is $\le$ Frobenius norm. (It should be less than or equal to)

As far as I can tell, if you don't clarify which type you're talking about, induced norm is usually implied. For example, in matlab, norm(A,2) gives you induced 2-norm, which they simply call the 2-norm. So in that sense, the answer to your question is that the (induced) matrix 2-norm is $\le$ than Frobenius norm, and the two are only equal when all of the matrix's eigenvalues have equal magnitude.

$\endgroup$
41
$\begingroup$

The 2-norm (spectral norm) of a matrix is the greatest distortion of the unit circle/sphere/hyper-sphere. It corresponds to the largest singular value (or |eigenvalue| if the matrix is symmetric/hermitian).

The Forbenius norm is the "diagonal" between all the singular values.

i.e. $$||A||_2 = s_1 \;\;,\;\;||A||_F = \sqrt{s_1^2 +s_2^2 + ... + s_r^2}$$

(r being the rank of A).

Here's a 2D version of it: $x$ is any vector on the unit circle. $Ax$ is the deformation of all those vectors. The length of the red line is the 2-norm (biggest singular value). And the length of the green line is the Forbenius norm (diagonal). enter image description here

$\endgroup$
3
  • 18
    $\begingroup$ I'm a simple man. When I see a geometric explanation, I upvote. $\endgroup$
    – D_Serg
    Apr 7, 2020 at 15:13
  • 1
    $\begingroup$ Geometric is just like an underrated actor in Bollywood, who can act really well but doesn't get enough exposure. $\endgroup$
    – Laveena
    May 14 at 17:56
  • $\begingroup$ [Clapping.] 2-norm looks in the most important direction, Frobenius looks in all directions (which is wiser). $\endgroup$ Oct 3 at 9:25
23
$\begingroup$

See Wikipedia for all definitions. Take this matrix: $$ \begin{pmatrix} 2 & -1 \\ -1 & 2 \end{pmatrix} $$ Its Frobenius norm is $\sqrt{10}$, but its eigenvalues are $3,1$ so, if the matrix is symmetric, its $2$-norm is the spectral radius, i.e., $3$. The Frobenius norm is always at least as large as the spectral radius. The Frobenius norm is at most $\sqrt{r}$ as much as the spectral radius, and this is probably tight (see the section on equivalence of norms in Wikipedia).

Note that the Schatten $2$-norm is equal to the Frobenius norm.

$\endgroup$
4
  • 1
    $\begingroup$ Ohh, I was just using the vector 2-norm (Euclidean norm) operation on the matrix, not the correct matrix 2-norm. The vector 2-norm (piecewise square, sum all elements, square root) when extended to a matrix would be the Schatten 2-norm I guess. $\endgroup$
    – Ricket
    Apr 15, 2011 at 2:15
  • $\begingroup$ I think you got the $\sqrt{r}$ bound backwards, no? $\endgroup$
    – user856
    Apr 15, 2011 at 2:23
  • $\begingroup$ You're right. Corrected. $\endgroup$ Apr 18, 2011 at 18:20
  • 1
    $\begingroup$ Also, it is true that both bounds are tight: the former is attained by a matrix with all but one entries being zero; the latter is attained by the identity matrix. $\endgroup$
    – user856
    Apr 18, 2011 at 18:36
3
$\begingroup$

The L2 (or L^2) norm is the Euclidian norm of a vector.

The Frobenius norm is the Euclidian norm of a matrix.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .