فصل 1 (المصفوفات)Matrices

Slides:



Advertisements
Similar presentations
Chapter Matrices Matrix Arithmetic
Advertisements

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.
MAT120 Asst. Prof. Dr. Ferhat PAKDAMAR (Civil Engineer) M Blok - M106 Gebze Technical University Department of Architecture Spring.
MF-852 Financial Econometrics
MATRIX ALGEBRA MGT 4850 Spring 2009 University of Lethbridge.
Chapter 2 Matrices Definition of a matrix.
2005/8Matrices-1 Matrices. 2005/8Matrices-2 A Matrix over a Field F (R or C) m rows n columns size: m×n ij-entry: a ij  F (ij-component)
Matrices MSU CSE 260.
2.1 Operations with Matrices 2.2 Properties of Matrix Operations
Chapter 3 The Inverse. 3.1 Introduction Definition 1: The inverse of an n  n matrix A is an n  n matrix B having the property that AB = BA = I B is.
3.8 Matrices.
MAT 2401 Linear Algebra 2.2 Properties of Matrix Operations
1 Operations with Matrice 2 Properties of Matrix Operations
Properties of Matrix Operations King Saud University.
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
Compiled By Raj G. Tiwari
2.1 Operations with Matrices 2.2 Properties of Matrix Operations
Matrix Inversion.
Chapter 2A Matrices 2A.1 Definition, and Operations of Matrices: 1 Sums and Scalar Products; 2 Matrix Multiplication 2A.2 Properties of Matrix Operations;
Matrix Algebra. Quick Review Quick Review Solutions.
Chap. 2 Matrices 2.1 Operations with Matrices
1.4 Inverses; Rules of Matrix Arithmetic. Properties of Matrix Operations For real numbers a and b,we always have ab=ba, which is called the commutative.
A rectangular array of numbers (we will concentrate on real numbers). A nxm matrix has ‘n’ rows and ‘m’ columns What is a matrix? First column First row.
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,
Copyright © 2011 Pearson, Inc. 7.2 Matrix Algebra.
1 C ollege A lgebra Systems and Matrices (Chapter5) 1.
Matrices Matrices For grade 1, undergraduate students For grade 1, undergraduate students Made by Department of Math.,Anqing Teachers college.
CHAPTER 2 MATRICES 2.1 Operations with Matrices Matrix
Chapter 3 Determinants Linear Algebra. Ch03_2 3.1 Introduction to Determinants Definition The determinant of a 2  2 matrix A is denoted |A| and is given.
Slide Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Chapter 6 Systems of Linear Equations and Matrices Sections 6.3 – 6.5.
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.
Section 1.4 Inverses; Rules of Matrix Arithmetic.
For real numbers a and b,we always have ab = ba, which is called the commutative law for multiplication. For matrices, however, AB and BA need not be equal.
2 2.1 © 2012 Pearson Education, Inc. Matrix Algebra MATRIX OPERATIONS.
Chapter 8 Matrices and Determinants Matrix Solutions to Linear Systems.
Matrices: Basic Operations and Their Properties
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.
Chapter 2 Determinants. With each square matrix it is possible to associate a real number called the determinant of the matrix. The value of this number.
Copyright © Cengage Learning. All rights reserved. 2 SYSTEMS OF LINEAR EQUATIONS AND MATRICES.
Matrices and Determinants
MATRICES Operations with Matrices Properties of Matrix Operations
Linear Algebra Chapter 2 Matrices.
Matrices and Matrix Operations. Matrices An m×n matrix A is a rectangular array of mn real numbers arranged in m horizontal rows and n vertical columns.
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.
Chapter 2 Matrices 2.1 Operations with Matrices 2.2 Properties of Matrix Operations 2.3 The Inverse of a Matrix 2.4 Elementary Matrices Elementary Linear.
2 - 1 Chapter 2A Matrices 2A.1 Definition, and Operations of Matrices: 1 Sums and Scalar Products; 2 Matrix Multiplication 2A.2 Properties of Matrix Operations;
MATRICES. Introduction Matrix algebra has several uses in economics as well as other fields of study. One important application of Matrices is that it.
A very brief introduction to Matrix (Section 2.7) Definitions Some properties Basic matrix operations Zero-One (Boolean) matrices.
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.
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.
3.8 Matrices L Al-zaid Math1101.
Matrices and Matrix Operations
MATRIX ALGABRA YULVI ZAIKA.
MATRICES.
Linear Algebra Lecture 2.
Lecture 2 Matrices Lat Time - Course Overview
1.4 Inverses; Rules of Matrix Arithmetic
Rules of Matrix Arithmetic
What we’re learning today:
Section 2.4 Matrices.
Matrices and Matrix Operations
MATRICES Operations with Matrices Properties of Matrix Operations
Multiplication of Matrices
3.8 Matrices L Al-zaid Math1101.
Properties of Real Numbers
Presentation transcript:

فصل 1 (المصفوفات)Matrices 1.1 Operations with Matrices (عمليات على المصفوفات) 1.2 Properties of Matrix Operations (خواص عمليات المصفوفات) 1.3 The Inverse of a Matrix (معكوس المصفوفة) 1.4 Elementary Matrices (المصفوفة الأولية) 1.5 Applications of Matrix Operations (تطبيقات على عمليات المصفوفات) 1.1

1.1 Operations with Matrices (عمليات على المصفوفات) Matrix: (i, j)-th entry (or element): number of rows (عدد الصفوف): m number of columns (عدد الأعمدة): n Size (مقاس أو بعد): m×n Square matrix (مصفوفة مربعه): m = n

Equal matrices (المصفوفات المتساوية): two matrices are equal if they have the same size (m × n) and entries corresponding to the same position are equal Ex 1: Equality of matrices (تساوى المصفوفات)

Matrix addition (جمع المصفوفات): Ex 2: Matrix addition (جمع المصفوفات):

Scalar multiplication (الضرب المصفوفه في ثابت قياسي): Matrix subtraction (طرح المصفوفات):: Ex 3: Scalar multiplication and matrix subtraction Find (a) 3A, (b) –B, (c) 3A – B

Sol: (a) (b) (c)

Matrix multiplication (ضرب المصفوفات): should be equal size of C=AB where ※ The entry cij is obtained by calculating the sum of the entry-by-entry product between the ith row of A and the jth column of B

Ex 4: Find AB Sol: Note: (1) BA is not multipliable غير قابلة للضرب (2) Even BA is multipliable قابلة للضرب BAحتى لو أن , AB≠BA

Matrix form of a system of linear equations in n variables الشكل المصفوفى لنظام المعادلات الخطيه: = A x b

Trace operation (أثر المصفوفة) Tr(A): Diagonal matrix (المصفوفه القطريه): a square matrix in which nonzero elements are found only in the principal diagonal ※ It is the usual notation for a diagonal matrix.

1.2 Properties of Matrix Operations (خواص عمليات المصفوفات) Three basic matrix operators, introduced in Sec. 1.1: (1) matrix addition (2) scalar multiplication (3) matrix multiplication Zero matrix (المصفوفه الصفريه): Identity matrix of order n (مصفوفة الوحدة):

Properties of matrix addition and scalar multiplication: then (1) A+B = B+A (Commutative property of addition) (الأبدال) (2) A+(B+C) = (A+B)+C (Associative property of addition) (الدمج) (3) ( cd ) A = c ( dA ) (Associative property of scalar multiplication) (Multiplicative identity property, and 1 is the multiplicative identity for all matrices) (4) 1A = A (5) c( A+B ) = cA + cB (Distributive property of scalar multiplication over matrix addition) (التوزيع عند الضرب فى ثابت) (6) ( c+d ) A = cA + dA (Distributive property of scalar multiplication over real-number addition) حيث c, d أعداد حقيقيه (ثوابت)

Properties of zero matrices (خواص المصفوفه الصفرية): ※ So, 0m×n is also called the additive identity for the set of all m×n matrices ※ Thus , –A is called the additive inverse of A

