Professional Documents
Culture Documents
Week-2 Session 1
Week-2 Session 1
WEEK 1
Vectors
Vector addition
Scalar Multiplication
Visualization (in R2, R3)
Matrices
Rows , Columns, Size
Matrix operations
o addition
o scalar multiplication
o multiplication
o transpose
Matrix types
o rectangular
o square
o diagonal
o scalar
o zero (null)
o identity
o triangular
System of linear equations
Consistent - unique/infinitely many solutions
Inconsistent - no solution
Determinants
1 2
(ii) What is the determinant of ( )?
2 4
4 0 0
(iv) det(0 1 0)
0 0 1
(v) If 𝐴𝑥 = 𝑏 represents a system on linear equations where 𝐴 is a nxn matrix, then the
system has an unique solution if and only if 𝑑𝑒𝑡(𝐴) ≠ 0.
Exercises:
(i) det(P-1AP) =
(ii) det(AtA) =
If A is a square matrix, then the minor of the entry in the i-th row and j-th column (also
called the (i, j) minor, or a first minor) is the determinant of the submatrix formed by
deleting the i-th row and j-th column. This number is often denoted 𝑀𝑖𝑗 .
INVERSE OF A MATRIX
Let A be an n×n matrix. Then the inverse of A, represented by A -1, is the unique matrix
which satisfies the condition
AA-1 = AA-1 = I.
Examples
Steps to find the solution of above system of linear equations using inverse of the
coefficient matrix:
Consider a system of linear equations
Step-2: Find the matrix multiplication of A −1 with b, i.e. A −1b which is a column matrix.
Step-3: Compare with the column matrix x and find the value of x 1, x2, . . .,xn
Example:
Example:
But what will be the case when a system of linear equations has following things?
1. when the coefficient matrix of the system of linear equations is an square matrix and
has determinant zero.
2. A system of linear equations consists of m equations and n variables i.e. a system of
linear equations whose coefficient matrix is an rectangular matrix.
To solve such kind of system of linear equations there is a method called "Gauss
elimination method”
1 0 2 2
1 2 3 1 0 2 1 0 −1
[ ], [ ], [ ], [0 1 0 2]
0 0 1 0 1 2 0 0 0
0 0 0 1
1 0
𝐴=[ ]
0 1
1 0
𝐴 = [0 1]
0 0
1 2 0
𝐴=[ ]
0 0 1
• If the i-th column does not have the leading entry of any row, we call x i an independent
variable.
Steps to find the solution of a system of linear equations using Gauss elimination
method
Consider a system of linear equations Ax = b.
Step-1: Form the augmented matrix of the system [A|b].
Step-2: Perform the same elementary row operations on the matrix [A|b] that were used
to bring the matrix A into reduced row echelon form.
Step-3: After obtaining the reduced row echelon form the matrix [A|b], let R be the
submatrix of the obtained matrix of the first n columns and c be the submatrix of the
obtained matrix consisting of the last column. We can write reduced row echelon form of
[A|b] to [R|c].
Step-4: Form the corresponding system of linear equations Rx = c.
Step-5: Find all the solutions of Rx = c, those solution will be the solution of Ax = b.
(ii)
x−y+z=2
x+y−z=3
−x + y + z = 4.
[Hint: Use the relation between a system of linear equations and determinant of
corresponding coefficient matrix.]
• Option 1: no solution.
HW: For any diagonal matrix, write the condition for invertibility and what is the inverse of
a invertible diagonal matrix.