Advanced Linear Algebra - UNY

57
Advanced Linear Algebra Advanced Linear Algebra References: [A] Howard Anton Chris Rorres. (2000). Elementary Linear Algebra. New York: John Wiley & Sons, Inc [B] Setya Budi, W. 1995. Aljabar Linear. Jakarta: Gramedia R. Rosnawati Jurusan Pendidikan Matematika FMIPA UNY .

Transcript of Advanced Linear Algebra - UNY

Page 1: Advanced Linear Algebra - UNY

Advanced Linear AlgebraAdvanced Linear AlgebraReferences:

[A] Howard Anton& Chris Rorres. (2000). Elementary LinearAlgebra. New York: John Wiley & Sons, Inc

[B] Setya Budi, W. 1995. Aljabar Linear. Jakarta: Gramedia

R. RosnawatiJurusan Pendidikan MatematikaFMIPA UNY

.

Page 2: Advanced Linear Algebra - UNY

Inner Product SpacesInner Product Spaces

1 Inner Products 2 Angle and Orthogonality in Inner

Product Spaces 3 Gram-Schmidt Process;

QR-Decomposition 4 Best Approximation; Least Squares 5 Least Squares Fitting to Data 6 Function Approximation; Fourier

Series

1 Inner Products 2 Angle and Orthogonality in Inner

Product Spaces 3 Gram-Schmidt Process;

QR-Decomposition 4 Best Approximation; Least Squares 5 Least Squares Fitting to Data 6 Function Approximation; Fourier

Series

Page 3: Advanced Linear Algebra - UNY

1 Inner Products1 Inner Products

Page 4: Advanced Linear Algebra - UNY

2. Algebraic Properties of Inner Products2. Algebraic Properties of Inner Products

Page 5: Advanced Linear Algebra - UNY

θθ: the angle between u and v: the angle between u and v

Page 6: Advanced Linear Algebra - UNY

3 Gram3 Gram--Schmidt Process; QRSchmidt Process; QR--DecompositionDecomposition

Page 7: Advanced Linear Algebra - UNY

QRQR--DecompositionDecomposition

Page 8: Advanced Linear Algebra - UNY

4. Best Approximation; Least4. Best Approximation; LeastSquaresSquares

Page 9: Advanced Linear Algebra - UNY

Least squares solutions to ALeast squares solutions to Axx ==bb

Page 10: Advanced Linear Algebra - UNY
Page 11: Advanced Linear Algebra - UNY

5 Least Squares Fitting to Data5 Least Squares Fitting to Data

Page 12: Advanced Linear Algebra - UNY

The Least Squares SolutionThe Least Squares Solution

Page 13: Advanced Linear Algebra - UNY

6 Function Approximation;6 Function Approximation;Fourier SeriesFourier Series

Page 14: Advanced Linear Algebra - UNY

Fourier Coefficients & SeriesFourier Coefficients & Series

Page 15: Advanced Linear Algebra - UNY
Page 16: Advanced Linear Algebra - UNY

Fourier Approximation to y = xFourier Approximation to y = x

Page 17: Advanced Linear Algebra - UNY

Diagonalization & QuadraticDiagonalization & QuadraticFormsForms

1 Orthogonal Matrices 2 Orthogonal Diagonalization 3 Quadratic Forms 4 Optimization Using Quadratic

Forms 5 Hermitian, Unitary, and Normal

Matrices

1 Orthogonal Matrices 2 Orthogonal Diagonalization 3 Quadratic Forms 4 Optimization Using Quadratic

Forms 5 Hermitian, Unitary, and Normal

Matrices

Page 18: Advanced Linear Algebra - UNY

1 Orthogonal Matrices1 Orthogonal Matrices

Page 19: Advanced Linear Algebra - UNY
Page 20: Advanced Linear Algebra - UNY

Orthonormal BasisOrthonormal Basis

Page 21: Advanced Linear Algebra - UNY

Orthogonal DiagonalizationOrthogonal Diagonalization

Page 22: Advanced Linear Algebra - UNY

Symmetric MatricesSymmetric Matrices

Page 23: Advanced Linear Algebra - UNY

Schur’s TheoremSchur’s Theorem

Page 24: Advanced Linear Algebra - UNY

Hessenberg’s TheoremHessenberg’s Theorem

Page 25: Advanced Linear Algebra - UNY

3 Quadratic Forms3 Quadratic Forms

Page 26: Advanced Linear Algebra - UNY

Conic SectionsConic Sections

Page 27: Advanced Linear Algebra - UNY

Central conics in standardCentral conics in standardpositionposition

Page 28: Advanced Linear Algebra - UNY

Definite quadratic formsDefinite quadratic forms

Page 29: Advanced Linear Algebra - UNY

Ellipse? Hyperbola? Neither?Ellipse? Hyperbola? Neither?

Page 30: Advanced Linear Algebra - UNY

4 Optimization Using Quadratic4 Optimization Using QuadraticFormsForms

Page 31: Advanced Linear Algebra - UNY
Page 32: Advanced Linear Algebra - UNY

Hessian Form of theHessian Form of thesecond derivative testsecond derivative test

Page 33: Advanced Linear Algebra - UNY

5 Hermitian, Unita and Normal5 Hermitian, Unita and NormalMatricesMatrices

Page 34: Advanced Linear Algebra - UNY

Hermitian MatricesHermitian Matrices

Page 35: Advanced Linear Algebra - UNY

Unitary MatricesUnitary Matrices

Page 36: Advanced Linear Algebra - UNY

Unitarily DiagonalizingUnitarily Diagonalizinga Hermitian Matrixa Hermitian Matrix

Page 37: Advanced Linear Algebra - UNY

I. Linear TransformationsI. Linear Transformations

General Linear Transformations Isomorphisms Compositions and Inverse

Transformations Matrices for General Linear

Transformations Similarity

General Linear Transformations Isomorphisms Compositions and Inverse

Transformations Matrices for General Linear

Transformations Similarity

Page 38: Advanced Linear Algebra - UNY

General Linear TransformationsGeneral Linear Transformations

Page 39: Advanced Linear Algebra - UNY

Dilation and ContractionDilation and ContractionOperatorsOperators

Page 40: Advanced Linear Algebra - UNY

Image, Kernel and RangeImage, Kernel and Range

Page 41: Advanced Linear Algebra - UNY

Rank, Nullity and DimensionRank, Nullity and Dimension

Page 42: Advanced Linear Algebra - UNY

IsomorphismIsomorphism

Page 43: Advanced Linear Algebra - UNY

IsomorphismIsomorphism

Page 44: Advanced Linear Algebra - UNY

Compositions and InverseCompositions and InverseTransformationsTransformations

Page 45: Advanced Linear Algebra - UNY

InversesInverses

Page 46: Advanced Linear Algebra - UNY

Matrices for GeneralMatrices for GeneralLinear TransformationsLinear Transformations

Page 47: Advanced Linear Algebra - UNY

Matrix of CompositionsMatrix of Compositionsand Inverse Transformationsand Inverse Transformations

Page 48: Advanced Linear Algebra - UNY

SimilaritySimilarity

Page 49: Advanced Linear Algebra - UNY

Eigenvalues and EigenvectorsEigenvalues and EigenvectorsDefinition 1: A nonzero vector x is an eigenvector (or characteristic vector)of a square matrix A if there exists a scalar λ such that Ax = λx. Then λ is aneigenvalue (or characteristic value) of A.

Note: The zero vector can not be an eigenvector even though A0 = λ0. But λ= 0 can be an eigenvalue.

Example: The image cannot be displayed. Your computer may not have enough memory to open the image, or the image may have been corrupted. Restart your computer, and then open the file again. If the red x still appears, you may have to delete the image and then insert it again.

Page 50: Advanced Linear Algebra - UNY

Geometric interpretation ofGeometric interpretation ofEigenvalues and EigenvectorsEigenvalues and Eigenvectors

