CalculusSandwich said:
So it states: The Equation Ax=b has a solution if and only if b is a linear combination of the columns of A.
That means the columns of A are linearly dependent.
No it doesn't. If the columns of A were linearly independent, they would span all of the underlying vector space and so Ax= b would have a solution for
all b. If the columns of A are
not linearly independent they they span a subspace, Ax is in that subspace for all x, and so Ax= b only if b is in that subspace: if b is a linear combination of A.
So then if I have a matrix A and a vector B, and after row reduction on Ax=B i get, the identity matrix.
Only if the columns of A are linearly independent!
So does that imply that Ax=B has no solutions
Or that Ax=B has the trivial solution.
Neither. It implies that Ax= B has a
unique solution for all vectors B. It implies that the equation Ax= 0 has the unique solution x= 0 which is the "trivial solution".
If the columns of A are not linearly independent (so A is not invertible) then Ax= B either has an infinite number of solutions (if B is in the subspace spanned by the columns of A) or there is no solution (if B is not in the subspace spanned by the columns of A).
(If the columns of A are not linearly indepenent, then the
null space or "kernel" of A is non-trivial. If x is a solution to Ax= B, then so is x+ y for any y in the null space of A. That's why Ax= B has an infinite number of solutions in this case.)