際際滷

際際滷Share a Scribd company logo
MATRICES AND DETERMINATSDANIEL FERNANDO RODRIGUEZCOD: 2073410PETROLEUM ENGINEERING
DefinitionA matrixis a rectangular arrangement of numbers.Forexample,Analternativenotation uses largeparenthesesinstead of box brackets:
The horizontal and vertical lines in a matrix are calledrows and columns, respectively. Thenumbers in thematrix are calleditsentriesoritselements. Tospecify a matrix'ssize, a matrixwithmrows and ncolumnsiscalledanm-by-nmatrixorm油油nmatrix, whilem and n are calleditsdimensions. Theaboveis a 4-by-3 matrix.
TYPES OF MATRICESUpper triangular matrixIf a square matrix in which all the elements that are below the main diagonal are zeros. the matrix must be square.Lower triangular matrixIf a matrix in which all the elements that are above the main diagonal are zeros. the matrix must be square.
TYPES OF MATRICESDeterminant of a matrix.The determinant of a matrix A (n, n) is a scalar or polynomial, which is to obtain all possible products of a matrix according to a set of constraints, being denoted as [A]. The numerical value is also known as the matrix module.EXAMPLE:
TYPES OF MATRICESBand matrix:      In mathematics, particularly in the theory of matrices, a matrix is banded sparse matrix whose nonzero elements are confined or limited to a diagonal band: understanding the main diagonal and zero or more diagonal sides.Formally, an n * n matrix A = a (i, j) is a banded matrix if all elements of the matrix are zero outside the diagonal band whose rank is determined by the constants K1 and K2:Ai, j = 0 if j <i - K1 j> i + K2, K1, K2  0.
TYPES OF MATRICESTranspose MatrixIf we have a matrix (A) any order mxn, then its transpose is another array (A) of order nxm where they exchange the rows and columns of the matrix (A). The transpose of a matrix is denoted by the symbol "T" and is, therefore, that the transpose of the matrix A is represented by AT. Clearly, if A is an array of size mxn, At its transpose will nxm size as the number of columns becomes row and vice versa.Ifthe matrix A is square, its transpose is the same size.EXAMPLE:
TYPES OF MATRICESTwo matrices of order n are reversed if your product is the unit matrix of order n. A matrix has inverse is said to be invertible or scheduled, otherwise called singular. Properties(A 属 B) -1 = B-1 to-1(A-1) -1 = A(K  A) -1 = k-1 to-1(A t) -1 = (A -1) tInverse matrix calculation by determining          =Matrix Inverse         = Determinant of the matrix = Matrix attached    = Matrix transpose of the enclosed
BASIC OPERATIONSSUM OR ADITION:       Given the matrices m-by-n, A and B, their sum A + B is the matrix m-by-n calculated by adding the corresponding elements (ie (A + B) [i, j] = A [i, j] + B [i, j]). That is, adding each of the homologous elements of the matrices to add. For example:
BASIC OPERATIONSSCALAR MULTIPLICATIONGiven a matrix A and a scalar c, cA your product is calculated by multiplying the scalar by each element of In (ie (cA) [I j] = cA [R, j]).油ExamplePropertiesLet A and B matrices and c and d scalars.Closure: If A is matrix and c is scalar, then cA is matrix.Associativity: (cd) A = c (dA)Neutral element: 1 属 A = ADistributivity:To scale: c (A + B) = cA + cBMatrix: (c + d) A = cA + dA
BASIC OPERATIONS      The product of two matrices can be defined only if the number of columns in the left matrix is the same as the number of rows in the matrix right. If A is an m  n matrix B is a matrix n  p, then their matrix product AB is m  p matrix (m rows, p columns) given by:      for each pair i and j.        For example:
BIBLIOGRAPHYhttp://es.wikipedia.org/wiki/Matriz_(matem%C3%A1tica)
Matrices
Matrices

More Related Content

What's hot (19)

Matrix and Determinants
Matrix and DeterminantsMatrix and Determinants
Matrix and Determinants
AarjavPinara
Matrices And Determinants
Matrices And DeterminantsMatrices And Determinants
Matrices And Determinants
DEVIKA S INDU
Matrix2 english
Matrix2 englishMatrix2 english
Matrix2 english
Alfia Magfirona
Matrices y determinants
Matrices y determinantsMatrices y determinants
Matrices y determinants
Jeannie
Determinants
DeterminantsDeterminants
Determinants
Rivan001
Introduction of matrix
Introduction of matrixIntroduction of matrix
Introduction of matrix
Pankaj Das
Matrix
MatrixMatrix
Matrix
Umar Farooq
Matrices
MatricesMatrices
Matrices
NORAIMA
Properties of a Triangular Matrix
Properties of a Triangular MatrixProperties of a Triangular Matrix
Properties of a Triangular Matrix
Christopher Gratton
Matrices and determinants
Matrices and determinantsMatrices and determinants
Matrices and determinants
oscar
2.4 Linear Functions
2.4 Linear Functions2.4 Linear Functions
2.4 Linear Functions
smiller5
Notes of Matrices and Determinants
Notes of Matrices and DeterminantsNotes of Matrices and Determinants
Notes of Matrices and Determinants
KarunaGupta1982
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
Hartati Yuningsih
Math15 Lecture1
Math15 Lecture1Math15 Lecture1
Math15 Lecture1
hdsierra
Algebraic Properties of Matrix Operations
Algebraic Properties of Matrix OperationsAlgebraic Properties of Matrix Operations
Algebraic Properties of Matrix Operations
Nonie Diaz
Matrix Algebra seminar ppt
Matrix Algebra seminar pptMatrix Algebra seminar ppt
Matrix Algebra seminar ppt
Swetalina Pradhan
Report in determinants
Report in determinantsReport in determinants
Report in determinants
Peter Angelo Valenzuela
Lecture 4 chapter 1 review section 2-1
Lecture 4   chapter 1 review section 2-1Lecture 4   chapter 1 review section 2-1
Lecture 4 chapter 1 review section 2-1
njit-ronbrown
Beginning direct3d gameprogrammingmath06_transformations_20161019_jintaeks
Beginning direct3d gameprogrammingmath06_transformations_20161019_jintaeksBeginning direct3d gameprogrammingmath06_transformations_20161019_jintaeks
Beginning direct3d gameprogrammingmath06_transformations_20161019_jintaeks
JinTaek Seo
Matrix and Determinants
Matrix and DeterminantsMatrix and Determinants
Matrix and Determinants
AarjavPinara
Matrices And Determinants
Matrices And DeterminantsMatrices And Determinants
Matrices And Determinants
DEVIKA S INDU
Matrices y determinants
Matrices y determinantsMatrices y determinants
Matrices y determinants
Jeannie
Determinants
DeterminantsDeterminants
Determinants
Rivan001
Introduction of matrix
Introduction of matrixIntroduction of matrix
Introduction of matrix
Pankaj Das
Matrices
MatricesMatrices
Matrices
NORAIMA
Properties of a Triangular Matrix
Properties of a Triangular MatrixProperties of a Triangular Matrix
Properties of a Triangular Matrix
Christopher Gratton
Matrices and determinants
Matrices and determinantsMatrices and determinants
Matrices and determinants
oscar
2.4 Linear Functions
2.4 Linear Functions2.4 Linear Functions
2.4 Linear Functions
smiller5
Notes of Matrices and Determinants
Notes of Matrices and DeterminantsNotes of Matrices and Determinants
Notes of Matrices and Determinants
KarunaGupta1982
Math15 Lecture1
Math15 Lecture1Math15 Lecture1
Math15 Lecture1
hdsierra
Algebraic Properties of Matrix Operations
Algebraic Properties of Matrix OperationsAlgebraic Properties of Matrix Operations
Algebraic Properties of Matrix Operations
Nonie Diaz
Matrix Algebra seminar ppt
Matrix Algebra seminar pptMatrix Algebra seminar ppt
Matrix Algebra seminar ppt
Swetalina Pradhan
Lecture 4 chapter 1 review section 2-1
Lecture 4   chapter 1 review section 2-1Lecture 4   chapter 1 review section 2-1
Lecture 4 chapter 1 review section 2-1
njit-ronbrown
Beginning direct3d gameprogrammingmath06_transformations_20161019_jintaeks
Beginning direct3d gameprogrammingmath06_transformations_20161019_jintaeksBeginning direct3d gameprogrammingmath06_transformations_20161019_jintaeks
Beginning direct3d gameprogrammingmath06_transformations_20161019_jintaeks
JinTaek Seo

Viewers also liked (7)

Tratatimiento numerico de ecuaciones diferenciales (2)Tratatimiento numerico de ecuaciones diferenciales (2)
Tratatimiento numerico de ecuaciones diferenciales (2)
daferro
Matrix transposition
Matrix transpositionMatrix transposition
Matrix transposition
Inverse of matrix, Transpose of Matrix, Adjoint, Metric Maths Solution
Inverse of matrix, Transpose of Matrix, Adjoint, Metric Maths SolutionInverse of matrix, Transpose of Matrix, Adjoint, Metric Maths Solution
Inverse of matrix, Transpose of Matrix, Adjoint, Metric Maths Solution
Al-Saudia Virtual Academy
Lesson 5: Matrix Algebra (slides)
Lesson 5: Matrix Algebra (slides)Lesson 5: Matrix Algebra (slides)
Lesson 5: Matrix Algebra (slides)
Matthew Leingang
Matrix algebra
Matrix algebraMatrix algebra
Matrix algebra
Farzad Javidanrad
Application of matrices in real life
Application of matrices in real lifeApplication of matrices in real life
Application of matrices in real life
X-豆膿m畉慧ti巽 膿y-畉之匿
Linear Algebra and Matrix
Linear Algebra and MatrixLinear Algebra and Matrix
Linear Algebra and Matrix
itutor
Tratatimiento numerico de ecuaciones diferenciales (2)Tratatimiento numerico de ecuaciones diferenciales (2)
Tratatimiento numerico de ecuaciones diferenciales (2)
daferro
Matrix transposition
Matrix transpositionMatrix transposition
Matrix transposition
Inverse of matrix, Transpose of Matrix, Adjoint, Metric Maths Solution
Inverse of matrix, Transpose of Matrix, Adjoint, Metric Maths SolutionInverse of matrix, Transpose of Matrix, Adjoint, Metric Maths Solution
Inverse of matrix, Transpose of Matrix, Adjoint, Metric Maths Solution
Al-Saudia Virtual Academy
Lesson 5: Matrix Algebra (slides)
Lesson 5: Matrix Algebra (slides)Lesson 5: Matrix Algebra (slides)
Lesson 5: Matrix Algebra (slides)
Matthew Leingang
Linear Algebra and Matrix
Linear Algebra and MatrixLinear Algebra and Matrix
Linear Algebra and Matrix
itutor

Similar to Matrices (20)

Matrices and determinats
Matrices and determinatsMatrices and determinats
Matrices and determinats
daferro
Matrices
MatricesMatrices
Matrices
mariacadena
Matrices and Determinants
Matrices and DeterminantsMatrices and Determinants
Matrices and Determinants
Dr. Nirav Vyas
Definitions matrices y determinantes fula 2010 english subir
Definitions matrices y determinantes   fula 2010  english subirDefinitions matrices y determinantes   fula 2010  english subir
Definitions matrices y determinantes fula 2010 english subir
HernanFula
matrices and function ( matrix)
matrices and function ( matrix)matrices and function ( matrix)
matrices and function ( matrix)
爨萎爨爨 爨む鉦Θ爨爨逗Σ
Matrices
MatricesMatrices
Matrices
NORAIMA
Matrices
MatricesMatrices
Matrices
NORAIMA
Matrices
MatricesMatrices
Matrices
NORAIMA
Engg maths k notes(4)
Engg maths k notes(4)Engg maths k notes(4)
Engg maths k notes(4)
Ranjay Kumar
MATRICES.pptx,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
MATRICES.pptx,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,MATRICES.pptx,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
MATRICES.pptx,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
JayshriHuddar
Beginning direct3d gameprogrammingmath05_matrices_20160515_jintaeks
Beginning direct3d gameprogrammingmath05_matrices_20160515_jintaeksBeginning direct3d gameprogrammingmath05_matrices_20160515_jintaeks
Beginning direct3d gameprogrammingmath05_matrices_20160515_jintaeks
JinTaek Seo
2. Introduction to Matrices, Matrix Multiplication, Laws of Transposition, So...
2. Introduction to Matrices, Matrix Multiplication, Laws of Transposition, So...2. Introduction to Matrices, Matrix Multiplication, Laws of Transposition, So...
2. Introduction to Matrices, Matrix Multiplication, Laws of Transposition, So...
DrHinaMunirDutt
ALLIED MATHEMATICS -I UNIT III MATRICES.ppt
ALLIED MATHEMATICS -I UNIT III MATRICES.pptALLIED MATHEMATICS -I UNIT III MATRICES.ppt
ALLIED MATHEMATICS -I UNIT III MATRICES.ppt
mrsam3062
intruduction to Matrix in discrete structures.pptx
intruduction to Matrix in discrete structures.pptxintruduction to Matrix in discrete structures.pptx
intruduction to Matrix in discrete structures.pptx
ShaukatAliChaudhry1
Matrix_PPT.pptx
Matrix_PPT.pptxMatrix_PPT.pptx
Matrix_PPT.pptx
JiaJunWang17
Matrices
MatricesMatrices
Matrices
kja29
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
Presentation.pptx
Presentation.pptxPresentation.pptx
Presentation.pptx
AMANPATHAK87
CLASSS XII matha project.pdf
CLASSS XII matha project.pdfCLASSS XII matha project.pdf
CLASSS XII matha project.pdf
HarshRuhal2
Pertemuan 1 2
Pertemuan 1  2Pertemuan 1  2
Pertemuan 1 2
FajarDewantoro5
Matrices and determinats
Matrices and determinatsMatrices and determinats
Matrices and determinats
daferro
Matrices and Determinants
Matrices and DeterminantsMatrices and Determinants
Matrices and Determinants
Dr. Nirav Vyas
Definitions matrices y determinantes fula 2010 english subir
Definitions matrices y determinantes   fula 2010  english subirDefinitions matrices y determinantes   fula 2010  english subir
Definitions matrices y determinantes fula 2010 english subir
HernanFula
Matrices
MatricesMatrices
Matrices
NORAIMA
Matrices
MatricesMatrices
Matrices
NORAIMA
Matrices
MatricesMatrices
Matrices
NORAIMA
Engg maths k notes(4)
Engg maths k notes(4)Engg maths k notes(4)
Engg maths k notes(4)
Ranjay Kumar
MATRICES.pptx,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
MATRICES.pptx,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,MATRICES.pptx,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
MATRICES.pptx,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
JayshriHuddar
Beginning direct3d gameprogrammingmath05_matrices_20160515_jintaeks
Beginning direct3d gameprogrammingmath05_matrices_20160515_jintaeksBeginning direct3d gameprogrammingmath05_matrices_20160515_jintaeks
Beginning direct3d gameprogrammingmath05_matrices_20160515_jintaeks
JinTaek Seo
2. Introduction to Matrices, Matrix Multiplication, Laws of Transposition, So...
2. Introduction to Matrices, Matrix Multiplication, Laws of Transposition, So...2. Introduction to Matrices, Matrix Multiplication, Laws of Transposition, So...
2. Introduction to Matrices, Matrix Multiplication, Laws of Transposition, So...
DrHinaMunirDutt
ALLIED MATHEMATICS -I UNIT III MATRICES.ppt
ALLIED MATHEMATICS -I UNIT III MATRICES.pptALLIED MATHEMATICS -I UNIT III MATRICES.ppt
ALLIED MATHEMATICS -I UNIT III MATRICES.ppt
mrsam3062
intruduction to Matrix in discrete structures.pptx
intruduction to Matrix in discrete structures.pptxintruduction to Matrix in discrete structures.pptx
intruduction to Matrix in discrete structures.pptx
ShaukatAliChaudhry1
Matrix_PPT.pptx
Matrix_PPT.pptxMatrix_PPT.pptx
Matrix_PPT.pptx
JiaJunWang17
Matrices
MatricesMatrices
Matrices
kja29
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
Presentation.pptx
Presentation.pptxPresentation.pptx
Presentation.pptx
AMANPATHAK87
CLASSS XII matha project.pdf
CLASSS XII matha project.pdfCLASSS XII matha project.pdf
CLASSS XII matha project.pdf
HarshRuhal2

