Science:Math Exam Resources/Courses/MATH152/April 2011/Question A 16/Solution 2

From UBC Wiki

Since a vector on the line has to be on each plane, it has to be a solution of a linear system. We have the following equations

which is a linear system with 2 equations in 3 unknowns. We can write it in an augmented matrix as

We will swap the first two rows and then row reduce to get

We notice there is a free variable and we let x = t. We then get

Therefore we get that the solution, s, is

The direction part of the line, v is [1,-1,-1]. However to make it length 1 we must divide by its magnitude, to get,

just like in solution 1.