Properties of matrix multiplication (خواص ضرب المصفوفات): (1) A(BC) = (AB ) C (Associative property of matrix multiplication) (الدمج) (2) A(B+C) = AB + AC (Distributive property of LHS matrix multiplication over matrix addition) (3) (A+B)C = AC + BC (Distributive property of RHS matrix multiplication over matrix addition) (4) c (AB) = (cA) B = A (cB) ※ For real numbers, the properties (2) and (3) are the same. Properties of the identity matrix (خواص مصفوفة الوحدة): : ※ For real numbers, the role of 1 is similar to the identity matrix. However, 1 is unique for real numbers and there could be many identity matrices with different sizes

Ex 3: Matrix Multiplication is Associative (ضرب المصفوفات دامج) Calculate (AB)C and A(BC) for Sol:

Definition of Ak : repeated multiplication of a square matrix: Properties for Ak: (1) AjAk = Aj+k (2) (Aj)k = Ajk where j and k are nonnegative (غير سالبه) integers and A0 is assumed to be I For diagonal matrices فقط للمصفوفة القطرية:

Transpose of a matrix (مدور (منقول) المصفوفة): ※ The transpose operation is to move the entry aij (original at the position (i, j)) to the position (j, i) ※ Note that after performing the transpose operation, AT is with the size n×m

Ex 8: Find the transpose of the following matrix أوجد مدور المصفوفات (b) (c) Sol: (a) (b) (c)

Properties of transposes (خواص على المدور (المنقول)): ※ Properties (2) and (4) can be generalized to the sum or product of multiple matrices. For example, (A+B+C)T = AT+BT+CT and (ABC)T = CTBTAT

Ex 9: Show that (AB)T and BTAT are equal Sol:

Symmetric matrix (مصفوفة متماثلة): A square matrix A is symmetric if A = AT Skew-symmetric matrix (مصفوفة متماثلة تخالفياً): : A square matrix A is skew-symmetric if AT = –A Ex: is symmetric, find a, b, c? Sol:

is a skew-symmetric, find a, b, c? Ex: is a skew-symmetric, find a, b, c? Sol: Note: must be symmetric ※ The matrix A could be with any size, i.e., it is not necessary for A to be a square matrix. ※ In fact, AAT must be a square matrix. Pf:

Real number (الابدال متوفر فى الأعداد الحقيقيه): ab = ba Before finishing this section, two properties will be discussed, which is held for real numbers, but not for matrices: the first is the commutative property of matrix multiplication and the second is the cancellation law (قانون الحذف) Real number (الابدال متوفر فى الأعداد الحقيقيه): ab = ba (Commutative property of real-number multiplication) Matrix (الابدال غير متوفر فى المصفوفات): : Three situations for BA: (Sizes are not the same) (Sizes are the same, but resultant matrices are not equal)

Sow that AB and BA are not equal for the matrices. Ex 4: بين أن Sow that AB and BA are not equal for the matrices. and Sol: (noncommutativity of matrix multiplication)

Notes: (1) A+B = B+A (the commutative law of matrix addition) (2) (the matrix multiplication is not with the commutative law) (so the order of matrix multiplication is very important) (الترتيب فى الضرب مهم جدا)

Real number للأعداد الحقيقية: (Cancellation law for real numbers) Matrix (قانون الحذف فى المصفوفات): (1) If C is invertible (قابله للعكس), then A = B (2) If C is not invertible (غير قابله للعكس), then (Cancellation law is not necessary to be valid) قانون الحذف ليس بالضرورة يكون متوفر

قانون الحذف فى المصفوفات ليس بالضروره يكون متوفر Ex 5: (An example in which cancellation is not valid) Show that AC=BC Sol: So, although , قانون الحذف فى المصفوفات ليس بالضروره يكون متوفر

2.3 The Inverse of a Matrix (معكوس المصفوفة) Inverse matrix: Consider , مصفوفة مربعه then (1) A is invertible (or nonsingular) (2) B is the inverse of A Note: A square matrix that does not have an inverse (ليس لها معكوس) is called noninvertible (or singular) (غير قابله للعكس او شاذه)

معكوس المصفوفه وحيد Theorem نظرية : The inverse of a matrix is unique If B and C are both inverses of the matrix A, then B = C معكوس المصفوفه وحيد. Pf: (associative property of matrix multiplication and the property for the identity matrix) Consequently, the inverse of a matrix is unique. معكوس المصفوفه وحيد Notes: (1) The inverse of A is denoted by معكوس المصفوفة هو