More from daferro (19)

ECUACIONES DIFERENCIALES ORDINARIASECUACIONES DIFERENCIALES ORDINARIAS
ECUACIONES DIFERENCIALES ORDINARIAS
daferro
Exposicion ecuaciones diferenciales ordinarias (edo) finalExposicion ecuaciones diferenciales ordinarias (edo) final
Exposicion ecuaciones diferenciales ordinarias (edo) final
daferro
Example of iterative methodExample of iterative method
Example of iterative method
daferro
Example of iterative methodExample of iterative method
Example of iterative method
daferro
Factorizacion lu[1]Factorizacion lu[1]
Factorizacion lu[1]
daferro
Factorizacion lu[1]Factorizacion lu[1]
Factorizacion lu[1]
daferro
Factorizacion lu[1]Factorizacion lu[1]
Factorizacion lu[1]
daferro
Roots of equations example
Roots of equations exampleRoots of equations example
Roots of equations example
daferro
Roots of polynomials
Roots of polynomialsRoots of polynomials
Roots of polynomials
daferro
Roots of polynomials
Roots of polynomialsRoots of polynomials
Roots of polynomials
daferro
Roots of polynomials.example
Roots of polynomials.exampleRoots of polynomials.example
Roots of polynomials.example
daferro
Raices de ecuaciones
Raices de ecuacionesRaices de ecuaciones
Raices de ecuaciones
daferro
Raices de ecuaciones
Raices de ecuacionesRaices de ecuaciones
Raices de ecuaciones
daferro
Met.biseccion
Met.biseccionMet.biseccion
Met.biseccion
daferro
Raices de ecuaciones
Raices de ecuacionesRaices de ecuaciones
Raices de ecuaciones
daferro
Roots of polynomials
Roots of polynomialsRoots of polynomials
Roots of polynomials
daferro
Raices de ecuaciones
Raices de ecuacionesRaices de ecuaciones
Raices de ecuaciones
daferro
Gauss
GaussGauss
Gauss
daferro
Factorizacion lu[1]Factorizacion lu[1]
Factorizacion lu[1]
daferro
ECUACIONES DIFERENCIALES ORDINARIASECUACIONES DIFERENCIALES ORDINARIAS
ECUACIONES DIFERENCIALES ORDINARIAS
daferro
Exposicion ecuaciones diferenciales ordinarias (edo) finalExposicion ecuaciones diferenciales ordinarias (edo) final
Exposicion ecuaciones diferenciales ordinarias (edo) final
daferro
Example of iterative methodExample of iterative method
Example of iterative method
daferro
Example of iterative methodExample of iterative method
Example of iterative method
daferro
Factorizacion lu[1]Factorizacion lu[1]
Factorizacion lu[1]
daferro
Factorizacion lu[1]Factorizacion lu[1]
Factorizacion lu[1]
daferro
Factorizacion lu[1]Factorizacion lu[1]
Factorizacion lu[1]
daferro
Roots of equations example
Roots of equations exampleRoots of equations example
Roots of equations example
daferro
Roots of polynomials
Roots of polynomialsRoots of polynomials
Roots of polynomials
daferro
Roots of polynomials
Roots of polynomialsRoots of polynomials
Roots of polynomials
daferro
Roots of polynomials.example
Roots of polynomials.exampleRoots of polynomials.example
Roots of polynomials.example
daferro
Raices de ecuaciones
Raices de ecuacionesRaices de ecuaciones
Raices de ecuaciones
daferro
Raices de ecuaciones
Raices de ecuacionesRaices de ecuaciones
Raices de ecuaciones
daferro
Met.biseccion
Met.biseccionMet.biseccion
Met.biseccion
daferro
Raices de ecuaciones
Raices de ecuacionesRaices de ecuaciones
Raices de ecuaciones
daferro
Roots of polynomials
Roots of polynomialsRoots of polynomials
Roots of polynomials
daferro
Raices de ecuaciones
Raices de ecuacionesRaices de ecuaciones
Raices de ecuaciones
daferro
Gauss
GaussGauss
Gauss
daferro
Factorizacion lu[1]Factorizacion lu[1]
Factorizacion lu[1]
daferro

