SlideShare a Scribd company logo
Section 1 : Linear
Algebra
Topic 1 : Matrix Algebra
What is Matrix?
 Matrix : a rectangular array of numbers or functions
 Matrices let us express large amounts of data and functions in an organized and concise
form
 e.g.
1 −1 0
2 0 3
,
𝑎11 𝑎12 𝑎13
𝑎21 𝑎22 𝑎23
𝑎31 𝑎32 𝑎33
, 𝑎1 𝑎2 𝑎3 ,
3
1
2
 Matrices having just a single row or column are called vectors.
 The second matrix is a square matrix, which means that rows and columns are equal in
number.
row vector
column
vector
General Concepts and Notations
 A = [ajk] =
𝑎11 𝑎12 ⋯ 𝑎1𝑛
𝑎21 𝑎22 … 𝑎2𝑛
⋮ ⋮ ⋱ ⋮
𝑎 𝑚1 𝑎 𝑚2 ⋯ 𝑎 𝑚𝑛
 This is an m × n matrix. Means a matrix with m rows and n columns. Remember, rows
always come first! This m × n is called size of a matrix.
 Each entry has two subscripts. The first is the row number and the second is the column
number. Thus a12 is the entry in row 1 and column 2.
 If m = n, then A is called an m × n square matrix. Then its diagonal containing the entries
a11, a22, …., ann is called the main diagonal of A.
 A matrix of any size m × n is called a rectangular matrix.
Addition of Matrices
 The sum of two matrices A = [ajk] and B = [bjk] of the same size is written A+B and has the
entries ajk + bjk obtained by adding the corresponding entries of A and B.
 Matrix of different sizes can’t be added.
 A =
−3 5 2
0 1 −3
& B =
1 0 2
−2 1 4
 A + B =
−3 + 1 5 + 0 2 + 2
0 − 2 1 + 1 −3 + 4
=
−2 5 4
−2 2 −1
Scalar Multiplication of Matrices
 The product of any m × n matrix A = [ajk] and any scalar c is written cA and is the m × n
matrix cA = [cajk]obtained by multiplying each entry of A by c.
 If A =
2.7 −1.8
0 0.9
 - A =
−2.7 1.8
0 −0.9
10
9
A =
3 −2
0 1
 0 × A =
0 0
0 0
Rules for Matrix Addition and Scalar
Multiplication
Addition rules : A, B, C  m × n matrices
 A + B = B + A c = constant number
 (A + B) + C = A + (B + C)
 A + 0 = A
 A + (-A) = 0
Multiplication rules:
 c(A + B) = cA + cB
 (c + k)A = cA + kA
 c(kA) = (ck)A
Matrix Multiplication
 A B = C
[m × n] [n × p] = [m × p]
Number of columns of A = Number of rows of B
e.g. A =
2 −1 1
0 3 2
5 0 1
B =
1 4 0
−1 2 1
0 3 −2
C = AB =
2 −1 1
0 3 2
5 0 1
1 4 0
−1 2 1
0 3 −2
=
2 × 1 + −1 × −1 + 1 × 0
=
3
0 × 4 + 3 × 2 + 2 × 3 =
3 9 −3
−3 12 −1
5 23 −2
Matrix Multiplication Rules
 AB ≠ BA (not commutative) A, B, C = three different matrices
 (kA)B = k(AB) = A (kB) k = scalar constant
 A(BC) = (AB)C
 (A + B)C = AC + BC
 C(A + B) = CA + CB
Transposition of a Matrix
 The transpose of a matrix is obtained by writing its rows as columns (or equivalently its
columns as rows).
 If A =
1 −1 0
2 0 3
, then AT =
1 2
−1 0
0 3
 Rules for Transposition:
a) (AT)T = A
b) (A + B)T = AT + BT
c) (cA)T = cAT
d) (AB)T = BTAT
Special Matrices
 Symmetric and Skew-symmetric Matrices
 A matrix is called symmetric matrix if AT = A
 A matrix is called skew-symmetric matrix if AT = -A
e.g. A =
2 12 20
12 1 15
2 15 3
is a symmetric matrix
B =
0 1 −3
−1 0 −2
3 2 0
is a skew-symmetric matrix
Special Matrices
 Upper and Lower Triangular Matrices
