Linear Algebra review (optional)

Slides:



Advertisements
Similar presentations
Section 13-4: Matrix Multiplication
Advertisements

Matrices A matrix is a rectangular array of quantities (numbers, expressions or function), arranged in m rows and n columns x 3y.
Maths for Computer Graphics
Matrices The Basics Vocabulary and basic concepts.
100’s of free ppt’s from library
CE 311 K - Introduction to Computer Methods Daene C. McKinney
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
Little Linear Algebra Contents: Linear vector spaces Matrices Special Matrices Matrix & vector Norms.
Elementary Operations of Matrix
Review of Matrices Or A Fast Introduction.
CSC 4510 – Machine Learning Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University Course website:
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
Overview Definitions Basic matrix operations (+, -, x) Determinants and inverses.
Algebra 3: Section 5.5 Objectives of this Section Find the Sum and Difference of Two Matrices Find Scalar Multiples of a Matrix Find the Product of Two.
If A and B are both m × n matrices then the sum of A and B, denoted A + B, is a matrix obtained by adding corresponding elements of A and B. add these.
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.
Matrices: Simplifying Algebraic Expressions Combining Like Terms & Distributive Property.
Matrix Operations.
Sec 4.1 Matrices.
Matrix Operations.
Copyright © Cengage Learning. All rights reserved. 2 SYSTEMS OF LINEAR EQUATIONS AND MATRICES.
Algebra Matrix Operations. Definition Matrix-A rectangular arrangement of numbers in rows and columns Dimensions- number of rows then columns Entries-
Warm Up Perform the indicated operations. If the matrix does not exist, write impossible
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.
2.5 – Determinants and Multiplicative Inverses of Matrices.
Introduction to Financial Modeling MGT 4850 Spring 2008 University of Lethbridge.
If A and B are both m × n matrices then the sum of A and B, denoted A + B, is a matrix obtained by adding corresponding elements of A and B. add these.
Matrices. Variety of engineering problems lead to the need to solve systems of linear equations matrixcolumn vectors.
A rectangular array of numeric or algebraic quantities subject to mathematical operations. The regular formation of elements into columns and rows.
13.3 Product of a Scalar and a Matrix.  In matrix algebra, a real number is often called a.  To multiply a matrix by a scalar, you multiply each entry.
Ch. 12 Vocabulary 1.) matrix 2.) element 3.) scalar 4.) scalar multiplication.
Vectors, Matrices and their Products Hung-yi Lee.
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.
2.1 Matrix Operations 2. Matrix Algebra. j -th column i -th row Diagonal entries Diagonal matrix : a square matrix whose nondiagonal entries are zero.
Matrices. Matrix A matrix is an ordered rectangular array of numbers. The entry in the i th row and j th column is denoted by a ij. Ex. 4 Columns 3 Rows.
MTH108 Business Math I Lecture 20.
Matrices and Vector Concepts
Matrices and Matrix Operations
12-1 Organizing Data Using Matrices
Christmas Packets are due on Friday!!!
Matrix Operations Free powerpoints at
Linear Algebra review (optional)
Matrix Operations.
College Algebra Chapter 6 Matrices and Determinants and Applications
Linear Algebra Lecture 2.
Chapter 7 Matrix Mathematics
1.5 Matricies.
Copyright © 2009 Dan Nettleton
Unit 1: Matrices Day 1 Aug. 7th, 2012.
Matrix Operations.
Matrix Operations Free powerpoints at
What we’re learning today:
Matrix Operations.
Matrix Operations SpringSemester 2017.
Section 7.4 Matrix Algebra.
Matrix Operations Free powerpoints at
Matrix Algebra.
7.3 Matrices.
2. Matrix Algebra 2.1 Matrix Operations.
Lecture 11 Matrices and Linear Algebra with MATLAB
MATRICES MATRIX OPERATIONS.
1.3 Vector Equations.
Section 2.4 Matrices.
Matrix Algebra.
Linear Algebra Lecture 11.
Matrix Operations Ms. Olifer.
Matrix Operations SpringSemester 2017.
3.5 Perform Basic Matrix Operations Algebra II.
Matrix Multiplication Sec. 4.2
Presentation transcript:

Linear Algebra review (optional) Matrices and vectors Machine Learning

Matrix: Rectangular array of numbers:

Matrix Elements (entries of matrix) “ , entry” in the row, column.

Vector: An n x 1 matrix. 1-indexed vs 0-indexed: element n-dimensional vector

Addition and scalar multiplication Linear Algebra review (optional) Addition and scalar multiplication Machine Learning

Matrix Addition

Scalar Multiplication

Combination of Operands

Matrix-vector multiplication Linear Algebra review (optional) Matrix-vector multiplication Machine Learning

Example

To get , multiply ’s row with elements of vector , and add them up. Details: m x n matrix (m rows, n columns) n x 1 matrix (n-dimensional vector) m-dimensional vector To get , multiply ’s row with elements of vector , and add them up.

Example

House sizes:

Matrix-matrix multiplication Linear Algebra review (optional) Matrix-matrix multiplication Machine Learning

Example

Details: The column of the matrix is obtained by multiplying m x n matrix (m rows, n columns) n x o matrix (n rows, o columns) m x o matrix The column of the matrix is obtained by multiplying with the column of . (for = 1,2,…,o)

Example 7 2 7

House sizes: Have 3 competing hypotheses: 1. 2. 3. Matrix Matrix

Matrix multiplication properties Linear Algebra review (optional) Matrix multiplication properties Machine Learning

Let and be matrices. Then in general, (not commutative.) E.g.

Let Compute Let Compute

Examples of identity matrices: Identity Matrix Denoted (or ). Examples of identity matrices: 2 x 2 3 x 3 4 x 4 For any matrix ,

Inverse and transpose Linear Algebra review (optional) Machine Learning

If A is an m x m matrix, and if it has an inverse, 모든 수가 역수를 가지지는 않는다. Matrix inverse: If A is an m x m matrix, and if it has an inverse, 역이 없는 행렬을 “singular” 또는 “degenerate” 라 한다.

Matrix Transpose Example: Let be an m x n matrix, and let Then is an n x m matrix, and