SlideShare une entreprise Scribd logo
1  sur  18
Singular Value Decomposition



















































































T
r
V
U
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x



1
n
m
A 
is
A = (orthogonal) (diagonal) (orthogonal)
T
V
U
A 

8)
T
V
U
A 
 T
r
r
r
T
T
v
u
v
u
v
u
A 

 


 
2
2
2
1
1
1
Applications of the SVD
/. Image processing
G. Strang, Linear Algebra and its Applications p444












x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
picture matrix
Suppose a satellite takes a picture,
and wants to send it to earth. The
picture may contain 1000 by 1000
"pixels"—little squares each with a
definite color. We can code the colors,
in a range between black and white,
and send back 1,000,000 numbers
Applications of the SVD
/. Image processing
It is better to find the essential information in the 1000 by 1000
matrix, and send only that.
T
r
r
r
T
T
v
u
v
u
v
u
A 

 


 
2
2
2
1
1
1
G. Strang, Linear Algebra and its Applications p444
If only 60 terms are kept, we send 60 times 2000 numbers instead of a million.
Suppose we know the SVD.
The key is in the singular values.
Typically, some are significant and others are extremely small.
If we keep 60 and throw away 940, then we send only the
corresponding 60 columns of U, and V.
The other 940 columns are multiplied by small singular values
that are being ignored. In fact, we can do the matrix
multiplication as columns times rows:
Applications of the SVD
T
v
u 1
1
1

T
v
u 2
2
2
 T
v
u 3
3
3
 T
v
u 4
4
4

T
v
u 5
5
5
 T
v
u 6
6
6
 T
v
u 7
7
7

T
v
u 8
8
8

the SVD of a 32-times-32 digital image A is computed
the activities are lead by Prof. Per Christian Hansen.
Applications of the SVD
1
A 2
A 3
A 4
A
5
A 6
A 7
A 8
A
T
s
s
s
T
T
s v
u
v
u
v
u
A 

 


 
2
2
2
1
1
1
r
s 
G. Strang “ at first you see nothing, and suddenly you recognize everything.”
Applications of the SVD
T
s
s
s
T
T
s v
u
v
u
v
u
A 

 


 
2
2
2
1
1
1
r
s 
If A is symmetric
How to compute SVD (by hand)
Eigenvalue Decomposition
rs
eigenvecto
]
,
,
,
[ 2
1 m
S
S
S
S 

If A is real n-by-n matrix, then 1


 S
S
A
)
,
,
,
( 2
1 n
diag 

 


T
Q
Q
A 
 I
Q
QT

Example: A































2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
5
0
0
3
4
1
1
4
Q  T
Q
How to compute SVD (by hand)
T
V
U
A 

T
T
T
U
V
A 

)
)(
( T
T
T
T
U
V
V
U
AA 


T
T
T
U
U
AA 






)
(
)
( T
AA
A 
 
)
)(
( T
T
T
T
V
U
U
V
A
A 


T
T
T
V
V
A
A 


)
(
)
( A
A
A T

 
symmetric
is
T
AA
symmetric
is
A
AT
How to compute SVD (by hand)
T
V
U
A 

T
T
T
U
V
A 

)
)(
( T
T
T
T
U
V
V
U
AA 

 T
T
T
U
U
AA 

Example:











0
0
1
1
1
1
A 







2
2
2
2
A
A
W T 0
2
2
2
2
)
det( 






I
W
0
4
2
1



















1
1
,
1
1
2
1
2
2
1
1 v
v
0
2
2
1




1
1
1
1
Av
u

 






1
1
2
2
1
A











0
2
1
2
1
1
u )
Null(AA
for
basis
l
orthonorma
, T
3
2 u
u











0
0
0
0
2
2
0
2
2
T
AA










 
0
2
1
2
1
2
u











1
0
0
3
u








































2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
0
0
0
0
0
2
1
0
0
0
0
0
0
1
1
1
1
Range(A) Rank(A)
Null(A)
)
)(
( T
T
T
T
V
U
U
V
A
A 

 T
T
T
V
V
A
A 







)
(
)
( T
AA
A 
 
)
(
)
( A
A
A T

 





















x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
Matrix
Bidiagonal
Diagonal
How to compute SVD (Algorithm)
















x
x
x
x
x
















x
x
x
x
x
x
x
x
x
>>[U,S,V] = svd(A)
Example:
Singular Value Decomposition
9) If A is a square matrix then
0
2
1 


 n


 
1
2


A
10) If A is a square matrix then
0
2
1 


 n


 
