SlideShare uma empresa Scribd logo
1 de 14
Baixar para ler offline
Cap´tulo 7
                                             ı

                                           ¸˜
                                Decomposicao
                                      em
                              valores singulares


                                         ´
ALGA 2007/2008 – Mest. Int. Eng. Electrotecnica e de Computadores            ¸˜
                                                                    Decomposicao por valores singulares – 1 / 14
¸˜
 Motivacao

                ¸˜                                  ´
   A determinacao da caracter´stica de uma matriz e um problema comum em
                              ı
                                     ´
   problemas envolvendo circuitos eletricos. Teoricamente, podemos utilizar a
           ¸˜
   eliminacao de Gauss para reduzir uma matriz a uma matriz em escada por
                                       ˜
   linhas e contar o numero de linhas nao todas nulas.
                      ´

                   ´       ˜ ´ ´
   Contudo, este metodo nao e pratico quando trabalhamos com problemas de
                ˜       ´
   grande precisao aritmetica, devido aos arredondamentos que envolvem
   naturalmente erros na matriz dos coeficientes, cuja origem tanto pode residir
                                               ´
   nos dados fornecidos, como no sistema numerico necessariamente finito.

      ´
   O calculo da caracter´stica de uma matriz pode ser um enorme desafio
                        ı
        ´                          ´
   numerico. Pequenos erros numericos nas entradas podem ter um efeito
   imprevis´vel.
           ı



                                         ´
ALGA 2007/2008 – Mest. Int. Eng. Electrotecnica e de Computadores            ¸˜
                                                                    Decomposicao por valores singulares – 2 / 14
Exemplos

                                                        ¸˜
   Os seguintes exemplos ilustram como pequenas perturbacoes nos dados
                            ¸˜
   podem influenciar as solucoes.

                                              x + y = 2
                                              x + y = 2


                                         x +    y    = 2
                                         x + 1.0001y = 2


                                     x +    y    =    2
                                     x + 1.0001y = 2.0001




                                         ´
ALGA 2007/2008 – Mest. Int. Eng. Electrotecnica e de Computadores            ¸˜
                                                                    Decomposicao por valores singulares – 3 / 14
¸˜
 Definicoes
   Os valores singulares σ1 , σ2 , . . . , σr de uma matriz A, do tipo m × n, sao
                                                                               ˜
   as ra´zes quadradas positivas dos valores proprios λℓ da matriz de Gram
        ı                                           ´
                            √
   K = AT A, isto e, σℓ = λℓ > 0.
                   ´
   Dada uma matrix A do tipo m × n, com m ≥ n, se

                                               A = U ΣV T ,

   em que U e V , m × r e n × r, resp., sao matrizes cujas colunas sao
                                         ˜                          ˜
   ortonormais e onde Σ e a matriz diagonal r × r
                        ´
                                                                          
                                               σ1
                                                     σ2                   
                                    Σ=                                     ,
                                                                          
                                                             ..
                                                                 .        
                                                                      σr

   entao diremos que U ΣV T e a factorizacao em valores singulares de A.
      ˜                     ´            ¸˜

                                         ´
ALGA 2007/2008 – Mest. Int. Eng. Electrotecnica e de Computadores                       ¸˜
                                                                               Decomposicao por valores singulares – 4 / 14
Teorema
                                           ¸˜
       Qualquer matriz admite uma factorizacao em valores singulares.



            ¸˜
   Demonstracao:        Am×n

        • AT A: n × n; simetrica; valores proprios reais nao negativos.
                          ´                 ´             ˜

        • Os valores proprios nao nulos de AT A sao (ordenados de modo
                       ´       ˜                 ˜
           decrescente):

                           λ1 ≥ λ2 ≥ · · · ≥ λr > 0 = λr+1 = · · · = λn .
                   √
        • σℓ =         λℓ > 0, para ℓ = 1, . . . , r.


                                         ´
ALGA 2007/2008 – Mest. Int. Eng. Electrotecnica e de Computadores            ¸˜
                                                                    Decomposicao por valores singulares – 5 / 14
                               
                      σ1
                             σ2                  
        • Σ=                                      .
                                                 
                                    ..
                                        .        
                                             σr

        • v1 , v2 , . . . , vr vectores proprios ortonormais de AT A associados aos
                                          ´
           valores proprios λ1 , λ2 , . . . , λr , respectivamente.
                     ´

        • V =         v1 v2 · · ·            vr   .
                   1
        • uℓ =     σℓ
                      Avℓ ,   para ℓ = 1, . . . , r, sao ortonormais.
                                                      ˜

        • U =         u1 u2 · · ·            ur       .




                                         ´
ALGA 2007/2008 – Mest. Int. Eng. Electrotecnica e de Computadores            ¸˜
                                                                    Decomposicao por valores singulares – 6 / 14
Exemplo
                                                                   
                                                  3 5
                                              A= 4 0 
                                                  0 0
                    25 15
   AT A =
                    15 25

   λ1 = 40, λ2 = 10
             √                 √
   σ1 = 2 10, σ2 =                 10
                                                                                                     
           √                                                                         2  1
                     2 0                      √
                                                2     1 −1                        √
   Σ=          10                ,      V =                             ,   U = 55  1 −2 
                     0 1                       2      1  1
                                                                                     0  0


                                         ´
ALGA 2007/2008 – Mest. Int. Eng. Electrotecnica e de Computadores                    ¸˜
                                                                            Decomposicao por valores singulares – 7 / 14
¸˜
   Observacoes


                                               ˜ ´
       1) Os valores singulares de uma matriz sao unicos; contudo, as matrizes
          U e V nao sao unicas.
                  ˜    ˜ ´

       2) U diagonaliza AT A.

       3) v1 , v2 , . . . , vk base ortonormal para C (A).

       4) u1 , u2 , . . . , uk base ortonormal para C (AT ).

       5) car(A) = numero de valores singulares.
                    ´




                                         ´
ALGA 2007/2008 – Mest. Int. Eng. Electrotecnica e de Computadores            ¸˜
                                                                    Decomposicao por valores singulares – 8 / 14
6)

                                                                   
                                                   1 1 −1
                                                  2 2 −2 
                                                   3 3 −3


                                                                                
                                    1.00001 1       −1
                                   2       2.00001 −2       
                                    3       3       −3.00001


            σ1 ≈ 6.48075           σ2 ≈ σ3 ≈ 0.000001



                                         ´
ALGA 2007/2008 – Mest. Int. Eng. Electrotecnica e de Computadores                ¸˜
                                                                        Decomposicao por valores singulares – 9 / 14
A Pseudo-inversa

   Suponhamos que U ΣV T e a factorizacao em valores singulares de A.
                         ´            ¸˜

        ¸˜
   Definicao
   A pseudo-inversa ou a inversa de Moore-Penrose de A e a matriz n × m
                                                       ´

                                            A+ = V Σ−1 U T .

        ¸˜
   Condicoes de Penrose
   1. AXA = A
   2. XAX = X
   3. (AX)T = AX
   4. (XA)T = XA

   Se A e do tipo m × n, entao existe uma unica matriz X , n × m, que satifaz
         ´                  ˜             ´
              ¸˜
   estas condicoes.
   Se e (quadrada) nao singular, entao A+ = A−1 .
      ´             ˜               ˜
                                         ´
ALGA 2007/2008 – Mest. Int. Eng. Electrotecnica e de Computadores            ¸˜
                                                                    Decomposicao por valores singulares – 10 / 14
Teorema
       Seja A uma matriz do tipo m × n de caracter´stica n. Entao,
                                                  ı            ˜
                    A+ = (AT A)−1 AT .



   Teorema
       x = A+ b e solucao no sentido dos m´nimos quadrados do
       ¯        ´     ¸˜                  ı
       sistema Ax = b.




                                         ´
ALGA 2007/2008 – Mest. Int. Eng. Electrotecnica e de Computadores            ¸˜
                                                                    Decomposicao por valores singulares – 11 / 14
Exemplo
   Usando a pseudo-inversa, resolva o sistema Ax = b no sentido dos
   m´nimos quadrados, com
    ı
                                                                             
                               1  2 −1                                   1
                             3 −4   1                                0 
                          A=
                                      ,                           b=    .
                              −1  3 −1                                −1 
                               2 −1  0                                   2

         ¸˜
   Resolucao
                                                                      
                                             15 −15  3
                                      K =  −15  30 −9 
                                              3 −9   3

              √                         √
   λ1 = 24 + 3 34 ≈ 41.4929, λ2 = 24 − 3 34 ≈ 6.5071, λ3 = 0

                                         ´
ALGA 2007/2008 – Mest. Int. Eng. Electrotecnica e de Computadores               ¸˜
                                                                       Decomposicao por valores singulares – 12 / 14
