Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Talk:Singular value decomposition

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 9 days ago by JavBol in topic Clarification needed in #«Ky Fan norms»?

Dagger versus asterisk

[edit]

In the entire article, it is not clear to me whether means the conjugate transpose of , or just the complex conjugate. I guess it doesn't really matter, because if is unitary, so are the conjugate of and the conjugate transpose of . But in any case, I'm confused. In the definition, should we add something like " ..., and is the complex conjugate of " ?  Preceding unsigned comment added by Barbireau (talkcontribs) 13:16, 1 April 2020 (UTC)Reply

Hello I'm another user adding that agrees, but is unsure for what V* is, also maybe a voting measure or addable box for comments in discussions would be beneficial!  Preceding unsigned comment added by DaltSalt (talkcontribs) 11:20, 12 May 2020 (UTC)Reply

Look of Sigma-symbol representing the matrix holding the singular values

[edit]

I have just replaced every (capital) Sigma representing the matrix holding the singular values that I could find in the article (apart from captions) with the version of the first appearance in the text that also matches the height of the unitary matrix symbols frequently used next to it. (And what many ways there are to code it, and miscode it for that matter; it took me over half an hour to figure out how to code it geared to the surroundings where it appears.) But at least, if I succeeded, there is now unity of notational appearance in this respect.Redav (talk) 13:26, 23 May 2020 (UTC)Reply

Error in Figure

[edit]

There is an error in the figure. The sigma's should align with the U vectors. Here is an example of a correct figure http://i.stack.imgur.com/IM6Fn.png  Preceding unsigned comment added by 73.12.205.109 (talk) 19:40, 4 February 2021 (UTC)Reply

Crucial error in first sentence?

[edit]

The opening sentence seems to claim that only normal matrices are diagonalizable. That claim is false, right? What's the fix? Or is there a reliable source that can explain it to me? Mgnbar (talk) 00:39, 27 July 2021 (UTC)Reply

The claim is talking about the special eigendecomposition of a normal matrix where one can say that the matrix is unitarily similar to a diagonal matrix, not merely similar. Normal matrices are (definitionally) the only ones that can be decomposed in this way. I tried to make the lead more correct, but the wording is a bit clunky. Fawly (talk) 01:19, 27 July 2021 (UTC)Reply
Thank you. I understand the intent much better now. I have further broken the big, complicated sentence into small sentences, hopefully for the better. Mgnbar (talk) 12:03, 27 July 2021 (UTC)Reply

Is Lagrange multiplier equation in existence proof Based on variational characterization correct?

[edit]

currently it says:

.

I don't quite know what this means, I would think it should be

instead to match the eigenvalue version as well as the following equations. 2001:56A:F98E:2400:6C3F:8EA:5F2:540A (talk) 21:23, 6 November 2022 (UTC)Reply

History - reference to proof by Eckart and Young

[edit]

The article claims

The first proof of the singular value decomposition for rectangular and complex matrices seems to be by Carl Eckart and Gale J. Young in 1936;

but their paper states up front:

The solution of the problem is much simplified by an appeal to two theorems which are generalizations of well known theorems on square matrices.[here is given a citation to (Courant and Hilbert 1924) getting SVD for square matrices] They will not be proven here.

Theorem I. For any real matrix a, two orthogonal matrices u and U can be found so that lambda = uaU' is a real diagonal matrix with no negative elements.

This is their statement of the purely algebraic fact about SVD (the problem they are considering is about approximating matrices, which is not what the main article is about), and not proved! The usual statement is given immediately following the theorem in equation (10). It might be that Eckart and Young first stated SVD for non-square matrices, but false to say they gave a proof. It's also not true that they considered the complex case; the application they have in mind is purely real, and nowhere do they mention complex entries. 121.44.213.90 (talk) 07:43, 19 July 2023 (UTC)Reply

[edit]

Reference 4 link is dead to me. Try https://people.wou.edu/~beavers/Talks/Willamette1106.pdf SAM26 (talk) 20:34, 20 September 2025 (UTC)Reply

I put this link in, although it's not a great source. Tito Omburo (talk) 20:40, 20 September 2025 (UTC)Reply

Excessive lead section

[edit]

@JavBol, the new lead section here is getting ridiculously overstuffed. The lead section can have some brief concrete material for context, but is not a good place to put long examples, derivations, or more than one or two mathematical expressions.

Remember, Wikipedia is not a textbook.

See MOS:LEAD and MOS:MATH#Article introduction. –jacobolus (t) 01:19, 28 June 2026 (UTC)Reply

