Intro to Matrices Don’t be scared….

Slides:



Advertisements
Similar presentations
2.3 Modeling Real World Data with Matrices
Advertisements

Matrices A matrix is a rectangular array of quantities (numbers, expressions or function), arranged in m rows and n columns x 3y.
3_3 An Useful Overview of Matrix Algebra
Maths for Computer Graphics
Review of Matrix Algebra
Ch 7.2: Review of Matrices For theoretical and computation reasons, we review results of matrix theory in this section and the next. A matrix A is an m.
Boot Camp in Linear Algebra Joel Barajas Karla L Caballero University of California Silicon Valley Center October 8th, 2008.
Matrix Approach to Simple Linear Regression KNNL – Chapter 5.
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
CE 311 K - Introduction to Computer Methods Daene C. McKinney
3.8 Matrices.
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
ECON 1150 Matrix Operations Special Matrices
A rectangular array of numbers (we will concentrate on real numbers). A nxm matrix has ‘n’ rows and ‘m’ columns What is a matrix? First column First row.
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
Unit 6 : Matrices.
Unit 3: Matrices.
Matrices. Definitions  A matrix is an m x n array of scalars, arranged conceptually as m rows and n columns.  m is referred to as the row dimension.
Matrix Algebra and Regression a matrix is a rectangular array of elements m=#rows, n=#columns  m x n a single value is called a ‘scalar’ a single row.
13.1 Matrices and Their Sums
ES 240: Scientific and Engineering Computation. Chapter 8 Chapter 8: Linear Algebraic Equations and Matrices Uchechukwu Ofoegbu Temple University.
Meeting 18 Matrix Operations. Matrix If A is an m x n matrix - that is, a matrix with m rows and n columns – then the scalar entry in the i th row and.
Special Topic: Matrix Algebra and the ANOVA Matrix properties Types of matrices Matrix operations Matrix algebra in Excel Regression using matrices ANOVA.
3.4 Solution by Matrices. What is a Matrix? matrix A matrix is a rectangular array of numbers.
MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 1 Introduction to Matrix Narong Aphiratsakun, D.Eng.
Matrices and Matrix Operations. Matrices An m×n matrix A is a rectangular array of mn real numbers arranged in m horizontal rows and n vertical columns.
MATRIX A set of numbers arranged in rows and columns enclosed in round or square brackets is called a matrix. The order of a matrix gives the number of.
CS 450: COMPUTER GRAPHICS TRANSFORMATIONS SPRING 2015 DR. MICHAEL J. REALE.
Linear System of Simultaneous Equations Warm UP First precinct: 6 arrests last week equally divided between felonies and misdemeanors. Second precinct:
Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,
Boot Camp in Linear Algebra TIM 209 Prof. Ram Akella.
Matrices. Variety of engineering problems lead to the need to solve systems of linear equations matrixcolumn vectors.
Ch. 12 Vocabulary 1.) matrix 2.) element 3.) scalar 4.) scalar multiplication.
MATRICES A rectangular arrangement of elements is called matrix. Types of matrices: Null matrix: A matrix whose all elements are zero is called a null.
MTH108 Business Math I Lecture 20.
Matrices and Vector Concepts
3.8 Matrices L Al-zaid Math1101.
Matrices and Matrix Operations
12-1 Organizing Data Using Matrices
Multiplying Matrices.
Matrix Operations Free powerpoints at
Linear Algebra review (optional)
Matrix Operations.
Copyright © 2009 Dan Nettleton
L8 inverse of the matrix.
Matrix Operations.
Matrix Operations Free powerpoints at
L6 matrix operations.
Matrix Operations Monday, August 06, 2018.
Matrix Operations.
Matrix Operations Add and Subtract Matrices Multiply Matrices
L5 matrix.
Matrix Operations SpringSemester 2017.
Matrix Operations Free powerpoints at
Warm-up a. Solve for k: 13 −5
7.3 Matrices.
MATRICES MATRIX OPERATIONS.
2. Matrix Algebra 2.1 Matrix Operations.
MATRICES MATRIX OPERATIONS.
Unit 3: Matrices
MATRICES MATRIX OPERATIONS.
2.2 Introduction to Matrices
Matrix Definitions It is assumed you are already familiar with the terms matrix, matrix transpose, vector, row vector, column vector, unit vector, zero.
3.5 Perform Basic Matrix Operations
1.8 Matrices.
MATRICES MATRIX OPERATIONS.
MATRICES MATRIX OPERATIONS.
Matrix Operations SpringSemester 2017.
1.8 Matrices.
3.8 Matrices L Al-zaid Math1101.
Presentation transcript:

Intro to Matrices Don’t be scared…

What is a matrix? A Matrix is just rectangular arrays of items A typical matrix is a rectangular array of numbers arranged in rows and columns.

Sizing a matrix By convention matrices are “sized” using the number of rows (m) by number of columns (n).

“Special” Matrices Square matrix: a square matrix is an mxn matrix in which m = n. Vector: a vector is an mxn matrix where either m OR n = 1 (but not both).

“Special” Matrices Scalar: a scalar is an mxn matrix where BOTH m and n = 1. Zero matrix: an mxn matrix of zeros. Identity Matrix: a square (mxm) matrix with 1s on the diagonal and zeros everywhere else.

Matrix Rank Matrix Rank: the rank of a matrix is the maximum number of linearly independent vectors (either row or column) in a matrix Full Rank: A matrix is considered full rank when all vectors are linearly independent

Transposing a Matrix Matrix Transpose: is the mxn matrix obtained by interchanging the rows and columns of a matrix (converting it to an nxm matrix)

Matrix Addition Matrices can be added (or subtracted) as long as the 2 matrices are the same size Simply add or subtract the corresponding components of each matrix.

Matrix Multiplication Multiplying a matrix by a scalar: each element in the matrix is multiplied by the scalar.

Matrix Multiplication Multiplying a matrix by a matrix: the product of matrices A and B (AB) is defined if the number of columns in A equals the number of rows in B. Assuming A has ixj dimensions and B has jxk dimensions, the resulting matrix, C, will have dimensions ixk In other words, in order to multiply them the inner dimensions must match and the result is the outer dimensions. Each element in C can by computed by:

Matrix Multiplication Multiplying a matrix by a matrix: Resulting matrix has outer dimensions!!! Matching inner dimensions!!

Reducing Square Matrices Trace: the sum of the diagonal of a square matrix.

Reducing Square Matrices Determinant: The determinant of a matrix is a scalar representation of matrix; considered the “volume” of the matrix or in the case of a VCV matrix it is the generalized variance. Only square matrices have determinants. Determinants are also useful because they tell us whether or not a matrix can be inverted (next). Not all square matrices can be inverted (must be full rank, non-singular matrix)

Reducing Square Matrices Determinant:

Reducing Square Matrices Determinant:

Matrix Inverse Matrix Inverse: Needed to perform the “division” of 2 square matrices In scalar terms A/B is the same as A * 1/B When we want to divide matrix A by matrix B we simply multiply by A by the inverse of B An inverse matrix is defined as

Matrix Inverse Matrix Inverse: Needed to perform the “division” of 2 square matrices In scalar terms A/B is the same as A * 1/B When we want to divide matrix A by matrix B we simply multiply by A by the inverse of B An inverse matrix is defined as

Matrix Inverse Matrix Inverse: For a 2x2 matrix the inverse is relatively simple For anything else, use a computer…

Singular Matrix Singular Matrix: A matrix is considered singular if the determinant of the matrix is zero The matrix cannot be inverted Usually caused by linear dependencies between vectors When a matrix is not full rank An extreme form of multicollinearity in the matrix