√                               √
   σ1 =         λ1 ≈ 6.4415, σ2 =               λ2 ≈ 2.5509


                                                 6.4415    0
                                      Σ=
                                                    0   2.5509

                                                                                      
                                                       −0.2180        −0.7869
          0.4990 −0.8472                                0.7869         −0.2180 
   V =  −0.8344 −0.4128                           U =
                                                        −0.5024
                                                                                
                                                                        −0.2845 
          0.2340  0.3345
                                                          0.2845        −0.5024
   (recorde que A = U ΣV T )


                                                                                                
                            0.2444  0.1333  0.0556  0.1889
         A+ = V Σ−1 U T =  0.1556 −0.0667  0.1111  0.0444 
                           −0.1111       0 −0.0556 −0.0556

                                         ´
ALGA 2007/2008 – Mest. Int. Eng. Electrotecnica e de Computadores            ¸˜
                                                                    Decomposicao por valores singulares – 13 / 14
A solucao (no sentido dos m´nimos quadrados) do sistema Ax = b e
         ¸˜                   ı                                   ´
                                                                   
                                                  0.5667
                                     x = A+ b =  0.1333  .
                                     ¯
                                                 −0.1667




                                         ´
ALGA 2007/2008 – Mest. Int. Eng. Electrotecnica e de Computadores            ¸˜
                                                                    Decomposicao por valores singulares – 14 / 14

Mais conteúdo relacionado

Mais procurados

DeepLearning 輪読会 第1章 はじめに
DeepLearning 輪読会 第1章 はじめにDeepLearning 輪読会 第1章 はじめに
DeepLearning 輪読会 第1章 はじめにDeep Learning JP
 
NDC 2014 이은석 - 온라인 게임의 창발적 플레이 디자인
NDC 2014 이은석 - 온라인 게임의 창발적 플레이 디자인NDC 2014 이은석 - 온라인 게임의 창발적 플레이 디자인
NDC 2014 이은석 - 온라인 게임의 창발적 플레이 디자인Eunseok Yi
 
03.12 cnn backpropagation
03.12 cnn backpropagation03.12 cnn backpropagation
03.12 cnn backpropagationDea-hwan Ki
 
유니티 시작하기 - 유니티에 대해, 실행하는 법, 기본 용어, 조작법, 개념 설명
유니티 시작하기 - 유니티에 대해, 실행하는 법, 기본 용어, 조작법, 개념 설명유니티 시작하기 - 유니티에 대해, 실행하는 법, 기본 용어, 조작법, 개념 설명
유니티 시작하기 - 유니티에 대해, 실행하는 법, 기본 용어, 조작법, 개념 설명주형 고
 
[DL輪読会]Deep Learning 第14章 自己符号化器
[DL輪読会]Deep Learning 第14章 自己符号化器[DL輪読会]Deep Learning 第14章 自己符号化器
[DL輪読会]Deep Learning 第14章 自己符号化器Deep Learning JP
 
A Review of the Split Bregman Method for L1 Regularized Problems
A Review of the Split Bregman Method for L1 Regularized ProblemsA Review of the Split Bregman Method for L1 Regularized Problems
A Review of the Split Bregman Method for L1 Regularized ProblemsPardis N
 
Algorithmic Music Recommendations at Spotify
Algorithmic Music Recommendations at SpotifyAlgorithmic Music Recommendations at Spotify
Algorithmic Music Recommendations at SpotifyChris Johnson
 
التسويق الفيروسي
التسويق الفيروسيالتسويق الفيروسي
التسويق الفيروسيFalah S. Elsafady
 
모바일/온라인 게임의 매출시뮬레이션
모바일/온라인 게임의 매출시뮬레이션모바일/온라인 게임의 매출시뮬레이션
모바일/온라인 게임의 매출시뮬레이션Sunnyrider
 
ACM RecSys 2011 - Rank and Relevance in Novelty and Diversity Metrics for Rec...
ACM RecSys 2011 - Rank and Relevance in Novelty and Diversity Metrics for Rec...ACM RecSys 2011 - Rank and Relevance in Novelty and Diversity Metrics for Rec...
ACM RecSys 2011 - Rank and Relevance in Novelty and Diversity Metrics for Rec...Pablo Castells
 
空間データのための回帰分析
空間データのための回帰分析空間データのための回帰分析
空間データのための回帰分析springking
 
8.4 グラフィカルモデルによる推論
8.4 グラフィカルモデルによる推論8.4 グラフィカルモデルによる推論
8.4 グラフィカルモデルによる推論sleepy_yoshi
 
Markov decision process
Markov decision processMarkov decision process
Markov decision processchauhankapil
 
