Lecture II: Linear Algebra Revisited

Similar documents
Review of Linear Algebra

Mathematical foundations - linear algebra

Large Scale Data Analysis Using Deep Learning

Example Linear Algebra Competency Test

Linear Algebra Review. Vectors

Linear Algebra Review

Deep Learning Book Notes Chapter 2: Linear Algebra

Applied Linear Algebra in Geoscience Using MATLAB

Contents. Preface for the Instructor. Preface for the Student. xvii. Acknowledgments. 1 Vector Spaces 1 1.A R n and C n 2

EE731 Lecture Notes: Matrix Computations for Signal Processing

Mobile Robotics 1. A Compact Course on Linear Algebra. Giorgio Grisetti

Properties of Matrices and Operations on Matrices

There are six more problems on the next two pages

Math 307 Learning Goals

1. What is the determinant of the following matrix? a 1 a 2 4a 3 2a 2 b 1 b 2 4b 3 2b c 1. = 4, then det

MATH 20F: LINEAR ALGEBRA LECTURE B00 (T. KEMP)

Review problems for MA 54, Fall 2004.

Glossary of Linear Algebra Terms. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

MATH 583A REVIEW SESSION #1

Linear Algebra (Review) Volker Tresp 2017

Linear Algebra for Machine Learning. Sargur N. Srihari

Linear Algebra & Geometry why is linear algebra useful in computer vision?

Quantum Computing Lecture 2. Review of Linear Algebra

Math 102, Winter Final Exam Review. Chapter 1. Matrices and Gaussian Elimination

Elementary linear algebra

Linear Algebra (Review) Volker Tresp 2018

2. Linear algebra. matrices and vectors. linear equations. range and nullspace of matrices. function of vectors, gradient and Hessian

Review of Linear Algebra

Lecture 15 Review of Matrix Theory III. Dr. Radhakant Padhi Asst. Professor Dept. of Aerospace Engineering Indian Institute of Science - Bangalore

Knowledge Discovery and Data Mining 1 (VO) ( )

Maths for Signals and Systems Linear Algebra in Engineering

Linear Algebra & Geometry why is linear algebra useful in computer vision?

Pseudoinverse and Adjoint Operators

Math for ML: review. ML and knowledge of other fields

Background Mathematics (2/2) 1. David Barber

MAT Linear Algebra Collection of sample exams

Image Registration Lecture 2: Vectors and Matrices

MATH 423 Linear Algebra II Lecture 33: Diagonalization of normal operators.

UNIT 6: The singular value decomposition.

Chapter 3 Transformations

Review of Some Concepts from Linear Algebra: Part 2

Assignment 1 Math 5341 Linear Algebra Review. Give complete answers to each of the following questions. Show all of your work.

ECE 275A Homework #3 Solutions

A Review of Linear Algebra

MATH 31 - ADDITIONAL PRACTICE PROBLEMS FOR FINAL

Math Camp Lecture 4: Linear Algebra. Xiao Yu Wang. Aug 2010 MIT. Xiao Yu Wang (MIT) Math Camp /10 1 / 88

We use the overhead arrow to denote a column vector, i.e., a number with a direction. For example, in three-space, we write

Stat 159/259: Linear Algebra Notes

Chapter 2. Linear Algebra. rather simple and learning them will eventually allow us to explain the strange results of

Normed & Inner Product Vector Spaces

Fall TMA4145 Linear Methods. Exercise set Given the matrix 1 2

Lecture 6: Geometry of OLS Estimation of Linear Regession

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

Mathematical foundations - linear algebra

Matrices and Vectors. Definition of Matrix. An MxN matrix A is a two-dimensional array of numbers A =

2. Review of Linear Algebra

Review of some mathematical tools

1. Let m 1 and n 1 be two natural numbers such that m > n. Which of the following is/are true?

Lecture 3: Linear Algebra Review, Part II

6 Inner Product Spaces

LinGloss. A glossary of linear algebra

Linear Algebra. Session 12

Computational Methods CMSC/AMSC/MAPL 460. Linear Systems, Matrices, LU Decomposition, Ramani Duraiswami, Dept. of Computer Science

CS 143 Linear Algebra Review

Mathematics. EC / EE / IN / ME / CE. for

Lecture 1: Review of linear algebra

Definition (T -invariant subspace) Example. Example

Introduction to Numerical Linear Algebra II

Introduction to Matrix Algebra

Chapter 5 Eigenvalues and Eigenvectors

Linear Algebra - Part II

MATRIX ALGEBRA. or x = (x 1,..., x n ) R n. y 1 y 2. x 2. x m. y m. y = cos θ 1 = x 1 L x. sin θ 1 = x 2. cos θ 2 = y 1 L y.

Chapter 4 Euclid Space

MATRICES. knowledge on matrices Knowledge on matrix operations. Matrix as a tool of solving linear equations with two or three unknowns.

Lecture 10 - Eigenvalues problem

Chapter 1. Matrix Algebra

Pseudoinverse & Moore-Penrose Conditions

Math 307 Learning Goals. March 23, 2010

Linear Algebra Massoud Malek

10-701/ Recitation : Linear Algebra Review (based on notes written by Jing Xiang)

Final Exam, Linear Algebra, Fall, 2003, W. Stephen Wilson

Singular Value Decomposition

NOTES on LINEAR ALGEBRA 1

Lecture 02 Linear Algebra Basics

Remark By definition, an eigenvector must be a nonzero vector, but eigenvalue could be zero.

DS-GA 1002 Lecture notes 0 Fall Linear Algebra. These notes provide a review of basic concepts in linear algebra.

j=1 u 1jv 1j. 1/ 2 Lemma 1. An orthogonal set of vectors must be linearly independent.

G1110 & 852G1 Numerical Linear Algebra

EE/ACM Applications of Convex Optimization in Signal Processing and Communications Lecture 2

Lecture Notes in Linear Algebra

Exercise Sheet 1.

22.3. Repeated Eigenvalues and Symmetric Matrices. Introduction. Prerequisites. Learning Outcomes

Lecture notes on Quantum Computing. Chapter 1 Mathematical Background

Math 18, Linear Algebra, Lecture C00, Spring 2017 Review and Practice Problems for Final Exam

Duke University, Department of Electrical and Computer Engineering Optimization for Scientists and Engineers c Alex Bronstein, 2014

Notes on Eigenvalues, Singular Values and QR

1 Linearity and Linear Systems

ALGEBRA QUALIFYING EXAM PROBLEMS LINEAR ALGEBRA

Designing Information Devices and Systems II

Control Systems. Linear Algebra topics. L. Lanari

Transcription:

Lecture II: Linear Algebra Revisited Overview Vector spaces, Hilbert & Banach Spaces, etrics & Norms atrices, Eigenvalues, Orthogonal Transformations, Singular Values Operators, Operator Norms, Function Spaces Note: We will need many of these concepts as basic tools to quantify and evaluate the performance of machine learning algorithms and also to come up with more efficient and effective solutions Lecture II: LSC - Dr. Sethu Vijayakumar 1

Vectors Usually denoted by lower case, bold letters, e.g. x, y Operations : ultiplication by scalar (αx). Addition of vectors (x+y) x and y have to be of same dimensions. Linear combination. u = αx+βy (x and y have to be of same dimensions). Angle between vectors. < v, w > cosθ = v w Linear independence. When one vector cannot be written as a linear combination of other, then the vectors are said to be linearly independent. Lecture II: LSC - Dr. Sethu Vijayakumar 2

etric Definition 1 (etric/ Distance) Example 1 (Trivial etric) Example 2 (anhattan Distance) Lecture II: LSC - Dr. Sethu Vijayakumar 3

Vector Spaces Definition 2 (Vector Spaces) Definition 3 (Cauchy Series) Definition 4 (Completeness) Lecture II: LSC - Dr. Sethu Vijayakumar 4

Examples of Vector Spaces Rational Numbers, Real Numbers, Polynomials are all Vector Spaces Lecture II: LSC - Dr. Sethu Vijayakumar 5

Norm & Banach Spaces Definition 5 (Norm / Length) Definition 6 (Banach Space) Lecture II: LSC - Dr. Sethu Vijayakumar 6

Examples of Banach Spaces Lecture II: LSC - Dr. Sethu Vijayakumar 7

Dot Products & Hilbert Spaces Definition 7 (Dot Product/ Inner Product) Example : v 3 = ; v = v, v 4 1 2 = 3 2 + 4 2 = 5 Definition 8 (Hilbert Space) Lecture II: LSC - Dr. Sethu Vijayakumar 8

Examples of Hilbert Spaces Lecture II: LSC - Dr. Sethu Vijayakumar 9

atrices v1 v = v m Review: Domain m R u =v Range n R u = u 1 u n Addition of atrices ultiplication of matrices by scalars, vectors and matrices. Domain and Range of a atrix Lecture II: LSC - Dr. Sethu Vijayakumar 10

Special matrices Square and Diagonal atrix A square matrix has equal number of rows and columns. A diagonal matrix has all off-diagonal elements zero. Symmetric atrix Anti-symmetric atrix Orthogonal atrix (Often denoted as O(m) ) Lecture II: LSC - Dr. Sethu Vijayakumar 11

