A matrix is said to be singular if the determinant of the matrix is 0 otherwise it is non-singular .
Input : 0 0 0 4 5 6 1 2 3 Output : Yes Determinant value of the matrix is 0 (Note first row is 0) Input : 1 0 0 4 5 6 1 2 3 Output : No Determinant value of the matrix is 3 (which is non-zero).
First find the determinant of the matrix and the check the condition if the determinant id 0 or not, if it is 0 then matrix is a singular matrix otherwise it is a non-singular matrix .
Matrix is non-singular
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.
- Program to check diagonal matrix and scalar matrix
- Program to check if a matrix is Binary matrix or not
- Program to check idempotent matrix
- Program to check Involutory Matrix
- Program to check if a matrix is symmetric
- Program to check if matrix is upper triangular
- Program to check if matrix is lower triangular
- C Program To Check whether Matrix is Skew Symmetric or not
- Check if matrix can be converted to another matrix by transposing square sub-matrices
- Check if a given matrix can be converted to another given matrix by row and column exchanges
- Check if it is possible to make the given matrix increasing matrix or not
- C++ program to Convert a Matrix to Sparse Matrix
- Program to convert given Matrix to a Diagonal Matrix
- Check if a given matrix is Hankel or not
- Check for possible path in 2D matrix
- Check if a given matrix is sparse or not
- Check whether a given matrix is orthogonal or not
- Check if the Matrix follows the given constraints or not
- Check if Matrix sum is prime or not
- Check if a Matrix is Bitonic or not
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.