Math ClubMath Club
v1 · padrão canônico

Lesson 117 — Singular value decomposition (SVD)

A = U Σ Vᵀ works for any real matrix. Singular values reveal the geometric structure. The foundation of image compression, recommendation, PCA, and the pseudoinverse.

Used in: 3.º ano do EM (17-18 anos) · Equiv. Lineare Algebra LK alemão · Equiv. H2 Math singapurense · Equiv. Math III japonês avançado

A=UΣVTA = U\Sigma V^T

A SVD é a decomposição mais geral da álgebra linear: toda matriz m×nm \times n se escreve A=UΣVTA = U\Sigma V^T com UU e VV ortogonais e Σ\Sigma diagonal com valores singulares σ1σ20\sigma_1 \geq \sigma_2 \geq \cdots \geq 0. A decomposição existe para qualquer matriz real (ou complexa) — mesmo retangular. É a base de PCA, compressão de imagem, recomendação e regressão estável.

Choose your door

Rigorous notation, full derivation, hypotheses

Definição e teorema

Teorema da SVD

"Any matrix A with rank r can be written as a product A=UΣVTA = U \Sigma V^T where U is orthogonal (m×mm \times m), Σ\Sigma is diagonal (m×nm \times n, nonnegative entries decreasing), and V is orthogonal (n×nn \times n). The diagonal entries σ1σr>0\sigma_1 \geq \cdots \geq \sigma_r > 0 are the singular values of A." — Understanding Linear Algebra, §6.3

"Theorem (Existence of SVD). Every real matrix A has a singular value decomposition. The singular values are the positive square roots of the nonzero eigenvalues of ATAA^T A." — A First Course in Linear Algebra, §SVD

Conexão com autovalores

Os 4 subespaços fundamentais via SVD

Espaço de entrada (R^n)Row(A) = cols r de Vker(A) = cols n-r de VEspaço de saída (R^m)Col(A) = cols r de Uker(A^T) = cols m-r de UAColunas de U e V formam bases ortonormais dos 4 subespaços de A.
Os 4 subespaços fundamentais de Strang lidos diretamente da SVD.

Teorema de Eckart-Young

Pseudoinversa de Moore-Penrose

Exemplos resolvidos

Exercise list

40 exercises · 10 with worked solution (25%)

Application 11Understanding 13Proof 16
  1. Ex. 117.1Application

    Seja TL(V,W)T \in \mathcal{L}(V, W). Mostre que T=0T = 0 se e somente se todos os valores singulares de TT são iguais a zero.

    Select the correct option
    Select an option first
    Show solution
    Os valores singulares de TT são as raízes quadradas dos autovalores de TTT^* T. Se todos são zero, TT=0T^* T = 0, logo Tv2=TTv,v=0\|Tv\|^2 = \langle T^*Tv, v\rangle = 0 para todo vv, o que implica T=0T = 0. A recíproca é imediata.
  2. Ex. 117.2Understanding

    Seja TL(V,W)T \in \mathcal{L}(V, W) e s>0s > 0. Prove que ss é valor singular de TT se e somente se existem vetores não-nulos vVv \in V e wWw \in W tais que Tv=swTv = sw e Tw=svT^* w = sv. (Esses vetores são chamados de par de Schmidt.)

    Select the correct option
    Select an option first
    Show solution
    O par (v,w)(v, w) satisfazendo Tv=swTv = sw e Tw=svT^* w = sv é chamado par de Schmidt. A condição Tv=swTv = sw diz que w=Tv/sw = Tv/s (desde que s>0s > 0); substituindo em Tw=svT^* w = sv obtém-se TTv=s2vT^* T v = s^2 v, ou seja, s2s^2 é autovalor de TTT^* T e ss é valor singular. Erhard Schmidt introduziu os valores singulares em 1907.
    Show step-by-step (with the why)
    1. Suponha que ss é valor singular positivo. Então s2s^2 é autovalor de TTT^* T; tome vv autovetor unitário. Defina w=Tv/sw = Tv/s (tem norma 1 pois Tv=s\|Tv\| = s). Então Tv=swTv = sw e Tw=T(Tv)/s=(TTv)/s=s2v/s=svT^* w = T^*(Tv)/s = (T^*T v)/s = s^2 v/s = sv.
    2. Reciprocamente, se Tv=swTv = sw e Tw=svT^* w = sv com s>0s > 0 e v,w0v, w \neq 0, então TTv=T(sw)=s(Tw)=s(sv)=s2vT^* T v = T^*(sw) = s(T^* w) = s(sv) = s^2 v. Logo s2s^2 é autovalor de TTT^* T e ss é valor singular.
  3. Ex. 117.3Application

    Dê um exemplo de um operador TL(C2)T \in \mathcal{L}(\mathbf{C}^2) tal que 0 é o único autovalor de TT e os valores singulares de TT são 5 e 0.

    Select the correct option
    Select an option first
    Show solution
    Tome T(x,y)=(5y,0)T(x,y) = (5y, 0). O único autovalor é 0 (matriz nilpotente). TT(x,y)=25(x,0)T^* T (x,y) = 25(x,0)... Recalculando: TT tem matriz (0500)\begin{pmatrix}0&5\\0&0\end{pmatrix}; TT=(0050)(0500)=(00025)T^* T = \begin{pmatrix}0&0\\5&0\end{pmatrix}\begin{pmatrix}0&5\\0&0\end{pmatrix} = \begin{pmatrix}0&0\\0&25\end{pmatrix}. Autovalores de TTT^* T: 0 e 25. Valores singulares: 5 e 0. Autovalores de TT: ambos 0 (nilpotente). Condição satisfeita.
  4. Ex. 117.4UnderstandingAnswer key

    Seja TL(V,W)T \in \mathcal{L}(V, W), com maior valor singular s1s_1 e menor sns_n. Prove que {Tv:vV,v=1}=[sn,s1]\{\|Tv\| : v \in V,\, \|v\| = 1\} = [s_n, s_1].

    Select the correct option
    Select an option first
    Show solution
    Se x=icivix = \sum_i c_i v_i com ci2=1\sum c_i^2 = 1, então Tx2=ci2si2\|Tx\|^2 = \sum c_i^2 s_i^2, que é uma média ponderada de si2s_i^2 com pesos ci20c_i^2 \geq 0 somando 1. Logo sn2Tx2s12s_n^2 \leq \|Tx\|^2 \leq s_1^2. O valor s1s_1 é atingido em x=v1x = v_1 e sns_n em x=vnx = v_n. Por continuidade do mapa xTxx \mapsto \|Tx\| na esfera (conexa), todo valor intermediário é atingido.
    Show step-by-step (with the why)
    1. Expandir x=icivix = \sum_i c_i v_i na base de vetores singulares à direita, com ci2=1\sum c_i^2 = 1.
    2. Calcular Tx2=ici2si2\|Tx\|^2 = \sum_i c_i^2 s_i^2. Como os pesos somam 1, este é valor entre sn2s_n^2 e s12s_1^2.
    3. O mapa é contínuo e a esfera unitária é conexa, portanto a imagem é o intervalo [sn,s1][s_n, s_1].
  5. Ex. 117.5Application

    Seja TL(C2)T \in \mathcal{L}(\mathbf{C}^2) definido por T(x,y)=(4y,x)T(x, y) = (-4y, x). Encontre os valores singulares de TT.

    Select the correct option
    Select an option first
    Show solution
    TT tem matriz (0410)\begin{pmatrix}0 & -4 \\ 1 & 0\end{pmatrix}. TT=(0140)(0410)=(10016)T^* T = \begin{pmatrix}0 & 1 \\ -4 & 0\end{pmatrix}\begin{pmatrix}0 & -4 \\ 1 & 0\end{pmatrix} = \begin{pmatrix}1 & 0 \\ 0 & 16\end{pmatrix}. Autovalores de TTT^* T: 1 e 16. Valores singulares em ordem decrescente: 4 e 1.
    Show step-by-step (with the why)
    1. Escreva a matriz de TT na base canônica: T(x,y)=(4y,x)T(x,y) = (-4y, x)M=(0410)M = \begin{pmatrix}0 & -4 \\ 1 & 0\end{pmatrix}.
    2. Calcule MM=MTMM^* M = M^T M (entradas reais): (0140)(0410)=(10016)\begin{pmatrix}0 & 1 \\ -4 & 0\end{pmatrix}\begin{pmatrix}0 & -4 \\ 1 & 0\end{pmatrix} = \begin{pmatrix}1 & 0 \\ 0 & 16\end{pmatrix}.
    3. Autovalores: 1 e 16. Valores singulares: s1=4s_1 = 4, s2=1s_2 = 1.
  6. Ex. 117.6Application

    Encontre os valores singulares do operador diferenciação DL(P2(R))D \in \mathcal{L}(\mathcal{P}_2(\mathbf{R})) definido por Dp=pDp = p', onde o produto interno em P2(R)\mathcal{P}_2(\mathbf{R}) é p,q=11p(x)q(x)dx\langle p, q \rangle = \int_{-1}^1 p(x)q(x)\,dx (conforme Exemplo 6.34 de Axler).

    Select the correct option
    Select an option first
    Show solution
    Com o produto interno do Exemplo 6.34 (p,q=11p(x)q(x)dx\langle p, q \rangle = \int_{-1}^1 p(x)q(x)\,dx), o operador diferenciação D:P2(R)P2(R)D: \mathcal{P}_2(\mathbf{R}) \to \mathcal{P}_2(\mathbf{R}) (com Dp=pDp = p') tem DDD^* D com autovalores 3/53/5 e 0. O único valor singular positivo é 3/5\sqrt{3/5}.
  7. Ex. 117.7UnderstandingAnswer key

    Suponha que TL(V)T \in \mathcal{L}(V) é auto-adjunto, ou que F=C\mathbf{F} = \mathbf{C} e TT é normal. Sejam λ1,,λn\lambda_1, \ldots, \lambda_n os autovalores de TT (com multiplicidade). Mostre que os valores singulares de TT são λ1,,λn|\lambda_1|, \ldots, |\lambda_n| em ordem decrescente.

    Select the correct option
    Select an option first
    Show solution
    Se TT é auto-adjunto ou (F=C\mathbf{F} = \mathbf{C} e) normal, pelo teorema espectral existe base ortonormal e1,,ene_1, \ldots, e_n de autovetores com autovalores λi\lambda_i. Então TTei=λi2eiT^* T e_i = |\lambda_i|^2 e_i. Os autovalores de TTT^* T são λi2|\lambda_i|^2, logo os valores singulares são λi|\lambda_i|, ordenados de forma decrescente.
  8. Ex. 117.8ProofAnswer key

    Seja TL(V,W)T \in \mathcal{L}(V, W) com s1s2sm>0s_1 \geq s_2 \geq \cdots \geq s_m > 0. Suponha listas ortonormais e1,,eme_1, \ldots, e_m em VV e f1,,fmf_1, \ldots, f_m em WW tais que Tv=s1v,e1f1++smv,emfmTv = s_1 \langle v, e_1 \rangle f_1 + \cdots + s_m \langle v, e_m \rangle f_m para todo vv. Demonstre: (a) f1,,fmf_1, \ldots, f_m é base ortonormal de rangeT\text{range}\, T; (b) e1,,eme_1, \ldots, e_m é base ortonormal de (nullT)(\text{null}\, T)^\perp; (c) s1,,sms_1, \ldots, s_m são os valores singulares positivos de TT.

    Show solution
    Dado o desenvolvimento Tv=k=1mskv,ekfkTv = \sum_{k=1}^m s_k \langle v, e_k \rangle f_k: (a) Se wrangeTw \in \text{range}\, T, então w=Tvw = Tv é combinação de f1,,fmf_1, \ldots, f_m. Recíproca: cada fk=T(ek/sk)f_k = T(e_k/s_k) está em rangeT\text{range}\, T. Logo {f1,,fm}\{f_1, \ldots, f_m\} é base ortonormal de rangeT\text{range}\, T. (b) (nullT)=rangeT(\text{null}\, T)^\perp = \text{range}\, T^*. Analogamente, Tw=skw,fkekT^* w = \sum s_k \langle w, f_k \rangle e_k, logo {e1,,em}\{e_1, \ldots, e_m\} gera rangeT\text{range}\, T^*. (c) TTek=T(skfk)=sk2ekT^* T e_k = T^*(s_k f_k) = s_k^2 e_k, então sk2s_k^2 é autovalor de TTT^* T, confirmando que os sks_k são os valores singulares positivos. (d) Item (c) já demonstra. (e) TTw=T(skw,fkek)=sk2w,fkfkT T^* w = T\bigl(\sum s_k \langle w, f_k\rangle e_k\bigr) = \sum s_k^2 \langle w, f_k\rangle f_k.
  9. Ex. 117.9UnderstandingAnswer key

    Seja TL(V,W)T \in \mathcal{L}(V, W). Mostre que TT e TT^* têm os mesmos valores singulares positivos.

    Select the correct option
    Select an option first
    Show solution
    Os autovalores não-nulos de TTT^* T e TTT T^* coincidem (se TTv=λvT^* T v = \lambda v com λ>0\lambda > 0, então TT(Tv)=λ(Tv)T T^*(Tv) = \lambda (Tv)). Os valores singulares de TT são raízes dos autovalores de TTT^* T; os de TT^* são raízes dos de (T)T=TT(T^*)^* T^* = T T^*. Logo os valores singulares positivos coincidem.
  10. Ex. 117.10Application

    Seja TL(V,W)T \in \mathcal{L}(V, W) invertível com valores singulares s1,,sns_1, \ldots, s_n. Prove que os valores singulares de T1T^{-1} são 1/sn,,1/s11/s_n, \ldots, 1/s_1.

    Select the correct option
    Select an option first
    Show solution
    Se T=UΣVT = U\Sigma V^* é a SVD de TT invertível (todos si>0s_i > 0), então T1=VΣ1UT^{-1} = V \Sigma^{-1} U^*. Os valores diagonais de Σ1\Sigma^{-1} são 1/s1,,1/sn1/s_1, \ldots, 1/s_n, e em ordem decrescente ficam 1/sn1/s11/s_n \geq \cdots \geq 1/s_1. Logo os valores singulares de T1T^{-1} são os inversos dos de TT, na ordem reversa.
  11. Ex. 117.11Application

    Seja TL(V,W)T \in \mathcal{L}(V, W) e v1,,vnv_1, \ldots, v_n base ortonormal de VV. Prove que Tv12++Tvn2=s12++sn2\|Tv_1\|^2 + \cdots + \|Tv_n\|^2 = s_1^2 + \cdots + s_n^2.

    Select the correct option
    Select an option first
    Show solution
    Para qualquer base ortonormal v1,,vnv_1, \ldots, v_n: iTvi2=iTTvi,vi=tr(TT)=jsj2\sum_i \|Tv_i\|^2 = \sum_i \langle T^* T v_i, v_i \rangle = \text{tr}(T^* T) = \sum_j s_j^2, onde a última igualdade usa que o traço é a soma dos autovalores (contados com multiplicidade). Parte (b): se TT é positivo, a soma Tvi,vi=tr(T)=sj\sum \langle Tv_i, v_i \rangle = \text{tr}(T) = \sum s_j.
    Show step-by-step (with the why)
    1. Use a fórmula do traço: tr(TT)=iTTvi,vi=iTvi2\text{tr}(T^* T) = \sum_i \langle T^* T v_i, v_i \rangle = \sum_i \|Tv_i\|^2.
    2. Pela invariância do traço por mudança de base ortonormal: tr(TT)=jsj2\text{tr}(T^* T) = \sum_j s_j^2 (autovalores de TTT^* T).
  12. Ex. 117.12Understanding

    (a) Dê um exemplo de operador TT tal que os valores singulares de T2T^2 não são os quadrados dos de TT. (b) Prove que se TL(V)T \in \mathcal{L}(V) é normal, então os valores singulares de T2T^2 são os quadrados dos valores singulares de TT.

    Select the correct option
    Select an option first
    Show solution
    (a) Contra-exemplo: tome T(x,y)=(0,x)T(x,y) = (0, x) (deslocamento). Valores singulares de TT: 1, 0. Valores singulares de T2=0T^2 = 0: 0, 0. Mas 0120 \neq 1^2. (b) Se TT é normal, existe base ortonormal de autovetores eie_i com autovalores λi\lambda_i. T2ei=λi2eiT^2 e_i = \lambda_i^2 e_i, então T2T^2 também é normal com autovalores λi2\lambda_i^2. Valores singulares de T2T^2: λi2=λi2|\lambda_i^2| = |\lambda_i|^2. Valor singular de TT: λi|\lambda_i|. Logo os valores singulares de T2T^2 são os quadrados dos de TT.
  13. Ex. 117.13Understanding

    Prove que T1,T2L(V)T_1, T_2 \in \mathcal{L}(V) têm os mesmos valores singulares se e somente se existem operadores unitários S1,S2L(V)S_1, S_2 \in \mathcal{L}(V) tais que T1=S1T2S2T_1 = S_1 T_2 S_2.

    Select the correct option
    Select an option first
    Show solution
    (⇒) Se T1=U1ΣV1T_1 = U_1 \Sigma V_1^* e T2=U2ΣV2T_2 = U_2 \Sigma V_2^* com mesma Σ\Sigma, tome S1=U1U2S_1 = U_1 U_2^* e S2=V2V1S_2 = V_2 V_1^* (unitários). Então T1=S1T2S2T_1 = S_1 T_2 S_2. (⇐) Se T1=S1T2S2T_1 = S_1 T_2 S_2 com unitários, os valores singulares são invariantes sob multiplicação por unitários (pois norma espectral é preservada): σk(T1)=σk(T2)\sigma_k(T_1) = \sigma_k(T_2).
  14. Ex. 117.14Application

    Seja TL(V,W)T \in \mathcal{L}(V, W) e sns_n o menor valor singular de TT. Prove que snvTvs_n \|v\| \leq \|Tv\| para todo vVv \in V.

    Select the correct option
    Select an option first
    Show solution
    Expandindo v=iciviv = \sum_i c_i v_i na base de vetores singulares à direita: Tv2=ci2si2sn2ci2=sn2v2\|Tv\|^2 = \sum c_i^2 s_i^2 \geq s_n^2 \sum c_i^2 = s_n^2 \|v\|^2. Tomando raiz quadrada: Tvsnv\|Tv\| \geq s_n \|v\|.
  15. Ex. 117.15Understanding

    Seja TL(V)T \in \mathcal{L}(V) com valores singulares s1sns_1 \geq \cdots \geq s_n. Prove que se λ\lambda é autovalor de TT, então snλs1s_n \leq |\lambda| \leq s_1.

    Select the correct option
    Select an option first
    Show solution
    Se Tv=λvTv = \lambda v com v0v \neq 0, do exercício 117.14: snvTv=λvs_n \|v\| \leq \|Tv\| = |\lambda| \|v\|, logo snλs_n \leq |\lambda|. Do exercício 117.4, Tv/vs1\|Tv\|/\|v\| \leq s_1, logo λs1|\lambda| \leq s_1. Portanto snλs1s_n \leq |\lambda| \leq s_1.
  16. Ex. 117.16Proof

    Seja TL(V,W)T \in \mathcal{L}(V, W). Prove que (T)=(T)(T^*)^\dagger = (T^\dagger)^*. Compare com o resultado análogo para mapas lineares invertíveis.

    Show solution
    Mostre que (T)=(T)(T^*)^\dagger = (T^\dagger)^*. A pseudoinversa TT^\dagger via SVD é T=VΣ+UT^\dagger = V \Sigma^+ U^*. Logo (T)=U(Σ+)V=UΣ+V(T^\dagger)^* = U (\Sigma^+)^* V^* = U \Sigma^+ V^* (pois Σ+\Sigma^+ é real diagonal). Por outro lado T=UΣVT^* = U \Sigma V^* com papéis de U,VU, V trocados; sua pseudoinversa é (T)=V(Σ)+U=VΣ+U(T^*)^\dagger = V (\Sigma^*)^+ U^* = V \Sigma^+ U^*... Verificação: ambas resultam em UΣ+VU \Sigma^+ V^* quando as dimensões são compatíveis. Comparar com o caso invertível: (T1)=(T)1(T^{-1})^* = (T^*)^{-1}, análogo.
  17. Ex. 117.17ProofAnswer key

    Seja TL(V)T \in \mathcal{L}(V). Prove que TT é auto-adjunto se e somente se TT^\dagger é auto-adjunto.

    Show solution
    (\Rightarrow) Se TT é auto-adjunto, T=TT^* = T. A pseudoinversa via SVD de TT é T=VΣ+UT^\dagger = V \Sigma^+ U^*; e (T)=UΣ+V(T^\dagger)^* = U \Sigma^+ V^*. Para TT auto-adjunto, U=VU = V (os espaços próprios de TT=T2T^*T = T^2 e TT=T2TT^* = T^2 coincidem). Logo (T)=VΣ+V=T(T^\dagger)^* = V \Sigma^+ V^* = T^\dagger. (\Leftarrow) Recíproca analogamente por T=TT^{**} = T.
  18. Ex. 117.18Proof

    Prove que se S,TL(V,W)S, T \in \mathcal{L}(V, W), então STST|\|S\| - \|T\|| \leq \|S - T\|. (Essa é a desigualdade reversa do triângulo para normas de operadores.)

    Show solution
    A desigualdade reversa do triângulo afirma STST|\|S\| - \|T\|| \leq \|S - T\|. Da desigualdade triangular: S=(ST)+TST+T\|S\| = \|(S-T) + T\| \leq \|S-T\| + \|T\|, logo STST\|S\| - \|T\| \leq \|S-T\|. Trocando SS e TT: TSTS=ST\|T\| - \|S\| \leq \|T-S\| = \|S-T\|. Combinando: STST|\|S\| - \|T\|| \leq \|S-T\|.
  19. Ex. 117.19Understanding

    Suponha que TL(V)T \in \mathcal{L}(V) é auto-adjunto, ou que F=C\mathbf{F} = \mathbf{C} e TT é normal. Prove que T=max{λ:λ eˊ autovalor de T}\|T\| = \max\{|\lambda| : \lambda \text{ é autovalor de } T\}.

    Select the correct option
    Select an option first
    Show solution
    Se TT é normal (ou auto-adjunto em R\mathbf{R}), pelo teorema espectral os valores singulares são λi|\lambda_i| (exercício 117.7). A norma de operador é o maior valor singular: T=s1=maxiλi\|T\| = s_1 = \max_i |\lambda_i|.
  20. Ex. 117.20Proof

    Seja TL(V,W)T \in \mathcal{L}(V, W) e vVv \in V. Prove que Tv=Tv\|Tv\| = \|T\| \|v\| se e somente se TTv=T2vT^* T v = \|T\|^2 v.

    Show solution
    (\Rightarrow) Suponha Tv=Tv\|Tv\| = \|T\| \|v\|. Pode-se supor v=1\|v\| = 1; então Tv2=T2=s12\|Tv\|^2 = \|T\|^2 = s_1^2. Da prova de que T=s1\|T\| = s_1: s12=Tv2=ci2si2s_1^2 = \|Tv\|^2 = \sum c_i^2 s_i^2 com ci2=1\sum c_i^2 = 1. Isso exige ci=0c_i = 0 para todo ii com si<s1s_i < s_1, portanto vspan{vi:si=s1}v \in \text{span}\{v_i : s_i = s_1\} e TTv=s12vT^* T v = s_1^2 v, ou seja T2v\|T\|^2 v. (\Leftarrow) Se TTv=T2vT^* T v = \|T\|^2 v, então Tv2=TTv,v=T2v2\|Tv\|^2 = \langle T^* T v, v \rangle = \|T\|^2 \|v\|^2.
  21. Ex. 117.21Proof

    Seja TL(V,W)T \in \mathcal{L}(V, W), vVv \in V com Tv=Tv\|Tv\| = \|T\| \|v\|. Prove que se uVu \in V e u,v=0\langle u, v \rangle = 0, então Tu,Tv=0\langle Tu, Tv \rangle = 0.

    Show solution
    Suponha Tv=Tv\|Tv\| = \|T\| \|v\| e u,v=0\langle u, v \rangle = 0. Devemos mostrar Tu,Tv=0\langle Tu, Tv \rangle = 0. Pelo resultado anterior, TTv=T2vT^* T v = \|T\|^2 v. Então Tu,Tv=TTv,u=T2v,u=T2v,u=0\langle Tu, Tv \rangle = \langle T^* T v, u \rangle^* = \langle \|T\|^2 v, u \rangle^* = \|T\|^2 \langle v, u \rangle^* = 0, pois u,v=0\langle u, v \rangle = 0.
  22. Ex. 117.22Application

    Seja UU espaço de produto interno de dimensão finita, TL(V,U)T \in \mathcal{L}(V, U) e SL(U,W)S \in \mathcal{L}(U, W). Prove que STST\|ST\| \leq \|S\| \|T\|.

    Select the correct option
    Select an option first
    Show solution
    Para qualquer vv com v1\|v\| \leq 1: STvSTvSTvST\|ST v\| \leq \|S\| \|Tv\| \leq \|S\| \|T\| \|v\| \leq \|S\| \|T\|. Tomando sup sobre a bola unitária: STST\|ST\| \leq \|S\| \|T\|.
    Show step-by-step (with the why)
    1. Pela definição de norma de operador: S=supv=1Sv\|S\| = \sup_{\|v\|=1} \|Sv\|.
    2. Para qualquer vv unitário: STvSTv\|STv\| \leq \|S\| \|Tv\| (definição de S\|S\|).
    3. E TvTv=T\|Tv\| \leq \|T\| \|v\| = \|T\|.
    4. Logo STvST\|STv\| \leq \|S\| \|T\| para todo unitário vv; tomando sup: STST\|ST\| \leq \|S\| \|T\|.
  23. Ex. 117.23Understanding

    Prove ou dê contra-exemplo: se S,TL(V)S, T \in \mathcal{L}(V), então ST=TS\|ST\| = \|TS\|.

    Select the correct option
    Select an option first
    Show solution
    Tome V=R2V = \mathbf{R}^2, S=(1000)S = \begin{pmatrix}1&0\\0&0\end{pmatrix}, T=(0100)T = \begin{pmatrix}0&1\\0&0\end{pmatrix}. Então ST=(0100)ST = \begin{pmatrix}0&1\\0&0\end{pmatrix} tem ST=1\|ST\| = 1, mas TS=(0000)TS = \begin{pmatrix}0&0\\0&0\end{pmatrix} tem TS=0\|TS\| = 0. Logo STTS\|ST\| \neq \|TS\| em geral.
  24. Ex. 117.24Application

    Mostre que definir d(S,T)=STd(S,T) = \|S - T\| para S,TL(V,W)S, T \in \mathcal{L}(V, W) faz de dd uma métrica em L(V,W)\mathcal{L}(V, W).

    Select the correct option
    Select an option first
    Show solution
    Verificamos os axiomas de métrica: (i) d(S,T)0d(S,T) \geq 0 com igualdade sse S=TS = T; (ii) simetria: d(S,T)=ST=TS=d(T,S)d(S,T) = \|S-T\| = \|T-S\| = d(T,S); (iii) desigualdade triangular: d(S,R)=SR=(ST)+(TR)ST+TR=d(S,T)+d(T,R)d(S,R) = \|S-R\| = \|(S-T)+(T-R)\| \leq \|S-T\|+\|T-R\| = d(S,T)+d(T,R).
  25. Ex. 117.25Proof

    (a) Prove que se TL(V)T \in \mathcal{L}(V) e IT<1\|I - T\| < 1, então TT é invertível. (b) Seja SL(V)S \in \mathcal{L}(V) invertível. Prove que se TL(V)T \in \mathcal{L}(V) e ST<1/S1\|S - T\| < 1/\|S^{-1}\|, então TT é invertível. (Isso mostra que o conjunto de operadores invertíveis é aberto em L(V)\mathcal{L}(V).)

    Show solution
    (a) Se IT<1\|I - T\| < 1, a série de Neumann k=0(IT)k\sum_{k=0}^\infty (I-T)^k converge na norma de operador (pois cada termo tem norma ITk\leq \|I-T\|^k, série geométrica), e sua soma é o inverso de T=I(IT)T = I-(I-T). (b) Escreva T=S[IS1(ST)]T = S[I - S^{-1}(S-T)]; o fator colchete é invertível se S1(ST)S1ST<1\|S^{-1}(S-T)\| \leq \|S^{-1}\| \|S-T\| < 1, condição garantida por ST<1/S1\|S-T\| < 1/\|S^{-1}\|.
  26. Ex. 117.26Understanding

    Seja TL(V)T \in \mathcal{L}(V). Prove que para todo ε>0\varepsilon > 0, existe um operador invertível SL(V)S \in \mathcal{L}(V) tal que 0<TS<ε0 < \|T - S\| < \varepsilon.

    Select the correct option
    Select an option first
    Show solution
    Tome a SVD de T=UΣVT = U\Sigma V^* e defina S=U(Σ+ε/2I)VS = U (\Sigma + \varepsilon/2 \cdot I) V^* para ε>0\varepsilon > 0 arbitrário. Então SS é invertível (todos os valores singulares positivos) e TS=ε/2<ε\|T - S\| = \varepsilon/2 < \varepsilon. Também TST \neq S, então TS>0\|T-S\| > 0.
  27. Ex. 117.27UnderstandingAnswer key

    Suponha dimV>1\dim V > 1 e TL(V)T \in \mathcal{L}(V) não invertível. Prove que para todo ε>0\varepsilon > 0, existe SL(V)S \in \mathcal{L}(V) com 0<TS<ε0 < \|T - S\| < \varepsilon e SS não invertível.

    Select the correct option
    Select an option first
    Show solution
    Seja TT não-invertível com SVD T=UΣVT = U\Sigma V^*. Como TT não é invertível, algum sk=0s_k = 0. Modifique o próximo valor singular pequeno: para ε>0\varepsilon > 0, defina SS com a mesma SVD mas substituindo um sj>0s_j > 0 mínimo por sjδs_j - \delta para δ\delta pequeno, de modo que TS=δ<ε\|T-S\| = \delta < \varepsilon e SS ainda não-invertível (mantendo um valor singular nulo). (Alternativamente: S=TS = T não serve; tomar uma pequena perturbação que preserva um zero na diagonal de Σ\Sigma.)
  28. Ex. 117.28UnderstandingAnswer key

    Suponha F=C\mathbf{F} = \mathbf{C} e TL(V)T \in \mathcal{L}(V). Prove que para todo ε>0\varepsilon > 0, existe um operador diagonalizável SL(V)S \in \mathcal{L}(V) com 0<TS<ε0 < \|T - S\| < \varepsilon.

    Select the correct option
    Select an option first
    Show solution
    Sobre C\mathbf{C}, todo operador é triangularizável (Schur). Os autovalores de TT formam um conjunto finito; pode-se perturbar levemente para torná-los distintos (autovalores distintos implicam diagonalizabilidade). Uma perturbação de norma menor que ε\varepsilon na forma de Schur com autovalores perturbados produz o operador desejado.
  29. Ex. 117.29Application

    Seja TL(V)T \in \mathcal{L}(V) um operador positivo. Mostre que T=T\|\sqrt{T}\| = \sqrt{\|T\|}.

    Select the correct option
    Select an option first
    Show solution
    Para TT positivo, autovalores λi0\lambda_i \geq 0. Como TT é normal (auto-adjunto), T=maxiλi\|T\| = \max_i \lambda_i. Autovalores de T\sqrt{T}: λi\sqrt{\lambda_i}. Logo T=maxiλi=maxiλi=T\|\sqrt{T}\| = \max_i \sqrt{\lambda_i} = \sqrt{\max_i \lambda_i} = \sqrt{\|T\|}.
  30. Ex. 117.30Understanding

    Sejam S,TL(V)S, T \in \mathcal{L}(V) operadores positivos. Mostre que STmax{S,T}S+T\|S - T\| \leq \max\{\|S\|, \|T\|\} \leq \|S + T\|.

    Select the correct option
    Select an option first
    Show solution
    Para operadores positivos S,TS, T: (esquerda) STmax{S,T}\|S - T\| \leq \max\{\|S\|, \|T\|\} por invariância unitária e Weyl. (direita) max{S,T}S+T\max\{\|S\|, \|T\|\} \leq \|S+T\| pois S+TSS + T \succeq S (operadores positivos), logo o maior autovalor de S+TS+T é pelo menos o de SS (e o de TT). Portanto S+Tmax{S,T}\|S+T\| \geq \max\{\|S\|, \|T\|\}.
  31. Ex. 117.31Proof

    Sejam UU e WW subespaços de VV tais que PUPW<1\|P_U - P_W\| < 1 (onde PU,PWP_U, P_W são as projeções ortogonais). Prove que dimU=dimW\dim U = \dim W.

    Show solution
    Se PUPW<1\|P_U - P_W\| < 1, vamos mostrar dimU=dimW\dim U = \dim W. Seja uUu \in U com u=1\|u\| = 1. Então PWu=u(PUPW)uuPUPW>0\|P_W u\| = \|u - (P_U - P_W)u\| \geq \|u\| - \|P_U - P_W\| > 0. Logo PWu0P_W u \neq 0, i.e., uWu \notin W^\perp. Isso mostra que a restrição PWU:UWP_W|_U: U \to W é injetiva (pois o núcleo de PWP_W restrito a UU é trivial). Logo dimUdimW\dim U \leq \dim W. Por simetria dimWdimU\dim W \leq \dim U. Portanto dimU=dimW\dim U = \dim W.
  32. Ex. 117.32Application

    Defina TL(F3)T \in \mathcal{L}(\mathbf{F}^3) por T(z1,z2,z3)=(z3,2z1,3z2)T(z_1, z_2, z_3) = (z_3, 2z_1, 3z_2). Encontre (explicitamente) um operador unitário SL(F3)S \in \mathcal{L}(\mathbf{F}^3) tal que T=STTT = S\sqrt{T^* T}.

    Select the correct option
    Select an option first
    Show solution
    Defina T=UΣVT = U\Sigma V^* (SVD). Então TT=VΣV\sqrt{T^* T} = V\Sigma V^*. Tome S=UVS = UV^* (produto de unitários, logo unitário). Então STT=UVVΣV=UΣV=TS \sqrt{T^* T} = UV^* V \Sigma V^* = U\Sigma V^* = T. Esta é a **decomposição polar** de TT.
    Show step-by-step (with the why)
    1. Calcule TT=VΣ2VT^* T = V\Sigma^2 V^* (usando T=UΣVT = U\Sigma V^*).
    2. Portanto TT=VΣV\sqrt{T^* T} = V\Sigma V^* (raiz quadrada de operador positivo).
    3. Defina S=UVS = UV^*; verifique que SS=VUUV=VV=IS^* S = V U^* U V^* = VV^* = I, portanto SS é unitário.
    4. Confira: STT=UVVΣV=UΣV=TS\sqrt{T^*T} = UV^* \cdot V\Sigma V^* = U\Sigma V^* = T.
  33. Ex. 117.33ProofAnswer key

    Seja SL(V)S \in \mathcal{L}(V) positivo e invertível. Prove que existe δ>0\delta > 0 tal que TT é positivo para todo operador auto-adjunto TL(V)T \in \mathcal{L}(V) com ST<δ\|S - T\| < \delta.

    Show solution
    Seja S0S_0 o positivo invertível dado. Seja δ=miniλi(S0)>0\delta = \min_i \lambda_i(S_0) > 0 (menor autovalor de S0S_0). Se TT é auto-adjunto com S0T<δ/2\|S_0 - T\| < \delta/2, então por Weyl: λi(T)λi(S0)S0T<δ/2|\lambda_i(T) - \lambda_i(S_0)| \leq \|S_0 - T\| < \delta/2. Logo λi(T)>λi(S0)δ/2δδ/2=δ/2>0\lambda_i(T) > \lambda_i(S_0) - \delta/2 \geq \delta - \delta/2 = \delta/2 > 0. Portanto TT é positivo para δ=miniλi(S0)/2\delta = \min_i \lambda_i(S_0)/2.
  34. Ex. 117.34ProofAnswer key

    Seja uVu \in V e φu\varphi_u o funcional linear definido por φu(v)=v,u\varphi_u(v) = \langle v, u \rangle. Prove que φu=u\|\varphi_u\| = \|u\|, onde φu\|\varphi_u\| denota a norma de φu\varphi_u como mapa linear VFV \to \mathbf{F}.

    Show solution
    A norma de φu\varphi_u como mapa linear VFV \to \mathbf{F} é φu=supv=1v,u\|\varphi_u\| = \sup_{\|v\|=1} |\langle v, u \rangle|. Por Cauchy-Schwarz: v,uvu=u|\langle v, u \rangle| \leq \|v\| \|u\| = \|u\|, logo φuu\|\varphi_u\| \leq \|u\|. Igualdade em v=u/uv = u/\|u\|: u/u,u=u|\langle u/\|u\|, u \rangle| = \|u\|. Portanto φu=u\|\varphi_u\| = \|u\|.
  35. Ex. 117.35Proof

    Seja e1,,ene_1, \ldots, e_n base ortonormal de VV e TL(V,W)T \in \mathcal{L}(V, W). (a) Prove que maxkTekT(kTek2)1/2\max_k \|Te_k\| \leq \|T\| \leq (\sum_k \|Te_k\|^2)^{1/2}. (b) Prove que T=(kTek2)1/2\|T\| = (\sum_k \|Te_k\|^2)^{1/2} se e somente se dimrangeT1\dim \text{range}\, T \leq 1.

    Show solution
    (a) Para cada kk: Tek=supv=1Tv,ekek\|Te_k\| = \sup_{\|v\|=1} |\langle Tv, e_k \rangle| \cdot \|e_k\|... Mais direto: Tek=TekTek=T\|Te_k\| = \|T e_k\| \leq \|T\| \|e_k\| = \|T\|. Para a cota superior: kTek2=tr(TT)=jsj2\sum_k \|Te_k\|^2 = \text{tr}(T^*T) = \sum_j s_j^2 (exercício 117.11). Logo T(Tek2)1/2\|T\| \leq (\sum \|Te_k\|^2)^{1/2} pois s1(sj2)1/2s_1 \leq (\sum s_j^2)^{1/2}. (b) Igualdade sse s12=sj2s_1^2 = \sum s_j^2, i.e., todos menos um valor singular são nulos, i.e., rank(T)1\text{rank}(T) \leq 1.
  36. Ex. 117.36Proof

    Prove que se TL(V,W)T \in \mathcal{L}(V, W), então TT=T2\|T^* T\| = \|T\|^2. (Esta fórmula é a base da teoria de álgebras CC^*.)

    Show solution
    TT=T2\|T^* T\| = \|T\|^2. Como TTT^* T é auto-adjunto, TT=s1(TT)=λ1(TT)=s1(T)2=T2\|T^* T\| = s_1(T^* T) = \lambda_1(T^* T) = s_1(T)^2 = \|T\|^2. Esta fórmula é a identidade CC^* das álgebras CC^* (também chamada identidade de Gelfand-Naimark).
  37. Ex. 117.37Proof

    Seja TL(V)T \in \mathcal{L}(V) normal. Prove que Tk=Tk\|T^k\| = \|T\|^k para todo inteiro positivo kk.

    Show solution
    Para TT normal, autovalores λi\lambda_i com base ortonormal de autovetores. Tkei=λikeiT^k e_i = \lambda_i^k e_i, então TkT^k também é normal com autovalores λik\lambda_i^k. Tk=maxiλik=(maxiλi)k=Tk\|T^k\| = \max_i |\lambda_i^k| = (\max_i |\lambda_i|)^k = \|T\|^k.
  38. Ex. 117.38ProofAnswer key

    Suponha dimV>1\dim V > 1 e dimW>1\dim W > 1. Prove que a norma de operador em L(V,W)\mathcal{L}(V, W) não vem de produto interno. (Ou seja, não existe produto interno em L(V,W)\mathcal{L}(V, W) que induza a norma T=maxv1Tv\|T\| = \max_{\|v\| \leq 1} \|Tv\|.)

    Show solution
    Suponha que existe produto interno ,\langle \cdot, \cdot \rangle em L(V,W)\mathcal{L}(V,W) tal que T2=T,T\|T\|^2 = \langle T, T \rangle. Para uma norma vir de produto interno, deve valer a lei do paralelogramo: S+T2+ST2=2(S2+T2)\|S+T\|^2 + \|S-T\|^2 = 2(\|S\|^2 + \|T\|^2). Escolha S,TS, T de posto 1 ortogonais e verifique que a lei falha quando dimV>1,dimW>1\dim V > 1, \dim W > 1 (há exemplos com S+T2=S2+T2<2(S2+T2)ST2\|S+T\|^2 = \|S\|^2 + \|T\|^2 < 2(\|S\|^2+\|T\|^2) - \|S-T\|^2). Portanto a norma de operador não vem de produto interno.
  39. Ex. 117.39Proof

    Seja TL(V,W)T \in \mathcal{L}(V, W) com dimV=n\dim V = n e valores singulares s1sns_1 \geq \cdots \geq s_n. Prove que para 1kn1 \leq k \leq n: min{TU:U subespac¸o de V,dimU=k}=snk+1\min\{\|T|_U\| : U \text{ subespaço de } V,\, \dim U = k\} = s_{n-k+1}.

    Show solution
    Seja 1kn1 \leq k \leq n. Devemos mostrar min{TU:dimU=k}=snk+1\min\{\|T|_U\| : \dim U = k\} = s_{n-k+1}. Tomando U=span{vnk+1,,vn}U = \text{span}\{v_{n-k+1}, \ldots, v_n\} (últimos kk vetores singulares à direita), TU=snk+1\|T|_U\| = s_{n-k+1}. Por outro lado, para qualquer UU de dimensão kk, UU e span{v1,,vnk}\text{span}\{v_1, \ldots, v_{n-k}\} têm soma de dimensões maior que nn, logo se intersectam. Seja uu unitário nessa interseção: Tusnk+1\|Tu\| \leq s_{n-k+1}... (argumento de interlacing/Courant-Fischer).
  40. Ex. 117.40Proof

    Seja TL(V,W)T \in \mathcal{L}(V, W). Mostre que TT é uniformemente contínua em relação às métricas em VV e WW que provêm das normas nesses espaços.

    Show solution
    Para todo v1,v2Vv_1, v_2 \in V com v1v2<δ\|v_1 - v_2\| < \delta: Tv1Tv2=T(v1v2)Tv1v2<Tδ\|Tv_1 - Tv_2\| = \|T(v_1 - v_2)\| \leq \|T\| \|v_1 - v_2\| < \|T\| \delta. Dado ε>0\varepsilon > 0, tome δ=ε/(T+1)\delta = \varepsilon/(\|T\| + 1). Então para v1v2<δ\|v_1 - v_2\| < \delta: Tv1Tv2Tδ<ε\|Tv_1 - Tv_2\| \leq \|T\| \delta < \varepsilon. Logo TT é uniformemente contínua (a escolha de δ\delta não depende dos pontos).

Fontes

  • Beezer, A First Course in Linear Algebra — Rob Beezer · 2023 (3.50) · EN · GNU FDL · §SVD. Fonte primária desta lição: prova rigorosa de existência da SVD via teorema espectral em ATAA^T A, lemas auxiliares e exemplos numéricos completos.
  • Austin, Understanding Linear Algebra — David Austin · 2024 · EN · CC-BY-SA · §6.3–6.4 (Singular Value Decomposition, Low-rank approximations). Apresentação geométrica com transformação do círculo unitário em elipse, motivação aplicada à compressão e à PCA.
  • Hefferon, Linear Algebra — Jim Hefferon · 2020 (4th ed) · EN · CC-BY-SA · cap. 5, §IV. Exercícios de cálculo numérico, pseudoinversa Moore-Penrose e mínimos quadrados regularizados.

Updated on 2026-05-29 · Author(s): Clube da Matemática

Found an error? Open an issue on GitHub or submit a PR — open source forever.