I have the set of equations $$x+y-z=-5$$ $$x-y-z=-3$$ $$x+y-z=0$$ I'd just like to point out here that equation one and three are basically the same – just set equal to two different numbers. I don't know if that automatically means there are no solutions or not. Then, I put this into matrix form and got $$\begin{bmatrix} 1&1&-1\\1&-1&-1\\1&1&-1 \end{bmatrix}\begin{bmatrix}x\\y\\z\end{bmatrix}=\begin{bmatrix}-5\\-3\\0\end{bmatrix}$$ (I'll refer to that first matrix as $A$.) I found the determinant of $A$ and it is equal to zero, meaning there is no inverse. I got really stuck here.
I know that to solve this has to do with row echelon form, null space, and column space. I put $A$ into row echelon form and got $$\begin{bmatrix}1&0&-1\\0&1&0\\0&0&0\end{bmatrix}$$ but translating this back out gave $$x-z=-5$$ $$y=-3$$ $$0=0$$ Trying to solve the first equation gave conflicting answers.
So, I guess I have three main questions here:
- How do you find the solution here (or figure out that there isn't a solution)?
- How do you calculate null space/column space? (Please note I've googled this and I just can't get it.)
- How does null space/column space relate to finding the solution here, if at all?
Thanks! Please keep in mind that I'm in 8th grade trying to figure this out, so the simpler the answer, the better. I am willing to try to figure out stuff, though. Any answers would be appreciated.
Edit: Yes, this particular system is unsolvable (thanks to Jack D'Aurizio and others), but I kind of wanted to know how to find a general way to calculate solutions or the absence of solutions when the determinant is zero and the matrix has no inverse. In other words, mainly questions two and three now.
Best Answer
In $Ax=b$ form, the will be at least one solution if and only if $b$ is in the column space of $A$.
If $A$ is a square matrix, there is a unique solution if and only if $\det(A) \ne 0$.
Putting these tests together we have for all square matrices $A$, $Ax=b$ has
A more general but also slightly more tedious (sometimes) method that will work for non-square matrices is to row reduce the augmented matrix $[A\mid b]$. If you get