2
2
2
2
1
2
r
F
A 

 


 
3
2

A 10

F
A



















































































T
r
V
U
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x



1
Singular Value Decomposition
11) If A is a square symmetric matrix then the singular values of A are
the absolute values of the eigenvalues of A.



















































































T
r
V
U
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x



1
T
T
Q
Q
Q
Q
A )
sign( 




12) If A is a square matrix then
i
n
i
A 
1
)
det(



SVD and Eigenvalue Decomposition
SVD Eigen Decomp
Uses two different
bases U, V
Uses just one
(eigenvectors)
Uses orthonormal bases
Generally is not
orthogonal
All matrices
(even rectangular)
Not all matrices
(even square)
(only diagonalizable)
1


 S
S
A
T
V
U
A 

Reduced SVD
A ̂ T
V
Û

Reduced SVD
Singular Value Decomposition
Example : Luke Olson.illinois
svd_test.m
iguana.jpg
Singular Value Decomposition
Theorem: (Singular Value Decomposition) SVD
m
m
m R
u
u
u
U 

 ]
,
,
,
[ 2
1 
If A is real m-by-n matrix, then there exist orthogonal matrices
n
n
n R
v
v
v
V 

 ]
,
,
,
[ 2
1 
such that
T
V
U
A 

where 0
2
1 


 p


  (m,n)
p min

)
,
,
( 1 p
diag 
 


A 
U T
V

Proof:
Singular Value Decomposition
First approximation to A is
T
v
u
A 1
1
1
1 

T
T
v
u
v
u
A 2
2
2
1
1
1
2 
 

second approximation to A is






T
T
T
v
u
v
u
v
u
A 


 

 


 
2
2
2
1
1
1






T
r
r
r
T
T
v
u
v
u
v
u
A 

 


 
2
2
2
1
1
1
2
2
1
)
(
inf
satisfies
also
matrix
the
,
0
with
any
For
:
Theroem
r
F
B
rank
R
B
F
B
A
A
A
A
r
n
m


















 

Singular Value Decomposition
In later years he drove a car
with the license plate:
Trefethen (Textbook author):
The SVD was discovered independently by
Beltrami(1873) and Jordan(1874) and again by
Sylvester(1889).
The SVD did not become widely known in
applied mathematics until the late 1960s, when
Golub and others showed that it could be
computed effectively.
Cleve Moler (invented MATLAB, co-founded MathWorks)
Gene Golub has done more than anyone to make the singular value
decomposition one of the most powerful and widely used tools in modern
matrix computation.

Contenu connexe

Tendances

Face Recognition using PCA-Principal Component Analysis using MATLAB
Face Recognition using PCA-Principal Component Analysis using MATLABFace Recognition using PCA-Principal Component Analysis using MATLAB
Face Recognition using PCA-Principal Component Analysis using MATLABSindhi Madhuri
 
Artificial intelligence ai l4-tim kiem-heuristic
Artificial intelligence ai l4-tim kiem-heuristicArtificial intelligence ai l4-tim kiem-heuristic
Artificial intelligence ai l4-tim kiem-heuristicTráng Hà Viết
 
optim function
optim functionoptim function
optim functionSupri Amir
 
PCA Based Face Recognition System
PCA Based Face Recognition SystemPCA Based Face Recognition System
PCA Based Face Recognition SystemMd. Atiqur Rahman
 
Lect 03 - first portion
Lect 03 - first portionLect 03 - first portion
Lect 03 - first portionMoe Moe Myint
 
Graphics_3D viewing
Graphics_3D viewingGraphics_3D viewing
Graphics_3D viewingRabin BK
 
Thuat toan pca full 24-5-2017
Thuat toan pca full   24-5-2017 Thuat toan pca full   24-5-2017
Thuat toan pca full 24-5-2017 Tuan Remy
 
Lec11: Active Contour and Level Set for Medical Image Segmentation
Lec11: Active Contour and Level Set for Medical Image SegmentationLec11: Active Contour and Level Set for Medical Image Segmentation
Lec11: Active Contour and Level Set for Medical Image SegmentationUlaş Bağcı
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processingAhmed Daoud
 
Tính toán khoa học - Chương 7: Các phương pháp cực tiểu hóa không ràng buộc
Tính toán khoa học - Chương 7: Các phương pháp cực tiểu hóa không ràng buộcTính toán khoa học - Chương 7: Các phương pháp cực tiểu hóa không ràng buộc
Tính toán khoa học - Chương 7: Các phương pháp cực tiểu hóa không ràng buộcChien Dang
 
The Singular Value Decomposition theroy + example
 The Singular Value Decomposition theroy + example  The Singular Value Decomposition theroy + example
The Singular Value Decomposition theroy + example shivam choubey
 
image denoising technique using disctere wavelet transform
image denoising technique using disctere wavelet transformimage denoising technique using disctere wavelet transform
image denoising technique using disctere wavelet transformalishapb
 
Chapter 2. Digital Image Fundamentals.pdf
Chapter 2. Digital Image Fundamentals.pdfChapter 2. Digital Image Fundamentals.pdf
Chapter 2. Digital Image Fundamentals.pdfDngThanh44
 
DIP Notes Unit-1 PPT.pdf
DIP Notes Unit-1 PPT.pdfDIP Notes Unit-1 PPT.pdf
DIP Notes Unit-1 PPT.pdfGaurav Sharma
 
Features image processing and Extaction
Features image processing and ExtactionFeatures image processing and Extaction
Features image processing and ExtactionAli A Jalil
 
Propuesta de Reactivos Tipo PISA para el Festival Académico 2013
Propuesta de Reactivos Tipo PISA para el Festival Académico 2013Propuesta de Reactivos Tipo PISA para el Festival Académico 2013
Propuesta de Reactivos Tipo PISA para el Festival Académico 2013M. en C. Arturo Vázquez Córdova
 
Tailieu.vncty.com bai tap va bai giai phuong phap tinh
Tailieu.vncty.com   bai tap va bai giai phuong phap tinhTailieu.vncty.com   bai tap va bai giai phuong phap tinh
Tailieu.vncty.com bai tap va bai giai phuong phap tinhTrần Đức Anh
 

Tendances (20)

Face Recognition using PCA-Principal Component Analysis using MATLAB
Face Recognition using PCA-Principal Component Analysis using MATLABFace Recognition using PCA-Principal Component Analysis using MATLAB
Face Recognition using PCA-Principal Component Analysis using MATLAB
 
Artificial intelligence ai l4-tim kiem-heuristic
Artificial intelligence ai l4-tim kiem-heuristicArtificial intelligence ai l4-tim kiem-heuristic
Artificial intelligence ai l4-tim kiem-heuristic
 
Image denoising
Image denoisingImage denoising
Image denoising
 
optim function
optim functionoptim function
optim function
 
PCA Based Face Recognition System
PCA Based Face Recognition SystemPCA Based Face Recognition System
PCA Based Face Recognition System
 
Lect 03 - first portion
Lect 03 - first portionLect 03 - first portion
Lect 03 - first portion
 
Graphics_3D viewing
Graphics_3D viewingGraphics_3D viewing
Graphics_3D viewing
 
Thuat toan pca full 24-5-2017
Thuat toan pca full   24-5-2017 Thuat toan pca full   24-5-2017
Thuat toan pca full 24-5-2017
 
Lec11: Active Contour and Level Set for Medical Image Segmentation
Lec11: Active Contour and Level Set for Medical Image SegmentationLec11: Active Contour and Level Set for Medical Image Segmentation
Lec11: Active Contour and Level Set for Medical Image Segmentation
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processing
 
Tính toán khoa học - Chương 7: Các phương pháp cực tiểu hóa không ràng buộc
Tính toán khoa học - Chương 7: Các phương pháp cực tiểu hóa không ràng buộcTính toán khoa học - Chương 7: Các phương pháp cực tiểu hóa không ràng buộc
Tính toán khoa học - Chương 7: Các phương pháp cực tiểu hóa không ràng buộc
 
Ray tracing
Ray tracingRay tracing
Ray tracing
 
The Singular Value Decomposition theroy + example
 The Singular Value Decomposition theroy + example  The Singular Value Decomposition theroy + example
The Singular Value Decomposition theroy + example
 
image denoising technique using disctere wavelet transform
image denoising technique using disctere wavelet transformimage denoising technique using disctere wavelet transform
image denoising technique using disctere wavelet transform
 
Face recognition using PCA
Face recognition using PCAFace recognition using PCA
Face recognition using PCA
 
Chapter 2. Digital Image Fundamentals.pdf
Chapter 2. Digital Image Fundamentals.pdfChapter 2. Digital Image Fundamentals.pdf
Chapter 2. Digital Image Fundamentals.pdf
 
DIP Notes Unit-1 PPT.pdf
DIP Notes Unit-1 PPT.pdfDIP Notes Unit-1 PPT.pdf
DIP Notes Unit-1 PPT.pdf
 
Features image processing and Extaction
Features image processing and ExtactionFeatures image processing and Extaction
Features image processing and Extaction
 
Propuesta de Reactivos Tipo PISA para el Festival Académico 2013
Propuesta de Reactivos Tipo PISA para el Festival Académico 2013Propuesta de Reactivos Tipo PISA para el Festival Académico 2013
Propuesta de Reactivos Tipo PISA para el Festival Académico 2013
 
Tailieu.vncty.com bai tap va bai giai phuong phap tinh
Tailieu.vncty.com   bai tap va bai giai phuong phap tinhTailieu.vncty.com   bai tap va bai giai phuong phap tinh
Tailieu.vncty.com bai tap va bai giai phuong phap tinh
 

Similaire à SVD sath.ppt

Random Matrix Theory and Machine Learning - Part 2
Random Matrix Theory and Machine Learning - Part 2Random Matrix Theory and Machine Learning - Part 2
Random Matrix Theory and Machine Learning - Part 2Fabian Pedregosa
 
Journey to structure from motion
Journey to structure from motionJourney to structure from motion
Journey to structure from motionJa-Keoung Koo
 
Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3Fabian Pedregosa
 
20070823
2007082320070823
20070823neostar
 
Density theorems for Euclidean point configurations
Density theorems for Euclidean point configurationsDensity theorems for Euclidean point configurations
Density theorems for Euclidean point configurationsVjekoslavKovac1
 
Distributed Architecture of Subspace Clustering and Related
Distributed Architecture of Subspace Clustering and RelatedDistributed Architecture of Subspace Clustering and Related
Distributed Architecture of Subspace Clustering and RelatedPei-Che Chang
 
Principal Component Analysis
Principal Component AnalysisPrincipal Component Analysis
Principal Component AnalysisSumit Singh
 
Chap10 slides
Chap10 slidesChap10 slides
Chap10 slidesHJ DS
 

Similaire à SVD sath.ppt (20)

Random Matrix Theory and Machine Learning - Part 2
Random Matrix Theory and Machine Learning - Part 2Random Matrix Theory and Machine Learning - Part 2
Random Matrix Theory and Machine Learning - Part 2
 
Journey to structure from motion
Journey to structure from motionJourney to structure from motion
Journey to structure from motion
 
Adaline and Madaline.ppt
Adaline and Madaline.pptAdaline and Madaline.ppt
Adaline and Madaline.ppt
 
Models
ModelsModels
Models
 
Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3
 
20070823
2007082320070823
20070823
 
Svd
SvdSvd
Svd
 
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
 
Density theorems for Euclidean point configurations
Density theorems for Euclidean point configurationsDensity theorems for Euclidean point configurations
Density theorems for Euclidean point configurations
 
Randomized algorithms ver 1.0
Randomized algorithms ver 1.0Randomized algorithms ver 1.0
Randomized algorithms ver 1.0
 
Distributed Architecture of Subspace Clustering and Related
Distributed Architecture of Subspace Clustering and RelatedDistributed Architecture of Subspace Clustering and Related
Distributed Architecture of Subspace Clustering and Related
 
ML unit2.pptx
ML unit2.pptxML unit2.pptx
ML unit2.pptx
 
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
 
SVD-1 (1).pdf
SVD-1 (1).pdfSVD-1 (1).pdf
SVD-1 (1).pdf
 
KAUST_talk_short.pdf
KAUST_talk_short.pdfKAUST_talk_short.pdf
KAUST_talk_short.pdf
 
Principal Component Analysis
Principal Component AnalysisPrincipal Component Analysis
Principal Component Analysis
 
cswiercz-general-presentation
cswiercz-general-presentationcswiercz-general-presentation
cswiercz-general-presentation
 
ch3.ppt
ch3.pptch3.ppt
ch3.ppt
 
1533 game mathematics
1533 game mathematics1533 game mathematics
1533 game mathematics
 
Chap10 slides
Chap10 slidesChap10 slides
Chap10 slides
 

Dernier

Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating SystemRashmi Bhat
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catcherssdickerson1
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substationstephanwindworld
 
Risk Management in Engineering Construction Project
Risk Management in Engineering Construction ProjectRisk Management in Engineering Construction Project
Risk Management in Engineering Construction ProjectErbil Polytechnic University
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptMadan Karki
 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the weldingMuhammadUzairLiaqat
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
Industrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.pptIndustrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.pptNarmatha D
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxRomil Mishra
 
Virtual memory management in Operating System
Virtual memory management in Operating SystemVirtual memory management in Operating System
Virtual memory management in Operating SystemRashmi Bhat
 
Configuration of IoT devices - Systems managament
Configuration of IoT devices - Systems managamentConfiguration of IoT devices - Systems managament
Configuration of IoT devices - Systems managamentBharaniDharan195623
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
 
Ch10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfCh10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfChristianCDAM
 
Crushers to screens in aggregate production
Crushers to screens in aggregate productionCrushers to screens in aggregate production
Crushers to screens in aggregate productionChinnuNinan
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 

Dernier (20)

Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating System
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substation
 
Risk Management in Engineering Construction Project
Risk Management in Engineering Construction ProjectRisk Management in Engineering Construction Project
Risk Management in Engineering Construction Project
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.ppt
 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the welding
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
Industrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.pptIndustrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.ppt
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptx
 
Virtual memory management in Operating System
Virtual memory management in Operating SystemVirtual memory management in Operating System
Virtual memory management in Operating System
 
Configuration of IoT devices - Systems managament
Configuration of IoT devices - Systems managamentConfiguration of IoT devices - Systems managament
Configuration of IoT devices - Systems managament
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
 
Ch10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfCh10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdf
 
Crushers to screens in aggregate production
Crushers to screens in aggregate productionCrushers to screens in aggregate production
Crushers to screens in aggregate production
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 

SVD sath.ppt

  • 2. Applications of the SVD /. Image processing G. Strang, Linear Algebra and its Applications p444             x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x picture matrix Suppose a satellite takes a picture, and wants to send it to earth. The picture may contain 1000 by 1000 "pixels"—little squares each with a definite color. We can code the colors, in a range between black and white, and send back 1,000,000 numbers
  • 3. Applications of the SVD /. Image processing It is better to find the essential information in the 1000 by 1000 matrix, and send only that. T r r r T T v u v u v u A         2 2 2 1 1 1 G. Strang, Linear Algebra and its Applications p444 If only 60 terms are kept, we send 60 times 2000 numbers instead of a million. Suppose we know the SVD. The key is in the singular values. Typically, some are significant and others are extremely small. If we keep 60 and throw away 940, then we send only the corresponding 60 columns of U, and V. The other 940 columns are multiplied by small singular values that are being ignored. In fact, we can do the matrix multiplication as columns times rows:
  • 4. Applications of the SVD T v u 1 1 1  T v u 2 2 2  T v u 3 3 3  T v u 4 4 4  T v u 5 5 5  T v u 6 6 6  T v u 7 7 7  T v u 8 8 8  the SVD of a 32-times-32 digital image A is computed the activities are lead by Prof. Per Christian Hansen.
  • 5. Applications of the SVD 1 A 2 A 3 A 4 A 5 A 6 A 7 A 8 A T s s s T T s v u v u v u A         2 2 2 1 1 1 r s  G. Strang “ at first you see nothing, and suddenly you recognize everything.”
  • 6. Applications of the SVD T s s s T T s v u v u v u A         2 2 2 1 1 1 r s 
  • 7. If A is symmetric How to compute SVD (by hand) Eigenvalue Decomposition rs eigenvecto ] , , , [ 2 1 m S S S S   If A is real n-by-n matrix, then 1    S S A ) , , , ( 2 1 n diag       T Q Q A   I Q QT  Example: A                                2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 5 0 0 3 4 1 1 4 Q  T Q
  • 8. How to compute SVD (by hand) T V U A   T T T U V A   ) )( ( T T T T U V V U AA    T T T U U AA        ) ( ) ( T AA A    ) )( ( T T T T V U U V A A    T T T V V A A    ) ( ) ( A A A T    symmetric is T AA symmetric is A AT
  • 9. How to compute SVD (by hand) T V U A   T T T U V A   ) )( ( T T T T U V V U AA    T T T U U AA   Example:            0 0 1 1 1 1 A         2 2 2 2 A A W T 0 2 2 2 2 ) det(        I W 0 4 2 1                    1 1 , 1 1 2 1 2 2 1 1 v v 0 2 2 1     1 1 1 1 Av u          1 1 2 2 1 A            0 2 1 2 1 1 u ) Null(AA for basis l orthonorma , T 3 2 u u            0 0 0 0 2 2 0 2 2 T AA             0 2 1 2 1 2 u            1 0 0 3 u                                         2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 0 0 0 0 0 2 1 0 0 0 0 0 0 1 1 1 1 Range(A) Rank(A) Null(A) ) )( ( T T T T V U U V A A    T T T V V A A         ) ( ) ( T AA A    ) ( ) ( A A A T        
  • 10.                 x x x x x x x x x x x x x x x x x x x x x x x x x Matrix Bidiagonal Diagonal How to compute SVD (Algorithm)                 x x x x x                 x x x x x x x x x >>[U,S,V] = svd(A)
  • 11. Example: Singular Value Decomposition 9) If A is a square matrix then 0 2 1     n     1 2   A 10) If A is a square matrix then 0 2 1     n     2 2 2 2 1 2 r F A         3 2  A 10  F A                                                                                    T r V U x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x    1
  • 12. Singular Value Decomposition 11) If A is a square symmetric matrix then the singular values of A are the absolute values of the eigenvalues of A.                                                                                    T r V U x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x    1 T T Q Q Q Q A ) sign(      12) If A is a square matrix then i n i A  1 ) det(   
  • 13. SVD and Eigenvalue Decomposition SVD Eigen Decomp Uses two different bases U, V Uses just one (eigenvectors) Uses orthonormal bases Generally is not orthogonal All matrices (even rectangular) Not all matrices (even square) (only diagonalizable) 1    S S A T V U A  
  • 14. Reduced SVD A ̂ T V Û  Reduced SVD
  • 15. Singular Value Decomposition Example : Luke Olson.illinois svd_test.m iguana.jpg
  • 16. Singular Value Decomposition Theorem: (Singular Value Decomposition) SVD m m m R u u u U    ] , , , [ 2 1  If A is real m-by-n matrix, then there exist orthogonal matrices n n n R v v v V    ] , , , [ 2 1  such that T V U A   where 0 2 1     p     (m,n) p min  ) , , ( 1 p diag      A  U T V  Proof:
  • 17. Singular Value Decomposition First approximation to A is T v u A 1 1 1 1   T T v u v u A 2 2 2 1 1 1 2     second approximation to A is       T T T v u v u v u A             2 2 2 1 1 1       T r r r T T v u v u v u A         2 2 2 1 1 1 2 2 1 ) ( inf satisfies also matrix the , 0 with any For : Theroem r F B rank R B F B A A A A r n m                     
  • 18. Singular Value Decomposition In later years he drove a car with the license plate: Trefethen (Textbook author): The SVD was discovered independently by Beltrami(1873) and Jordan(1874) and again by Sylvester(1889). The SVD did not become widely known in applied mathematics until the late 1960s, when Golub and others showed that it could be computed effectively. Cleve Moler (invented MATLAB, co-founded MathWorks) Gene Golub has done more than anyone to make the singular value decomposition one of the most powerful and widely used tools in modern matrix computation.