A very brief introduction to Matrix (Section 2.7) Definitions Some properties Basic matrix operations Zero-One (Boolean) matrices.

Slides:



Advertisements
Similar presentations
2.3 Modeling Real World Data with Matrices
Advertisements

CSNB143 – Discrete Structure
Chapter Matrices Matrix Arithmetic
1 Section 7.3 Representing relations (part 1: matrices)
Matrices A matrix is a rectangular array of quantities (numbers, expressions or function), arranged in m rows and n columns x 3y.
Matrix Definition: An array of numbers in m rows and n colums is called an mxn matrix A square matrix of order n, is an (nxn) matrix.
Mathematics. Matrices and Determinants-1 Session.
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
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.
Chapter 2 Section 3 Arithmetic Operations on Matrices.
“No one can be told what the matrix is…
Matrices MSU CSE 260.
Matrices The Basics Vocabulary and basic concepts.
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
MATRICES. Matrices A matrix is a rectangular array of objects (usually numbers) arranged in m horizontal rows and n vertical columns. A matrix with m.
CE 311 K - Introduction to Computer Methods Daene C. McKinney
3.8 Matrices.
Elementary Linear Algebra Howard Anton Copyright © 2010 by John Wiley & Sons, Inc. All rights reserved. Chapter 1.
Elementary Linear Algebra Howard Anton Copyright © 2010 by John Wiley & Sons, Inc. All rights reserved. Chapter 1.
CSE 504 Discrete Mathematics & Foundations of Computer Science
Matrices Square is Good! Copyright © 2014 Curt Hill.
Overview Definitions Basic matrix operations (+, -, x) Determinants and inverses.
Matrices. A matrix, A, is a rectangular collection of numbers. A matrix with “m” rows and “n” columns is said to have order m x n. Each entry, or element,
Lecture 7 Matrices CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
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.
13.1 Matrices and Their Sums
Chapter 4 – Matrix CSNB 143 Discrete Mathematical Structures.
Matrices Matrices A matrix (say MAY-trix) is a rectan- gular array of objects (usually numbers). An m  n (“m by n”) matrix has exactly m horizontal.
2009/9 1 Matrices(§3.8)  A matrix is a rectangular array of objects (usually numbers).  An m  n (“m by n”) matrix has exactly m horizontal rows, and.
Prepared by Deluar Jahan Moloy Lecturer Northern University Bangladesh
Notes 7.2 – Matrices I. Matrices A.) Def. – A rectangular array of numbers. An m x n matrix is a matrix consisting of m rows and n columns. The element.
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.
CSCI 171 Presentation 9 Matrix Theory. Matrix – Rectangular array –i th row, j th column, i,j element –Square matrix, diagonal –Diagonal matrix –Equality.
Matrices Section 2.6. Section Summary Definition of a Matrix Matrix Arithmetic Transposes and Powers of Arithmetic Zero-One matrices.
Chapter 2 … part1 Matrices Linear Algebra S 1. Ch2_2 2.1 Addition, Scalar Multiplication, and Multiplication of Matrices Definition A matrix is a rectangular.
Matrix Operations.
CSNB143 – Discrete Structure Topic 3 – Matrices. Learning Outcomes Students should understand all matrices operations. Students should be able to differentiate.
Greatest Common Divisors & Least Common Multiples  Definition 4 Let a and b be integers, not both zero. The largest integer d such that d|a and d|b is.
3.4 Solution by Matrices. What is a Matrix? matrix A matrix is a rectangular array of 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 and Determinants
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.
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.
A ij i = row j = column A [ A ] Definition of a Matrix.
Precalculus Section 14.1 Add and subtract matrices Often a set of data is arranged in a table form A matrix is a rectangular.
Section 2.4. Section Summary  Sequences. o Examples: Geometric Progression, Arithmetic Progression  Recurrence Relations o Example: Fibonacci Sequence.
Matrix Algebra Definitions Operations Matrix algebra is a means of making calculations upon arrays of numbers (or data). Most data sets are matrix-type.
Matrices. Variety of engineering problems lead to the need to solve systems of linear equations matrixcolumn vectors.
CS 285- Discrete Mathematics Lecture 11. Section 3.8 Matrices Introduction Matrix Arithmetic Transposes and Power of Matrices Zero – One Matrices Boolean.
Introduction Types of Matrices Operations
A rectangular array of numeric or algebraic quantities subject to mathematical operations. The regular formation of elements into columns and rows.
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 Matrix Operations
Discrete Structures – CNS2300
1.5 Matricies.
Matrix Operations.
Matrix Multiplication
DETERMINANTS A determinant is a number associated to a square matrix. Determinants are possible only for square matrices.
Matrix Operations.
2. Matrix Algebra 2.1 Matrix Operations.
Section 2.4 Matrices.
2.2 Introduction to Matrices
Matrices Introduction.
CS100: Discrete structures
MATRICES Operations with Matrices Properties of Matrix Operations
Presentation transcript:

A very brief introduction to Matrix (Section 2.7) Definitions Some properties Basic matrix operations Zero-One (Boolean) matrices

Matrix (Section 2.7) Definition: A matrix is a rectangular array of numbers. A matrix of m rows and n columns is called an m  n matrix, denoted A m  n. The element or entry at the i th row and j th column is denoted a i,j. The matrix can also be denoted A = [a i,j ]. Example row column a 2,3 = 2

Matrix Two matrices A m  n and B p  q are equal if they have the same number of rows and columns (m = p and n = q), and their corresponding entries are equal (a i,j =b i,j for all i, j). A m  n is a square matrix if m = n, denoted A m A square matrix A is said to be symmetric if a i,j = a j,i for all i and j.

Matrix arithmetic (operations) Matrix addition. A m  n and B m  n must have the same numbers of rows and columns must have the same numbers of rows and columns add corresponding entries add corresponding entries A m  n + B m  n = C m  n = [a i,j + b i,j ] Matrix subtraction is done similarly

Matrix arithmetic (operations) Multiply a matrix by a number. b  A = [b  a i,j ] (i.e., multiply the number to each entry.) b  A = [b  a i,j ] (i.e., multiply the number to each entry.) Multiplication of two matrices. A m  k and B k  n number of columns of the first must equal number of rows of the second number of columns of the first must equal number of rows of the second the product is a matrix, denoted AB = C m  n the product is a matrix, denoted AB = C m  n Entry c i,j is the sum of pair-wise products of the i th row of A and j th column of B Entry c i,j is the sum of pair-wise products of the i th row of A and j th column of B

Matrix arithmetic (operations) Example

Powers and Transposes Identity matrix: I n A square matrix of n rows and n columns A square matrix of n rows and n columns Diagonal entries are 1, all other entries are 0 Diagonal entries are 1, all other entries are 0 (i i,i = 1 for all i, i i,j = 0 for all i != j.) (i i,i = 1 for all i, i i,j = 0 for all i != j.) For matrix A m  n, we have I m A = A I n = A For matrix A m  n, we have I m A = A I n = A Powers of (square) matrix A n A 0 = I n =, A r = AA···A A 0 = I n =, A r = AA···A r times

Powers and Transposes Matrix transpose: A m  n the transpose of A, denoted A t, is a n  m matrix the transpose of A, denoted A t, is a n  m matrix A t = [b i,j = a j,i ] A t = [b i,j = a j,i ] i th row of A becomes i th column of A t i th row of A becomes i th column of A t Theorem: A square matrix A n is symmetric iff A = A t A = A t

Zero-One (Boolean) Matrix Definition: Entries are Boolean values (0 and 1) Entries are Boolean values (0 and 1) Operations are also Boolean Operations are also Boolean Matrix join. A  B = [a i,j  b i,j ] A  B = [a i,j  b i,j ] Matrix meet. A  B = [a i,j  b i,j ] A  B = [a i,j  b i,j ] Example:

Zero-One (Boolean) Matrix Matrix multiplication: A m  k and B k  n the product is a Zero-One matrix, denoted A  B = C m  n the product is a Zero-One matrix, denoted A  B = C m  n c ij = (a i1  b 1j )  (a i2  b 2i )  …  (a ik  b kj ). c ij = (a i1  b 1j )  (a i2  b 2i )  …  (a ik  b kj ).Example: