System of linear equations: When are we guaranteed a unique solution?

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
5 replies · 2K views
kent davidge
Messages
931
Reaction score
56
I was reading about systems of linear equations. Even if we have the same number of unknowns and equations, we may still have infinitely many or no solutions. But if in addition to that the determinant of the matrix of coefficients does not vanish, then does it necessarily imply that we have a unique solution?

Surprisingly or not, I haven't found an answer to the above question.
 
Physics news on Phys.org
https://ocw.mit.edu/courses/mathematics/18-02sc-multivariable-calculus-fall-2010/1.-vectors-and-matrices/part-b-matrices-and-systems-of-equations/session-14-solutions-to-square-systems/MIT18_02SC_MNotes_m3.pdf
 
  • Like
Likes   Reactions: kent davidge
For the system [itex]Ax = b[/itex] with [itex]A\in\mathrm{Mat}_{m, n}(K)[/itex], there are [itex]n-\mathrm{rank}(A)[/itex] free variables. If [itex]K=\mathbb R[/itex] (or any other infinite field), then having at least one variable free means there are infinitely many solutions. Also, a solution can be unique only if the matrix [itex]A[/itex] is a square matrix (i.e only if number of variables = number of equations).

Of course, if the underlying field is finite, there can't be infinitely many solutions. That's something a lot of my students get wrong. They remember from school that if number of eqs is smaller than number of variables, then there are automatically infinitely many solutions. Not necessarily.
 
Last edited:
  • Like
Likes   Reactions: kent davidge and StoneTemplePython
This is a nice answer, but I think you are thinking of the case b = the zero vector. I.e. probably you need to assume also the system is consistent. As you stated it, it seems, even with an infinite field and some free variables, if b ≠ zero, you only get either infinitely many, or no solutions. E.g. you could have the system x+y = 0, and x+y = 1, where the rank of the 2x2 matrix A is one, hence there is one free variable, but there is no solution at all, since the vector (0,1) does not lie in the image {(t,t): all t in K}, of the linear transformation.