SlideShare a Scribd company logo
Dr. Pankaj Das
Mail.id: pankaj.iasri@gmail.com
1. define what a matrix is
2. identify special types of matrices, and
3. identify when two matrices are equal.
• 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
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 Blowoutr’us 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.
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




Row
Column
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
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.
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.
 RowVector
 ColumnVector
 Submatrix
 Square Matrix
 UpperTriangular
Matrix
 LowerTriangular
Matrix
 Diagonal Matrix
 Identity Matrix
 Zero Matrix
 Tri-diagonal
Matrices
 Diagonally
Dominant Matrix
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.
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
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
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
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.
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
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.
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.
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 

An example of a diagonal matrix.
3
3
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.
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,











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
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,
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 

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
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.
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.














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).
 











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
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.

More Related Content

PDF
Matrix.
PPTX
Lesson 3 - matrix multiplication
PDF
Echelon forms
PPTX
Eigenvalue problems .ppt
PPT
Introduction to Matrices
PPT
Matrices
PDF
MATLAB Basics-Part1
PDF
Lesson02 Vectors And Matrices Slides
Matrix.
Lesson 3 - matrix multiplication
Echelon forms
Eigenvalue problems .ppt
Introduction to Matrices
Matrices
MATLAB Basics-Part1
Lesson02 Vectors And Matrices Slides

What's hot (20)

PPTX
Matrices ppt
PPT
Intermediate Value Theorem
PPTX
Numerical solution of system of linear equations
PPTX
Eigen value and eigen vector
PPT
APPLICATION OF INTEGRATION
PDF
Matrices and Determinants
PPTX
cubes and cube root
PDF
Definition of banach spaces
PPTX
Inverse matrix
PPTX
Section 10: Lagrange's Theorem
PPT
Matrix and its operation (addition, subtraction, multiplication)
PPT
Linear algebra notes 1
PPT
Eigen values and eigen vectors engineering
PPT
Matlab on basic mathematics
PPTX
MATRICES
PPT
LinearAlgebra.ppt
PDF
INVERSE OF MATRIX
PDF
Research Proposal
Matrices ppt
Intermediate Value Theorem
Numerical solution of system of linear equations
Eigen value and eigen vector
APPLICATION OF INTEGRATION
Matrices and Determinants
cubes and cube root
Definition of banach spaces
Inverse matrix
Section 10: Lagrange's Theorem
Matrix and its operation (addition, subtraction, multiplication)
Linear algebra notes 1
Eigen values and eigen vectors engineering
Matlab on basic mathematics
MATRICES
LinearAlgebra.ppt
INVERSE OF MATRIX
Research Proposal
Ad

Similar to Introduction of matrix (20)

PPTX
Introduction to Matrix
PPTX
mws_gen_sle_ppt_introduction kkkkdkdk.pptx
PPTX
mws_gen_sle_ppt_introductionuuuuuuuuuuuuuuuuuuu.pptx
PPT
Matrix Algebra : Mathematics for Business
PPTX
matrices and function ( matrix)
PDF
Matrix
PPTX
Linear Algebra Ch 2 Matrix Multiplication
PPT
Matrices
PPTX
Brief review on matrix Algebra for mathematical economics
PPTX
Matrix Algebra seminar ppt
PPTX
MATLAB - Arrays and Matrices
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
Vector analysis & matrix
PPTX
MATIX AND TYPES OF MATRIX
PPT
Matrix Representation of Symmetry Groups.ppt
PPTX
Matrices
PPTX
matrix algebra
PPTX
Presentation On Matrices Mathematics DIU
Introduction to Matrix
mws_gen_sle_ppt_introduction kkkkdkdk.pptx
mws_gen_sle_ppt_introductionuuuuuuuuuuuuuuuuuuu.pptx
Matrix Algebra : Mathematics for Business
matrices and function ( matrix)
Matrix
Linear Algebra Ch 2 Matrix Multiplication
Matrices
Brief review on matrix Algebra for mathematical economics
Matrix Algebra seminar ppt
MATLAB - Arrays and Matrices
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
Vector analysis & matrix
MATIX AND TYPES OF MATRIX
Matrix Representation of Symmetry Groups.ppt
Matrices
matrix algebra
Presentation On Matrices Mathematics DIU
Ad

More from Pankaj Das (7)

PPTX
Statistical quality control introduction
PPTX
Methods of integration
PDF
Applications of integration
PPT
Set theory and its operations
PDF
Matrix and its operations
PPTX
Introduction of vectors
PDF
Introduction of determinant
Statistical quality control introduction
Methods of integration
Applications of integration
Set theory and its operations
Matrix and its operations
Introduction of vectors
Introduction of determinant

Recently uploaded (20)

PDF
Warm, water-depleted rocky exoplanets with surfaceionic liquids: A proposed c...
PPTX
7. General Toxicologyfor clinical phrmacy.pptx
PDF
Assessment of environmental effects of quarrying in Kitengela subcountyof Kaj...
PPTX
ECG_Course_Presentation د.محمد صقران ppt
DOCX
Q1_LE_Mathematics 8_Lesson 5_Week 5.docx
PPTX
2Systematics of Living Organisms t-.pptx
PPTX
Classification Systems_TAXONOMY_SCIENCE8.pptx
PPTX
ognitive-behavioral therapy, mindfulness-based approaches, coping skills trai...
PDF
lecture 2026 of Sjogren's syndrome l .pdf
PPTX
2. Earth - The Living Planet earth and life
PPTX
The KM-GBF monitoring framework – status & key messages.pptx
PDF
SEHH2274 Organic Chemistry Notes 1 Structure and Bonding.pdf
PPTX
Protein & Amino Acid Structures Levels of protein structure (primary, seconda...
PPTX
ANEMIA WITH LEUKOPENIA MDS 07_25.pptx htggtftgt fredrctvg
PPTX
Vitamins & Minerals: Complete Guide to Functions, Food Sources, Deficiency Si...
PPTX
famous lake in india and its disturibution and importance
PDF
ELS_Q1_Module-11_Formation-of-Rock-Layers_v2.pdf
PDF
VARICELLA VACCINATION: A POTENTIAL STRATEGY FOR PREVENTING MULTIPLE SCLEROSIS
PDF
Mastering Bioreactors and Media Sterilization: A Complete Guide to Sterile Fe...
PDF
Sciences of Europe No 170 (2025)
Warm, water-depleted rocky exoplanets with surfaceionic liquids: A proposed c...
7. General Toxicologyfor clinical phrmacy.pptx
Assessment of environmental effects of quarrying in Kitengela subcountyof Kaj...
ECG_Course_Presentation د.محمد صقران ppt
Q1_LE_Mathematics 8_Lesson 5_Week 5.docx
2Systematics of Living Organisms t-.pptx
Classification Systems_TAXONOMY_SCIENCE8.pptx
ognitive-behavioral therapy, mindfulness-based approaches, coping skills trai...
lecture 2026 of Sjogren's syndrome l .pdf
2. Earth - The Living Planet earth and life
The KM-GBF monitoring framework – status & key messages.pptx
SEHH2274 Organic Chemistry Notes 1 Structure and Bonding.pdf
Protein & Amino Acid Structures Levels of protein structure (primary, seconda...
ANEMIA WITH LEUKOPENIA MDS 07_25.pptx htggtftgt fredrctvg
Vitamins & Minerals: Complete Guide to Functions, Food Sources, Deficiency Si...
famous lake in india and its disturibution and importance
ELS_Q1_Module-11_Formation-of-Rock-Layers_v2.pdf
VARICELLA VACCINATION: A POTENTIAL STRATEGY FOR PREVENTING MULTIPLE SCLEROSIS
Mastering Bioreactors and Media Sterilization: A Complete Guide to Sterile Fe...
Sciences of Europe No 170 (2025)

Introduction of matrix

  • 1. Dr. Pankaj Das Mail.id: pankaj.iasri@gmail.com
  • 2. 1. define what a matrix is 2. identify special types of matrices, and 3. identify when two matrices are equal.
  • 3. • 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
  • 4. 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 Blowoutr’us 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.
  • 5. 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     Row Column
  • 6. 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
  • 7. 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.
  • 8. 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.
  • 9.  RowVector  ColumnVector  Submatrix  Square Matrix  UpperTriangular Matrix  LowerTriangular Matrix  Diagonal Matrix  Identity Matrix  Zero Matrix  Tri-diagonal Matrices  Diagonally Dominant Matrix
  • 10. 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.
  • 11. 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
  • 12. 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
  • 13. 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
  • 14. 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.
  • 15. 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
  • 16. 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.
  • 17. 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.
  • 18. 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  
  • 19. An example of a diagonal matrix. 3 3 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.
  • 20. 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,
  • 21.            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
  • 22. 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,
  • 23. 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  
  • 24. 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
  • 25. 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.
  • 26. 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.
  • 27.               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).
  • 28.              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
  • 29. 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.