Upper triangular matrices are square matrices that can have nonzero entries only on and
above the main diagonal, whereas any entry below the diagonal must be zero.
e.g.
1 4 2
0 3 5
0 0 3
and
2 1
0 3
Lower triangular matrices can have nonzero entries only on and below the main diagonal.
e.g.
1 0 0
1 3 0
2 −2 4
and
6 0 0 0
3 5 0 0
1 2 −1 0
1 −3 6 4
Special Matrices
 Diagonal Matrices
These are square matrices that can have nonzero entries only on the main diagonal. Any entry
above or below the main diagonal must be zero.
Diagonal matrix : D =
1 0 0
0 3 0
0 0 0
Scalar matrix : S =
𝑐 0 0
0 𝑐 0
0 0 𝑐
, c = constant number (AS = SA = cA)
Unit matrix : I =
1 0 0
0 1 0
0 0 1
(If A is any square matrix of same size as I then AI = IA = A)
Determinant of a Matrix
 Determinant of a 2 × 2 matrix A =
𝑎11 𝑎12
𝑎21 𝑎22
is defined as:
 D = det A =
𝑎11 𝑎12
𝑎21 𝑎22
= a11a22 – a12a21
 Determinant of a 3 × 3 matrix B =
𝑎11 𝑎12 𝑎13
𝑎21 𝑎22 𝑎23
𝑎31 𝑎32 𝑎33
is defined as:
 D = det B =
𝑎11 𝑎12 𝑎13
𝑎21 𝑎22 𝑎23
𝑎31 𝑎32 𝑎33
= a11
𝑎11 𝑎12
𝑎21 𝑎22
- a12
𝑎21 𝑎23
𝑎31 𝑎33
+ a13
𝑎21 𝑎22
𝑎31 𝑎32

More Related Content

What's hot

Matrix and its operation (addition, subtraction, multiplication)
Matrix and its operation (addition, subtraction, multiplication)Matrix and its operation (addition, subtraction, multiplication)
Matrix and its operation (addition, subtraction, multiplication)
NirnayMukharjee
 
Matrices ppt
Matrices pptMatrices ppt
Matrices ppt
aakashray33
 
Matrix Algebra seminar ppt
Matrix Algebra seminar pptMatrix Algebra seminar ppt
Matrix Algebra seminar ppt
Swetalina Pradhan
 
Echelon forms
Echelon formsEchelon forms
Echelon forms
kishor pokar
 
Diagonalization of matrix
Diagonalization of matrixDiagonalization of matrix
Diagonalization of matrix
VANDANASAINI29
 
Set concepts
Set conceptsSet concepts
Set concepts
Malti Aswal
 
Set theory
Set theorySet theory
Set theory
AN_Rajin
 
Introduction to Set Theory
Introduction to Set TheoryIntroduction to Set Theory
Introduction to Set Theory
Usama ahmad
 
Introduction of matrix
Introduction of matrixIntroduction of matrix
Introduction of matrix
Pankaj Das
 
Determinants
DeterminantsDeterminants
Determinants
Seyid Kadher
 
Final plane symmetry
Final plane symmetryFinal plane symmetry
Final plane symmetryabyady
 
Square root in mathematics
Square root in mathematicsSquare root in mathematics
Square root in mathematics
Nazish Jamali
 
Algebraic properties pp
Algebraic properties ppAlgebraic properties pp
Algebraic properties pptimteachesmath
 
The real number system
The real number systemThe real number system
The real number systemShawn Burke
 
Systems of Linear Algebra
Systems of Linear AlgebraSystems of Linear Algebra
Systems of Linear Algebra
Ayesha Arshad
 
Sets
SetsSets
Row Space,Column Space and Null Space & Rank and Nullity
Row Space,Column Space and Null Space & Rank and NullityRow Space,Column Space and Null Space & Rank and Nullity
Row Space,Column Space and Null Space & Rank and Nullity
Parthivpal17
 

What's hot (20)

Matrix and its operation (addition, subtraction, multiplication)
Matrix and its operation (addition, subtraction, multiplication)Matrix and its operation (addition, subtraction, multiplication)
Matrix and its operation (addition, subtraction, multiplication)
 
Matrices ppt
Matrices pptMatrices ppt
Matrices ppt
 
