SlideShare una empresa de Scribd logo
1 de 42
An introduction to
   Matrix Algebra
Algebra
MATRIX
  A matrix is an ordered rectangular array of
  numbers, arranged in rows and columns.
                                     rows




            columns
ORDER OF A MATRIX
The size or order of a matrix is
described by its number of rows
and the number of columns.

  If a matrix, A, has m rows and n columns
  then A is described as an mxn matrix.
The numbers in a matrix are called its
elements. The element in the ith row and jth
column of a matrix is generally denoted by
aij. A matrix with m rows and n columns is
written        or      .
Row Matrix

   A matrix with just one row is
   called a row matrix (or row
   vector).

     A     a1 a 2   , an     aj    (1 x n)
Column Matrix
    A matrix with just one column is
    called a column matrix.
                 a1
                 a2
            A           ai   (m x 1)



                 am
Matrices of the same order


Two matrices which have the Same
number of rows and columns are
said to be matrices of the same
order.
Equal Matrices
Two matrices A = (aij) and B = (bij) are said to be equal if,
and only if, each element aij of A is equal to the
corresponding element bij of B.

In symbolic form this reads:

       A=B  aij = bij for all i and j

From this it follows that equal matrices are of the same
order but matrices of the same order are not necessarily
equal.
Null matrix
 Any matrix, all of whose elements are zero, is called
 a null or zero matrix and is denoted by O.
Matrix Addition

   A new matrix C may be defined as the
   additive combination of matrices A and
   B where: C = A + B
   is defined by:

           cij      aij       bij

   Note: all three matrices are of the same dimension
Addition
                   a11 a12
   If          A
                   a 21 a 22

                   b11 b12
        and    B
                   b 21 b 22

                    a11 b11 a12 b12
        then   C
                    a 21 b 21 a 22 b22
Matrix Addition Example


          3 4    1 2      4 6
  A   B                          C
          5 6    3 4      8 10
Multiplication by a scalar
   If A is a given matrix and   a scalar then
      A is the matrix each of whose elements is
    times the corresponding element of A.

Thus     A
The
Identity
Identity Matrix
   Square matrix with ones on the
   diagonal and zeros elsewhere.
                  1   0   0   0
                  0   1   0   0
        I
                  0   0   1   0
                  0   0   0   1
Equal Matrices


   Two matrices A and B are said
   to be equal if, and only if, each
   element aij of A is equal to the
   corresponding element bij of
   B.
The Null matrix

 Any matrix all of whose elements are zero
 is called a null or zero matrix
Transpose Matrix
   Rows become columns and
   columns become rows

            a11 a 21 , , am1
            a12 a 22 , , am 2
      A'

            a1n a 2n ,   , amn
Square Matrix
   Same number of rows and
   columns
                5 4 7
       B        3 6 1
                2 1 3
Matrix Subtraction

       C = A - B
       Is defined by


 Cij              Aij   Bij
Matrix Multiplication
   Let A and B be two matrices. If the number of
    columns in A is equal to the number of rows
    in B we say that A and B are conformable for
    the matrix product AB.
   If A is order m n and B is of order n p, then
    the product AB is defined and is a matrix of
    order m p.
Matrix Multiplication
  Matrices A and B have these dimensions:




       [r x c] and [s x d]
Matrix Multiplication
 Matrices A and B can be multiplied if:

         [m x n] and [n x p]

                   n=n
Matrix Multiplication

The resulting matrix will have the dimensions:

          [m x n] and [n x p]

                   mxp
Computation: A x B = C
                a11 a12
       A
                a 21 a 22   [2 x 2]
               b11 b12 b13
       B
               b 21 b 22 b 23
                                [2 x 3]
           a11b11 a12b21 a11b12 a12b22 a11b13 a12b23
   C
           a 21b11 a 22b21 a 21b12 a 22b22 a 21b13 a 22b23
                                                         [2 x 3]
Computation: A x B = C
              2 3
                                                111
     A       11        and B
                                                1 0 2
             1 0
             [3 x 2]                            [2 x 3]
                    A and B can be multiplied


         2 *1 3 *1 5 2 *1 3 * 0    2 2 *1 3 * 2 8         528
     C   1*1 1*1 2 1*1 1* 0 1 1*1 1* 2 3                  213
         1*1 0 *1 1 1*1 0 * 0 1 1*1 0 * 2 1               111

                             [3 x 3]
Computation: A x B = C
              2 3
                                           111
     A       11        and B
                                           1 0 2
             1 0
             [3 x 2]                       [2 x 3]
                         Result is 3 x 3


         2 *1 3 *1 5 2 *1 3 * 0   2 2 *1 3 * 2 8     528
     C   1*1 1*1 2 1*1 1* 0 1 1*1 1* 2 3             213
         1*1 0 *1 1 1*1 0 * 0 1 1*1 0 * 2 1          111
                                                           [3 x 3]
Note:
   If A is an m n and B is n p matrix, then AB is
    an m p matrix. Hence we see that BA is
    defined only when p=m.
Inversion
The Inverse of a Matrix
Definition:
Let A be a square matrix. A matrix B
such that AB=I=BA is called the inverse
matrix of A and is denoted by A-1.

So if A-1 exists, we have AA-1=I=A-1A
and the matrix is said to be invertible.

If a matrix has no inverse, then it is said
to be non-invertible.
The Inverse of a Matrix


                1        1
           A A AA                I

     Like a reciprocal       Like the number one
     in scalar math          in scalar math
Linear System of Simultaneous
Equations

   First precinct: 6 arrests last week equally divided
   between felonies and misdemeanors.

   Second precinct: 9 arrests - there were twice as
   many felonies as the first precinct.

  1st Precinct :           x1        x2         6
   2nd Pr ecinct : 2x1                  x2          9
11            11
Solution                 Note: Inverse of
                                               21
                                                      is
                                                            2 1

      11           x1    6
               *
      21           x2    9
 11       11        x1       11       6      Premultiply both sides by
      *        *                  *          inverse matrix
2 1       21        x2   2 1          9

          10       x1    3            A square matrix multiplied by its
               *                      inverse results in the identity matrix.
          01       x2    3

                   x1    3            A 2x2 identity matrix multiplied by
                                      the 2x1 matrix results in the original
                   x2    3            2x1 matrix.
General Form
   n equations in n variables:
   n
       aijxj       bi     or     Ax            b
   j 1

  unknown values of x can be found using the
  inverse of matrix A such that
                    1                          1
  x            A Ax                    A b
Garin-Lowry Model

  Ax            y              x
    The object is to find x given A and y . This
    is done by solving for x :

         y          Ix Ax
         y          (I A)x
                        1
         (I      A) y                 x
Matrix Operations in Excel




                             Select the
                             cells in
                             which the
                             answer
                             will
                             appear
Matrix Multiplication in Excel

                           1)   Enter
                                “=mmult(“
                           2)   Select the
                                cells of the
                                first matrix
                           3)   Enter comma
                                “,”
                           4)   Select the
                                cells of the
                                second matrix
                           5)   Enter “)”
Matrix Multiplication in Excel

                                 Enter these
                                     three
                                     key
                                     strokes
                                     at the
                                     same
                                     time:
                                 control
                                 shift
                                 enter
Matrix Inversion in Excel
   Follow the same procedure
   Select cells in which answer is to be
    displayed
   Enter the formula: =minverse(
   Select the cells containing the matrix to be
    inverted
   Close parenthesis – type “)”
   Press three keys: Control, shift, enter
Matrix algebra

Más contenido relacionado

La actualidad más candente

Linear Algebra and Matrix
Linear Algebra and MatrixLinear Algebra and Matrix
Linear Algebra and Matrixitutor
 
System of linear equations
System of linear equationsSystem of linear equations
System of linear equationsDiler4
 
