CS434a/541a: Pattern Recognition Prof. Olga Veksler. Lecture 2

Similar documents
Matrix Eigenvalues and Eigenvectors September 13, 2017

MATRICES AND VECTORS SPACE

INTRODUCTION TO LINEAR ALGEBRA

Chapter 3 MATRIX. In this chapter: 3.1 MATRIX NOTATION AND TERMINOLOGY

Math 520 Final Exam Topic Outline Sections 1 3 (Xiao/Dumas/Liaw) Spring 2008

Multivariate problems and matrix algebra

Algebra Of Matrices & Determinants

A Matrix Algebra Primer

Elementary Linear Algebra

CSCI 5525 Machine Learning

Elements of Matrix Algebra

Chapter 5 Determinants

Matrices and Determinants

SCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics

Engineering Analysis ENG 3420 Fall Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 11:00-12:00

Lecture 8 Wrap-up Part1, Matlab

Math Theory of Partial Differential Equations Lecture 2-9: Sturm-Liouville eigenvalue problems (continued).

Things to Memorize: A Partial List. January 27, 2017

SCHOOL OF ENGINEERING & BUILT ENVIRONMENT

4.5 JACOBI ITERATION FOR FINDING EIGENVALUES OF A REAL SYMMETRIC MATRIX. be a real symmetric matrix. ; (where we choose θ π for.

Matrices. Elementary Matrix Theory. Definition of a Matrix. Matrix Elements:

September 13 Homework Solutions

Lecture Solution of a System of Linear Equation

How do we solve these things, especially when they get complicated? How do we know when a system has a solution, and when is it unique?

ECON 331 Lecture Notes: Ch 4 and Ch 5

Elementary Linear Algebra

Best Approximation in the 2-norm

The Algebra (al-jabr) of Matrices

MATH34032: Green s Functions, Integral Equations and the Calculus of Variations 1

CHAPTER 2d. MATRICES

STUDY GUIDE FOR BASIC EXAM

Chapter 3. Vector Spaces

Numerical Linear Algebra Assignment 008

Chapter 2. Vectors. 2.1 Vectors Scalars and Vectors

Chapter 2. Determinants

Theoretical foundations of Gaussian quadrature

LINEAR ALGEBRA APPLIED

LINEAR ALGEBRA AND MATRICES. n ij. is called the main diagonal or principal diagonal of A. A column vector is a matrix that has only one column.

HW3, Math 307. CSUF. Spring 2007.

How do we solve these things, especially when they get complicated? How do we know when a system has a solution, and when is it unique?

Chapter 3 Polynomials

2. VECTORS AND MATRICES IN 3 DIMENSIONS

Abstract inner product spaces

Inner-product spaces

Quadratic Forms. Quadratic Forms

MATH 174A: PROBLEM SET 5. Suggested Solution

Contents. Outline. Structured Rank Matrices Lecture 2: The theorem Proofs Examples related to structured ranks References. Structure Transport

STURM-LIOUVILLE THEORY, VARIATIONAL APPROACH

Pre-Session Review. Part 1: Basic Algebra; Linear Functions and Graphs

THE DISCRIMINANT & ITS APPLICATIONS

Geometric Sequences. Geometric Sequence a sequence whose consecutive terms have a common ratio.

MATHEMATICS FOR MANAGEMENT BBMP1103

Math 270A: Numerical Linear Algebra

MTH 5102 Linear Algebra Practice Exam 1 - Solutions Feb. 9, 2016

DETERMINANTS. All Mathematical truths are relative and conditional. C.P. STEINMETZ

Partial Differential Equations

Introduction To Matrices MCV 4UI Assignment #1

Reference : Croft & Davison, Chapter 12, Blocks 1,2. A matrix ti is a rectangular array or block of numbers usually enclosed in brackets.

Differential Geometry: Conformal Maps

308K. 1 Section 3.2. Zelaya Eufemia. 1. Example 1: Multiplication of Matrices: X Y Z R S R S X Y Z. By associativity we have to choices:

FACULTY OF ENGINEERING TECHNOLOGY GROUP T LEUVEN CAMPUS INTRODUCTORY COURSE MATHEMATICS

Linearity, linear operators, and self adjoint eigenvalue problems

Fundamentals of Linear Algebra

Partial Derivatives. Limits. For a single variable function f (x), the limit lim

Matrix Solution to Linear Equations and Markov Chains

Operations with Matrices

Lecture 19: Continuous Least Squares Approximation

NOTES ON HILBERT SPACE

PART - III : MATHEMATICS

Best Approximation. Chapter The General Case

Chapter 16. Molecular Symmetry

Eigen Values and Eigen Vectors of a given matrix

CHAPTER 4: DETERMINANTS

Introduction to Determinants. Remarks. Remarks. The determinant applies in the case of square matrices

EE263 homework 8 solutions

Worksheet : Class XII Matrices & Determinants

Module 6: LINEAR TRANSFORMATIONS

REPRESENTATION THEORY OF PSL 2 (q)

M344 - ADVANCED ENGINEERING MATHEMATICS

Matrix & Vector Basic Linear Algebra & Calculus

DEFINITION OF ASSOCIATIVE OR DIRECT PRODUCT AND ROTATION OF VECTORS

CET MATHEMATICS 2013

Math 75 Linear Algebra Class Notes

Matrix Algebra. Matrix Addition, Scalar Multiplication and Transposition. Linear Algebra I 24

1 2-D Second Order Equations: Separation of Variables

Introduction. Linear Algebra for. Lectures. Lecture: 1. Course material. Home assignments. Preliminary plan. One set of problems with each lecture.

State space systems analysis (continued) Stability. A. Definitions A system is said to be Asymptotically Stable (AS) when it satisfies

Problem Set 2 Solutions

Optimization Lecture 1 Review of Differential Calculus for Functions of Single Variable.

Numerical Methods I Orthogonal Polynomials

STURM-LIOUVILLE BOUNDARY VALUE PROBLEMS

Inner Product Space. u u, v u, v u, v.

1 Linear Least Squares

MATRIX DEFINITION A matrix is any doubly subscripted array of elements arranged in rows and columns.

Applied Partial Differential Equations with Fourier Series and Boundary Value Problems 5th Edition Richard Haberman

I. Backgrounds and preliminaries

Homework Problem Set 1 Solutions

Determinants Chapter 3

Rudimentary Matrix Algebra

Here we study square linear systems and properties of their coefficient matrices as they relate to the solution set of the linear system.

Transcription:

CS434/54: Pttern Recognition Prof. Olg Veksler Lecture

Outline Review of Liner Algebr vectors nd mtrices products nd norms vector spces nd liner trnsformtions eigenvlues nd eigenvectors Introduction to Mtlb

Wh Liner Algebr? For ech dt point, we will represent set of fetures s feture vector [length, weight, color, ] Collected dt will be represented s collection of (feture) vectors [l, w, c, ] [l, w, c, ] [l, w, c, ] 3 3 3 Liner models re simple nd computtionll fesible

Vectors X [, ] z n-dimensionl row vector [ ] rnspose of row vector is column vector Vector product (or inner or dot product), X -z + + + n n n i k i i n

More on Vectors Euclidin norm or length i i n If we s is normlized or unit length Angle θ between vectors nd cos θ cos θ 0 0 orthogonl to cos θ > 0, hus inner product cptures direction reltionship between nd cosθ < 0

More on Vectors Vectors nd re orthonorml if the re orthogonl nd Euclidin distnce between vectors nd ( ) i i i n -

Liner Dependence nd Independence Vectors,,, n re linerl dependent if there eist constnts α, α,, α n s.t.. α + α + + α n n 0 0. t lest one α i Vectors,,, n re linerl independent if α + α + + α 0 α α 0 n n n

Vector Spces nd Bsis he set of ll n-dimensionl vectors is clled vector spce V { } A set of vectors u, u,, u n re clled bsis for vector spce if n v in V cn be written s v α u + α u + + αnu n u, u,, u n re independent implies the form bsis, nd vice vers u, u,, u n. u i i. u i u j i give n orthonorml bsis if j

Mtrices n b m mtri A nd its m b n trnspose A A n n m m nm A m m n n nm

Mtri Product AB n n 3 n3 d nd b b b b b3 b b d b m m 3m dm c ij i b j c ij i, b C is row i of A is column j of B j # of columns of A # of rows of B even if defined, in generl AB BA

Mtrices Rnk of mtri is the number of linerl independent rows (or equivlentl columns) A squre mtri is non-singulr if its rnk equl to the number of rows. If its rnk is less thn number of rows it is singulr. 0 0 Identit mtri I 0 0 0 0 0 0 AIIAA Mtri A is smmetric if AA 9 5 7 4 8 9 4 3 6 5 8 6 4

Mtrices Mtri A is positive definite if A A 0 i, j i, j i j > Mtri A is positive semi-definite if A A 0 i, j i, j i j rce of squre mtri A is sum on the elements on the digonl tr n [ A] i ii

Mtrices Inverse of squre mtri A is mtri A - s.t. AA I - If A is singulr or not squre, inverse does not eist. Pseudo-inverse A is defined whenever A A is not singulr (it is squre) A (A A ) A - - AA (A A) AAI

Mtrices Determinnt of n b n mtri A is det n ( ) ( ) k+ i A ( ) ik det Aik A ik k Where obtined from A b removing the ith row nd kth column Absolute vlue of determinnt gives the volume of prllelepiped spnned b the mtri rows { β + β +... + β n } n β i [ 0,] i

Liner rnsformtions A liner trnsformtion from vector spce V to vector spce U is mpping which cn be represented b mtri M: u Mv If U nd V hve the sme dimension, M is squre mtri V U v M Mv In pttern recognition, often U hs smller dimensionlit thn V, i.e. trnsformtion M is used to reduce the number of fetures. M v u

Eigenvectors nd Eigenvlues Given n b n mtri A, nd nonzero vector. Suppose there is λ which stisfies A λ is clled n eigenvector of A λ is clled n eigenvlue of A Note: A0λ0 for n λ, not interesting Liner trnsformtion A mps n eigenvector v in simple w. Mgnitude chnges b λ, direction If λ > 0 If λ < 0 Av Av v v

Eigenvectors nd Eigenvlues If A is rel nd smmetric, then ll eigenvlues re rel (not comple) If A is non singulr, ll eigenvlues re non zero If A is positive definite, ll eigenvlues re positive

MALAB

Strting mtlb term -fn X4 mtlb Bsic Nvigtion quit more help generl Sclrs, vribles, bsic rithmetic Cler + - * / ^ help rith Reltionl opertors,&,,~,or help relop Lists, vectors, mtrices A[ 3;4 5] A Mtri nd vector opertions find(a>3), colon opertor * / ^.*./.^ ee(n),norm(a),det(a),eig(a) m,min,std help mtfun Elementr functions help elfun Dt tpes double Chr Progrmming in Mtlb.m files scripts function squre() help lng Flow control if i else end, if else if end for i:0.5: end while i end Return help lng Grphics help grphics help grph3d File I/O lod,sve fopen, fclose, fprintf, fscnf