Study Materilas - Module 4
Study Materilas - Module 4
_____________________________________________________________________________________
________
Table of Contents
SL NO Topic Page number
1 The concept of Matrix 1-2
2 Types of Matrices 2-6
3 Algebric Operations of Complex 6-11
number
4 Ditterminant 11-14
5 Crammer’s rule 14-16
6 Gauss eliminatiuon method 16-17
The concept of Matrix:
The concept of a matrix is a fundamental mathematical concept that is widely used in various fields,
including mathematics, physics, engineering, computer science, and more. A matrix is a rectangular array
of numbers or elements arranged in rows and columns. It is represented in the following form:
𝑎11 … … . 𝑎1𝑛
[ : : : ]
𝑎𝑛1 : 𝑎𝑛𝑛
where a₁₁, a₁₂, ..., a₁ᵢ are the elements of the first row, a₂₁, a₂₂, ..., a₂ᵢ are the elements of the second row,
and so on. The matrix has j rows and i columns, and we often refer to it
as an (j x i) matrix.
Matrices are used to represent and manipulate various types of data and mathematical objects. Some key
concepts related to matrices include:
➢ Entries/Elements: The individual numbers in a matrix are called entries or elements. For example,
a₁₂ refers to the element in the first row and second column.
➢ Order/Dimension: The order or dimension of a matrix refers to the number of rows and columns it
contains. For example, an (j x i) matrix has j rows and i columns.
➢ Row and Column Vectors: If a matrix has only one row (j = 1), it is called a row vector. If it has
only one column (i = 1), it is called a column vector.
➢ Square Matrix: A square matrix has the same number of rows and columns (j = i). For example, a
(3 x 3) matrix is a square matrix.
➢ Zero Matrix: A matrix where all the elements are zero is called a zero matrix and is denoted by the
symbol "0".
Identity Matrix: An identity matrix, denoted by "I", is a square matrix with ones on the main diagonal
(from the top left to the bottom right) and zeros elsewhere.
Matrix Operations: Matrices can be added, subtracted, and multiplied with each other following specific
rules. Matrix multiplication is not commutative (i.e., A * B ≠ B * A), but it is associative (i.e., A * (B *
C) = (A * B) * C).
Matrices are extensively used in solving systems of linear equations, representing linear transformations,
solving optimization problems, data analysis, graphics, and many other applications. They serve as
powerful tools in various mathematical and computational tasks, providing a concise and efficient way to
represent and process data and relationships between variables.
Department of Mathematics
Brainware University, Kolkata 1
B.Tech CSE and 1st semsester
Calculus and linear algebra (BSCG102)
B.Tech CSE and 1st semsester
2023-24
Study Material
Types of Matrices
Rectangular Matrix
A matrix is said to be a rectangular matrix if the number of rows is not equal to the number of columns.
For example,
1 5 −2
3 −4 7
is a matrix of the order 2× 3 .
Diagonal Matrix
A 𝑚 × 𝑚 square matrix B = [bij] is said to be a diagonal matrix if all its non-diagonal elements are zero,
that is a matrix B =[bij]m×m is said to be a diagonal matrix if bij = 0, when i ≠ j.
For example,
1 0 0
−3 0
1 , , 0 2 0
0 5
0 0 3
are diagonal matrices of order 1, 2, 3, respectively.
Scalar Matrix
A diagonal matrix is said to be a scalar matrix if all the elements in its principal diagonal are equal to
some non-zero constant. A diagonal matrix is said to be a scalar matrix if its diagonal elements are equal,
that is, a square matrix B = [bij]n × n is said to be a scalar matrix if
bij = 0, when i ≠ j
bij = k, when i = j, for some constant k.
Department of Mathematics
Brainware University, Kolkata 2
B.Tech CSE and 1st semsester
Calculus and linear algebra (BSCG102)
B.Tech CSE and 1st semsester
2023-24
Study Material
For example,
5 0 0
−1 0
1 , 0
−1
, 0 5
0 0 0 5
are scalar matrices of order 1, 2 and 3, respectively.
Zero/Null Matrix
A matrix is said to be zero matrix or null matrix if all its elements are zero.
For Example,
0 0 0
0 0
0 , , 0 0 0
0 0
0 0 0
are all zero matrices of the order 1, 2 and 3 respectively. We denote zero matrix by O.
Equal Matrices
Two matrices are said to be equal if they are of the same order and if their corresponding elements are
equal .
We denote the identity matrix of order n by In. When the order is clear from the context, we
simply write it as I. For example,
Department of Mathematics
Brainware University, Kolkata 3
B.Tech CSE and 1st semsester
Calculus and linear algebra (BSCG102)
B.Tech CSE and 1st semsester
2023-24
Study Material
1 0 0
1 0
1 , , 0 1 0
0 1
0 0 1
are identity matrices of order 1, 2 and 3, respectively. Observe that a scalar matrix is an identity matrix
when k = 1. But every identity matrix is clearly a scalar matrix.
A square matrix in which all the elements below the diagonal are zero is known as the upper triangular
matrix. For example,
1 −4 5
0 2 7
0 0 8
1 0 0
−4 6 0
−9 3 5
Symmetric Matrix
Department of Mathematics
Brainware University, Kolkata 4
B.Tech CSE and 1st semsester
Calculus and linear algebra (BSCG102)
B.Tech CSE and 1st semsester
2023-24
Study Material
A square matrix A is said to be symmetric if aij = aji for all i and j, where aij is an element present at (i,j)th
position (ith row and jth column in matrix A) and aji is an element present at (j,i)th position (jth row and
ith column in matrix A). In other words, we can say that matrix A is said to be symmetric if the
transpose of matrix A is equal to matrix A itself (AT=A). Let’s take an example of a matrix,
1 3 8
3 8 −4
8 −4 6
It is symmetric matrix because aij = aji for all i and j. Here, a12 = a21= 3, a13 = a31= 8 and a23 = a32 = -4 In
other words, the transpose of Matrix A is equal to Matrix A itself (AT=A) which means matrix A is
symmetric.
• Theorem 1
For any square matrix A with real number entries, A + A′ is a symmetric matrix and A – A′ is a
skew-symmetric matrix.
• Theorem 2
Any Square matrix can be expressed as the sum of a symmetric and a skew-symmetric matrix.
Department of Mathematics
Brainware University, Kolkata 5
B.Tech CSE and 1st semsester
Calculus and linear algebra (BSCG102)
B.Tech CSE and 1st semsester
2023-24
Study Material
One of the basic operations that can be performed on matrices is the addition operation. Just as we add
two or more integers, two or more matrices can also be added in a similar fashion. This is known as
Addition of Matrices.
Matrix addition is the operation of adding two or matrices by adding the corresponding entry of each
matrix together.
The most important rule to know is that when adding two or more matrices, first make sure the matrices
have the same dimensions. In order words, you can add a 2 x 3 with a 2 x 3 or a 2 x 2 with a 2 x 2.
However, you cannot add a 3 x 2 with a 2 x 3 or a 2 x 2 with a 3 x 3. For example, the addition of two
given matrices with dimension 2 × 2,
Commutative Law
If A = [aij], B = [bij] are matrices of the same order, say m × n, then A + B = B + A.
Department of Mathematics
Brainware University, Kolkata 6
B.Tech CSE and 1st semsester
Calculus and linear algebra (BSCG102)
B.Tech CSE and 1st semsester
2023-24
Study Material
Associative Law
For any three matrices A = [aij], B = [bij], C = [cij] of the same order, say m × n, (A + B) + C = A + (B +
C).
Two matrices A and B are said to be conformable for subtraction if they have the same order (i.e. same
number of rows and columns) and their difference A - B is defined to be the addition of A and (-B).
i.e., A – B = A + (-B)
• Matrix multiplication.
Scalar multiplication is easy. You just take a regular number (called a "scalar") and multiply it on every
entry in the matrix.
4 0
1 −9
Department of Mathematics
Brainware University, Kolkata 7
B.Tech CSE and 1st semsester
Calculus and linear algebra (BSCG102)
B.Tech CSE and 1st semsester
2023-24
Study Material
We call the number ("2" in this case) a scalar, so this is called "scalar multiplication".
But to multiply a matrix by another matrix we need to do the "dot product" of rows and columns ... what
does that mean? Let us see with an example:
7 8
1 2 3 58 64
4 9 10 =
5 6 139 154
11 12
To work out the answer for the 1st row and 1st column:
The "Dot Product" is where we multiply matching members, then sum up:
Then we get:
Department of Mathematics
Brainware University, Kolkata 8
B.Tech CSE and 1st semsester
Calculus and linear algebra (BSCG102)
B.Tech CSE and 1st semsester
2023-24
Study Material
7 8
1 2 3 58 64
4 9 10 =
6 154
11 12
5 139
When we do multiplication:
The number of columns of the 1st matrix must
In General:
To multiply an m×n matrix by an n×p matrix, the n must be the same, and the result is an m×p matrix.
4
1 2 3 = 1 4 + 2 5 + 3 6 = 32
5
6
Department of Mathematics
Brainware University, Kolkata 9
B.Tech CSE and 1st semsester
Calculus and linear algebra (BSCG102)
B.Tech CSE and 1st semsester
2023-24
Study Material
4 4 1 4 2 4 3 4 8 12
5 1 2 3 = 5 1 5 2 5 3 = 5 10 15
6 6 1 6 2 6 3 6 12 18
Identity matrix
The "Identity Matrix" is the matrix equivalent of the number "1":
• Example: A 3×3 Identity Matrix
1 0 0
I =
0 1 0
0 0 1
Department of Mathematics
Brainware University, Kolkata 10
B.Tech CSE and 1st semsester
Calculus and linear algebra (BSCG102)
B.Tech CSE and 1st semsester
2023-24
Study Material
Order of Multiplication
• In arithmetic we are used to:
Determinant:
Property-1
The value of the determinant remains unchanged if both rows and columns are interchanged.i.e. If A be a
square matrix then
det ( A ) = det ( AT )
Property-2
If any two rows (or columns) of a determinant are interchanged, then the sign of determinant changes. i.e
If let A be a square matrix and det(A) be the determinant of this matrix .Now if we interchange two rows
and if det(B) be the new determinant then
det(B)= - det(A) .
Property-2
Property-3
If any two rows (or columns) of a determinant are identical (all corresponding elements are same), then
the value of the determinant is zero.
If we interchange the identical rows (or columns) of the determinant Δ, then Δ does not change.
However, by Property 2, it follows that Δ has changed its sign, therefore Δ = – Δ or Δ = 0.
Property-4
If each element of a row (or a column) of a determinant is multiplied by a constant k, then its value gets
multiplied by k.
Department of Mathematics
Brainware University, Kolkata 11
B.Tech CSE and 1st semsester
Calculus and linear algebra (BSCG102)
B.Tech CSE and 1st semsester
2023-24
Study Material
Let Δ1 be the determinant consequently obtained by multiplying the elements of the first row by k. Then,
Δ1= k Δ
Property-5
If some or all elements of a row or column of a determinant are expressed as the sum of two (or more)
terms, then the determinant can be expressed as the sum of two (or more) determinants.
Property-6
If the equimultiples of corresponding elements of other rows (or columns) are added to every element of
any row or column of a determinant, then the value of
determinant remains the same, i.e., the value of determinant remain same if we apply the operation Ri →
Ri + k Rj or Ci → Ci + k Cj .
Adjoint of a matrix
Given a square matrix A, the transpose of the matrix of the cofactor of A is called adjoint of A and is
denoted by adj A. An adjoint matrix is also called an adjugate matrix. In other words, we can say that
matrix A is another matrix formed by replacing each element of the current matrix by its corresponding
cofactor and then taking the transpose of the new matrix formed.
a a12
A = 11
a21 a22
If
A11 A12 t
Then , adj A= [ ]
A21 A22
1 2
Example:Find the adjoint of the matrix:[ ]
3 4
1 2
Solution: We will first evaluate the cofactor of every element of [ ]
3 4
Department of Mathematics
Brainware University, Kolkata 12
B.Tech CSE and 1st semsester
Calculus and linear algebra (BSCG102)
B.Tech CSE and 1st semsester
2023-24
Study Material
• Cof(1) =4
• Cof(2)= -3
• Cof(3)=-2
• Cof(4)=1
Therefore,
𝑡
4 −3 𝑡 4 −2
adj A =(𝑐𝑜𝑓(𝑎𝑖𝑗 )) = [ ] =[ ]
−2 1 −3 1
When A is invertible, then its inverse can be obtained by the formula given below.
𝑎𝑑𝑗(𝐴)
𝐴−1 =
|𝐴|
The inverse is defined only for non-singular square matrices. The following relationship holds between a
matrix and its inverse:
AA-1 = A-1A = I, where I is the identity matrix.
Cramer’s Rule
Cramer’s Rule will give us the unique solution to a system of equations, if it exists. However, if the
system has no solution or an infinite number of solutions, this will be indicated by a determinant of zero.
Department of Mathematics
Brainware University, Kolkata 13
B.Tech CSE and 1st semsester
Calculus and linear algebra (BSCG102)
B.Tech CSE and 1st semsester
2023-24
Study Material
To find out if the system is inconsistent or dependent, another method, such as elimination, will have to
be used.
To understand Cramer’s Rule, let’s look closely at how we solve systems of linear equations using
basic row operations. Consider a system of two equations in two variables.
a1 x + b1 y = c1
a2 x + b2 y = c2
Dx
x=
D
Dy
y=
D
If we are solving for x, the x column is replaced with the constant column. If we are solving for y, the y
column is replaced with the constant column.
Exercises
• Solve the system with two variables by Cramer’sRule
4x-3y=11
6x+5y=7
• Solve the following system of linear equations, using matrix inversion method:
5x + 2 y = 3
3x + 2 y = 5 .
Department of Mathematics
Brainware University, Kolkata 14
B.Tech CSE and 1st semsester
Calculus and linear algebra (BSCG102)
B.Tech CSE and 1st semsester
2023-24
Study Material
A × A-1 = A-1 × A = I
Because with matrices we don't divide! Seriously, there is no concept of dividing by a matrix . But we can
multiply by an inverse, which achieves the same thing.
AX = B , … (1)
−1 −1 −1
where A is a square matrix and non-singular. Since A is non-singular, A exists and A A = AA = I.
−1 −1 −1 −1 −1
Pre-multiplying both sides of (1) by A , we get A (AX ) = A B. That is, ( A A) X = A B. Hence,
−1
we get X = A B.
Gauss Elimination Method:
Gauss elimination method, also known as Gaussian elimination method, is an algorithm used to solve
systems of linear equations. It is named after the German mathematician Carl Friedrich Gauss. The
Department of Mathematics
Brainware University, Kolkata 15
B.Tech CSE and 1st semsester
Calculus and linear algebra (BSCG102)
B.Tech CSE and 1st semsester
2023-24
Study Material
method involves a series of elementary row operations performed on an augmented matrix to transform
the system of equations into an equivalent triangular form, making it easier to find the solutions.
A system of linear equations can be represented in matrix form as:
[A | B],
where A is the coefficient matrix, and B is the column matrix containing the constants on the right-hand
side of the equations. The augmented matrix [A | B] is used in the Gauss elimination method.
Here are the steps involved in the Gauss elimination method:
Step 1: Write the augmented matrix for the system of linear equations.
Step 2: Start with the first row and first column (the pivot element). If the pivot element is zero,
interchange the row with another row below it that has a non-zero element in the same column.
Step 3: Use elementary row operations to make all the elements below the pivot in the same column zero.
To achieve this, subtract appropriate multiples of the pivot row from the rows below.
Step 4: Move to the next row and next column and repeat Steps 2 and 3 until you have a triangular matrix
(upper triangular form) with zeros below the main diagonal.
Step 5: Now, use back substitution to find the values of the variables starting from the last equation and
working upwards.
Step 6: The values obtained in Step 5 are the solutions to the system of linear equations.
If during the process, you encounter a row of zeros on the left-hand side with a non-zero entry on the
right-hand side, it indicates that the system is inconsistent, meaning there is no solution. If all the entries
on the left-hand side become zero, while the right-hand side is also zero, it means the system has
infinitely many solutions.
Gauss elimination method is widely used in numerical linear algebra and is an important tool for
solving systems of linear equations in various scientific and engineering applications. However, it is
worth noting that in practical implementations, one should be aware of issues like numerical stability and
the possibility of division by small numbers, which can affect the accuracy of the solution.
Top of Form
Department of Mathematics
Brainware University, Kolkata 16
B.Tech CSE and 1st semsester
Calculus and linear algebra (BSCG102)
B.Tech CSE and 1st semsester
2023-24
Study Material
Sample questions:
MCQ Questions:
Choose number of solutions of the system of equations 𝑥 + 2𝑦 − 𝑧 = 2, 4𝑥 + 8𝑦 − 4𝑧 = 8
Department of Mathematics
Brainware University, Kolkata 17
B.Tech CSE and 1st semsester
Calculus and linear algebra (BSCG102)
B.Tech CSE and 1st semsester
2023-24
Study Material
c) The rank of a matrix is maximum d) The rank of a matrix is maximum number of linearly
value in the matrix independent rows or columns in the matrix
c) Greater than or equal to the number d) Greater than or equal to the number of columns
of rows
c) The matrix has all its rows and d) The matrix is square
columns linearly independent
a) 0 b) 1
c) The minimum of the number of d) The maximum of the number of rows and columns
rows and columns
If the rank of a 3x3 matrix is then choose the correct option
c) The matrix has a determinant of zero d) The matrix has three linearly independent rows and
columns
Department of Mathematics
Brainware University, Kolkata 19
B.Tech CSE and 1st semsester
Calculus and linear algebra (BSCG102)
B.Tech CSE and 1st semsester
2023-24
Study Material
c) When it has no non-zero elements d) When it has only one row or one column
For two matrices A and B of the same size then choose the correct statement
a) The matrix is singular b) The matrix has two linearly independent rows
c) The matrix has two linearly d) The matrix is not valid as it should be a square matrix
independent columns
a) 5 b) 4
c) 9 d) 8
a) Non-singular b) Singular
c) Square d) Symmetric
Department of Mathematics
Brainware University, Kolkata 20
B.Tech CSE and 1st semsester
Calculus and linear algebra (BSCG102)
B.Tech CSE and 1st semsester
2023-24
Study Material
c) A 2x3 matrix with two linearly d) A 3x3 diagonal matrix with all diagonal elements non-
independent rows zero
If the rank of a matrix is equal to the number of columns, then Identify the matrix
a) Non-invertible b) Singular
c) Equal to the maximum of the d) Equal to the minimum of the number of rows and
number of rows and columns columns
a) The matrix is singular b) The matrix has two linearly independent rows
c) The matrix has two linearly d) The matrix is not valid as it should be a square matrix
independent columns
a) 0 b) 1
A) |A| B) det(A)
C) AT D) tr(A)
For a 2x2 matrix A = [[a, b], [c, d]], the determinant is given by:
A) ad - bc B) ab – cd
Department of Mathematics
Brainware University, Kolkata 21
B.Tech CSE and 1st semsester
Calculus and linear algebra (BSCG102)
B.Tech CSE and 1st semsester
2023-24
Study Material
C) ac - bd D) a + d
A) 0 B) 1
C) The product of its diagonal elements D) The sum of its diagonal elements
A) 1 B) 0
For a 3x3 matrix A, the expansion of the determinant using the first row is given by:
A) k|A| B) |A|/k
C) k^2|A| D) |A|/k^2
A) 0 B) 1
C) -1 D) Not defined
A) 0 B) 1
C) -1 D) Not defined
A) |A| B) -|A|
C) |A|T D) |A|-1
Department of Mathematics
Brainware University, Kolkata 23
B.Tech CSE and 1st semsester
Calculus and linear algebra (BSCG102)
B.Tech CSE and 1st semsester
2023-24
Study Material
C) The product of its diagonal elements D) The difference of its diagonal elements
3 marks question:
6 1 3 2
−2 0 1 4
Without expansion, illustrate that | | = 0.
3 6 1 2
−4 0 2 8
Use Cramer‟s rule to solve the system – 4x + 2y – 9z = 2, 3x + 4y + z = 5, x – 3y + 2z = 8.
0 −2 −3
Calculate the inverse, if it exists, of the matrix ( 1 3 3 ).
−1 −2 −2
0 𝑏−𝑎 𝑐−𝑎
Without expanding illustrate that |𝑎 − 𝑏 𝑜 𝑐 − 𝑏 | = 0.
𝑎−𝑐 𝑏−𝑐 0
𝑥 2 3
If x= - 4 is a root of |1 𝑥 1| = 0, calculate the other roots.
3 2 𝑥
4−𝑥 4+𝑥 4+𝑥
If |4 + 𝑥 4 − 𝑥 4 + 𝑥| = 0 then calculate values of x.
4+𝑥 4+𝑥 4−𝑥
𝑎 𝑏 𝑐
If a+b+c ≠ 0 and |𝑏 𝑐 𝑎| = 0 then illustrate that a = b = c.
𝑐 𝑎 𝑏
2 𝜆 −3
If A= (0 2 5 ), then calculate the value of 𝜆 for which A-1 exists.
1 1 3
Department of Mathematics
Brainware University, Kolkata 24
B.Tech CSE and 1st semsester
Calculus and linear algebra (BSCG102)
B.Tech CSE and 1st semsester
2023-24
Study Material
5 marks:
1 𝑎 𝑏𝑐 1 𝑎 𝑎2
1.Establish that |1 𝑏 𝑐𝑎 | = |1 𝑏 𝑏 2 |.
1 𝑐 𝑎𝑏 1 𝑐 𝑐2
2
1 𝑎 𝑎
2. Show that |1 𝑏 𝑏 2 | = (𝑏 − 𝑐)(𝑐 − 𝑎)(𝑎 − 𝑏).
1 𝑐 𝑐2
T
3. Recall that a square matrix A is said to be skew-symmetric if A = −A. If A is a 5 × 5
skew-symmetric matrix, show that det(A) = 0.
𝑎1 𝑎2 𝑎3 2𝑎1 𝑎2 𝑎3
4. If det[𝑏1 𝑏2 𝑏3 ]=5 , evaluate the determinant of the matrix [6𝑏1 3𝑏2 𝑏33 ].
𝑐1 𝑐2 𝑐3 2𝑐1 𝑐2 𝑐3
2 −17 11
5. Calculate the inverse of the matrix [−1 11 −7]
0 3 −2
2 3 1
6. Calculate the inverse of the matrix [3 3 1]
2 4 1
Department of Mathematics
Brainware University, Kolkata 25