matrix algebra
matrix algebramatrix algebra
matrix algebrakganu
 
Matrix Algebra : Mathematics for Business
Matrix Algebra : Mathematics for BusinessMatrix Algebra : Mathematics for Business
Matrix Algebra : Mathematics for BusinessKhan Tanjeel Ahmed
 
Lesson02 Vectors And Matrices Slides
Lesson02   Vectors And Matrices SlidesLesson02   Vectors And Matrices Slides
Lesson02 Vectors And Matrices SlidesMatthew Leingang
 
MATRICES
MATRICESMATRICES
MATRICESfaijmsk
 
Matrices and Determinants
Matrices and DeterminantsMatrices and Determinants
Matrices and DeterminantsSOMASUNDARAM T
 
Matrix and its operation (addition, subtraction, multiplication)
Matrix and its operation (addition, subtraction, multiplication)Matrix and its operation (addition, subtraction, multiplication)
Matrix and its operation (addition, subtraction, multiplication)NirnayMukharjee
 
Determinants - Mathematics
Determinants - MathematicsDeterminants - Mathematics
Determinants - MathematicsDrishti Bhalla
 
Linear transformations and matrices
Linear transformations and matricesLinear transformations and matrices
Linear transformations and matricesEasyStudy3
 
MATRICES
MATRICESMATRICES
MATRICESdaferro
 

La actualidad más candente (20)

Types of RELATIONS
Types of RELATIONSTypes of RELATIONS
Types of RELATIONS
 
Linear Algebra and Matrix
Linear Algebra and MatrixLinear Algebra and Matrix
Linear Algebra and Matrix
 
Matrix Algebra seminar ppt
Matrix Algebra seminar pptMatrix Algebra seminar ppt
Matrix Algebra seminar ppt
 
the inverse of the matrix
the inverse of the matrixthe inverse of the matrix
the inverse of the matrix
 
System of linear equations
System of linear equationsSystem of linear equations
System of linear equations
 
Matrices
MatricesMatrices
Matrices
 
matrix algebra
matrix algebramatrix algebra
matrix algebra
 
Matrix Algebra : Mathematics for Business
Matrix Algebra : Mathematics for BusinessMatrix Algebra : Mathematics for Business
Matrix Algebra : Mathematics for Business
 
Lesson02 Vectors And Matrices Slides
Lesson02   Vectors And Matrices SlidesLesson02   Vectors And Matrices Slides
Lesson02 Vectors And Matrices Slides
 
matrices basic operation.ppt
matrices basic operation.pptmatrices basic operation.ppt
matrices basic operation.ppt
 
MATRICES
MATRICESMATRICES
MATRICES
 
Ring
RingRing
Ring
 
Matrices and Determinants
Matrices and DeterminantsMatrices and Determinants
Matrices and Determinants
 
Linear Algebra
Linear AlgebraLinear Algebra
Linear Algebra
 
Matrix and its operation (addition, subtraction, multiplication)
Matrix and its operation (addition, subtraction, multiplication)Matrix and its operation (addition, subtraction, multiplication)
Matrix and its operation (addition, subtraction, multiplication)
 
Determinants - Mathematics
Determinants - MathematicsDeterminants - Mathematics
Determinants - Mathematics
 
Linear transformations and matrices
Linear transformations and matricesLinear transformations and matrices
Linear transformations and matrices
 
Real Number System
Real Number SystemReal Number System
Real Number System
 
Determinants. Cramer’s Rule
Determinants. Cramer’s RuleDeterminants. Cramer’s Rule
Determinants. Cramer’s Rule
 
MATRICES
MATRICESMATRICES
MATRICES
 

Destacado

Introductory maths analysis chapter 10 official
Introductory maths analysis   chapter 10 officialIntroductory maths analysis   chapter 10 official
Introductory maths analysis chapter 10 officialEvert Sandye Taasiringan
 