Matrix algebra
Matrix algebraMatrix algebra
Matrix algebra
 
Matrix Algebra seminar ppt
Matrix Algebra seminar pptMatrix Algebra seminar ppt
Matrix Algebra seminar ppt
 
Sets
SetsSets
Sets
 
Echelon forms
Echelon formsEchelon forms
Echelon forms
 
Diagonalization of matrix
Diagonalization of matrixDiagonalization of matrix
Diagonalization of matrix
 
Set concepts
Set conceptsSet concepts
Set concepts
 
Set theory
Set theorySet theory
Set theory
 
Introduction to Set Theory
Introduction to Set TheoryIntroduction to Set Theory
Introduction to Set Theory
 
Introduction of matrix
Introduction of matrixIntroduction of matrix
Introduction of matrix
 
Determinants
DeterminantsDeterminants
Determinants
 
Modulo2a
Modulo2aModulo2a
Modulo2a
 
Final plane symmetry
Final plane symmetryFinal plane symmetry
Final plane symmetry
 
Square root in mathematics
Square root in mathematicsSquare root in mathematics
Square root in mathematics
 
Algebraic properties pp
Algebraic properties ppAlgebraic properties pp
Algebraic properties pp
 
The real number system
The real number systemThe real number system
The real number system
 
Systems of Linear Algebra
Systems of Linear AlgebraSystems of Linear Algebra
Systems of Linear Algebra
 
Sets
SetsSets
Sets
 
Row Space,Column Space and Null Space & Rank and Nullity
Row Space,Column Space and Null Space & Rank and NullityRow Space,Column Space and Null Space & Rank and Nullity
Row Space,Column Space and Null Space & Rank and Nullity
 

Similar to GATE Preparation : Matrix Algebra

MATRICES maths project.pptxsgdhdghdgf gr to f HR f
MATRICES maths project.pptxsgdhdghdgf gr to f HR fMATRICES maths project.pptxsgdhdghdgf gr to f HR f
MATRICES maths project.pptxsgdhdghdgf gr to f HR f
premkumar24914
 
Matrices ,Basics, Determinant, Inverse, EigenValues, Linear Equations, RANK
Matrices ,Basics, Determinant, Inverse, EigenValues, Linear Equations, RANKMatrices ,Basics, Determinant, Inverse, EigenValues, Linear Equations, RANK
Matrices ,Basics, Determinant, Inverse, EigenValues, Linear Equations, RANK
Waqas Afzal
 
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
 
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
ssuser2e348b
 
Matrix and its operations
Matrix and its operationsMatrix and its operations
Matrix and its operations
Pankaj Das
 
R.Ganesh Kumar
R.Ganesh KumarR.Ganesh Kumar
R.Ganesh Kumar
GaneshKumar1103
 
Calculus and matrix algebra notes
Calculus and matrix algebra notesCalculus and matrix algebra notes
Calculus and matrix algebra notes
VICTOROGOT4
 
Ppt on matrices and Determinants
Ppt on matrices and DeterminantsPpt on matrices and Determinants
Ppt on matrices and Determinants
NirmalaSolapur
 
Matrix and Determinants
Matrix and DeterminantsMatrix and Determinants
Matrix and Determinants
AarjavPinara
 
Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -
Rai University
 
Matrix
MatrixMatrix
Matrix
Seyid Kadher
 
1565 matrix01-ppt
1565 matrix01-ppt1565 matrix01-ppt
1565 matrix01-ppt
Dr Fereidoun Dejahang
 
matrix algebra
matrix algebramatrix algebra
matrix algebra
kganu
 
Determinants
DeterminantsDeterminants
Determinants
Scholars Learning
 
Determinants
DeterminantsDeterminants
Determinants
Scholars Learning
 
3. Matrix Algebra.ppt
3. Matrix Algebra.ppt3. Matrix Algebra.ppt
3. Matrix Algebra.ppt
Freelancers Union
 
Matrices & Determinants.pdf
Matrices & Determinants.pdfMatrices & Determinants.pdf
Matrices & Determinants.pdf
SUCCESSSCIENCEACADEM
 
Engg maths k notes(4)
Engg maths k notes(4)Engg maths k notes(4)
Engg maths k notes(4)
Ranjay Kumar
 
Matrices
MatricesMatrices

Similar to GATE Preparation : Matrix Algebra (20)

MATRICES maths project.pptxsgdhdghdgf gr to f HR f
MATRICES maths project.pptxsgdhdghdgf gr to f HR fMATRICES maths project.pptxsgdhdghdgf gr to f HR f
MATRICES maths project.pptxsgdhdghdgf gr to f HR f
 
Matrices ,Basics, Determinant, Inverse, EigenValues, Linear Equations, RANK
Matrices ,Basics, Determinant, Inverse, EigenValues, Linear Equations, RANKMatrices ,Basics, Determinant, Inverse, EigenValues, Linear Equations, RANK
Matrices ,Basics, Determinant, Inverse, EigenValues, Linear Equations, RANK
 
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)
 
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 and its operations
Matrix and its operationsMatrix and its operations
Matrix and its operations
 
R.Ganesh Kumar
R.Ganesh KumarR.Ganesh Kumar
R.Ganesh Kumar
 
Calculus and matrix algebra notes
Calculus and matrix algebra notesCalculus and matrix algebra notes
Calculus and matrix algebra notes
 
Ppt on matrices and Determinants
Ppt on matrices and DeterminantsPpt on matrices and Determinants
Ppt on matrices and Determinants
 
Matrix and Determinants
Matrix and DeterminantsMatrix and Determinants
Matrix and Determinants
 
Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -
 
Matrix
MatrixMatrix
Matrix
 
Matrices
MatricesMatrices
Matrices
 
1565 matrix01-ppt
1565 matrix01-ppt1565 matrix01-ppt
1565 matrix01-ppt
 
matrix algebra
matrix algebramatrix algebra
matrix algebra
 
Determinants
DeterminantsDeterminants
Determinants
 
Determinants
DeterminantsDeterminants
Determinants
 
3. Matrix Algebra.ppt
3. Matrix Algebra.ppt3. Matrix Algebra.ppt
3. Matrix Algebra.ppt
 
Matrices & Determinants.pdf
Matrices & Determinants.pdfMatrices & Determinants.pdf
Matrices & Determinants.pdf
 
Engg maths k notes(4)
Engg maths k notes(4)Engg maths k notes(4)
Engg maths k notes(4)
 
Matrices
MatricesMatrices
Matrices
 

Recently uploaded

ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
MuhammadTufail242431
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
Kamal Acharya
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
Kamal Acharya
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
PrashantGoswami42
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
Kamal Acharya
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
ShahidSultan24
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 

Recently uploaded (20)

ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 

GATE Preparation : Matrix Algebra

  • 1. Section 1 : Linear Algebra Topic 1 : Matrix Algebra
  • 2. What is Matrix?  Matrix : a rectangular array of numbers or functions  Matrices let us express large amounts of data and functions in an organized and concise form  e.g. 1 −1 0 2 0 3 , 𝑎11 𝑎12 𝑎13 𝑎21 𝑎22 𝑎23 𝑎31 𝑎32 𝑎33 , 𝑎1 𝑎2 𝑎3 , 3 1 2  Matrices having just a single row or column are called vectors.  The second matrix is a square matrix, which means that rows and columns are equal in number. row vector column vector
  • 3. General Concepts and Notations  A = [ajk] = 𝑎11 𝑎12 ⋯ 𝑎1𝑛 𝑎21 𝑎22 … 𝑎2𝑛 ⋮ ⋮ ⋱ ⋮ 𝑎 𝑚1 𝑎 𝑚2 ⋯ 𝑎 𝑚𝑛  This is an m × n matrix. Means a matrix with m rows and n columns. Remember, rows always come first! This m × n is called size of a matrix.  Each entry has two subscripts. The first is the row number and the second is the column number. Thus a12 is the entry in row 1 and column 2.  If m = n, then A is called an m × n square matrix. Then its diagonal containing the entries a11, a22, …., ann is called the main diagonal of A.  A matrix of any size m × n is called a rectangular matrix.
  • 4. Addition of Matrices  The sum of two matrices A = [ajk] and B = [bjk] of the same size is written A+B and has the entries ajk + bjk obtained by adding the corresponding entries of A and B.  Matrix of different sizes can’t be added.  A = −3 5 2 0 1 −3 & B = 1 0 2 −2 1 4  A + B = −3 + 1 5 + 0 2 + 2 0 − 2 1 + 1 −3 + 4 = −2 5 4 −2 2 −1
  • 5. Scalar Multiplication of Matrices  The product of any m × n matrix A = [ajk] and any scalar c is written cA and is the m × n matrix cA = [cajk]obtained by multiplying each entry of A by c.  If A = 2.7 −1.8 0 0.9  - A = −2.7 1.8 0 −0.9 10 9 A = 3 −2 0 1  0 × A = 0 0 0 0
  • 6. Rules for Matrix Addition and Scalar Multiplication Addition rules : A, B, C  m × n matrices  A + B = B + A c = constant number  (A + B) + C = A + (B + C)  A + 0 = A  A + (-A) = 0 Multiplication rules:  c(A + B) = cA + cB  (c + k)A = cA + kA  c(kA) = (ck)A
  • 7. Matrix Multiplication  A B = C [m × n] [n × p] = [m × p] Number of columns of A = Number of rows of B e.g. A = 2 −1 1 0 3 2 5 0 1 B = 1 4 0 −1 2 1 0 3 −2 C = AB = 2 −1 1 0 3 2 5 0 1 1 4 0 −1 2 1 0 3 −2 = 2 × 1 + −1 × −1 + 1 × 0 = 3 0 × 4 + 3 × 2 + 2 × 3 = 3 9 −3 −3 12 −1 5 23 −2
  • 8. Matrix Multiplication Rules  AB ≠ BA (not commutative) A, B, C = three different matrices  (kA)B = k(AB) = A (kB) k = scalar constant  A(BC) = (AB)C  (A + B)C = AC + BC  C(A + B) = CA + CB
  • 9. Transposition of a Matrix  The transpose of a matrix is obtained by writing its rows as columns (or equivalently its columns as rows).  If A = 1 −1 0 2 0 3 , then AT = 1 2 −1 0 0 3  Rules for Transposition: a) (AT)T = A b) (A + B)T = AT + BT c) (cA)T = cAT d) (AB)T = BTAT
  • 10. Special Matrices  Symmetric and Skew-symmetric Matrices  A matrix is called symmetric matrix if AT = A  A matrix is called skew-symmetric matrix if AT = -A e.g. A = 2 12 20 12 1 15 2 15 3 is a symmetric matrix B = 0 1 −3 −1 0 −2 3 2 0 is a skew-symmetric matrix
  • 11. Special Matrices  Upper and Lower Triangular Matrices Upper triangular matrices are square matrices that can have nonzero entries only on and above the main diagonal, whereas any entry below the diagonal must be zero. e.g. 1 4 2 0 3 5 0 0 3 and 2 1 0 3 Lower triangular matrices can have nonzero entries only on and below the main diagonal. e.g. 1 0 0 1 3 0 2 −2 4 and 6 0 0 0 3 5 0 0 1 2 −1 0 1 −3 6 4
  • 12. Special Matrices  Diagonal Matrices These are square matrices that can have nonzero entries only on the main diagonal. Any entry above or below the main diagonal must be zero. Diagonal matrix : D = 1 0 0 0 3 0 0 0 0 Scalar matrix : S = 𝑐 0 0 0 𝑐 0 0 0 𝑐 , c = constant number (AS = SA = cA) Unit matrix : I = 1 0 0 0 1 0 0 0 1 (If A is any square matrix of same size as I then AI = IA = A)
  • 13. Determinant of a Matrix  Determinant of a 2 × 2 matrix A = 𝑎11 𝑎12 𝑎21 𝑎22 is defined as:  D = det A = 𝑎11 𝑎12 𝑎21 𝑎22 = a11a22 – a12a21  Determinant of a 3 × 3 matrix B = 𝑎11 𝑎12 𝑎13 𝑎21 𝑎22 𝑎23 𝑎31 𝑎32 𝑎33 is defined as:  D = det B = 𝑎11 𝑎12 𝑎13 𝑎21 𝑎22 𝑎23 𝑎31 𝑎32 𝑎33 = a11 𝑎11 𝑎12 𝑎21 𝑎22 - a12 𝑎21 𝑎23 𝑎31 𝑎33 + a13 𝑎21 𝑎22 𝑎31 𝑎32