Dr. Ameria Eldosoky Discrete mathematics

Slides:



Advertisements
Similar presentations
2.3 Modeling Real World Data with Matrices
Advertisements

CSNB143 – Discrete Structure
Chapter Matrices Matrix Arithmetic
Matrix Multiplication To Multiply matrix A by matrix B: Multiply corresponding entries and then add the resulting products (1)(-1)+ (2)(3) Multiply each.
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
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.
13.1 Matrices and Their Sums
Chapter 4 – Matrix CSNB 143 Discrete Mathematical Structures.
DISCRETE COMPUTATIONAL STRUCTURES CS Fall 2005.
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.
Operations with Matrices
Thinking Mathematically Number Theory and the Real Number System 5.5 Real Numbers and Their Properties.
Copyright © Cengage Learning. All rights reserved. 7 Linear Systems and Matrices.
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 Section 2.6. Section Summary Definition of a Matrix Matrix Arithmetic Transposes and Powers of Arithmetic Zero-One matrices.
How to Multiply Two Matrices. Steps for Matrix Multiplication 1.Determine whether the matrices are compatible. 2.Determine the dimensions of the product.
Matrix Algebra Section 7.2. Review of order of matrices 2 rows, 3 columns Order is determined by: (# of rows) x (# of columns)
8.2 Operations With Matrices
CSNB143 – Discrete Structure Topic 3 – Matrices. Learning Outcomes Students should understand all matrices operations. Students should be able to differentiate.
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-
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 2.4. Section Summary  Sequences. o Examples: Geometric Progression, Arithmetic Progression  Recurrence Relations o Example: Fibonacci Sequence.
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.
Matrix Algebra Definitions Operations Matrix algebra is a means of making calculations upon arrays of numbers (or data). Most data sets are matrix-type.
CS 285- Discrete Mathematics Lecture 11. Section 3.8 Matrices Introduction Matrix Arithmetic Transposes and Power of Matrices Zero – One Matrices Boolean.
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.
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.
MTH108 Business Math I Lecture 20.
The Euclidean Algorithm
CSE 504 Discrete Mathematics & Foundations of Computer Science
CSNB 143 Discrete Mathematical Structures
13.4 Product of Two Matrices
12-1 Organizing Data Using Matrices
Matrix Operations Free powerpoints at
Discrete Structures – CNS2300
1.5 Matricies.
Matrix Operations.
Matrix Operations Free powerpoints at
MATHEMATICS Matrix Multiplication
What we’re learning today:
Matrix Multiplication
Matrix Operations Monday, August 06, 2018.
Matrix Operations.
Matrix Operations SpringSemester 2017.
Section 7.4 Matrix Algebra.
Matrix Operations Free powerpoints at
Sequences and Summations
2. Matrix Algebra 2.1 Matrix Operations.
Matrices Elements, Adding and Subtracting
MATRICES MATRIX OPERATIONS.
Section 2.4 Matrices.
2.2 Introduction to Matrices
Objectives Multiply two matrices.
3.5 Perform Basic Matrix Operations
Dimensions matching Rows times Columns
3.6 Multiply Matrices.
Chapter 4 Matrices & Determinants
1.8 Matrices.
What is the dimension of the matrix below?
Matrix Operations SpringSemester 2017.
1.8 Matrices.
3.5 Perform Basic Matrix Operations Algebra II.
Matrix Multiplication Sec. 4.2
Applied Discrete Mathematics Week 4: Functions
Presentation transcript:

Dr. Ameria Eldosoky Discrete mathematics Discrete Mathematical Structures: Theory and Applications

Matrices

Matrices

Matrices

Matrices

Matrices

Matrices

Matrices Two matrices are added only if they have the same number of rows and the same number of columns To determine the sum of two matrices, their corresponding elements are added

Matrices

Matrices

Matrices

Matrices

Matrices The multiplication AB of matrices A and B is defined only if the number of rows and columns of A is the same as the number of rows and of B

Matrices Figure 4.1 Let A = [aij]m×n be an m × n matrix and B = [bjk ]n×p be an n × p matrix. Then AB is defined To determine the (i, k)th element of AB, take the ith row of A and the kth column of B, multiply the corresponding elements, and add the result Multiply corresponding elements as in Figure 4.1

Matrices

Matrices The rows of A are the columns of AT and the columns of A are the rows of AT

Matrices Boolean (Zero-One) Matrices Matrices whose entries are 0 or 1 Allows for representation of matrices in a convenient way in computer memory and for design and implement algorithms to determine the transitive closure of a relation

Matrices Boolean (Zero-One) Matrices The set {0, 1} is a lattice under the usual “less than or equal to” relation, where for all a, b ∈ {0, 1}, a ∨ b = max{a, b} and a ∧ b = min{a, b}

Matrices

Matrices

Matrices