Yes, the lede as it currently stands is egregiously overstuffed. Most (or perhaps all) of the recently added content should be moved elsewhere in the article (or perhaps deleted). Mgnbar (talk) 13:28, 28 June 2026 (UTC)Reply
@JavBol To be honest I don't think the example is very illuminating. Maybe put it in an appendix at the bottom or something. But as is this seems distracting for readers and it's not clear what they get out of it. –jacobolus (t) 04:38, 29 June 2026 (UTC)Reply
I agree that the lede was overstuffed before the new parts of the example were moved down to #Example.
But the example legitimately shows why are singular values, are left-singular vectors, and are right-singular vectors of the matrix and why can pad the matrix
PS: I've checked on wolframalpha.com that
that :
{{1,0,0,0,2},{0,0,3,0,0},{0,0,0,0,0},{0,2,0,0,0}}^T × {{0},{1},{0},{0}} gives 3{{0},{0},{1},{0},{0}},
that :
{{1,0,0,0,2},{0,0,3,0,0},{0,0,0,0,0},{0,2,0,0,0}}^T × {{1},{0},{0},{0}} gives {{1},{0},{0},{0},{2}}, i.e. (√5){{√(0.2)},{0},{0},{0},{√(0.8)}},
that :
{{1,0,0,0,2},{0,0,3,0,0},{0,0,0,0,0},{0,2,0,0,0}}^T × {{0},{0},{0},{1}} gives 2{{0},{1},{0},{0},{0}},
and that :
{{1,0,0,0,2},{0,0,3,0,0},{0,0,0,0,0},{0,2,0,0,0}}^T × {{0},{0},{1},{0}} gives {{0},{0},{0},{0},{0}}.
JavBol (talk) 16:34, 1 July 2026 (UTC)Reply
It doesn't show "why" anything, or give much explanation at all;. It just states the results of several calculations repeated a few times in a giant block of numbers. I don't think most readers are going to get much out of it, and it's a pretty big distraction to load at the front of the article. –jacobolus (t) 17:03, 1 July 2026 (UTC)Reply

Even if you want to include an example like this, the current version is absurdly redundant. The same information can be conveyed more clearly and much more concisely, e.g.

Example

For example, the matrix below can be decomposed as :

The singular values of are the diagonal entries of : . The corresponding left- and right-singular vectors are the columns of and rows of , respectively.

The matrices and are unitary (and as real-valued matrices, orthogonal), meaning and , where is the identity matrix.

The matrix has rank , so there are only three non-zero singular values. This particular singular value decomposition is not unique: the last two rows of do not contribute to the product because they are multiplied by zero, so are substantially arbitrary, and can be replaced with any pair of vectors which are orthogonal to each-other and the rest of the rows and have unit magnitude. Likewise for the last column of .

The compact SVD eliminates the superfluous last column from , last two rows from , and last row and two columns from :

Instead of the product of three matrices , the SVD can be written as a sum of three rank- matrices, each formed as the outer product of one column of times the corresponding row of , scaled by the corresponding singular value :


I think you'd get a more instructive example by picking a matrix which (a) was less sparse, and (b) didn't need square roots to express the entries in the decomposition. But I still maintain that such an example is unnecessary and mostly serves as a distraction. There are a bunch of interesting patterns you might want to point out about an example like this if you were a teacher leading an introductory class, or maybe even a textbook author, but are completely out of scope for this type of article. Remember, Wikipedia is not a textbook, and every bit of text we add to an article really needs to pull its weight. I'm probably going to remove the example from the article pending further discussion, but feel free to keep thinking about it and workshopping it. –jacobolus (t) 20:40, 1 July 2026 (UTC)Reply

  • These equalities don't show how to calculate the singular values and the corresponding singular vectors, but they do show that , , , and each satisfy the definition of a singular value and its left- and right-singular vectors for the matrix , and that can pad the matrix (since the th column of must be ). Also, these equalities justify that and (i.e., ).
  • This example was already in the article before I started editing it.
  • You're bothered by this example probably because you're a high-graduate mathematician, but please have mercy for average scientists, students, high-school pupils… Most readers badly NEED an example! Please, just move it down within the article, or turn it to an appendix…
  • You might find a simultaneously less sparse and square-root-free example, but I won't find such a wonder… —JavBol (talk) 23:12, 1 July 2026 (UTC)Reply
Ah, I see. The example before you arrived was also already distracting and not very helpful, but at least wasn't bloated to monstrous proportions and didn't have each bit of information repeated several times. I'll put back an example pending further discussion, but I don't think this particular example is really very instructive or illuminating. –jacobolus (t) 23:18, 1 July 2026 (UTC)Reply
@Jacobolus: Your (mostly legitimate) latest edit on the SVD article also changed several legitimate (matrices) to (set of real numbers). —JavBol (talk) 21:16, 2 July 2026 (UTC)Reply
Oh, sorry for the sloppy mistake. I'll go fix that. –jacobolus (t) 01:24, 3 July 2026 (UTC)Reply
I made a hopefully somewhat better example. instead of
I was hoping I'd be able to construct one where the specific entries of weren't entirely separate (i.e. having some of the rank 1 parts overlapping), but it's hard to balance that with avoiding too many zeros, keeping the overall matrix size down, and avoiding square roots. The size with rank seemed about right, so I stuck with that. –jacobolus (t) 22:09, 3 July 2026 (UTC)Reply

@JavBol, I took out the footnote you just added to the lead about the first singular vectors spanning the columns of the matrix. For anyone else reading along, here was its content:

Indeed: Let be the product matrix ; then ,
i.e., ;
i.e., , where denotes the column vector ;
i.e., denoting by the -th column of ,
(since sums of coordinates are coordinates of sum),
i.e., (by factoring out of the coordinates),
i.e., .

First, the lead is the entirely wrong place for any such explanation. Remember: the lead is a short summary of the content, not a venue for extended mathematical asides. But second, any explanation of this should be done with words and pictures, not with a solid blob of mathematical symbols. Many (most?) readers aren't even going to be able to make sense of this footnote, and the ones who can either already know this or can figure it out on the spot. –jacobolus (t) 18:46, 6 July 2026 (UTC)Reply

If you like we can remove the observation that these vector span the columns and rows of the matrix from the lead; it's not really necessary. –jacobolus (t) 18:55, 6 July 2026 (UTC)Reply

My footnote was brief & had no figure… because it was just a footnote! Anyway, explaining this spanning with words instead of mathematical formulas would probably be less clear, & I don't know what figures could explain it…
Also anyway, with your argument:
Many (most?) readers aren't even going to be able to make sense of this footnote, and the ones who can either already know this or can figure it out on the spot.,
Wikipedia would never give any mathematical proof…! —JavBol (talk) 20:41, 6 July 2026 (UTC)Reply
With some exceptions (especially articles specifically about a theorem or about a particular proof) Wikipedia shouldn't be in the business of providing mathematical proofs. We should provide links to external sources, and try to make explanations that hold together and are comprehensible to readers, but formal proofs of arbitrary mathematical claims in Wikipedia are optional and often (usually?) unhelpful. In a case like this, where the claim is a direct and pretty obvious consequence, a justification in the form of a cumbersome bunch of explicit formalized steps in pure notation without prose explanation is not pulling its weight, even in "just a footnote". –jacobolus (t) 22:55, 6 July 2026 (UTC)Reply
For anyone reading along, I took the footnote out again. Its content was:
Indeed: Let be the product matrix ; then ,
i.e., for any and any ;
i.e., for any ;
i.e., denoting by the -th column of ,
(since sums of coordinates are coordinates of sum),
i.e., (by factoring out of the coordinates),
i.e., .
This seems even harder to read than the previous version. –jacobolus (t) 06:52, 7 July 2026 (UTC)Reply

I don't understand revision as of 18:15, 8 July 2026

[edit]

@Jacobolus:

  • I agree with your revision as of 18:23, 8 July 2026, of the article.
  • I agree with your restorations of «\right.» instead of «\right\}» (sorry, I thought «\right.» was a typo).
  • I don't mind about your changes to Singular value decomposition#Image compression.
  • But in your revision as of 18:15, 8 July 2026, of the article, I don't understand your other reversals… Can you explain some of these, please? —JavBol (talk) 21:51, 8 July 2026 (UTC)Reply
Your changes seems worse to me. For example, making multiple small chunks of inline mathematical notation into one giant blob makes it impossible to have a line break, and the word "for" in running text should be just ordinary wikimarkup rather than LaTeX. Changing "unit vectors" to "unit rows" is confusing, since "unit rows" is unexplained unusual terminology. Adding "without changing any column of U" etc. is unnecessarily wordy addition to an already distractingly wordy aside. Changing "a sum" to "the sum" reads worse to me and seems like a completely unnecessary change. You put LaTeX in an image caption, which should be avoided wherever possible (due to a Wikimedia bug). Changing "span" to "linear span" is not necessary; the term "span" is typical in this context and there's no other way that vectors would "span" a space that we'd confuse it for. –jacobolus (t) 23:26, 8 July 2026 (UTC)Reply
I had changed
the SVD of can be written as a sum of rank- matrices
to
the SVD of can be written as the sum of rank- matrices
because in this phrase, the SVD is «determined», so the rank- matrices are «determined», so their sum is «determined». —JavBol (talk) 19:05, 9 July 2026 (UTC)Reply
Yes, but changing the word changes the emphasis. The point is that the product can be written as a sum. –jacobolus (t) 19:19, 9 July 2026 (UTC)Reply

Clarification needed in #«Ky Fan norms»?

[edit]

In Singular value decomposition#Ky Fan norms, the passage:

One can easily verify the relationship between the Ky Fan -norm and singular values. Indeed, it is true in general, for a bounded operator on a (possibly infinite-dimensional) Hilbert space, that

But, in the matrix case, is a normal matrix, so is the largest eigenvalue of , i.e. is the largest singular value of .,

should be clarified to something like:

One can easily verify the relationship between the Ky Fan -norm and singular values. Indeed, it is true in general, for a bounded operator on a (possibly infinite-dimensional) Hilbert space, that

But, in the matrix case, is Hermitian positive semi-definite, so it has a unique Hermitian positive semi-definite square root, ; so is the largest eigenvalue of , i.e. is the largest singular value of .,

shouldn't it?

Also, what about specifying that, using any SVD of as , this (principal) square root can be defined as  ? —JavBol (talk) 01:19, 22 July 2026 (UTC)Reply