The Wayback Machine - https://web.archive.org/web/20250317122909/https://www.geeksforgeeks.org/singular-matrix/
Open In App

Singular Matrix | Definition, Properties, Solved Examples

Last Updated : 30 Dec, 2024
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Share
Report
News Follow

A singular matrix is a square matrix whose determinant is zero. In other words, it’s a square matrix (where the number of rows and columns are equal) that has no inverse. You can’t multiply it by another matrix to get the identity matrix.

For a Singular matrix A,
det A = |A| = 0

Singular-Matrix

Singular Matrix Definition

We know that the formula to determine the inverse of a matrix is equal to the adjoint of the matrix divided by the determinant of the matrix, i.e., A-1 = (adj A) / |A|.
From the definition of a singular matrix, we know that |A| = 0, so its inverse is not defined.

The image given below is an “m × n” matrix that has “m” rows and “n” columns.

Matrix Definition

Let us consider that A and B are two square matrices of order “n × n”

If,

AB = BA = I

where,

  • I is an identity or unit matrix of order n.
  • B is said to be the inverse matrix of A.

Thus, matrix A is a non-singular matrix.

Examples of Singular Matrix

Various examples of singular matrices are:

  • [Tex]\left[\begin{array}{ccc} 1 & 2 \\ 4 & 8\end{array}\right][/Tex],
  • [Tex]\left[\begin{array}{ccc} 1 & 2 & 3\\ 4 & 5 & 6\\ 7 & 8 & 9 \end{array}\right][/Tex],
  • [Tex]\left[\begin{array}{ccc} 1 & 0 & 0\\ 0 & 0 & 0\\ 7 & 8 & 9 \end{array}\right][/Tex], etc.

Properties of a Singular Matrix

The following are the properties of the Singular Matrix:

  • Every singular matrix must be a square matrix, i.e., a matrix that has an equal number of rows and columns.
  • The determinant of a singular matrix is equal to zero.
  • As the determinant of a singular matrix is zero, its inverse is not defined.
  • A zero matrix of any order matrix is a singular matrix, as its determinant is zero.
  • In a singular matrix, some rows and columns are linearly dependent.
  • The rank of a singular matrix will be less than the order of the matrix, i.e., Rank (A) < Order of A.
  • A matrix that has any two rows or any two columns identical is singular, as the determinant of such a matrix is zero.
  • When a row or column’s elements in a matrix are all zeros, then the matrix is singular, as its determinant is zero.
  • When one row (or column) of a matrix is a scalar multiple of another row (or column), then the matrix is singular as its determinant is zero. 

Differences Between Singular and Non-Singular Matrix

Differences between the Singular Matrix and Non-Singular Matrix can be understood using the table given below.

Singular Matrix Vs Non-Singular Matrix

 Singular Matrix 

 Non-Singular Matrix 

A square matrix is said to be a singular matrix if its determinant is zero, i.e., det A = 0.

A square matrix is said to be a non-singular matrix if its determinant is not zero, i.e., det A ≠ 0.

If a matrix is singular, then its inverse is not defined.

If a matrix is non-singular, then its inverse is defined.

The rank of a singular matrix will be less than the order of the matrix, i.e., Rank (A) < Order of A.

The rank of a non-singular matrix will be equal to the order of the matrix, i.e., Rank (A) = Order of A.

In a singular matrix, some rows and columns are linearly dependent.

In a non-singular matrix, all the rows and columns are linearly independent.

[Tex]A = \left(\begin{array}{ccc} 2 & 2 & 4\\ 1 & 1 & 2\\ 3 & 7 & 9 \end{array}\right) [/Tex]

[Tex]B = \left[\begin{array}{ccc} 1 & 2 & -3\\ 6 & 0 & 8\\ -1 & 4 & 0 \end{array}\right] [/Tex]

Identifying a Singular Matrix

Follow the conditions given below to determine whether the given matrix is singular or not.

  • Determine whether the given matrix is a square matrix or not.
  • If the given matrix is a square matrix, then find the determinant of the matrix.

⇒ If |A|= 0, then the given matrix is singular.

⇒ If |A|≠0, then the given matrix is non-singular.

Formula for Determinant of “2 × 2” Matrix

If A = [Tex]\left[\begin{array}{cc} a & b\\ c & d \end{array}\right]     [/Tex] is a “2 × 2” matrix, then its determinant is 

|A|= [ad – bc]

Formula for Determinant of “3 × 3” Matrix

If A = [Tex]\left[\begin{array}{ccc} a_{1} & a_{2} & a_{3}\\ b_{1} & b_{2} & b_{3}\\ c_{1} & c_{2} & c_{3} \end{array}\right]    [/Tex] is a “3 × 3” matrix, then its determinant is 

|A|= a1(b2c3 – b3c2) – a2(b1c3 – b3c1) + a3(b1c2 – b2c1)

Solved Examples on Singular Matrix

Example 1: Find the value of k if the matrix given below is a singular matrix.

[Tex]A = \left[\begin{array}{cc} k & -4\\ 5 & 2 \end{array}\right] [/Tex]

Solution:

Given matrix A = [Tex]\left[\begin{array}{cc} k & -4\\ 5 & 2 \end{array}\right] [/Tex]

We know that the determinant of a singular matrix is zero, i.e., det A = 0

⇒ (2×k) – (–4 × 5) = 0

⇒ 2k + 20 = 0

⇒ 2k = -20

⇒ k = –20/2 = –10

Hence, the value of k if the given matrix is a singular matrix is –10.

Example 2: Determine the inverse of the matrix given below.

[Tex]P = \left[\begin{array}{cc} -3 & 4\\ 6 & -8 \end{array}\right] [/Tex]

Solution:

Given matrix [Tex] P = \left[\begin{array}{cc} -3 & 4\\ 6 & -8 \end{array}\right] [/Tex]

P-1 = Adj P / |P|

Now, let us find the determinant of the matrix P.

|P| = (–3 × –8) – (6 × 4)

|P| = 24 – 24 = 0

Since, the determinant of matrix P = 0, it is a singular matrix, and its inverse matrix doesn’t exist.

Example 3: Determine whether the given matrix is singular or not.

[Tex]A = \left[\begin{array}{ccc} 1 & 0 & -3\\ 0 & 5 & 2\\ -1 & 4 & 0 \end{array}\right] [/Tex]

Solution:

Given matrix A = [Tex]\left[\begin{array}{ccc} 1 & 0 & -3\\ 0 & 5 & 2\\ -1 & 4 & 0 \end{array}\right] [/Tex]

To determine whether the given matrix is singular or not, we have to find its determinant.

det A = 1[(5 × 0) – (4 × 2)] – 0[(0 × 0) – (2 × –1)] + (-3) [(0 × 4) – (–1 × 5)]

⇒ |A| = (1 × -8) – 0 + (–3 × 5) 

⇒ |A| = –8 – 15 = –23 ≠ 0

Since the determinant of the given matrix is not equal to zero, it is a non-singular matrix.

Example 4: Find the value of b if the matrix given below is a singular matrix.

[Tex]B = \left[\begin{array}{cc} 9 & b\\ 6 & -2 \end{array}\right] [/Tex]

Solution:

Given matrix [Tex]B = \left[\begin{array}{cc} 9 & b\\ 6 & -2 \end{array}\right] [/Tex]

We know that the determinant of a singular matrix is zero, i.e., det B = 0

⇒ (9 × –2) – (6 × b) = 0

⇒ –18 – 6b = 0

⇒ –6b = 18

⇒ b = 18/–6 = –3

Hence, the value of b if the given matrix is a singular matrix is –3.

Example 5: Find x if A =

1

is the singular matrix?

Solution:

If A is singular matrix then it means its determinant is 0 i.e., det A = 0,

(x+1) (0-1) -x(x+3-4) +2(1-0) =0

-x -1 -x2 + x + 2=0

-x2 +1 =0

x2 =1

x = Âą1

Answer: x=1 or -1 for A to be singular.

Example 6: Determine whether the following system has a unique solution or not 2x+y+2z =3, x + z=5, 4x + y +4z =7.

Solution:

If we write the given system in the matrix form then the corresponding matrix equation is AX = B, then the coefficient matrix is, A :

2

If the determinant of A is NOT zero or if A is non-singular matrix, then only the system has a unique solution. Otherwise it may have infinite or no solutions.

det A = 2(0 – 1) -1(4 – 4) + 2(1 – 0)a
= -2 +0 +2
= 0

Answer: The above given system does NOT have a unique solution because the determinant is ZERO. So, it either has an infinite number of solutions or it has no solution.

Example 7: Given the matrix A, for what value of x is the matrix singular?

singular-gfg1

Solution:

calculate the determinant of A(x):

det(A(x)) = x2(2x-4) -2x(4) = 2x3 – 4x2 – 8x

Factor the determinant:

det(A(x)) = 2x( x2 -2x – 4) = 2x( x- 4) ( x + 1)

The matrix is singular when the determinant is 0, so the singular values of x are x = 0, and x = 4, and x = -1.

Example 8: Consider the matrix B and determine the values of x for which the matrix is singular.

singular-2-gfg

Solution:

determinant of B(x):

det(B(x)) = (x2 – 4)(x2 -4) – ( x + 1)(2x – 2)

= (x2 – 4)2 – 2x(x +1 -2) = (x2 – 4)2 – 2x( x – 1)

=(x4 – 8x2 +16) -2x(x – 1) = x4 – 8x2 +16 – 2x2 + 2x

= x(x + 1).

The matrix is singular when the determinant is zero, which occurs for x =0, x = -1, x = 2.

Example 9: Given a matrix C(x), find the values of x for which the matrix is singular.

singular-3-gfg

Solution:

determinant of C(x):

det(C(x)) = x(x – 3x) -1(2x – 3x2) +1(2x(3x) – x(3x2)
= x( -2x) -2x + 3x2 +1(6x2 – 3x3)
= -2x2 -2x + 3x2 + 6x2 – 3x3
= -3x3 +7x2 -2x = x(-3x2 + 7x -2) = x[-3x(x – 2) +1 (x – 2)]
= x(-3x + 1)(x – 2) , x= 0, x = 1/3 , x = 2

So the matrix C(x) is singular when x =0, x= 1/3, x =2.

Example10: Consider the system of linear equations:

x + ky + z = 3

2x + 4y + 3z =7

x + 2y +(k + 1) = 5

Determine the values of 𝑘 for which the matrix is singular. Then, discuss the solution of the system for those values of k.

Solution:

1. From the Matrix and Augmented Matrix

the coefficient matrix A and the augmented matrix [A | b] are:

singular-5-gfg

2. Calculate the Determinant of A

compute the determinant of A:

det(A) = 1(4(k+1) – 6) – k(2(k + 1) -3) + 1(4 – 4)

= (4k – 2) -k(2k -1 ) + 0

= 4k -2 -2k2 + k

= -2k2 + 5k -2

A matrix is singular when it’s determinant is zero:

-2k2 + 5k -2 = 0

-2k2 + 4k + k -2 =0

-2k(k – 2) + 1( k-2 ) =0

(-2k + 1) (k – 2) =0

So, -2k + 1 =0, k – 2 =0

k = 1/2 or k = 2.

  • For k = 1/2 , substitute k = 1/2 into the augmented matrix and perform row reduction to check if the system is consistent. If there is no inconsistency, the system has infinitely many solutions. For now, the system has no solution for k = 1/2, because of contradiction in third row.
  • for k =2: substitute k =2 into the augmented matrix and perform row reduction. Again check if the system is consistent. There is no contradiction, and the system is consistent. which means the system when k =2 has infinitely many solutions.

Practice Problem on Singular Matrix

Question 1: Determine whether the following system has a unique solution, infinitely many solutions, or no solution:

2x + 3y – z = 1

4x + 6y -2z = 2

-2x -3y + z = -1

Question 2: Find the value of k for which the matrix is singular and determine if the system of equations has a unique solution, infinitely many solutions, or no solution:

x + y + k = k

2x + 2y + 2z = 2k

3x + 3y + 3z = 3k

Question 3: For which values of k does the following system of equations have a unique solution?

x + 2y + kz =1

2x + 4y + 3z =4

3x + 6y + 4z = 7

Question 4: Determine if the following matrix is singular or non-singular.

ques-gfg

Question 5: Find the value of a for which the matrix is singular, and hence does not have an inverse:

ques3-gfg

Question 6: Determine for which values of b the following matrix is invertible:

ques-5-gfg

Question 7: Given the Matrix C(x), find the values of x for which the matrix is singular.

ques-8-gfg

Question 8: Given the symmetric matrix, find the values of x for which the matrix A is singular.

ques-9-gfg

Answer Key

  1. The system has infinitely many solutions.
  2. The system has infinitely many solutions for all values of k.
  3. The system has no unique solution for any value of k.
  4. As the determinant is 0, it is a Singular Matrix.
  5. a = 1.
  6. The matrix is invertible for all values of b.
  7. x = 0, Âą1
  8. x = Âą1

Articles Related to Singular Matrix:

Singular Matrix – FAQs

Define a Matrix.

A matrix is defined as a rectangular array of numbers that are arranged in rows and columns.

What is a Singular Matrix?

A square matrix is said to be a singular matrix if its determinant is zero and it is not invertible.

What is the Rank of a Singular Matrix of Order “3 × 3”?

If the given matrix A is singular, then its determinant is zero. Now, the rank of the given matrix will be less than the order of the matrix, i.e., rank (A) < 3.

What is the Determinant of a Singular Matrix?

The determinant of a matrix determines whether it is singular or non-singular. So, a matrix is said to be singular if its determinant is zero.

Is a Zero Matrix a Singular Matrix?

As the determinant of a singular matrix is zero, it is a singular matrix.

What is the Rank of a Singular Matrix?

The rank of singular matrix ‘n’ is always less than ‘n’.



Similar Reads

three90RightbarBannerImg