Matrices CSLU Fall 2007 Cameron McInally

Slides:



Advertisements
Similar presentations
2.3 Modeling Real World Data with Matrices
Advertisements

Section 13-4: Matrix Multiplication
Matrix Multiplication To Multiply matrix A by matrix B: Multiply corresponding entries and then add the resulting products (1)(-1)+ (2)(3) Multiply each.
Maths for Computer Graphics
Matrices. Outline What is a matrix? Size of matrices Addition of matrices Scalar multiplication Matrices multiplication.
Section 4.1 – Matrix Operations Day 1
Warm-up 1.Review notes from Friday. 2.What is the dimension of the matrix below?
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
4.2 Operations with Matrices Scalar multiplication.
Algebra 2: Lesson 5 Using Matrices to Organize Data and Solve Problems.
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
AIM: How do we perform basic matrix operations? DO NOW:  Describe the steps for solving a system of Inequalities  How do you know which region is shaded?
Section 4-2 Adding and Subtracting Matrices. I. Matrices can be added or subtracted if they are the same size Both matrices are 2x2 + To add them just.
4.3 Matrix Multiplication 1.Multiplying a Matrix by a Scalar 2.Multiplying Matrices.
Matrix Algebra Section 7.2. Review of order of matrices 2 rows, 3 columns Order is determined by: (# of rows) x (# of columns)
Multiplying Matrices Algebra 2—Section 3.6. Recall: Scalar Multiplication - each element in a matrix is multiplied by a constant. Multiplying one matrix.
Algebra Matrix Operations. Definition Matrix-A rectangular arrangement of numbers in rows and columns Dimensions- number of rows then columns Entries-
What is Matrix Multiplication? Matrix multiplication is the process of multiplying two matrices together to get another matrix. It differs from scalar.
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.
Section 4.3 – Multiplying Matrices. MATRIX MULTIPLICATION 1. The order makes a difference…AB is different from BA. 2. The number of columns in first matrix.
Section – Operations with Matrices No Calculator By the end of this lesson you should be able to: Write a matrix and identify its order Determine.
3.5 Perform Basic Matrix Operations Add Matrices Subtract Matrices Solve Matric equations for x and y.
Notes Over 4.2 Finding the Product of Two Matrices Find the product. If it is not defined, state the reason. To multiply matrices, the number of columns.
(4-2) Adding and Subtracting Matrices Objectives: To Add and subtract Matrices To solve certain Matrix equations.
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 – is a rectangular arrangement of numbers in rows and columns. Dimensions – Size – m is rows, n is columns. m x n ( row ∙ column) Elements – The.
2.3 MODELING REAL WORLD DATA WITH MATRICES By the end of the section students will be able to add, subtract, and multiply matrices of various sizes. Students.
4.3 Multiplying Matrices Dimensions matching Rows times Columns.
Ch. 12 Vocabulary 1.) matrix 2.) element 3.) scalar 4.) scalar multiplication.
Section 6-2: Matrix Multiplication, Inverses and Determinants There are three basic matrix operations. 1.Matrix Addition 2.Scalar Multiplication 3.Matrix.
Tell whether the matrix is equal to the fundraiser matrix. Explain.
13.4 Product of Two Matrices
Sections 2.4 and 2.5 Matrix Operations
12-1 Organizing Data Using Matrices
Multiplying Matrices.
Christmas Packets are due on Friday!!!
Matrices Rules & Operations.
Matrix Operations Free powerpoints at
Matrix Operations.
Matrix Operations Free powerpoints at
What we’re learning today:
Matrix Multiplication
Introduction To Matrices
Matrix Operations Monday, August 06, 2018.
Matrix Operations.
Multiplying Matrices Algebra 2—Section 3.6.
Matrix Operations SpringSemester 2017.
Matrix Operations Free powerpoints at
Warm Up Use scalar multiplication to evaluate the following:
Multiplying Matrices.
WarmUp 2-3 on your calculator or on paper..
Section 3.1 – Operations with Matrices
7.3 Matrices.
Multiplying Matrices.
4-2 Adding & Subtracting Matrices
MATRICES MATRIX OPERATIONS.
Section 2.4 Matrices.
2.2 Introduction to Matrices
Multiplying Matrices.
Dimensions matching Rows times Columns
3.6 Multiply Matrices.
1.8 Matrices.
What is the dimension of the matrix below?
Matrix Operations SpringSemester 2017.
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.
1.8 Matrices.
Multiplying Matrices.
Multiplying Matrices.
Introduction to Matrices
Multiplying Matrices.
Presentation transcript:

