I'm looking to find the line of intersection between x + y - z = 4 and -x - y - z = 1.
I've tried the methods suggested in other stackexchange posts, as well as following online tutorials, but they dont seem to work based on the setup of the equations. What happens is everything cancels out leaving me with z = -2.5 or something, and I'm just left confused. Any help to find this line in vector form?
We have a system of two equations in 3 variables, in matrix form
$$\begin{bmatrix} 1 & 1 & -1 & | & 4\\ -1 & -1 & -1 & | & 1\end{bmatrix}$$
which after adding the equations becomes
$$\begin{bmatrix} 1 & 1 & -1 & | & 4\\ 0 & 0 & -2 & | & 5\end{bmatrix}$$
It shows that $y$ is the "free variable" and we can solve the rest in terms of it: set $y=t \in \Bbb R$, then the last equation is simple and just gives $z=-\frac52$, backsubstituting $y=t$ and $z = -\frac{5}{2}$ in the first equation gives $$x+t + \frac{5}{2}=4 \iff x = \frac{3}{2}- t$$
which gives the line of intersection as
$$\begin{pmatrix}x\\y\\z\end{pmatrix} = \begin{pmatrix}\frac{3}{2}\\0\\-\frac{5}{2}\end{pmatrix} + t \begin{pmatrix}-1\\1\\0\end{pmatrix}$$