SlideShare a Scribd company logo
1 of 29
Introduction
From : Autar Kaw & Humberto Isaza
http://nm.MathForCollege.com
Objectives
1. define what a matrix is
2. identify special types of matrices, and
3. identify when two matrices are equal.
What does a matrix look like?
Matrices are everywhere. If you have used a spreadsheet such as Excel or Lotus or
written a table, you have used a matrix. Matrices make presentation of numbers clearer
and make calculations easier to program.
Look at the matrix below about the sale of tires in a Blowoutrus store – given by quarter
and make of tires.










27
7
16
6
25
15
10
5
2
3
20
25
Q1 Q2 Q3 Q4
Copper
Michigan
Tirestone
If one wants to know how many Copper tires were sold in Quarter 4, we go along the row
Copper and column Q4 and find that it is 27.
What is a matrix?
A matrix is a rectangular array of elements. The elements can be symbolic
expressions or numbers. Matrix [A] is denoted by













mn
m
m
n
n
a
a
a
a
a
a
a
a
a
A
.......
.......
.......
]
[
2
1
2
22
21
1
12
11


What is a matrix?
Row i of [A] has n elements and is
 
in
i
i a
a
a ....
2
1
and column j of [A] has m elements and is














mj
j
j
a
a
a

2
1
What is a matrix?
Each matrix has rows and columns and this defines the size of the matrix. If a
matrix [A] has m rows and n columns, the size of the matrix is denoted by m×n.
The matrix [A] may also be denoted by [A]mxn to show that [A] is a matrix with
m rows and n columns.
Each entry in the matrix is called the entry or element of the matrix and is
denoted by aij where i is the row number and j is the column number of the
element.
What is a matrix?
The matrix for the tire sales example could be denoted by the matrix [A] as











27
7
16
6
25
15
10
5
2
3
20
25
]
[A
There are 3 rows and 4 columns, so the size of the matrix is 3×4. In
the above [A] matrix, a34 =27.
Special Types of Matrices
• Row Vector
• Column Vector
• Submatrix
• Square Matrix
• Upper Triangular Matrix
• Lower Triangular Matrix
 Diagonal Matrix
 Identity Matrix
 Zero Matrix
 Tri-diagonal
Matrices
 Diagonally
Dominant Matrix
What Is a Vector?
Row Vector:
If a matrix [B] has one row, it is called a row vector ]
[
]
[ 2
1 n
b
b
b
B 


and n is the dimension of the row vector.
What is a vector?
A vector is a matrix that has only one row or one column. There are two types
of vectors – row vectors and column vectors.
Column vector:
If a matrix [C] has one column, it is called a column vector













m
c
c
C


1
]
[
and m is the dimension of the vector.
Row Vector
An example of a row vector is as follows,
]
0
2
3
20
25
[
]
[ 
B
[B] is an example of a row vector of dimension 5.
Example 1
Column Vector
An example of a column vector is as follows,











6
5
25
]
[C
[C] is an example of a row vector of dimension 5.
Example 2
Submatrix
If some row(s) or/and column(s) of a matrix [A] are deleted (no rows or columns
may be deleted), the remaining matrix is called a submatrix of [A].
Example 3
Find some of the submatrices of the matrix








2
1
3
2
6
4
]
[A
Square Matrix
If the number of rows m a matrix is equal to the number of columns n of a matrix
[A], (m=n), then [A] is called a square matrix. The entries a11,a22,…, ann are
called the diagonal elements of a square matrix. Sometimes the diagonal of the
matrix is also called the principal or main of the matrix.
Example 4
Give an example of a square matrix.











7
15
6
15
10
5
3
20
25
]
[A
is a square matrix as it has the same number of rows and columns, that is, 3.
The diagonal elements of [A] are .
7
,
10
,
25 33
22
11 

 a
a
a
Upper Triangular Matrix
A m×n matrix for which j
i
aij 
 ,
0 is called an upper triangular matrix. That is,
all the elements below the diagonal entries are zero.
Example 5
Give an example of an upper triangular matrix.













15005
0
0
6
001
.
0
0
0
7
10
]
[A
is an upper triangular matrix.
Lower Triangular Matrix
A m×n matrix for which i
j
aij 
 ,
0 is called an lower triangular matrix. That is,
all the elements above the diagonal entries are zero.
Example 6
Give an example of a lower triangular matrix.











1
5
.
2
6
.
0
0
1
3
.
0
0
0
1
]
[A
is a lower triangular matrix.
Diagonal Matrix
A square matrix with all non-diagonal elements equal to zero is called a
diagonal matrix, that is, only the diagonal entries of the square matrix can be
non-zero, .
)
,
0
( j
i
aij 

Example 7
An example of a diagonal matrix.











0
0
0
0
1
.
2
0
0
0
3
]
[A
Any or all the diagonal entries of a diagonal matrix can be zero.











0
0
0
0
1
.
2
0
0
0
3
]
[A
is also a diagonal matrix.
Identity Matrix
A diagonal matrix with all diagonal elements equal to one is called an identity
matrix, ( and for all i).
j
i
aij 
 ,
0 1

ii
a













1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
]
[A
An example of an identity matrix is,
Zero Matrix











0
0
0
0
0
0
0
0
0
]
[A 






0
0
0
0
0
0
[B]
Some examples of zero matrices are,
A matrix whose all entries are zero is called a zero matrix, ( for all i and j).
0

ij
a
Tridiagonal Matrix
A tridiagonal matrix is a square matrix in which all elements not on the
following are zero - the major diagonal, the diagonal above the major diagonal,
and the diagonal below the major diagonal.













6
3
0
0
2
5
0
0
0
9
3
2
0
0
4
2
]
[A
An example of a tridiagonal matrix is,
Non-square Matrix
Do non-square matrices have diagonal entries?
Yes, for a m×n matrix [A], the diagonal entries are where
k=min{m,n}.
kk
k
k a
a
a
a ,
...,
, 1
,
1
22
11 

Example 11
What are the diagonal entries of













8
.
7
6
.
5
2
.
3
9
.
2
7
6
5
2
.
3
]
[A
The diagonal elements of [A] are .
7
and
2
.
3 22
11 
 a
a
Diagonally Dominant Matrix
A n×n square matrix [A] is a diagonally dominant matrix if




n
j
i
j
ij
ii a
a
1
|
| n
i ,.....,
2
,
1

for all and




n
j
i
j
ij
ii a
a
1
|
| for at least one i,
that is, for each row, the absolute value of the diagonal element is greater than or
equal to the sum of the absolute values of the rest of the elements of that row, and that
the inequality is strictly greater than for at least one row. Diagonally dominant
matrices are important in ensuring convergence in iterative schemes of solving
simultaneous linear equations.
Example 12
Give examples of diagonally dominant matrices and not diagonally dominant
matrices.













6
2
3
2
4
2
7
6
15
]
[A
is a diagonally dominant matrix as
13
7
6
15
15 13
12
11 





 a
a
a
4
2
2
4
4 23
21
22 







 a
a
a
5
2
3
6
6 32
31
33 





 a
a
a
and for at least one row, that is Rows 1 and 3 in this case, the inequality is a
strictly greater than inequality.
Example 12 (cont.)














001
.
5
2
3
2
4
2
9
6
15
]
[B
is a diagonally dominant matrix as
15
9
6
15
15 13
12
11 






 b
b
b
4
2
2
4
4 23
21
22 






 b
b
b
5
2
3
001
.
5
001
.
5 32
31
33 






 b
b
b
The inequalities are satisfied for all rows and it is satisfied strictly greater
than for at least one row (in this case it is Row 3).
Example 12 (cont.)
 











1
12
144
1
8
64
1
5
25
C
is not diagonally dominant as
65
1
64
8
8 23
21
22 





 c
c
c
Example 13
When are two matrices considered to be equal?
Two matrices [A] and [B] is the same (number of rows and columns are same for [A] and
[B]) and aij=bij for all i and j.
What would make







7
6
3
2
]
[A
to be equal to







22
11
6
3
]
[
b
b
B
The two matrices [A] and [B] would be equal if b11=2 and b22=7.
Key Terms:
Matrix
Vector
Submatrix
Square matrix
Equal matrices
Zero matrix
Identity matrix
Diagonal matrix
Upper triangular matrix
Lower triangular matrix
Tri-diagonal matrix
Diagonally dominant matrix

More Related Content

Similar to Introduction to Matrix

Brief review on matrix Algebra for mathematical economics
Brief review on matrix Algebra for mathematical economicsBrief review on matrix Algebra for mathematical economics
Brief review on matrix Algebra for mathematical economicsfelekephiliphos3
 
matrix algebra
matrix algebramatrix algebra
matrix algebrakganu
 
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.pptssuser2e348b
 
Vector analysis & matrix
Vector analysis & matrixVector analysis & matrix
Vector analysis & matrixMdTouhidIslam
 
Matrix and its operations
Matrix and its operationsMatrix and its operations
Matrix and its operationsPankaj Das
 
Matrices
MatricesMatrices
Matriceskja29
 
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.pptxShaukatAliChaudhry1
 
Matrices and Determinants
Matrices and DeterminantsMatrices and Determinants
Matrices and DeterminantsSOMASUNDARAM T
 
Applied Mathematics 3 Matrices.pdf
Applied Mathematics 3 Matrices.pdfApplied Mathematics 3 Matrices.pdf
Applied Mathematics 3 Matrices.pdfPrasadBaravkar1
 
Matrices and determinants
Matrices and determinantsMatrices and determinants
Matrices and determinantssom allul
 

Similar to Introduction to Matrix (20)

Brief review on matrix Algebra for mathematical economics
Brief review on matrix Algebra for mathematical economicsBrief review on matrix Algebra for mathematical economics
Brief review on matrix Algebra for mathematical economics
 
MATLAB - Arrays and Matrices
MATLAB - Arrays and MatricesMATLAB - Arrays and Matrices
MATLAB - Arrays and Matrices
 
matrix algebra
matrix algebramatrix algebra
matrix algebra
 
MATIX AND TYPES OF MATRIX
MATIX AND TYPES OF MATRIXMATIX AND TYPES OF MATRIX
MATIX AND TYPES OF MATRIX
 
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
 
Matrix Algebra seminar ppt
Matrix Algebra seminar pptMatrix Algebra seminar ppt
Matrix Algebra seminar ppt
 
Matrices & Determinants.pdf
Matrices & Determinants.pdfMatrices & Determinants.pdf
Matrices & Determinants.pdf
 
Vector analysis & matrix
Vector analysis & matrixVector analysis & matrix
Vector analysis & matrix
 
Matrix and its operations
Matrix and its operationsMatrix and its operations
Matrix and its operations
 
Matrices
MatricesMatrices
Matrices
 
Introduction to matices
Introduction to maticesIntroduction to matices
Introduction to matices
 
Matrix.
Matrix.Matrix.
Matrix.
 
Introduction of matrices
Introduction of matricesIntroduction of matrices
Introduction of matrices
 
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
 
Matrix_PPT.pptx
Matrix_PPT.pptxMatrix_PPT.pptx
Matrix_PPT.pptx
 
Matrices and Determinants
Matrices and DeterminantsMatrices and Determinants
Matrices and Determinants
 
Matrices
MatricesMatrices
Matrices
 
Matrices & Determinants
Matrices & DeterminantsMatrices & Determinants
Matrices & Determinants
 
Applied Mathematics 3 Matrices.pdf
Applied Mathematics 3 Matrices.pdfApplied Mathematics 3 Matrices.pdf
Applied Mathematics 3 Matrices.pdf
 
Matrices and determinants
Matrices and determinantsMatrices and determinants
Matrices and determinants
 

Recently uploaded

Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 

Recently uploaded (20)

Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 

Introduction to Matrix

  • 1. Introduction From : Autar Kaw & Humberto Isaza http://nm.MathForCollege.com
  • 2. Objectives 1. define what a matrix is 2. identify special types of matrices, and 3. identify when two matrices are equal.
  • 3. What does a matrix look like? Matrices are everywhere. If you have used a spreadsheet such as Excel or Lotus or written a table, you have used a matrix. Matrices make presentation of numbers clearer and make calculations easier to program. Look at the matrix below about the sale of tires in a Blowoutrus store – given by quarter and make of tires.           27 7 16 6 25 15 10 5 2 3 20 25 Q1 Q2 Q3 Q4 Copper Michigan Tirestone If one wants to know how many Copper tires were sold in Quarter 4, we go along the row Copper and column Q4 and find that it is 27.
  • 4. What is a matrix? A matrix is a rectangular array of elements. The elements can be symbolic expressions or numbers. Matrix [A] is denoted by              mn m m n n a a a a a a a a a A ....... ....... ....... ] [ 2 1 2 22 21 1 12 11  
  • 5. What is a matrix? Row i of [A] has n elements and is   in i i a a a .... 2 1 and column j of [A] has m elements and is               mj j j a a a  2 1
  • 6. What is a matrix? Each matrix has rows and columns and this defines the size of the matrix. If a matrix [A] has m rows and n columns, the size of the matrix is denoted by m×n. The matrix [A] may also be denoted by [A]mxn to show that [A] is a matrix with m rows and n columns. Each entry in the matrix is called the entry or element of the matrix and is denoted by aij where i is the row number and j is the column number of the element.
  • 7. What is a matrix? The matrix for the tire sales example could be denoted by the matrix [A] as            27 7 16 6 25 15 10 5 2 3 20 25 ] [A There are 3 rows and 4 columns, so the size of the matrix is 3×4. In the above [A] matrix, a34 =27.
  • 8. Special Types of Matrices • Row Vector • Column Vector • Submatrix • Square Matrix • Upper Triangular Matrix • Lower Triangular Matrix  Diagonal Matrix  Identity Matrix  Zero Matrix  Tri-diagonal Matrices  Diagonally Dominant Matrix
  • 9. What Is a Vector? Row Vector: If a matrix [B] has one row, it is called a row vector ] [ ] [ 2 1 n b b b B    and n is the dimension of the row vector. What is a vector? A vector is a matrix that has only one row or one column. There are two types of vectors – row vectors and column vectors. Column vector: If a matrix [C] has one column, it is called a column vector              m c c C   1 ] [ and m is the dimension of the vector.
  • 10. Row Vector An example of a row vector is as follows, ] 0 2 3 20 25 [ ] [  B [B] is an example of a row vector of dimension 5. Example 1
  • 11. Column Vector An example of a column vector is as follows,            6 5 25 ] [C [C] is an example of a row vector of dimension 5. Example 2
  • 12. Submatrix If some row(s) or/and column(s) of a matrix [A] are deleted (no rows or columns may be deleted), the remaining matrix is called a submatrix of [A]. Example 3 Find some of the submatrices of the matrix         2 1 3 2 6 4 ] [A
  • 13. Square Matrix If the number of rows m a matrix is equal to the number of columns n of a matrix [A], (m=n), then [A] is called a square matrix. The entries a11,a22,…, ann are called the diagonal elements of a square matrix. Sometimes the diagonal of the matrix is also called the principal or main of the matrix.
  • 14. Example 4 Give an example of a square matrix.            7 15 6 15 10 5 3 20 25 ] [A is a square matrix as it has the same number of rows and columns, that is, 3. The diagonal elements of [A] are . 7 , 10 , 25 33 22 11    a a a
  • 15. Upper Triangular Matrix A m×n matrix for which j i aij   , 0 is called an upper triangular matrix. That is, all the elements below the diagonal entries are zero. Example 5 Give an example of an upper triangular matrix.              15005 0 0 6 001 . 0 0 0 7 10 ] [A is an upper triangular matrix.
  • 16. Lower Triangular Matrix A m×n matrix for which i j aij   , 0 is called an lower triangular matrix. That is, all the elements above the diagonal entries are zero. Example 6 Give an example of a lower triangular matrix.            1 5 . 2 6 . 0 0 1 3 . 0 0 0 1 ] [A is a lower triangular matrix.
  • 17. Diagonal Matrix A square matrix with all non-diagonal elements equal to zero is called a diagonal matrix, that is, only the diagonal entries of the square matrix can be non-zero, . ) , 0 ( j i aij  
  • 18. Example 7 An example of a diagonal matrix.            0 0 0 0 1 . 2 0 0 0 3 ] [A Any or all the diagonal entries of a diagonal matrix can be zero.            0 0 0 0 1 . 2 0 0 0 3 ] [A is also a diagonal matrix.
  • 19. Identity Matrix A diagonal matrix with all diagonal elements equal to one is called an identity matrix, ( and for all i). j i aij   , 0 1  ii a              1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 ] [A An example of an identity matrix is,
  • 20. Zero Matrix            0 0 0 0 0 0 0 0 0 ] [A        0 0 0 0 0 0 [B] Some examples of zero matrices are, A matrix whose all entries are zero is called a zero matrix, ( for all i and j). 0  ij a
  • 21. Tridiagonal Matrix A tridiagonal matrix is a square matrix in which all elements not on the following are zero - the major diagonal, the diagonal above the major diagonal, and the diagonal below the major diagonal.              6 3 0 0 2 5 0 0 0 9 3 2 0 0 4 2 ] [A An example of a tridiagonal matrix is,
  • 22. Non-square Matrix Do non-square matrices have diagonal entries? Yes, for a m×n matrix [A], the diagonal entries are where k=min{m,n}. kk k k a a a a , ..., , 1 , 1 22 11  
  • 23. Example 11 What are the diagonal entries of              8 . 7 6 . 5 2 . 3 9 . 2 7 6 5 2 . 3 ] [A The diagonal elements of [A] are . 7 and 2 . 3 22 11   a a
  • 24. Diagonally Dominant Matrix A n×n square matrix [A] is a diagonally dominant matrix if     n j i j ij ii a a 1 | | n i ,....., 2 , 1  for all and     n j i j ij ii a a 1 | | for at least one i, that is, for each row, the absolute value of the diagonal element is greater than or equal to the sum of the absolute values of the rest of the elements of that row, and that the inequality is strictly greater than for at least one row. Diagonally dominant matrices are important in ensuring convergence in iterative schemes of solving simultaneous linear equations.
  • 25. Example 12 Give examples of diagonally dominant matrices and not diagonally dominant matrices.              6 2 3 2 4 2 7 6 15 ] [A is a diagonally dominant matrix as 13 7 6 15 15 13 12 11        a a a 4 2 2 4 4 23 21 22          a a a 5 2 3 6 6 32 31 33        a a a and for at least one row, that is Rows 1 and 3 in this case, the inequality is a strictly greater than inequality.
  • 26. Example 12 (cont.)               001 . 5 2 3 2 4 2 9 6 15 ] [B is a diagonally dominant matrix as 15 9 6 15 15 13 12 11         b b b 4 2 2 4 4 23 21 22         b b b 5 2 3 001 . 5 001 . 5 32 31 33         b b b The inequalities are satisfied for all rows and it is satisfied strictly greater than for at least one row (in this case it is Row 3).
  • 27. Example 12 (cont.)              1 12 144 1 8 64 1 5 25 C is not diagonally dominant as 65 1 64 8 8 23 21 22        c c c
  • 28. Example 13 When are two matrices considered to be equal? Two matrices [A] and [B] is the same (number of rows and columns are same for [A] and [B]) and aij=bij for all i and j. What would make        7 6 3 2 ] [A to be equal to        22 11 6 3 ] [ b b B The two matrices [A] and [B] would be equal if b11=2 and b22=7.
  • 29. Key Terms: Matrix Vector Submatrix Square matrix Equal matrices Zero matrix Identity matrix Diagonal matrix Upper triangular matrix Lower triangular matrix Tri-diagonal matrix Diagonally dominant matrix