The goal is to give an introduction to the mathematical operations with matrices. A matrix is a 2-dimensional arrangement of (real valued) data. The data.

Slides:



Advertisements
Similar presentations
2.3 Modeling Real World Data with Matrices
Advertisements

Applied Informatics Štefan BEREŽNÝ
Matrices A matrix is a rectangular array of quantities (numbers, expressions or function), arranged in m rows and n columns x 3y.
Mathematics. Matrices and Determinants-1 Session.
Maths for Computer Graphics
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 12 System of Linear Equations.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 14 Elimination Methods.
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.
Part 3 Chapter 8 Linear Algebraic Equations and Matrices PowerPoints organized by Dr. Michael R. Gustafson II, Duke University All images copyright © The.
Module 6 Matrices & Applications Chapter 26 Matrices and Applications I.
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
100’s of free ppt’s from library
CE 311 K - Introduction to Computer Methods Daene C. McKinney
Chapter 7 Matrix Mathematics Matrix Operations Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 2 Systems of Linear Equations and Matrices Section 2.4 Multiplication of Matrices.
MATLAB Basics With a brief review of linear algebra by Lanyi Xu modified by D.G.E. Robertson.
Unit 3: Matrices.
Company LOGO Chapter 1: Matrix, Determinant, System of linear equations Module 1: Matrix Natural Science Department Example 1: The following rectangular.
Lesson 11-1 Matrix Basics and Augmented Matrices Objective: To learn to solve systems of linear equation using matrices.
4.4 Identify and Inverse Matrices Algebra 2. Learning Target I can find and use inverse matrix.
Working with Arrays in MATLAB
Relations, Functions, and Matrices Mathematical Structures for Computer Science Chapter 4 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Relations, Functions.
ES 240: Scientific and Engineering Computation. Chapter 8 Chapter 8: Linear Algebraic Equations and Matrices Uchechukwu Ofoegbu Temple University.
Matrix Operations.
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.
© 2005 Baylor University Slide 1 Fundamentals of Engineering Analysis EGR Introduction to Matrices Approximate Running Time - 12 minutes Distance.
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 7.3 Matrices.
Slide Copyright © 2009 Pearson Education, Inc. 7.3 Matrices.
Matrices: Simplifying Algebraic Expressions Combining Like Terms & Distributive Property.
MATRIX: A rectangular arrangement of numbers in rows and columns. The ORDER of a matrix is the number of the rows and columns. The ENTRIES are the numbers.
Unit 3 Matrix Arithmetic IT Disicipline ITD 1111 Discrete Mathematics & Statistics STDTLP 1 Unit 3 Matrix Arithmetic.
Algebra Matrix Operations. Definition Matrix-A rectangular arrangement of numbers in rows and columns Dimensions- number of rows then columns Entries-
Matrices Digital Lesson. Copyright © by Houghton Mifflin Company, Inc. All rights reserved. 2 A matrix is a rectangular array of real numbers. Each entry.
What is Matrix Multiplication? Matrix multiplication is the process of multiplying two matrices together to get another matrix. It differs from scalar.
CS 450: COMPUTER GRAPHICS TRANSFORMATIONS SPRING 2015 DR. MICHAEL J. REALE.
Table of Contents Matrices - Definition and Notation A matrix is a rectangular array of numbers. Consider the following matrix: Matrix B has 3 rows and.
Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,
Systems of Equations and Matrices Review of Matrix Properties Mitchell.
Precalculus Section 14.1 Add and subtract matrices Often a set of data is arranged in a table form A matrix is a rectangular.
Matrix Algebra Definitions Operations Matrix algebra is a means of making calculations upon arrays of numbers (or data). Most data sets are matrix-type.
Chapter 1 Computing Tools Variables, Scalars, and Arrays Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Matrices. Variety of engineering problems lead to the need to solve systems of linear equations matrixcolumn vectors.
Matrices and systems of Equations. Definition of a Matrix * Rectangular array of real numbers m rows by n columns * Named using capital letters * First.
A rectangular array of numeric or algebraic quantities subject to mathematical operations. The regular formation of elements into columns and rows.
A very brief introduction to Matrix (Section 2.7) Definitions Some properties Basic matrix operations Zero-One (Boolean) matrices.
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.
An Introduction to Matrix Algebra Math 2240 Appalachian State University Dr. Ginn.
Matrices and Matrix Operations
12-1 Organizing Data Using Matrices
Matrix Operations Free powerpoints at
Linear Algebra review (optional)
Matrix Operations.
Chapter 7 Matrix Mathematics
1.5 Matricies.
Matrix Operations.
Matrix Operations Free powerpoints at
Linear Algebraic Equations and Matrices
Matrix Operations Monday, August 06, 2018.
Matrix Operations.
Matrix Operations Free powerpoints at
7.3 Matrices.
2. Matrix Algebra 2.1 Matrix Operations.
Matrix Operations.
2.2 Introduction to Matrices
3.5 Perform Basic Matrix Operations
Linear Algebra review (optional)
Chapter 4 Matrices & Determinants
Matrix A matrix is a rectangular arrangement of numbers in rows and columns Each number in a matrix is called an Element. The dimensions of a matrix are.
Applied Discrete Mathematics Week 4: Functions
Presentation transcript:

The goal is to give an introduction to the mathematical operations with matrices. A matrix is a 2-dimensional arrangement of (real valued) data. The data entries are organized in rows and columns, just like in a spreadsheet or a table with data. More information can be found on Wikipedia. ( ) This brief introduction is by far not complete, It is NOT a formal mathematical introduction to Linear Algebra !

A matrix with two rows and four columns A matrix with two rows and three columns A matrix with two rows and two columns 12 56

A matrix with two rows and four columns A matrix with two rows and two columns

The size of this matrix is 2 rows by 3 columns (we say ‘2 by 3’ and write ‘2 x 3’) x 1,1 x 1,2 x 1,3 x 1,2 x 2,2 x 2,3 row 1 row 2 column 1column 2column 3

The size of this matrix is 2 rows by 3 columns (we say ‘2 by 3’ and write ‘2 x 3’) x 1,1 x 1,2 x 1,3 x 1,2 x 2,2 x 2,3 We use two indices to identify an entry in the matrix: a row and column index row 1 column 3 Entry in row 1, column 3: x 1,3 [X] 1,3 (X) 1,3 Matrix symbols: Capital letters ‘X’ or underlined Capital letters ‘X’ X entry (X) 2,3 = 7

The size of this matrix is 2 rows by 3 columns (we say ‘2 by 3’ and write ‘2 x 3’) x 1,1 x 1,2 x 1,3 x 1,2 x 2,2 x 2,3 We use two indices to identify an entry in the matrix: a row and column index ‘(‘ and ‘)’ are used to embrace the entries, when writing matrix arrays or ‘[‘ and ‘]’ or ‘|’ ‘|’ Matrix symbols: Capital letters ‘X’ or underlined Capital letters ‘X’ ()

A square matrix of size n by n with n=3 A rectangular matrix of size m by n with m=3 and n=6 (m<n) A rectangular matrix of size m by n with m=4 and n=3 (m>n)

Multiplication with a scalar: = c X = Z Size: m x n m x n (Z) i,j = c(x) i,j (For all i and j)

X + Y = Z Size: m x n m x n m x n (Z) i,j = (X) i,j +(Y) i,j (For all i and j) Addition of Matrices: =

X T = Y Size: m x n n x m (X) i,j = (Y) j,i (For all i and j) Transpose of a Matrix = T

Matrix Multiplication: A B = C Size: m x n n x k m x k NOTE: Matrix multiplication is only defined for two matrices when the left matrix A has the same number of columns as the right matrix B has rows! The resulting matrix has the same number of rows as the left matrix A and the same number of columns as the right matrix B.

Matrix Multiplication: A B = C Size: 4 x 2 2 x 3 4 x 3 = ?

Matrix Multiplication: A B = C Size: 4 x 2 2 x 3 4 x 3 = 1*1+0*5 Column 1 Row 1 Vector dot product

Matrix Multiplication: A B = C Size: 4 x 2 2 x 3 4 x 3 = 1*1+0*5 3*0+7*1 Column 2 Row 3

Matrix Multiplication: A B = C Size: 4 x 2 2 x 3 4 x 3 = 1*1+0*51*1+5*1 3*0+7*1 Column 3 Row 1

Matrix Multiplication: A B = C Size: 4 x 2 2 x 3 4 x 3 =

Matrix Multiplication: A B = C Size: m x n n x k m x k Note: A B is not equal B A ! Rule to remember: We pick from the left matrix a row vector (row i) and from the right matrix a column vector (column j), calculate the dot product between the two vectors and enter the result in the new matrix in row i, column j.

 Errors can easily sneak into the slides.  If you find a mistake, please contact me Thanks! See also a 5 minute introduction: