SlideShare a Scribd company logo
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

PPTX
design and fabrication of leaf cutter machine
PPTX
Flywheel Energy Storage Systeems
PPTX
Induction motor
PPT
Electrical car ppt
PPTX
Ac motors and their types
PPTX
Presentation on induction motor
PPTX
Tachogenerator
PPTX
types of electric vehicles ppt
design and fabrication of leaf cutter machine
Flywheel Energy Storage Systeems
Induction motor
Electrical car ppt
Ac motors and their types
Presentation on induction motor
Tachogenerator
types of electric vehicles ppt

What's hot (20)

PPT
I c engines
PDF
Three Phase Induction Motor
PPTX
synchronous motor for presentation
PPTX
Construction of dc motor induction training programme-phase-i
PPTX
Three Phase Induction Motor & Its Application
PPTX
Rack and pinion gear design project.
PPTX
Design and Analysis of Helical Compression Spring for Shock Absorber
PPTX
Power factor
PPT
internal combustion engine vs electric engine
PPT
Presentation On Dc Motors
PDF
Power plant engineering unit 1 by Varun Pratap Singh
PPT
Types of dc generator
PDF
Blw summer training report Mechanical LAS LFS HWS EEE CTS TR
PPTX
Magnetic repulsion piston engine
PDF
Chapter 5
PPTX
Induction generator and synchronous induction motor
PPT
Synchronous generator construction
PPTX
Plasma propulsion
PPTX
Diesel locomotive works - Truck Machine Shop
PPTX
Supercharging and Turbocharging
I c engines
Three Phase Induction Motor
synchronous motor for presentation
Construction of dc motor induction training programme-phase-i
Three Phase Induction Motor & Its Application
Rack and pinion gear design project.
Design and Analysis of Helical Compression Spring for Shock Absorber
Power factor
internal combustion engine vs electric engine
Presentation On Dc Motors
Power plant engineering unit 1 by Varun Pratap Singh
Types of dc generator
Blw summer training report Mechanical LAS LFS HWS EEE CTS TR
Magnetic repulsion piston engine
Chapter 5
Induction generator and synchronous induction motor
Synchronous generator construction
Plasma propulsion
Diesel locomotive works - Truck Machine Shop
Supercharging and Turbocharging
Ad

Similar to Introduction to Matrix (20)

PPTX
mws_gen_sle_ppt_introduction kkkkdkdk.pptx
PPTX
mws_gen_sle_ppt_introductionuuuuuuuuuuuuuuuuuuu.pptx
PPTX
Introduction of matrix
PPT
Matrix Algebra : Mathematics for Business
PPTX
matrices and function ( matrix)
DOCX
Matrices and its Applications to Solve Some Methods of Systems of Linear Equa...
DOCX
Matrices and its Applications to Solve Some Methods of Systems of Linear Equa...
DOCX
University of duhok
PPTX
Linear Algebra Ch 2 Matrix Multiplication
PDF
Matrix
PPT
Matrices
PPTX
Brief review on matrix Algebra for mathematical economics
PPTX
MATLAB - Arrays and Matrices
PPTX
matrix algebra
PPTX
MATIX AND TYPES OF MATRIX
PPT
ALLIED MATHEMATICS -I UNIT III MATRICES.ppt
PPTX
Matrix Algebra seminar ppt
PDF
Matrices & Determinants.pdf
PPTX
Vector analysis & matrix
PPTX
MATRICES maths project.pptxsgdhdghdgf gr to f HR f
mws_gen_sle_ppt_introduction kkkkdkdk.pptx
mws_gen_sle_ppt_introductionuuuuuuuuuuuuuuuuuuu.pptx
Introduction of matrix
Matrix Algebra : Mathematics for Business
matrices and function ( matrix)
Matrices and its Applications to Solve Some Methods of Systems of Linear Equa...
Matrices and its Applications to Solve Some Methods of Systems of Linear Equa...
University of duhok
Linear Algebra Ch 2 Matrix Multiplication
Matrix
Matrices
Brief review on matrix Algebra for mathematical economics
MATLAB - Arrays and Matrices
matrix algebra
MATIX AND TYPES OF MATRIX
ALLIED MATHEMATICS -I UNIT III MATRICES.ppt
Matrix Algebra seminar ppt
Matrices & Determinants.pdf
Vector analysis & matrix
MATRICES maths project.pptxsgdhdghdgf gr to f HR f
Ad

Recently uploaded (20)

PPT
Project quality management in manufacturing
PDF
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
additive manufacturing of ss316l using mig welding
PPTX
Safety Seminar civil to be ensured for safe working.
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PPT
Total quality management ppt for engineering students
PPT
introduction to datamining and warehousing
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PDF
Categorization of Factors Affecting Classification Algorithms Selection
PDF
PPT on Performance Review to get promotions
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
Construction Project Organization Group 2.pptx
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Project quality management in manufacturing
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
additive manufacturing of ss316l using mig welding
Safety Seminar civil to be ensured for safe working.
III.4.1.2_The_Space_Environment.p pdffdf
Total quality management ppt for engineering students
introduction to datamining and warehousing
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
Categorization of Factors Affecting Classification Algorithms Selection
PPT on Performance Review to get promotions
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Construction Project Organization Group 2.pptx
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Fundamentals of safety and accident prevention -final (1).pptx
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks

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