An n×n matrix A multiplied by n×1 vector x results in anothern×1 vector y=Ax. Thus A can be considered as atransformation matrix.

In general, a matrix acts on a vector by changing both itsmagnitude and its direction. However, a matrix may act oncertain vectors by changing only their magnitude, and leavingtheir direction unchanged (or possibly reversing it). Thesevectors are the eigenvectors of the matrix.

A matrix acts on an eigenvector by multiplying its magnitude bya factor, which is positive if its direction is unchanged andnegative if its direction is reversed. This factor is the eigenvalueassociated with that eigenvector.

An n×n matrix A multiplied by n×1 vector x results in anothern×1 vector y=Ax. Thus A can be considered as atransformation matrix.

In general, a matrix acts on a vector by changing both itsmagnitude and its direction. However, a matrix may act oncertain vectors by changing only their magnitude, and leavingtheir direction unchanged (or possibly reversing it). Thesevectors are the eigenvectors of the matrix.

A matrix acts on an eigenvector by multiplying its magnitude bya factor, which is positive if its direction is unchanged andnegative if its direction is reversed. This factor is the eigenvalueassociated with that eigenvector.

Page 51: Advanced Linear Algebra - UNY

6.2 Eigenvalues6.2 EigenvaluesLet x be an eigenvector of the matrix A. Then there must exist aneigenvalue λ such that Ax = λx or, equivalently,

Ax - λx = 0 or

(A – λI)x = 0

If we define a new matrix B = A – λI, then

Bx = 0

If B has an inverse then x = B-10 = 0. But an eigenvector cannotbe zero.

Thus, it follows that x will be an eigenvector of A if and only if Bdoes not have an inverse, or equivalently det(B)=0, or

det(A – λI) = 0

This is called the characteristic equation of A. Its rootsdetermine the eigenvalues of A.

Let x be an eigenvector of the matrix A. Then there must exist aneigenvalue λ such that Ax = λx or, equivalently,

Ax - λx = 0 or

(A – λI)x = 0

If we define a new matrix B = A – λI, then

Bx = 0

If B has an inverse then x = B-10 = 0. But an eigenvector cannotbe zero.

Thus, it follows that x will be an eigenvector of A if and only if Bdoes not have an inverse, or equivalently det(B)=0, or

det(A – λI) = 0

This is called the characteristic equation of A. Its rootsdetermine the eigenvalues of A.

Page 52: Advanced Linear Algebra - UNY

Example 1: Find the eigenvalues of

two eigenvalues: 1, 2Note: The roots of the characteristic equation can be repeated. That is, λ1 = λ2

=…= λk. If that happens, the eigenvalue is said to be of multiplicity k.Example 2: Find the eigenvalues of

λ = 2 is an eigenvector of multiplicity 3.

51

122A

)2)(1(23

12)5)(2(51

122

2

AI

6.2 Eigenvalues: examples6.2 Eigenvalues: examplesExample 1: Find the eigenvalues of

two eigenvalues: 1, 2Note: The roots of the characteristic equation can be repeated. That is, λ1 = λ2

=…= λk. If that happens, the eigenvalue is said to be of multiplicity k.Example 2: Find the eigenvalues of

λ = 2 is an eigenvector of multiplicity 3.

200

020

012

A

0)2(

200

020

0123

AI

Page 53: Advanced Linear Algebra - UNY

Example 1 (cont.):

00

41

41

123)1(:1 AI

0,1

4

,404

2

11

2121

ttx

x

txtxxx

x

6.3 Eigenvectors6.3 EigenvectorsTo each distinct eigenvalue of a matrix A there will correspond at least oneeigenvector which can be found by solving the appropriate set of homogenousequations. If λi is an eigenvalue then the corresponding eigenvector xi is thesolution of (A – λiI)xi = 0

0,1

4

,404

2

11

2121

ttx

x

txtxxx

x

00

31

31

124)2(:2 AI

0,1

3

2

12

ss

x

xx

Page 54: Advanced Linear Algebra - UNY

Example 2 (cont.): Find the eigenvectors of

Recall that λ = 2 is an eigenvector of multiplicity 3.Solve the homogeneous linear system represented by

Let . The eigenvectors of = 2 are of theform

s and t not both zero.

0

0

0

000

000

010

)2(

3

2

1

x

x

x

AI x

6.3 Eigenvectors6.3 Eigenvectors

200

020

012

AExample 2 (cont.): Find the eigenvectors of

Recall that λ = 2 is an eigenvector of multiplicity 3.Solve the homogeneous linear system represented by

Let . The eigenvectors of = 2 are of theform

s and t not both zero.

0

0

0

000

000

010

)2(

3

2

1

x

x

x

AI x

txsx 31 ,

,

1

0

0

0

0

1

0

3

2

1

ts

t

s

x

x

x

x

Page 55: Advanced Linear Algebra - UNY

6.4 Properties of Eigenvalues and Eigenvectors6.4 Properties of Eigenvalues and EigenvectorsDefinition: The trace of a matrix A, designated by tr(A), is the sumof the elements on the main diagonal.

Property 1: The sum of the eigenvalues of a matrix equals thetrace of the matrix.

Property 2: A matrix is singular if and only if it has a zeroeigenvalue.

Property 3: The eigenvalues of an upper (or lower) triangularmatrix are the elements on the main diagonal.

Property 4: If λ is an eigenvalue of A and A is invertible, then 1/λis an eigenvalue of matrix A-1.

Definition: The trace of a matrix A, designated by tr(A), is the sumof the elements on the main diagonal.

Property 1: The sum of the eigenvalues of a matrix equals thetrace of the matrix.

Property 2: A matrix is singular if and only if it has a zeroeigenvalue.

Property 3: The eigenvalues of an upper (or lower) triangularmatrix are the elements on the main diagonal.

Property 4: If λ is an eigenvalue of A and A is invertible, then 1/λis an eigenvalue of matrix A-1.

Page 56: Advanced Linear Algebra - UNY

6.4 Properties of Eigenvalues and6.4 Properties of Eigenvalues andEigenvectorsEigenvectors

Property 5: If λ is an eigenvalue of A then kλ is an eigenvalue ofkA where k is any arbitrary scalar.

Property 6: If λ is an eigenvalue of A then λk is an eigenvalue ofAk for any positive integer k.

Property 8: If λ is an eigenvalue of A then λ is an eigenvalue of AT.

Property 9: The product of the eigenvalues (counting multiplicity)of a matrix equals the determinant of the matrix.

Property 5: If λ is an eigenvalue of A then kλ is an eigenvalue ofkA where k is any arbitrary scalar.

Property 6: If λ is an eigenvalue of A then λk is an eigenvalue ofAk for any positive integer k.

Property 8: If λ is an eigenvalue of A then λ is an eigenvalue of AT.

Property 9: The product of the eigenvalues (counting multiplicity)of a matrix equals the determinant of the matrix.

Page 57: Advanced Linear Algebra - UNY

6.5 Linearly independent eigenvectors6.5 Linearly independent eigenvectorsTheorem: Eigenvectors corresponding to distinct (that is, different)eigenvalues are linearly independent.

Theorem: If λ is an eigenvalue of multiplicity k of an n n matrixA then the number of linearly independent eigenvectors of Aassociated with λ is given by m = n - r(A- λI). Furthermore, 1 ≤ m≤ k.

Example 2 (cont.): The eigenvectors of = 2 are of the form

s and t not both zero.

= 2 has two linearly independent eigenvectors

Theorem: Eigenvectors corresponding to distinct (that is, different)eigenvalues are linearly independent.

Theorem: If λ is an eigenvalue of multiplicity k of an n n matrixA then the number of linearly independent eigenvectors of Aassociated with λ is given by m = n - r(A- λI). Furthermore, 1 ≤ m≤ k.

Example 2 (cont.): The eigenvectors of = 2 are of the form

s and t not both zero.

= 2 has two linearly independent eigenvectors

,

1

0

0

0

0

1

0

3

2

1

ts

t

s

x

x

x

x