Matrices CSLU 1100.003 Fall 2007 Cameron McInally cameron.mcinally@nyu.edu Fordham University

Matrices a list. a table. Matrix In English… What is a list of items called? What is a list of lists called? a list. Item 1 Item 2 Item 3 Item 4 A B C D a table. List 1 List 2 List 3 List 4 Item 1 Item 2 Item 3

Matrices an array. a matrix. Matrix In Computer Science… What is a row of elements called? What is an array of arrays called? Element 0 Element1 Element 2 Element 3 A B C D an array. a matrix. Array 0 Array 1 Array 2 Array 3 Element 0 Element 1 Element 2

Matrices M = Elements of a Matrix M(x,y) = item y in array x The items. How do we reference a particular element in matrix M? Array 0 Array 1 Array 2 Array 3 Element 0 Element 1 Element 2 M = M(x,y) = item y in array x

Matrices M = Elements of a Matrix M(1,2) = M(0,0) = M(1,0) = M(3,2) = Array 0 Array 1 Array 2 Array 3 A B C D E F G H I J K L M = M(1,2) = M(0,0) = M(1,0) = M(3,2) = J A B L

Matrices Examples

Matrices 3x2 3*2 = 6 Size of a Matrix We describe the size of a matrix by its width and its height. So…. size(A) = number_of_elements(A) = 3x2 3*2 = 6

Matrices Adding Matrices Rule #1: The two matrices we wish to add must be the same size. Rule #2: Add the corresponding elements in the two matrices to create a new matrix. Rule #3: Memorize these.

Matrices Adding Matrices Example Rule #1: Both matrices are 3x2.

Matrices A and B can not be added together!!! Adding Matrices Example Rule #1: A is 3x2 and B is 2x3. A and B can not be added together!!!

Matrices Scalar Multiplication Rule #0: A scalar is a single number. Rule #1: Multiply each element in a matrix by a scalar.

Matrices Scalar Multiplication Example

Matrices Matrix Multiplication Rule #1 : You can only multiple two matrices if the number of columns in the first matrix is equal to the number of rows in the second matrix.

Matrices Matrix Multiplication Rule #1 Explained: Can we multiply A x B? Yes, we have a 2x3 matrix multiplied by a 3x2 matrix. The number of columns in the first one (3) matches the number of rows in the second one (3).

Matrices Matrix Multiplication Rule #1 Explained: Can we multiply D x A? No it is a 3x3 multiplied by a 2x3. The number of columns in the first one (3) does not match the number of rows in the second one (2). Note: We can multiply A x D.

Matrices Matrix Multiplication What is A x B? First rewrite the matrices so that the first one is on the left of the result matrix and the second one is above the result matrix. Start with the first row on the left matrix and the first column on the above matrix. Multiply each pair of terms from 1..n and add them together. 30 10 6 -6

Matrices Matrix Multiplication Example What is D*B?

Matrices Matrix Multiplication Practice What is AxC? What is CxA? What is AxD? What is DxA?

Homework (Always Due in One Week) Matrices Homework (Always Due in One Week) Read Appendix B section “Matrix Operations” Complete Section 6.1 pages 623: 1 (a – e), 2(a – d) [Hint: I is the Identity Matrix] Why is I called the Identity Matrix?