R実践 機械学習による異常検知 02
R実践 機械学習による異常検知 02R実践 機械学習による異常検知 02
R実践 機械学習による異常検知 02akira_11
 
[DL輪読会]Deep Learning 第20章 深層生成モデル
[DL輪読会]Deep Learning 第20章 深層生成モデル[DL輪読会]Deep Learning 第20章 深層生成モデル
[DL輪読会]Deep Learning 第20章 深層生成モデルDeep Learning JP
 
게임제작개론 9
게임제작개론 9게임제작개론 9
게임제작개론 9Seokmin No
 
Shallow and Deep Latent Models for Recommender System
Shallow and Deep Latent Models for Recommender SystemShallow and Deep Latent Models for Recommender System
Shallow and Deep Latent Models for Recommender SystemAnoop Deoras
 

Mais procurados (20)

Matrix calculus
Matrix calculusMatrix calculus
Matrix calculus
 
DeepLearning 輪読会 第1章 はじめに
DeepLearning 輪読会 第1章 はじめにDeepLearning 輪読会 第1章 はじめに
DeepLearning 輪読会 第1章 はじめに
 
NDC 2014 이은석 - 온라인 게임의 창발적 플레이 디자인
NDC 2014 이은석 - 온라인 게임의 창발적 플레이 디자인NDC 2014 이은석 - 온라인 게임의 창발적 플레이 디자인
NDC 2014 이은석 - 온라인 게임의 창발적 플레이 디자인
 
03.12 cnn backpropagation
03.12 cnn backpropagation03.12 cnn backpropagation
03.12 cnn backpropagation
 
유니티 시작하기 - 유니티에 대해, 실행하는 법, 기본 용어, 조작법, 개념 설명
유니티 시작하기 - 유니티에 대해, 실행하는 법, 기본 용어, 조작법, 개념 설명유니티 시작하기 - 유니티에 대해, 실행하는 법, 기본 용어, 조작법, 개념 설명
유니티 시작하기 - 유니티에 대해, 실행하는 법, 기본 용어, 조작법, 개념 설명
 
[DL輪読会]Deep Learning 第14章 自己符号化器
[DL輪読会]Deep Learning 第14章 自己符号化器[DL輪読会]Deep Learning 第14章 自己符号化器
[DL輪読会]Deep Learning 第14章 自己符号化器
 
Wasserstein GAN
Wasserstein GANWasserstein GAN
Wasserstein GAN
 
A Review of the Split Bregman Method for L1 Regularized Problems
A Review of the Split Bregman Method for L1 Regularized ProblemsA Review of the Split Bregman Method for L1 Regularized Problems
A Review of the Split Bregman Method for L1 Regularized Problems
 
Algorithmic Music Recommendations at Spotify
Algorithmic Music Recommendations at SpotifyAlgorithmic Music Recommendations at Spotify
Algorithmic Music Recommendations at Spotify
 
التسويق الفيروسي
التسويق الفيروسيالتسويق الفيروسي
التسويق الفيروسي
 
모바일/온라인 게임의 매출시뮬레이션
모바일/온라인 게임의 매출시뮬레이션모바일/온라인 게임의 매출시뮬레이션
모바일/온라인 게임의 매출시뮬레이션
 
1次式とノルムで構成された最適化問題とその双対問題
1次式とノルムで構成された最適化問題とその双対問題1次式とノルムで構成された最適化問題とその双対問題
1次式とノルムで構成された最適化問題とその双対問題
 
ACM RecSys 2011 - Rank and Relevance in Novelty and Diversity Metrics for Rec...
ACM RecSys 2011 - Rank and Relevance in Novelty and Diversity Metrics for Rec...ACM RecSys 2011 - Rank and Relevance in Novelty and Diversity Metrics for Rec...
ACM RecSys 2011 - Rank and Relevance in Novelty and Diversity Metrics for Rec...
 
空間データのための回帰分析
空間データのための回帰分析空間データのための回帰分析
空間データのための回帰分析
 
8.4 グラフィカルモデルによる推論
8.4 グラフィカルモデルによる推論8.4 グラフィカルモデルによる推論
8.4 グラフィカルモデルによる推論
 
Markov decision process
Markov decision processMarkov decision process
Markov decision process
 
R実践 機械学習による異常検知 02
R実践 機械学習による異常検知 02R実践 機械学習による異常検知 02
R実践 機械学習による異常検知 02
 
[DL輪読会]Deep Learning 第20章 深層生成モデル
[DL輪読会]Deep Learning 第20章 深層生成モデル[DL輪読会]Deep Learning 第20章 深層生成モデル
[DL輪読会]Deep Learning 第20章 深層生成モデル
 
게임제작개론 9
게임제작개론 9게임제작개론 9
게임제작개론 9
 
Shallow and Deep Latent Models for Recommender System
Shallow and Deep Latent Models for Recommender SystemShallow and Deep Latent Models for Recommender System
Shallow and Deep Latent Models for Recommender System
 

Alga matrizes pseudo inversa e afins

  • 1. Cap´tulo 7 ı ¸˜ Decomposicao em valores singulares ´ ALGA 2007/2008 – Mest. Int. Eng. Electrotecnica e de Computadores ¸˜ Decomposicao por valores singulares – 1 / 14
  • 2. ¸˜ Motivacao ¸˜ ´ A determinacao da caracter´stica de uma matriz e um problema comum em ı ´ problemas envolvendo circuitos eletricos. Teoricamente, podemos utilizar a ¸˜ eliminacao de Gauss para reduzir uma matriz a uma matriz em escada por ˜ linhas e contar o numero de linhas nao todas nulas. ´ ´ ˜ ´ ´ Contudo, este metodo nao e pratico quando trabalhamos com problemas de ˜ ´ grande precisao aritmetica, devido aos arredondamentos que envolvem naturalmente erros na matriz dos coeficientes, cuja origem tanto pode residir ´ nos dados fornecidos, como no sistema numerico necessariamente finito. ´ O calculo da caracter´stica de uma matriz pode ser um enorme desafio ı ´ ´ numerico. Pequenos erros numericos nas entradas podem ter um efeito imprevis´vel. ı ´ ALGA 2007/2008 – Mest. Int. Eng. Electrotecnica e de Computadores ¸˜ Decomposicao por valores singulares – 2 / 14
  • 3. Exemplos ¸˜ Os seguintes exemplos ilustram como pequenas perturbacoes nos dados ¸˜ podem influenciar as solucoes. x + y = 2 x + y = 2 x + y = 2 x + 1.0001y = 2 x + y = 2 x + 1.0001y = 2.0001 ´ ALGA 2007/2008 – Mest. Int. Eng. Electrotecnica e de Computadores ¸˜ Decomposicao por valores singulares – 3 / 14
  • 4. ¸˜ Definicoes Os valores singulares σ1 , σ2 , . . . , σr de uma matriz A, do tipo m × n, sao ˜ as ra´zes quadradas positivas dos valores proprios λℓ da matriz de Gram ı ´ √ K = AT A, isto e, σℓ = λℓ > 0. ´ Dada uma matrix A do tipo m × n, com m ≥ n, se A = U ΣV T , em que U e V , m × r e n × r, resp., sao matrizes cujas colunas sao ˜ ˜ ortonormais e onde Σ e a matriz diagonal r × r ´   σ1  σ2  Σ=  ,   ..  .  σr entao diremos que U ΣV T e a factorizacao em valores singulares de A. ˜ ´ ¸˜ ´ ALGA 2007/2008 – Mest. Int. Eng. Electrotecnica e de Computadores ¸˜ Decomposicao por valores singulares – 4 / 14
  • 5. Teorema ¸˜ Qualquer matriz admite uma factorizacao em valores singulares. ¸˜ Demonstracao: Am×n • AT A: n × n; simetrica; valores proprios reais nao negativos. ´ ´ ˜ • Os valores proprios nao nulos de AT A sao (ordenados de modo ´ ˜ ˜ decrescente): λ1 ≥ λ2 ≥ · · · ≥ λr > 0 = λr+1 = · · · = λn . √ • σℓ = λℓ > 0, para ℓ = 1, . . . , r. ´ ALGA 2007/2008 – Mest. Int. Eng. Electrotecnica e de Computadores ¸˜ Decomposicao por valores singulares – 5 / 14
  • 6.  σ1  σ2  • Σ=  .   ..  .  σr • v1 , v2 , . . . , vr vectores proprios ortonormais de AT A associados aos ´ valores proprios λ1 , λ2 , . . . , λr , respectivamente. ´ • V = v1 v2 · · · vr . 1 • uℓ = σℓ Avℓ , para ℓ = 1, . . . , r, sao ortonormais. ˜ • U = u1 u2 · · · ur . ´ ALGA 2007/2008 – Mest. Int. Eng. Electrotecnica e de Computadores ¸˜ Decomposicao por valores singulares – 6 / 14
  • 7. Exemplo   3 5 A= 4 0  0 0 25 15 AT A = 15 25 λ1 = 40, λ2 = 10 √ √ σ1 = 2 10, σ2 = 10   √ 2 1 2 0 √ 2 1 −1 √ Σ= 10 , V = , U = 55  1 −2  0 1 2 1 1 0 0 ´ ALGA 2007/2008 – Mest. Int. Eng. Electrotecnica e de Computadores ¸˜ Decomposicao por valores singulares – 7 / 14
  • 8. ¸˜ Observacoes ˜ ´ 1) Os valores singulares de uma matriz sao unicos; contudo, as matrizes U e V nao sao unicas. ˜ ˜ ´ 2) U diagonaliza AT A. 3) v1 , v2 , . . . , vk base ortonormal para C (A). 4) u1 , u2 , . . . , uk base ortonormal para C (AT ). 5) car(A) = numero de valores singulares. ´ ´ ALGA 2007/2008 – Mest. Int. Eng. Electrotecnica e de Computadores ¸˜ Decomposicao por valores singulares – 8 / 14
  • 9. 6)   1 1 −1  2 2 −2  3 3 −3   1.00001 1 −1  2 2.00001 −2  3 3 −3.00001 σ1 ≈ 6.48075 σ2 ≈ σ3 ≈ 0.000001 ´ ALGA 2007/2008 – Mest. Int. Eng. Electrotecnica e de Computadores ¸˜ Decomposicao por valores singulares – 9 / 14
  • 10. A Pseudo-inversa Suponhamos que U ΣV T e a factorizacao em valores singulares de A. ´ ¸˜ ¸˜ Definicao A pseudo-inversa ou a inversa de Moore-Penrose de A e a matriz n × m ´ A+ = V Σ−1 U T . ¸˜ Condicoes de Penrose 1. AXA = A 2. XAX = X 3. (AX)T = AX 4. (XA)T = XA Se A e do tipo m × n, entao existe uma unica matriz X , n × m, que satifaz ´ ˜ ´ ¸˜ estas condicoes. Se e (quadrada) nao singular, entao A+ = A−1 . ´ ˜ ˜ ´ ALGA 2007/2008 – Mest. Int. Eng. Electrotecnica e de Computadores ¸˜ Decomposicao por valores singulares – 10 / 14
  • 11. Teorema Seja A uma matriz do tipo m × n de caracter´stica n. Entao, ı ˜ A+ = (AT A)−1 AT . Teorema x = A+ b e solucao no sentido dos m´nimos quadrados do ¯ ´ ¸˜ ı sistema Ax = b. ´ ALGA 2007/2008 – Mest. Int. Eng. Electrotecnica e de Computadores ¸˜ Decomposicao por valores singulares – 11 / 14
  • 12. Exemplo Usando a pseudo-inversa, resolva o sistema Ax = b no sentido dos m´nimos quadrados, com ı     1 2 −1 1  3 −4 1   0  A=  , b= . −1 3 −1   −1  2 −1 0 2 ¸˜ Resolucao   15 −15 3 K =  −15 30 −9  3 −9 3 √ √ λ1 = 24 + 3 34 ≈ 41.4929, λ2 = 24 − 3 34 ≈ 6.5071, λ3 = 0 ´ ALGA 2007/2008 – Mest. Int. Eng. Electrotecnica e de Computadores ¸˜ Decomposicao por valores singulares – 12 / 14
  • 13. √ σ1 = λ1 ≈ 6.4415, σ2 = λ2 ≈ 2.5509 6.4415 0 Σ= 0 2.5509     −0.2180 −0.7869 0.4990 −0.8472  0.7869 −0.2180  V =  −0.8344 −0.4128  U =  −0.5024  −0.2845  0.2340 0.3345 0.2845 −0.5024 (recorde que A = U ΣV T )   0.2444 0.1333 0.0556 0.1889 A+ = V Σ−1 U T =  0.1556 −0.0667 0.1111 0.0444  −0.1111 0 −0.0556 −0.0556 ´ ALGA 2007/2008 – Mest. Int. Eng. Electrotecnica e de Computadores ¸˜ Decomposicao por valores singulares – 13 / 14
  • 14. A solucao (no sentido dos m´nimos quadrados) do sistema Ax = b e ¸˜ ı ´   0.5667 x = A+ b =  0.1333  . ¯ −0.1667 ´ ALGA 2007/2008 – Mest. Int. Eng. Electrotecnica e de Computadores ¸˜ Decomposicao por valores singulares – 14 / 14