Matrices

  • 1. MATRICES AND DETERMINATSDANIEL FERNANDO RODRIGUEZCOD: 2073410PETROLEUM ENGINEERING
  • 2. DefinitionA matrixis a rectangular arrangement of numbers.Forexample,Analternativenotation uses largeparenthesesinstead of box brackets:
  • 3. The horizontal and vertical lines in a matrix are calledrows and columns, respectively. Thenumbers in thematrix are calleditsentriesoritselements. Tospecify a matrix'ssize, a matrixwithmrows and ncolumnsiscalledanm-by-nmatrixorm油油nmatrix, whilem and n are calleditsdimensions. Theaboveis a 4-by-3 matrix.
  • 4. TYPES OF MATRICESUpper triangular matrixIf a square matrix in which all the elements that are below the main diagonal are zeros. the matrix must be square.Lower triangular matrixIf a matrix in which all the elements that are above the main diagonal are zeros. the matrix must be square.
  • 5. TYPES OF MATRICESDeterminant of a matrix.The determinant of a matrix A (n, n) is a scalar or polynomial, which is to obtain all possible products of a matrix according to a set of constraints, being denoted as [A]. The numerical value is also known as the matrix module.EXAMPLE:
  • 6. TYPES OF MATRICESBand matrix: In mathematics, particularly in the theory of matrices, a matrix is banded sparse matrix whose nonzero elements are confined or limited to a diagonal band: understanding the main diagonal and zero or more diagonal sides.Formally, an n * n matrix A = a (i, j) is a banded matrix if all elements of the matrix are zero outside the diagonal band whose rank is determined by the constants K1 and K2:Ai, j = 0 if j <i - K1 j> i + K2, K1, K2 0.
  • 7. TYPES OF MATRICESTranspose MatrixIf we have a matrix (A) any order mxn, then its transpose is another array (A) of order nxm where they exchange the rows and columns of the matrix (A). The transpose of a matrix is denoted by the symbol "T" and is, therefore, that the transpose of the matrix A is represented by AT. Clearly, if A is an array of size mxn, At its transpose will nxm size as the number of columns becomes row and vice versa.Ifthe matrix A is square, its transpose is the same size.EXAMPLE:
  • 8. TYPES OF MATRICESTwo matrices of order n are reversed if your product is the unit matrix of order n. A matrix has inverse is said to be invertible or scheduled, otherwise called singular. Properties(A 属 B) -1 = B-1 to-1(A-1) -1 = A(K A) -1 = k-1 to-1(A t) -1 = (A -1) tInverse matrix calculation by determining =Matrix Inverse = Determinant of the matrix = Matrix attached = Matrix transpose of the enclosed
  • 9. BASIC OPERATIONSSUM OR ADITION: Given the matrices m-by-n, A and B, their sum A + B is the matrix m-by-n calculated by adding the corresponding elements (ie (A + B) [i, j] = A [i, j] + B [i, j]). That is, adding each of the homologous elements of the matrices to add. For example:
  • 10. BASIC OPERATIONSSCALAR MULTIPLICATIONGiven a matrix A and a scalar c, cA your product is calculated by multiplying the scalar by each element of In (ie (cA) [I j] = cA [R, j]).油ExamplePropertiesLet A and B matrices and c and d scalars.Closure: If A is matrix and c is scalar, then cA is matrix.Associativity: (cd) A = c (dA)Neutral element: 1 属 A = ADistributivity:To scale: c (A + B) = cA + cBMatrix: (c + d) A = cA + dA
  • 11. BASIC OPERATIONS The product of two matrices can be defined only if the number of columns in the left matrix is the same as the number of rows in the matrix right. If A is an m n matrix B is a matrix n p, then their matrix product AB is m p matrix (m rows, p columns) given by: for each pair i and j. For example: