Introduction to Vectors and Matrices

Slides:



Advertisements
Similar presentations
4.1 Introduction to Matrices
Advertisements

Eigen Decomposition and Singular Value Decomposition
3D Geometry for Computer Graphics
Chapter 28 – Part II Matrix Operations. Gaussian elimination Gaussian elimination LU factorization LU factorization Gaussian elimination with partial.
Lecture 3: A brief background to multivariate statistics
Lecture 19 Singular Value Decomposition
3_3 An Useful Overview of Matrix Algebra
The Terms that You Have to Know! Basis, Linear independent, Orthogonal Column space, Row space, Rank Linear combination Linear transformation Inner product.
Chapter 2 Matrices Definition of a matrix.
Lecture 20 SVD and Its Applications Shang-Hua Teng.
Boot Camp in Linear Algebra Joel Barajas Karla L Caballero University of California Silicon Valley Center October 8th, 2008.
Linear regression models in matrix terms. The regression function in matrix terms.
Matrix Approach to Simple Linear Regression KNNL – Chapter 5.
Intro to Matrices Don’t be scared….
CE 311 K - Introduction to Computer Methods Daene C. McKinney
Stats & Linear Models.
Separate multivariate observations
1 Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture 5QF Introduction to Vector and Matrix Operations Needed for the.
Today Wrap up of probability Vectors, Matrices. Calculus
: Appendix A: Mathematical Foundations 1 Montri Karnjanadecha ac.th/~montri Principles of.
Linear Algebra Review 1 CS479/679 Pattern Recognition Dr. George Bebis.
8.1 Vector spaces A set of vector is said to form a linear vector space V Chapter 8 Matrices and vector spaces.
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
Statistics and Linear Algebra (the real thing). Vector A vector is a rectangular arrangement of number in several rows and one column. A vector is denoted.
Unit 3: Matrices.
Multivariate Statistics Matrix Algebra I W. M. van der Veld University of Amsterdam.
Introduction to Matrices and Matrix Approach to Simple Linear Regression.
4.8 Rank Rank enables one to relate matrices to vectors, and vice versa. Definition Let A be an m  n matrix. The rows of A may be viewed as row vectors.
1 Matrix Algebra and Random Vectors Shyh-Kang Jeng Department of Electrical Engineering/ Graduate Institute of Communication/ Graduate Institute of Networking.
MATRICES MATRIX OPERATIONS. About Matrices  A matrix is a rectangular arrangement of numbers in rows and columns. Rows run horizontally and columns run.
Algebra Matrix Operations. Definition Matrix-A rectangular arrangement of numbers in rows and columns Dimensions- number of rows then columns Entries-
Ch 6 Vector Spaces. Vector Space Axioms X,Y,Z elements of  and α, β elements of  Def of vector addition Def of multiplication of scalar and vector These.
4.8 Rank Rank enables one to relate matrices to vectors, and vice versa. Definition Let A be an m  n matrix. The rows of A may be viewed as row vectors.
STROUD Worked examples and exercises are in the text Programme 5: Matrices MATRICES PROGRAMME 5.
Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,
STROUD Worked examples and exercises are in the text PROGRAMME 5 MATRICES.
Boot Camp in Linear Algebra TIM 209 Prof. Ram Akella.
1 Objective To provide background material in support of topics in Digital Image Processing that are based on matrices and/or vectors. Review Matrices.
Reduced echelon form Matrix equations Null space Range Determinant Invertibility Similar matrices Eigenvalues Eigenvectors Diagonabilty Power.
Matrices. Variety of engineering problems lead to the need to solve systems of linear equations matrixcolumn vectors.
Lecture XXVII. Orthonormal Bases and Projections Suppose that a set of vectors {x 1,…,x r } for a basis for some space S in R m space such that r  m.
MTH108 Business Math I Lecture 20.
Matrices and Vector Concepts
12-1 Organizing Data Using Matrices
Linear Algebra review (optional)
CS479/679 Pattern Recognition Dr. George Bebis
Matrices and vector spaces
Matrices and Vectors Review Objective
Matrix Operations SpringSemester 2017.
Warm-up a. Solve for k: 13 −5
7.3 Matrices.
MATRICES MATRIX OPERATIONS.
Matrices Definition: A matrix is a rectangular array of numbers or symbolic elements In many applications, the rows of a matrix will represent individuals.
MATRICES MATRIX OPERATIONS.
Unit 3: Matrices
MATRICES MATRIX OPERATIONS.
Matrix Algebra and Random Vectors
Objective To provide background material in support of topics in Digital Image Processing that are based on matrices and/or vectors.
Matrices.
Signal & Weight Vector Spaces
Symmetric Matrices and Quadratic Forms
Introduction to Vectors and Matrices
Linear Algebra review (optional)
1.8 Matrices.
MATRICES MATRIX OPERATIONS.
Matrix Operations SpringSemester 2017.
1.8 Matrices.
Eigenvalues and Eigenvectors
3.5 Perform Basic Matrix Operations Algebra II.
Symmetric Matrices and Quadratic Forms
Presentation transcript:

Introduction to Vectors and Matrices

Matrices Definition: A matrix is a rectangular array of numbers or symbolic elements In many applications, the rows of a matrix will represent individuals cases (people, items, plants, animals,...) and columns will represent attributes or characteristics The dimension of a matrix is its number of rows and columns, often denoted as r x c (r rows by c columns) Can be represented in full form or abbreviated form:

Special Types of Matrices

Regression Examples - Carpet Data

Matrix Addition and Subtraction

Matrix Multiplication

Matrix Multiplication Examples - I

Matrix Multiplication Examples - II

Special Matrix Types

Linear Dependence and Rank of a Matrix Linear Dependence: When a linear function of the columns (rows) of a matrix produces a zero vector (one or more columns (rows) can be written as linear function of the other columns (rows)) Rank of a matrix: Number of linearly independent columns (rows) of the matrix. Rank cannot exceed the minimum of the number of rows or columns of the matrix. rank(A) ≤ min(rA,ca) A matrix if full rank if rank(A) = min(rA,ca)

Geometry of Vectors A vector of order n is a point in n-dimensional space The line running through the origin and the point represented by the vector defines a 1-dimensional subspace of the n-dim space Any p linearly independent vectors of order n, p < n define a p-dimensional subspace of the n-dim space Any p+1 vectors in a p-dim subspace must have a linear dependency Two vectors x and y are orthogonal if x’y = y’x = 0 and form a 90 angle at the origin Two vectors x and y are linearly dependent if they form a 0 or 180 angle at the origin

Geometry of Vectors - II If two vectors each have mean 0 among their elements then q is the product moment correlation between the two vectors

Matrix Inverse Note: For scalars (except 0), when we multiply a number, by its reciprocal, we get 1: 2(1/2)=1 x(1/x)=x(x-1)=1 In matrix form if A is a square matrix and full rank (all rows and columns are linearly independent), then A has an inverse: A-1 such that: A-1 A = A A-1 = I

Computing an Inverse of 2x2 Matrix

Use of Inverse Matrix – Solving Simultaneous Equations

Useful Matrix Results

Orthogonal Matrices

Eigenvalues and Eigenvectors

Positive Definite Matrices / Spectral Decomposition

Distance as a Quadratic Form

Square Root of a Positive Definite Square Matrix

Mean, Variance, Covariance, Correlation

Random Vectors and Matrices

Mean and Variance of Linear Functions of X

Standard Deviation and Correlation Matrices LPGA “Population” Data:

Partitioned Covariance Matrix

Matrix Inequalities and Maximization

Multivariate Normal Distribution