atrix Concepts Rank of a atrix Range, Domain and Null Space Range of, denoted by R(), is the space of all vectors that can be obtained by the operation of on the vectors in the domain of denoted by D(). v R( ) iff u D( ) s. t. u = v Null Space of, denoted by N(), is a subspace of all the vectors in the domain of D() that map to the zero (null) vector in R() when operated upon by the matrix. v N( ) iff v = 0 Lecture II: LSC - Dr. Sethu Vijayakumar 12

atrix Invariants Trace Properties of Trace : tr( aa) = a tr( A) tr( A + B) = tr( A) + tr( B) tr( AB) = tr( BA) Determinant Determinant can be written as the product of the eigenvalues : Note: Trace and Determinant are invariant under orthogonal transformation Lecture II: LSC - Dr. Sethu Vijayakumar 13

atrix Norms Operator Norm Frobeius Norm Lecture II: LSC - Dr. Sethu Vijayakumar 14

Eigensystems Definition 9 (Eigenvalues/ Eigenvectors) IP: Defined only for square atrices Intuitive Explanation. A square matrix is a mapping from n-dim to n-dim space. ost vectors change both direction and length when undergoing this mapping transformation. Those vectors which only change length (i.e., multiplying them by a matrix is similar to multiplying by a scalar) are called eigenvectors and the eigenvalue indicates how much they are shortened or lengthened. Lecture II: LSC - Dr. Sethu Vijayakumar 15

Eigensystems II Eigenvectors/Eigenvalues of Symmetric atrices o o o All eigenvalues of symmetric matrices are real Symmetric matrices are fully diagonalizable, i.e. we can find m eigenvectors All eigenvectors of symmetric matrices with different eigenvalues are mutually orthogonal (Prove!!) Decomposition of Symmetric atrices Example Lecture II: LSC - Dr. Sethu Vijayakumar 16

Positive atrices Definition 10 (Positive Definite atrices) Induced Norm and etrics Lecture II: LSC - Dr. Sethu Vijayakumar 17

Lecture II: LSC - Dr. Sethu Vijayakumar 18 ahalanobis Distance y x x,y y x, T d = = ) ( = = 1 0 0 1 I = Euclidean Distance = 1 0 0 2 I = 1 1.4 1.4 2

Singular Value Decomposition Note: Eigenvalue/Eigenvector decompositions are valid only for square matrices Do we have some decomposition for rectangular matrices?? Singular value Decomposition (SVD) Lecture II: LSC - Dr. Sethu Vijayakumar 19

atrix Inverse v = v 1 v m Domain m R 1 Range n R u = u 1 u n 1 = I; 1 = Note: A regular inverse exists only for square matrices with linearly independent column vectors Interpretation: We need a one-to-one mapping to uniquely go from one element of a space to another and back. Square matrices and linearly independent columns ensure this!! I Lecture II: LSC - Dr. Sethu Vijayakumar 20

Pseudoinverse For rectangular matrices and square matrices with linearly dependent columns, there exists the pseudoinverse or generalized inverse which performs the inverse mapping. In general, these inverses are not unique. The oore-penrose Pseudoinverse ( + ) + = T ( ) 1 T or T ( The above generalized inverse is called the oore-penrose Psuedoinverse and is unique. Among the multiple inverse solutions, it chooses the one with the minimum norm. T ) 1 Lecture II: LSC - Dr. Sethu Vijayakumar 21

Operators Linear Operators Generalization of matrix a mapping from one Banach space to another. Norms and eigenvalues/eigenvectors are defined as for matrices; so are Range & Null Spaces. Notation A : F G denotes a linear operator A mapping from space F to space G. A atrix-operator Correspondence atrix Transpose T A Symmetric atrix A = A Orthogonal atrix T 1 A = A T Adjoint Operator Af, g Self Adjoint Operator Af, g Isometry = f, A = A * * g f, g for all f F, g G. for all f F, g G. f, g = Af, Ag for all f F, g G. Lecture II: LSC - Dr. Sethu Vijayakumar 22

Linear Operators - Examples Input transformation Sampling Sampling from a function to yield scalar outputs. ( We will see later why this is so!!! ) f Fourier Transform x1 x2 x3 Lecture II: LSC - Dr. Sethu Vijayakumar 23

Range and Null Space of Operators Recollect: Definition of Range, Domain and Null space of a matrix N(A) A N(A * ) R(A * ) R(A) A * Lecture II: LSC - Dr. Sethu Vijayakumar 24