Professional Documents
Culture Documents
Matrices and System of Linear Equations
Matrices and System of Linear Equations
Matrices and System of Linear Equations
and System of
Linear Equations
DHRUV MISTRY 160280106055
DHRUVIL CHAVDA 160280106015
SAVAN BARIA 160280106005
DHARMIK DAVE 160280106022
YASH JANI 160280106037
ATRI BHATT 160280106007
CHIRAG 160280106051
VEDANT 160280106047
YASH JAIN 160280106034
AKHIL 160280106059
SANDEEP 160280106046
INTRODUCTION
• Definition
A matrix is a rectangular array of elements or
entries aij involving m rows and n columns
Columns, n
• Definition
i. 2 matrices A aij M mn and B bij M mn
are said to be equal iff m = r and n = s then A
= B.
ii. If aij for i = j, then the entries a11,a22,a33,…
are called the diagonal of matrix A
TYPES OF MATRICES
Square Matrix
Matrix with order n x n
1 2 3
1 2
A B 4 5 6
3 4 mn 7 8 9 33
TYPES OF MATRICES
Diagonal Matrix
Matrix with order n x n with aij ≠ 0 and aij = 0
for i ≠ j
1 0 0
A 0 1 0
0 0 2
TYPES OF MATRICES
Scalar Matrix
A diagonal matrix in which the diagonal
elements are equal, aii = k and aij = 0 for i ≠ j
where k is a scalar
2 0 0 1 0 0
A 0 2 0 2 0 1 0 , k 2
0 0 2 0 0 1
TYPES OF MATRICES
Identity Matrix
A diagonal matrix in which the diagonal
elements are ‘1’, aii = 1 and aij ≠ 0 for i ≠ j
1 0 0
1 0
A 0 1 0 B
0 0 1 0 1
TYPES OF MATRICES
Zero Matrix
A matrix which contains only zero elements,
aij = 0
0 0 0
0 0
A 0 0 0 B
0 0 0 0 0
TYPES OF MATRICES
Negative Matrix
A negative matrix of A =[aij] denoted by –A
where -A =[-aij]
1 0 2 1 0 2
A 0 0 3 A 0 0 3
4 6 1 4 6 1
TYPES OF MATRICES
Transpose of Matrix
If A =[aij] is an m x n matrix, then the
transpose of A, AT =[aij]T is the n x m matrix
defined by [aij] = [aji]T
1 1 2 1 2 3
A 2 1 5
A 1 1 4
T
3 4 1 2 5 1
TYPES OF MATRICES
iii) A B T AT BT
TYPES OF MATRICES
Example 1: 1
1 2 3
• If A and B 3 , find
4 5 2 2
i) A
T
ii) 2 B
T
iii) AB
T
TYPES OF MATRICES
Answer 1:
1 4
A 2 5
T
i)
3 2
ii) 2 B 2 6
T
4
iii) AB 1 23
T
TYPES OF MATRICES
Symmetric Matrix
If AT = A, where the elements obey the rule
aij = aji
5 1 4 5 1 4
A 1 2 2 AT 1 2 2
4 2 3 4 2 3
TYPES OF MATRICES
1 1 4
A 0 1 7
0 0 0 ZERO ROW AT THE BOTTOM
1 2 4
B 0 1 3 LEADING 1
0 0 1
TYPES OF MATRICES
1 0 4
A 0 1 7
0 0 0 ZERO ROW AT THE BOTTOM
1 0 0
B 0 1 0 LEADING 1
0 0 1
Types of Solutions
Consistent System Consistent System Inconsistent System
One solution Infinite solutions No solution
A linear equation is an equation that can be written in the form:
xyz 1 x1 2x2 x 4 1 3x 4y 7z 7
2x 3y z 2 x2 2x3 x 4 x5 2 x 2y z 1
x 2y 2z 4 x2 4x3 x5 4
Any system of linear equations can be put into matrix form: Ax b
The matrix A contains the coefficients of the variables, and the vector x has
the variables as its components.
For example, for the first system above the matrix version would be:
1 1 1 x 1
2 3 1 y 2
1 2 2 z 4
A x b
Here is the next system. The basic pattern is to start at the upper left corner, then use row
operations to get zeroes below, then work counterclockwise until the matrix is in REF.
xyz 1 1 1 1 1 1 1 1 1
2x 3y z 2 2 3 1 2 R *
2 R 2 2R1 0 1 3 0
x 2y 2z 4 1 2 2 4 R *
3 R 3 R1
0 1 3 3
1 1 1 1 1 1 1 1
0 1 3 0 0 1 3 0
0 1 3 3 R * 0 0 0 3
3 R3 R2
At this point you might notice a problem. That last row doesn’t make sense. It might help to
write out the equation that the last row represents.
It says 0x+0y+0z=3.
Are there any values of x, y and z that make this equation work? (the answer is NO!)
This system is called INCONSISTENT because we arrive at a contradiction during the
solution procedure. This means that the system has no solution.
No Solution
xyz 1
If the system is inconsistent there will be no solutions. 2x 3y z 2
In this case there will be a contradiction that appears x 2y 2z 4
during the solution process.
1 0 0 4 𝑥=4
0 1 0 7 𝑦=7 𝑁𝑜 𝑠𝑜𝑙𝑢𝑡𝑖𝑜𝑛: 𝐼𝑛𝑐𝑜𝑛𝑠𝑖𝑠𝑡𝑒𝑛𝑡 𝑠𝑦𝑠𝑡𝑒𝑚
0 0 0 2 0=2
1 0 5 2 𝑥 + 5𝑧 = 2
𝐼𝑛𝑓𝑖𝑛𝑖𝑡𝑒 𝑠𝑜𝑙𝑢𝑡𝑖𝑜𝑛𝑠: 𝐶𝑜𝑛𝑠𝑖𝑠𝑡𝑒𝑛𝑡 𝑠𝑦𝑠𝑡𝑒𝑚
0 1 3 2 𝑦 + 3𝑧 = 2
0 0 0 0 𝑧 = 𝑎𝑛𝑦 𝑟𝑒𝑎𝑙 𝑛𝑢𝑚𝑏𝑒𝑟
( )( ) ( )
1 2
3 −5
x
y
= 4
1
AX = B
This is the matrix form of the linear equations
Given that…
AX = B
A-1AX = A-1B
(A−1A = I, the identity matrix and multiplying any matrix
by I leaves the matrix unchanged)
X = A−1B
Thank
You