Chapter 15 - Methods and Applications of Integration
Chapter 15 - Methods and Applications of IntegrationChapter 15 - Methods and Applications of Integration
Chapter 15 - Methods and Applications of IntegrationMuhammad Bilal Khairuddin
 
31350052 introductory-mathematical-analysis-textbook-solution-manual
31350052 introductory-mathematical-analysis-textbook-solution-manual31350052 introductory-mathematical-analysis-textbook-solution-manual
31350052 introductory-mathematical-analysis-textbook-solution-manualMahrukh Khalid
 
Probability Theory and Mathematical Statistics
Probability Theory and Mathematical StatisticsProbability Theory and Mathematical Statistics
Probability Theory and Mathematical Statisticsmetamath
 
presentation on matrix
 presentation on matrix presentation on matrix
presentation on matrixNikhi Jain
 
Matrices And Application Of Matrices
Matrices And Application Of MatricesMatrices And Application Of Matrices
Matrices And Application Of Matricesmailrenuka
 
Strength of materials by s k mondal
Strength of materials by s k mondalStrength of materials by s k mondal
Strength of materials by s k mondalShubhra Saxena
 

Destacado (10)

Chapter 6 - Matrix Algebra
Chapter 6 - Matrix AlgebraChapter 6 - Matrix Algebra
Chapter 6 - Matrix Algebra
 
Introductory maths analysis chapter 10 official
Introductory maths analysis   chapter 10 officialIntroductory maths analysis   chapter 10 official
Introductory maths analysis chapter 10 official
 
Chapter 15 - Methods and Applications of Integration
Chapter 15 - Methods and Applications of IntegrationChapter 15 - Methods and Applications of Integration
Chapter 15 - Methods and Applications of Integration
 
Systems of linear equations; matrices
Systems of linear equations; matricesSystems of linear equations; matrices
Systems of linear equations; matrices
 
Chapter 17 - Multivariable Calculus
Chapter 17 - Multivariable CalculusChapter 17 - Multivariable Calculus
Chapter 17 - Multivariable Calculus
 
31350052 introductory-mathematical-analysis-textbook-solution-manual
31350052 introductory-mathematical-analysis-textbook-solution-manual31350052 introductory-mathematical-analysis-textbook-solution-manual
31350052 introductory-mathematical-analysis-textbook-solution-manual
 
Probability Theory and Mathematical Statistics
Probability Theory and Mathematical StatisticsProbability Theory and Mathematical Statistics
Probability Theory and Mathematical Statistics
 
presentation on matrix
 presentation on matrix presentation on matrix
presentation on matrix
 
Matrices And Application Of Matrices
Matrices And Application Of MatricesMatrices And Application Of Matrices
Matrices And Application Of Matrices
 
Strength of materials by s k mondal
Strength of materials by s k mondalStrength of materials by s k mondal
Strength of materials by s k mondal
 

Similar a Matrix algebra

Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -Rai University
 
Engg maths k notes(4)
Engg maths k notes(4)Engg maths k notes(4)
Engg maths k notes(4)Ranjay Kumar
 
Business mathametics and statistics b.com ii semester (2)
Business mathametics and statistics b.com ii semester (2)Business mathametics and statistics b.com ii semester (2)
Business mathametics and statistics b.com ii semester (2)shamimakamili
 
Matrix and Determinants
Matrix and DeterminantsMatrix and Determinants
Matrix and DeterminantsAarjavPinara
 
9.matrices and transformation Further Mathematics Zimbabwe Zimsec Cambridge
9.matrices and transformation   Further Mathematics Zimbabwe Zimsec Cambridge9.matrices and transformation   Further Mathematics Zimbabwe Zimsec Cambridge
9.matrices and transformation Further Mathematics Zimbabwe Zimsec Cambridgealproelearning
 
GATE Preparation : Matrix Algebra
GATE Preparation : Matrix AlgebraGATE Preparation : Matrix Algebra
GATE Preparation : Matrix AlgebraParthDave57
 
Matrix presentation By DHEERAJ KATARIA
Matrix presentation By DHEERAJ KATARIAMatrix presentation By DHEERAJ KATARIA
Matrix presentation By DHEERAJ KATARIADheeraj Kataria
 
Linear Functions And Matrices
Linear Functions And MatricesLinear Functions And Matrices
Linear Functions And Matricesandrewhickson
 
chap01987654etghujh76687976jgtfhhhgve.ppt
chap01987654etghujh76687976jgtfhhhgve.pptchap01987654etghujh76687976jgtfhhhgve.ppt
chap01987654etghujh76687976jgtfhhhgve.pptadonyasdd
 
Algebra unit 9.1
Algebra unit 9.1Algebra unit 9.1
Algebra unit 9.1Mark Ryder
 
presentationonmatrix-160801150449 (1).pptx
presentationonmatrix-160801150449 (1).pptxpresentationonmatrix-160801150449 (1).pptx
presentationonmatrix-160801150449 (1).pptxAhmadSajjad34
 

Similar a Matrix algebra (20)

1565 matrix01-ppt
1565 matrix01-ppt1565 matrix01-ppt
1565 matrix01-ppt
 
Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -
 
Engg maths k notes(4)
Engg maths k notes(4)Engg maths k notes(4)
Engg maths k notes(4)
 
3. Matrix Algebra.ppt
3. Matrix Algebra.ppt3. Matrix Algebra.ppt
3. Matrix Algebra.ppt
 
Matrix algebra
Matrix algebraMatrix algebra
Matrix algebra
 
Presentation on matrix
Presentation on matrixPresentation on matrix
Presentation on matrix
 
Week2
Week2Week2
Week2
 
Matrices
MatricesMatrices
Matrices
 
Business mathametics and statistics b.com ii semester (2)
Business mathametics and statistics b.com ii semester (2)Business mathametics and statistics b.com ii semester (2)
Business mathametics and statistics b.com ii semester (2)
 
Matrix and Determinants
Matrix and DeterminantsMatrix and Determinants
Matrix and Determinants
 
9.matrices and transformation Further Mathematics Zimbabwe Zimsec Cambridge
9.matrices and transformation   Further Mathematics Zimbabwe Zimsec Cambridge9.matrices and transformation   Further Mathematics Zimbabwe Zimsec Cambridge
9.matrices and transformation Further Mathematics Zimbabwe Zimsec Cambridge
 
GATE Preparation : Matrix Algebra
GATE Preparation : Matrix AlgebraGATE Preparation : Matrix Algebra
GATE Preparation : Matrix Algebra
 
Matrix presentation By DHEERAJ KATARIA
Matrix presentation By DHEERAJ KATARIAMatrix presentation By DHEERAJ KATARIA
Matrix presentation By DHEERAJ KATARIA
 
Linear Functions And Matrices
Linear Functions And MatricesLinear Functions And Matrices
Linear Functions And Matrices
 
Takue
TakueTakue
Takue
 
chap01987654etghujh76687976jgtfhhhgve.ppt
chap01987654etghujh76687976jgtfhhhgve.pptchap01987654etghujh76687976jgtfhhhgve.ppt
chap01987654etghujh76687976jgtfhhhgve.ppt
 
Algebra unit 9.1
Algebra unit 9.1Algebra unit 9.1
Algebra unit 9.1
 
M a t r i k s
M a t r i k sM a t r i k s
M a t r i k s
 
7 4
7 47 4
7 4
 
presentationonmatrix-160801150449 (1).pptx
presentationonmatrix-160801150449 (1).pptxpresentationonmatrix-160801150449 (1).pptx
presentationonmatrix-160801150449 (1).pptx
 

Más de Arjuna Senanayake

Más de Arjuna Senanayake (12)

Mathematical operations
Mathematical operationsMathematical operations
Mathematical operations
 
spherical triangles
spherical trianglesspherical triangles
spherical triangles
 
Fluids
FluidsFluids
Fluids
 
Simultaneous equations (2)
Simultaneous equations (2)Simultaneous equations (2)
Simultaneous equations (2)
 
Quadratic equations
Quadratic equationsQuadratic equations
Quadratic equations
 
Polynomial equations
Polynomial equationsPolynomial equations
Polynomial equations
 
Logarithmic functions
Logarithmic functionsLogarithmic functions
Logarithmic functions
 
Logarithmic functions (2)
Logarithmic functions (2)Logarithmic functions (2)
Logarithmic functions (2)
 
Indices & logarithm
Indices & logarithmIndices & logarithm
Indices & logarithm
 
types of numbers
types of numberstypes of numbers
types of numbers
 
Lecture 2.2 graphs ii - solving simult.eqns graphically
Lecture 2.2   graphs ii - solving simult.eqns graphicallyLecture 2.2   graphs ii - solving simult.eqns graphically
Lecture 2.2 graphs ii - solving simult.eqns graphically
 
fundamentals of 2D and 3D graphs
fundamentals of 2D and 3D graphsfundamentals of 2D and 3D graphs
fundamentals of 2D and 3D graphs
 

Último

What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptshraddhaparab530
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 

Último (20)

What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.ppt
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 

Matrix algebra

  • 1. An introduction to Matrix Algebra
  • 3. MATRIX A matrix is an ordered rectangular array of numbers, arranged in rows and columns. rows columns
  • 4. ORDER OF A MATRIX The size or order of a matrix is described by its number of rows and the number of columns. If a matrix, A, has m rows and n columns then A is described as an mxn matrix.
  • 5. The numbers in a matrix are called its elements. The element in the ith row and jth column of a matrix is generally denoted by aij. A matrix with m rows and n columns is written or .
  • 6. Row Matrix A matrix with just one row is called a row matrix (or row vector). A a1 a 2 , an aj (1 x n)
  • 7. Column Matrix A matrix with just one column is called a column matrix. a1 a2 A ai (m x 1) am
  • 8. Matrices of the same order Two matrices which have the Same number of rows and columns are said to be matrices of the same order.
  • 9. Equal Matrices Two matrices A = (aij) and B = (bij) are said to be equal if, and only if, each element aij of A is equal to the corresponding element bij of B. In symbolic form this reads: A=B  aij = bij for all i and j From this it follows that equal matrices are of the same order but matrices of the same order are not necessarily equal.
  • 10.
  • 11. Null matrix Any matrix, all of whose elements are zero, is called a null or zero matrix and is denoted by O.
  • 12. Matrix Addition A new matrix C may be defined as the additive combination of matrices A and B where: C = A + B is defined by: cij aij bij Note: all three matrices are of the same dimension
  • 13. Addition a11 a12 If A a 21 a 22 b11 b12 and B b 21 b 22 a11 b11 a12 b12 then C a 21 b 21 a 22 b22
  • 14. Matrix Addition Example 3 4 1 2 4 6 A B C 5 6 3 4 8 10
  • 15. Multiplication by a scalar  If A is a given matrix and a scalar then A is the matrix each of whose elements is times the corresponding element of A. Thus A
  • 17. Identity Matrix Square matrix with ones on the diagonal and zeros elsewhere. 1 0 0 0 0 1 0 0 I 0 0 1 0 0 0 0 1
  • 18. Equal Matrices Two matrices A and B are said to be equal if, and only if, each element aij of A is equal to the corresponding element bij of B.
  • 19. The Null matrix Any matrix all of whose elements are zero is called a null or zero matrix
  • 20. Transpose Matrix Rows become columns and columns become rows a11 a 21 , , am1 a12 a 22 , , am 2 A' a1n a 2n , , amn
  • 21. Square Matrix Same number of rows and columns 5 4 7 B 3 6 1 2 1 3
  • 22. Matrix Subtraction C = A - B Is defined by Cij Aij Bij
  • 23. Matrix Multiplication  Let A and B be two matrices. If the number of columns in A is equal to the number of rows in B we say that A and B are conformable for the matrix product AB.  If A is order m n and B is of order n p, then the product AB is defined and is a matrix of order m p.
  • 24. Matrix Multiplication Matrices A and B have these dimensions: [r x c] and [s x d]
  • 25. Matrix Multiplication Matrices A and B can be multiplied if: [m x n] and [n x p] n=n
  • 26. Matrix Multiplication The resulting matrix will have the dimensions: [m x n] and [n x p] mxp
  • 27. Computation: A x B = C a11 a12 A a 21 a 22 [2 x 2] b11 b12 b13 B b 21 b 22 b 23 [2 x 3] a11b11 a12b21 a11b12 a12b22 a11b13 a12b23 C a 21b11 a 22b21 a 21b12 a 22b22 a 21b13 a 22b23 [2 x 3]
  • 28. Computation: A x B = C 2 3 111 A 11 and B 1 0 2 1 0 [3 x 2] [2 x 3] A and B can be multiplied 2 *1 3 *1 5 2 *1 3 * 0 2 2 *1 3 * 2 8 528 C 1*1 1*1 2 1*1 1* 0 1 1*1 1* 2 3 213 1*1 0 *1 1 1*1 0 * 0 1 1*1 0 * 2 1 111 [3 x 3]
  • 29. Computation: A x B = C 2 3 111 A 11 and B 1 0 2 1 0 [3 x 2] [2 x 3] Result is 3 x 3 2 *1 3 *1 5 2 *1 3 * 0 2 2 *1 3 * 2 8 528 C 1*1 1*1 2 1*1 1* 0 1 1*1 1* 2 3 213 1*1 0 *1 1 1*1 0 * 0 1 1*1 0 * 2 1 111 [3 x 3]
  • 30. Note:  If A is an m n and B is n p matrix, then AB is an m p matrix. Hence we see that BA is defined only when p=m.
  • 32. The Inverse of a Matrix Definition: Let A be a square matrix. A matrix B such that AB=I=BA is called the inverse matrix of A and is denoted by A-1. So if A-1 exists, we have AA-1=I=A-1A and the matrix is said to be invertible. If a matrix has no inverse, then it is said to be non-invertible.
  • 33. The Inverse of a Matrix 1 1 A A AA I Like a reciprocal Like the number one in scalar math in scalar math
  • 34. Linear System of Simultaneous Equations First precinct: 6 arrests last week equally divided between felonies and misdemeanors. Second precinct: 9 arrests - there were twice as many felonies as the first precinct. 1st Precinct : x1 x2 6 2nd Pr ecinct : 2x1 x2 9
  • 35. 11 11 Solution Note: Inverse of 21 is 2 1 11 x1 6 * 21 x2 9 11 11 x1 11 6 Premultiply both sides by * * * inverse matrix 2 1 21 x2 2 1 9 10 x1 3 A square matrix multiplied by its * inverse results in the identity matrix. 01 x2 3 x1 3 A 2x2 identity matrix multiplied by the 2x1 matrix results in the original x2 3 2x1 matrix.
  • 36. General Form n equations in n variables: n aijxj bi or Ax b j 1 unknown values of x can be found using the inverse of matrix A such that 1 1 x A Ax A b
  • 37. Garin-Lowry Model Ax y x The object is to find x given A and y . This is done by solving for x : y Ix Ax y (I A)x 1 (I A) y x
  • 38. Matrix Operations in Excel Select the cells in which the answer will appear
  • 39. Matrix Multiplication in Excel 1) Enter “=mmult(“ 2) Select the cells of the first matrix 3) Enter comma “,” 4) Select the cells of the second matrix 5) Enter “)”
  • 40. Matrix Multiplication in Excel Enter these three key strokes at the same time: control shift enter
  • 41. Matrix Inversion in Excel  Follow the same procedure  Select cells in which answer is to be displayed  Enter the formula: =minverse(  Select the cells containing the matrix to be inverted  Close parenthesis – type “)”  Press three keys: Control, shift, enter