Example
Consider the system of planes:
We have two equations in three unknowns. First, we need to eliminate one of the variables. Adding two times the second equation to the first equation will allow us to eliminate y (we can eliminate any of the three, but this is the simplest in this case):
Let z=λ. (This is necessary since we have three equations in two unknowns, which means it's impossible to find a single solution to this system, but that's okay: we're looking for a line that defines infinite solutions. Since our final line will include the parameter λ (or t, or μ, or whatever you'd like to call it), it's fair game to replace one of the variables with this parameter. This will just mean that in our final solution, the position vector will have z=0 and the direction vector will have z=1λ.) Then
Now we substitute x=2−λ AND z=λ into the equation 2x−y+z=3:
This gives the vector
⎝⎛xyz⎠⎞=⎝⎛2−λ1−λλ⎠⎞
which defines a line. Finally, we rewrite this in the more conventional way by separating the direction and position vectors. Thus the line of intersection between the two planes is:
r=⎝⎛210⎠⎞+t⎝⎛−1−11⎠⎞
The specific values will of course change for any two planes, but these steps work in every case where the system has solutions.