Detecting inconsistent systems - linear algebra - solution sets -screen 6

Screen Link:
For a non homogenous square matrix we can check if the determinant is non zero to check if the system is inconsistent
Are there any ways of detecting inconsistencies in linear systems in Python for following cases:

  1. rectangular non homogenous (no solution & infinite solution)
  2. square non homogenous (infinite solutions)
  3. homogenous (infinite solutions)

Not all systems of equations have a solution and these systems are inconsistent . An inconsistent system will have two or more equations that don’t overlap in values, making it impossible to find a solution.

This page explains this concept graphically.

A linear system that has an infinite number of solutions is not inconsistent.

1 Like