Skip to main content

Section 2.3 Lines and planes in \(\mathbb{R}^2\) and \(\mathbb{R}^3\)

In this section we apply the tools we developed in the previous two sections to the study of lines and planes. We start by describing two different ways of describing lines in \(\mathbb{R}^2\text{,}\) and then see that those methods generalize differently to lines and planes in \(\mathbb{R}^3\text{.}\)

Subsection 2.3.1 Lines in \(\mathbb{R}^2\)

In previous mathematics courses you have seen that most lines in \(\mathbb{R}^2\) can be expressed by equations of the form \(y = ax+b\text{,}\) where \(a\) is the slope of the line and \(b\) is the \(y\)-intercept of the line. One downside to this kind of equation is that not every line can be expressed in this way; specifically, vertical lines do not have equations of this form. By slightly rearranging we get another form that addresses this problem.

Definition 2.3.1.

The general form equation of a line \(L\) is an equation of the form

\begin{equation*} ax+by=c\text{,} \end{equation*}

where \(a\text{,}\) \(b\text{,}\) and \(c\) are constants, such that the points on \(L\) are exactly the points \((x, y)\) that satisfy the equation.

The equation \(x = 5\) is the general equation of a vertical line. There is no point-slope equation for this line.

Let \(L\) be the line in \(\mathbb{R}^2\) that passes through the points \((1, 3)\) and \((-1, 7)\text{.}\) The equation of this line in point-intercept form is \(y=-2x+5\text{.}\) Rearranging this we get the general form equation \(2x+y=5\text{.}\)

Notice that we could have rearranged the equation a bit differently, and obtained \(-2x-y=-5\text{.}\) This is also a general form equation for the same line \(L\text{,}\) because the solutions to this equation are the same as the solutions to the equation \(2x+y=5\text{.}\) In fact, if we multiply both sides of our equation by any non-zero constant we will get another general form equation for the same line. Thus, for instance, \(8x+4y=20\) is another general equation for \(L\text{.}\)

We now turn to interpreting the general form equation using vectors. Given a general equation \(ax+by=c\text{,}\) let \(\vec{n} = \begin{bmatrix}a\\b\end{bmatrix}\) and \(\vec{v} = \begin{bmatrix}x\\y\end{bmatrix}\text{.}\) Then we see that the general equation \(ax+by=c\) is equivalent to \(\vec{n} \cdot \vec{v} = c\text{.}\) In order to explain what the number \(c\) means, it is useful to draw a picture and consider an example.

We once again consider the line \(L\) with general form equation \(2x+y=5\text{.}\) Let \(\vec{n} = \begin{bmatrix}2\\1\end{bmatrix}\text{,}\) \(\vec{v} = \begin{bmatrix}x\\y\end{bmatrix}\text{,}\) and \(\vec{p} = \begin{bmatrix}1\\3\end{bmatrix}\text{.}\)

Figure 2.3.5. The line \(2x+y=5\) with the vectors \(\vec{n}, \vec{v}, \vec{p}\text{.}\)

We can see from the image that \(\vec{n}\) is orthogonal to the direction of the line \(L\text{.}\) Moreover, if \((x, y)\) is a point on \(L\) then \(\vec{v} - \vec{p}\) is a vector in the direction of \(L\text{.}\) Thus \(\vec{v}-\vec{p} \perp \vec{n}\text{,}\) meaning \((\vec{v} - \vec{p})\cdot \vec{n} = 0\text{.}\) Expanding this and rearranging we get \(\vec{n}\cdot\vec{v} = \vec{n}\cdot\vec{p}\text{.}\) The left side expands to \(2x+y\text{,}\) and the right side expands to \(5\text{.}\)

As an exercise, take a moment to verify that if you take \(\vec{p}\) to be the vector to another point on the line (instead of \((1, 3)\)) then it is still true that \(\vec{p}\cdot\vec{n} = 5\text{.}\)

The phenomenon of the example works for every line: Given \(ax+by=c\text{,}\) the vector \(\vec{n} = \begin{bmatrix}a\\b\end{bmatrix}\) is orthogonal to the direction of the line, and if \(\vec{p}\) is the vector from the origin to any fixed point on the line, then \(\vec{n}\cdot\vec{p} = c\text{.}\)

Definition 2.3.6.

Let \(L\) be a line in \(\mathbb{R}^2\text{.}\) Let \(\vec{n}\) be a vector orthogonal to the direction of the line, and let \(\vec{p}\) be the vector from the origin to any fixed point on the line. Let \(\vec{v} = \begin{bmatrix}x\\y\end{bmatrix}\text{.}\) The normal form equation of the line \(L\) is the equation

\begin{equation*} \vec{n}\cdot\vec{v} = \vec{n}\cdot\vec{p}\text{.} \end{equation*}

The vector \(\vec{n}\) is called the normal vector to the line.

It is important to notice that the general form equation and the normal form equation are fundamentally the same equation, just represented in different ways. In particular, the normal vector to the line \(ax+by=c\) is \(\vec{n} = \begin{bmatrix}a\\b\end{bmatrix}\text{,}\) and the number \(c\) can be found by taking the dot product of the normal vector with any point on the line.

We now turn to a different way of describing a line in \(\mathbb{R}^2\text{.}\) Instead of describing a line by giving an equation that the points on the line must satisfy, we instead describe how to create the line by starting at a particular point and then following the direction of the line.

Definition 2.3.7.

Let \(L\) be a line in \(\mathbb{R}^2\text{.}\) Let \(\vec{d}\) be a vector such that if \(P\) is any point on \(L\) then starting from \(P\) and following any multiple of \(\vec{d}\) results in another point on \(L\) (such a vector is called a direction vector for the line). Let \(\vec{p}\) be a vector which, in standard position, ends on \(L\text{.}\) Let \(\vec{v} = \begin{bmatrix}x\\y\end{bmatrix}\text{.}\) The vector form equation of \(L\) is the equation

\begin{equation*} \vec{v} = \vec{p}+t\vec{d}\text{.} \end{equation*}

The variable \(t\) appearing in the vector equation is a parameter. Given any value of \(t\text{,}\) we can plug that value in to \(\vec{p}+t\vec{d}\) to get the coordinates of a point on the line. Conversely, given any point \(\vec{q}\) on the line, there is a unique value of \(t\) such that \(\vec{q} = \vec{p}+t\vec{d}\text{.}\) We may use any variable, not just \(t\text{,}\) as the name of the parameter.

We continue again with the line \(L\) passing through \(P = (1, 3)\) and \(Q = (-1, 7)\text{.}\) A direction vector for this line is \(\vec{d} = \vec{PQ} = \begin{bmatrix}-2\\4\end{bmatrix}\text{.}\) We could take any multiple of this vector as a direction vector instead, so let us choose to use \(\vec{d} = \begin{bmatrix}1\\-2\end{bmatrix}\text{.}\) A vector form equation of \(L\) is:

\begin{equation*} \begin{bmatrix}x\\y\end{bmatrix} = \begin{bmatrix}1\\3\end{bmatrix} + t\begin{bmatrix}1\\-2\end{bmatrix}\text{.} \end{equation*}

If we choose \(t=3\text{,}\) we find that \(\begin{bmatrix}1\\3\end{bmatrix} + 3\begin{bmatrix}1\\-2\end{bmatrix} = \begin{bmatrix}4\\-3\end{bmatrix}\text{,}\) so we find that \((4, -3)\) is a point on \(L\text{.}\)

We already know that \((-1, 7)\) is a point on the line. Therefore there should be a number \(t\) such that \(\begin{bmatrix}-1\\7\end{bmatrix} = \begin{bmatrix}1\\3\end{bmatrix} + t\begin{bmatrix}1\\-2\end{bmatrix}\text{.}\) By expanding this vector equation into a system of two linear equations we can find that \(t=-2\text{.}\)

The vector equation we found is not the only one. We can choose any point on the line, so another perfectly good vector equation for this line is:

\begin{equation*} \begin{bmatrix}x\\y\end{bmatrix} = \begin{bmatrix}-1\\7\end{bmatrix}+s\begin{bmatrix}1\\-2\end{bmatrix}\text{.} \end{equation*}

Given a vector equation \(\begin{bmatrix}x\\y\end{bmatrix} = \begin{bmatrix}p_1\\p_2\end{bmatrix} + t\begin{bmatrix}d_1\\d_2\end{bmatrix}\) we can expand it into two equations:

\begin{gather*} x = p_1+td_1\\ y = p_2+td_2 \end{gather*}

These equations are called a parametric form equation of the line. Since the parametric form and the vector form are so closely related, we will usually not distinguish between them.

Subsection 2.3.2 Lines in \(\mathbb{R}^3\)

In \(\mathbb{R}^2\) the only "flat" objects are straight lines. When we move up to \(\mathbb{R}^3\) we have two different kinds of "flat" objects, namely lines and planes. We start with lines, and will explore planes in the next section.

It is easiest to start with the vector form equations. A line in \(\mathbb{R}^3\) can be described by specifying a point on the line and a direction vector for the line, just like we did in \(\mathbb{R}^2\text{.}\)

Definition 2.3.9.

Let \(L\) be a line in \(\mathbb{R}^3\text{.}\) Let \(\vec{v} = \begin{bmatrix}x\\y\\z\end{bmatrix}\text{,}\) let \(\vec{p}\) be a vector to a point on \(L\text{,}\) and let \(\vec{d}\) be a direction vector for the line. A vector form equation of the line \(L\) is the equation

\begin{equation*} \vec{v} = \vec{p}+t\vec{d} \end{equation*}

Let \(L\) be the line in \(\mathbb{R}^3\) passing through \(P = (1, 2, 3)\) and \(Q = (-1, 0, 1)\text{.}\) A direction vector for \(L\) is \(\vec{d} = \vec{PQ} = \begin{bmatrix}-2\\-2\\-2\end{bmatrix}\text{.}\) We can use any multiple of this as a direction vector, so we choose to use \(\vec{d} = \begin{bmatrix}1\\1\\1\end{bmatrix}\text{.}\) A vector equation for \(L\) is thus:

\begin{equation*} \begin{bmatrix}x\\y\\z\end{bmatrix} = \begin{bmatrix}1\\2\\3\end{bmatrix} + t\begin{bmatrix}1\\1\\1\end{bmatrix}\text{.} \end{equation*}

As in \(\mathbb{R}^2\text{,}\) expanding out the vector equation into three linear equations gives the parametric form.

Our next goal is to describe the general form and normal form equations for a line. This turns out to be more complicated in \(\mathbb{R}^3\) than it is in \(\mathbb{R}^2\text{,}\) because in \(\mathbb{R}^3\) there are infinitely many different directions that are orthogonal to any fixed line. At any particular point the vectors that are orthogonal to a line form a plane, so to give a normal form equation for the line we will need to give enough normal vectors to describe this plane. Intuitively, you might expect that planes are ``two-dimensional", and hence that two (non-parallel) vectors should be sufficient. This is true (but it will be some time before we are ready to make it precise).

Definition 2.3.11.

The normal equations for a line in \(\mathbb{R}^3\) are a system of two equations,

\begin{gather*} \vec{n_1}\cdot\vec{v} = \vec{n_1}\cdot\vec{p}\\ \vec{n_2}\cdot\vec{v} = \vec{n_2}\cdot\vec{p} \end{gather*}

Here \(\vec{v} = \begin{bmatrix}x\\y\\z\end{bmatrix}\text{,}\) \(\vec{p}\) is a vector to any chosen point on the line, and \(\vec{n_1}\) and \(\vec{n_2}\) are non-parallel vectors each of which is orthogonal to the line.

If we expand the dot products we obtain a system of two linear equations, which is referred to as the general form equations of the line.

Let us find normal and general equations for the line from the previous example, which is the line passing through \(P = (1, 2, 3)\) and \(Q = (-1, 0, 1)\text{.}\) A direction vector for this line is \(\vec{d} = \begin{bmatrix}1\\1\\1\end{bmatrix}\text{.}\) We need to find two normal vectors, that is, two non-parallel, non-zero vectors \(\vec{n_1}\) and \(\vec{n_2}\) such that \(\vec{n_1}\cdot\vec{d} = 0 = \vec{n_2}\cdot\vec{d}\text{.}\) There are several ways we could do this:

  • By inspection, i.e., by guess-and-check.

  • By inspection for \(\vec{n_1}\text{,}\) and then using a cross product to find \(\vec{n_2}\text{.}\)

  • By setting up a system of equations.

The first two methods both rely on some guesswork, and the second one uses a technique (the cross product) that will not be part of this course, so we illustrate the third (and most systematic) method.

Let \(\vec{n_1} = \begin{bmatrix}a\\b\\c\end{bmatrix}\text{.}\) The equation \(\vec{n_1}\cdot\vec{d} = 0\) in this example expands to \(a+b+c=0\text{.}\) If we rearrange this a bit, we get \(a = -b-c\text{,}\) so that:

\begin{equation*} \begin{bmatrix}a\\b\\c\end{bmatrix} = \begin{bmatrix}-b-c\\b\\c\end{bmatrix} = b\begin{bmatrix}-1\\1\\0\end{bmatrix} + c\begin{bmatrix}-1\\0\\1\end{bmatrix}\text{.} \end{equation*}

We now see that we can choose any values of \(b\) and \(c\) that we like, and we will be able to get a normal vector for the line. To ensure that we get two non-parallel normal vectors we will get \(\vec{n_1}\) by choosing \(b=1, c=0\) and we will get \(\vec{n_2}\) by choosing \(b=0, c=1\text{.}\) We thus get:

\begin{equation*} \vec{n_1} = \begin{bmatrix}-1\\1\\0\end{bmatrix} \end{equation*}
\begin{equation*} \vec{n_2} = \begin{bmatrix}-1\\0\\1\end{bmatrix} \end{equation*}

Now we need \(\vec{p}\text{,}\) for which we can take any point on the line. For this example we will choose \(\vec{p} = \begin{bmatrix}1\\2\\3\end{bmatrix}\text{,}\) but any other point on the line would also be fine. We are now prepared to write down normal form equations of our line:

\begin{gather*} \begin{bmatrix}-1\\1\\0\end{bmatrix}\cdot\begin{bmatrix}x\\y\\z\end{bmatrix} = \begin{bmatrix}-1\\1\\0\end{bmatrix}\cdot\begin{bmatrix}1\\2\\3\end{bmatrix}\\ \begin{bmatrix}-1\\0\\1\end{bmatrix}\cdot\begin{bmatrix}x\\y\\z\end{bmatrix} = \begin{bmatrix}-1\\0\\1\end{bmatrix}\cdot\begin{bmatrix}1\\2\\3\end{bmatrix} \end{gather*}

To turn this into general form equations we simply expand the dot products. We calculate \(\vec{n_1}\cdot\vec{p} = 1\) and \(\vec{n_2}\cdot\vec{p} = 2\text{.}\) The general form equations are:

\begin{gather*} -x+y=1 \\ -x+z=2 \end{gather*}

In this example we will reverse what we did in example Example 2.3.12. Suppose that we are told that a line has general equations

\begin{gather*} -x+y=1 \\ -x+z=2 \end{gather*}

and we wish to find a vector equation.

We notice that the general equations are a system of two linear equations in three variables. If we set these up in an augmented matrix and row reduce, we have:

\begin{equation*} \matr{ccc|c} { -1 \amp 1 \amp 0 \amp 1 \\ -1 \amp 0 \amp 1 \amp 2 } \to \matr{ccc|c} { 1 \amp 0 \amp -1 \amp -2 \\ 0 \amp 1 \amp -1 \amp -1 } \end{equation*}

That is, we have \(x-z=-2\) (so \(x=z-2\)) and \(y-z=-1\) (so \(y=z-1\)). Writing this as a vector, we have:

\begin{equation*} \begin{bmatrix}x\\y\\z\end{bmatrix} = \begin{bmatrix}z-2\\z-1\\z\end{bmatrix} = \begin{bmatrix}-2\\-1\\0\end{bmatrix} + z\begin{bmatrix}1\\1\\1\end{bmatrix}\text{.} \end{equation*}

This is already a vector equation, but if we want to make it look more like the forms we have seen before we could choose to introduce a parameter \(t\text{,}\) set \(z=t\text{,}\) and obtain:

\begin{equation*} \begin{bmatrix}x\\y\\z\end{bmatrix} = \begin{bmatrix}-2\\-1\\0\end{bmatrix} + t\begin{bmatrix}1\\1\\1\end{bmatrix}\text{.} \end{equation*}

It is worth noticing that we obtained the same direction vector that we found in Example 2.3.12. This time our equation used the point \(\begin{bmatrix}-2\\-1\\0\end{bmatrix}\text{,}\) but since the vector equation can use any point on the line this is not a problem.

In summary, a line in \(\mathbb{R}^3\) is described by a vector equation with one direction vector, or by two normal or general form equations, and we have seen how to translate between these forms.

Subsection 2.3.3 Planes in \(\mathbb{R}^3\)

We now turn to planes in \(\mathbb{R}^3\text{.}\) While a line in \(\mathbb{R}^3\) can be described by either one direction vector or two normal vectors, describing a plane requires two direction vectors or one normal vector. You might notice that for both lines and planes the number of direction vectors plus the number of normal vectors is \(3\text{,}\) and we are working in \(\mathbb{R}^3\text{.}\) This is certainly not an accident, but we will have to wait until Chapter 6 for a full explanation.

Definition 2.3.14.

The normal equation of a plane in \(\mathbb{R}^3\) is an equation of the form

\begin{equation*} \vec{n}\cdot\vec{v} = \vec{n}\cdot\vec{p}\text{.} \end{equation*}

Here \(\vec{v} = \begin{bmatrix}x\\y\\z\end{bmatrix}\text{,}\) \(\vec{p}\) is a vector to any chosen point on the plane, and \(\vec{n}\) is a vector orthogonal to the plane.

If we expand the dot product in the normal equation of a plane we obtain the general equation of the plane.

Definition 2.3.15.

The vector equation of a plane in \(\mathbb{R}^3\) is an equation of the form

\begin{equation*} \vec{v} = \vec{p}+t\vec{d_1}+s\vec{d_2}\text{.} \end{equation*}

Here \(\vec{v} = \begin{bmatrix}x\\y\\z\end{bmatrix}\text{,}\) \(\vec{p}\) is a vector to any chosen point on the plane, and \(\vec{d_1}\) and \(\vec{d_2}\) are non-parallel direction vectors for the plane.

The three equations obtained by looking at the \(x, y, z\) components of the vector equation are the parametric equations for the plane.

Consider the plane passing through the points \(P = (1, 2, 1)\text{,}\) \(Q = (0, 0, 1)\text{,}\) and \(R = (-1, 0, -1)\text{.}\) Two direction vectors for this plane are \(\vec{QP} = \begin{bmatrix}1\\2\\0\end{bmatrix}\) and \(\vec{QR} = \begin{bmatrix}-1\\0\\-2\end{bmatrix}\text{.}\) Thus a vector equation for the plane is

\begin{equation*} \begin{bmatrix}x\\y\\z\end{bmatrix} = \begin{bmatrix}1\\2\\1\end{bmatrix} + t\begin{bmatrix}1\\2\\0\end{bmatrix} + s\begin{bmatrix}-1\\0\\-2\end{bmatrix}\text{.} \end{equation*}

As with the other examples in this chapter, this is not the only possible vector equation for this plane.

To obtain a normal equation we need to find a normal vector for the plane, that is, a vector that is orthogonal to both of the two direction vectors we have. If you know about the cross product you can take \(\vec{n} = \vec{QP}\times\vec{QR}\text{.}\) Alternatively, if \(\vec{n} = \begin{bmatrix}a\\b\\c\end{bmatrix}\) then we need \(0 = \vec{n}\cdot\vec{QP} = a+2b\) and \(0 = \vec{n}\cdot\vec{QR} = -a-2c\text{,}\) yielding a system of equations we can solve. Regardless of which method we use to find \(\vec{n}\text{,}\) the only possible choices for \(\vec{n}\) are multiples of \(\vec{n} = \begin{bmatrix}2\\-1\\-1\end{bmatrix}\text{.}\) We then choose \(\vec{p} = \begin{bmatrix}1\\2\\1\end{bmatrix}\) (but any other point on the plane would also be fine), to get the normal equation

\begin{equation*} \begin{bmatrix}2\\-1\\-1\end{bmatrix}\cdot\begin{bmatrix}x\\y\\z\end{bmatrix} = \begin{bmatrix}2\\-1\\-1\end{bmatrix}\cdot\begin{bmatrix}1\\2\\1\end{bmatrix}\text{.} \end{equation*}

If we expand the dot products we get the general equation

\begin{equation*} 2x-y-z = -1\text{.} \end{equation*}

You can verify that this equation is correct by checking that the points \(P, Q, R\) all satisfy the equation.

As an illustration of the techniques we have developed so far, we end this section with an example of finding the shortest distance from a point to a plane. We will solve the next example in two ways, because the two techniques are sometimes useful in different circumstances.

Find point on the plane \(x-y-2z=1\) that is closest to \(B = (1, 1, 1)\text{.}\)

Solution 1.

The key observation is that the shortest distance from \(B\) to our plane will be made at a point \(C\) on the plane where the vector \(\vec{BC}\) is normal to the plane. We begin by finding any point on the plane, that is, any point that satisfies the equation \(x-y-2z=1\text{;}\) the point \(A = (1, 0, 0)\) will do. Now consider the vector \(\vec{AB} = \begin{bmatrix}0\\1\\1\end{bmatrix}\text{.}\) This vector goes from the plane to \(B\text{,}\) but it isn't normal to the plane. What we're interested in is the component of \(\vec{AB}\) along the direction normal to the plane. That is, the distance we want is \(\norm{\operatorname{proj}_{\vec{n}}(\vec{AB})}\text{.}\)

The only ingredient we haven't found yet is the normal vector \(\vec{n}\) to the plane. Finding \(\vec{n}\) is exactly the same as it was for finding the normal vector to a line in \(\mathbb{R}^2\text{;}\) we just read the coefficients from the general equation. Thus our normal vector is \(\vec{n} = \begin{bmatrix}1\\-1\\-2\end{bmatrix}\text{.}\)

Finally, we do the required calculation. The shortest distance from the plane to \(B = (1, 1, 1)\) is:

\begin{align*} \norm{\operatorname{proj}_{\vec{n}}(\vec{AB})} \amp = \norm{\operatorname{proj}_{\begin{bmatrix}1\\-1\\-2\end{bmatrix}}\left(\begin{bmatrix}0\\1\\1\end{bmatrix}\right)} \\ \amp = \norm{\left(\frac{\begin{bmatrix}1\\-1\\-2\end{bmatrix}\cdot\begin{bmatrix}0\\1\\1\end{bmatrix}}{\begin{bmatrix}1\\-1\\-2\end{bmatrix}\cdot\begin{bmatrix}1\\-1\\-2\end{bmatrix}}\right)\begin{bmatrix}1\\-1\\-2\end{bmatrix}} \\ \amp = \norm{\begin{bmatrix}-1/2\\1/2\\1\end{bmatrix}} \\ \amp = \sqrt{(-1/2)^2+(1/2)^2+1^2}\\ \amp = \sqrt{3/2} \end{align*}

Therefore the shortest distance from \(B = (1, 1, 1)\) to a point on the plane \(x-y-2z=1\) is \(\sqrt{3/2}\text{.}\)

If we wanted to find the point on the plane where this distance occured, we want to follow the direction of \(\vec{n}\) from \(B\) for a distance of \(\sqrt{3/2}\text{.}\) First, let

\begin{equation*} \vec{m} = \frac{1}{\norm{\vec{n}}}\vec{n} = \begin{bmatrix}1/\sqrt{6} \\ -1/\sqrt{6} \\ -2/\sqrt{6}\end{bmatrix} \end{equation*}

be the unit vector in the direction of \(\vec{n}\text{.}\) We will be starting at \(B\text{,}\) but we aren't yet sure if we want to travel along \(\sqrt{3/2}\vec{m}\) or \(-\sqrt{3/2}\vec{m}\text{.}\) The easiest solution is to do both, and consider the points \(C_1 = B + \sqrt{3/2}\vec{m} = (3/2, 1/2, 0)\) and \(C_2 = B-\sqrt{3/2}\vec{m} = (1/2, 3/2, 2)\text{.}\) We see that only the point \(C_1\) satisfies the plane's equation \(x-y-2z=1\text{,}\) so that's the point we're looking for.

The point on the plane \(x-y-2z=1\) closest to \(B = (1, 1, 1)\) is therefore \(C = (3/2, 1/2, 0)\text{.}\)

Solution 2.

We now give a second solution to the same problem, which uses a different approach. As described in the first solution, we know that we are looking for a point on the plane that can be reached from \(B\) by following the vector normal to the plane. We also know from the general equation of the plane that the normal vector is \(\vec{n} = \begin{bmatrix}1\\-1\\-2\end{bmatrix}\text{.}\) We are therefore looking for a point that satisfies \(x-y-2z=1\) and lies on the line given in vector form as \(\begin{bmatrix}x\\y\\z\end{bmatrix} = \begin{bmatrix}1\\1\\1\end{bmatrix}+t\begin{bmatrix}1\\-1\\-2\end{bmatrix}\text{.}\) That is, we want all of the following equations to be satisfied:

\begin{gather*} x-y-2z=1\\ x=1+t\\ y=1-t\\ z=1-2t \end{gather*}

Substituting the last three equations into the first one, we get:

\begin{equation*} (1+t)-(1-t)-2(1-2t)=1\text{,} \end{equation*}

and the only solution to this equation is \(t = 1/2\text{.}\) The point we are looking for is therefore

\begin{equation*} C = B + \frac{1}{2}\vec{n} = (3/2, 1/2, 0), \end{equation*}

which is the same answer we found in the first solution. If we wanted to know what the distance is, we could compute \(\norm{\vec{BC}} = \sqrt{3/2}\text{,}\) which is also the same answer we found in the first solution.

Exercises 2.3.4 Exercises

1.

Find the vector equation for the line through \((-7,6,0)\) and \((-1,1,4)\text{.}\) Then, find the parametric equations for this line.
Hint 1.
The vector equation of a line \(\ell\) through points \(P\) and \(Q\) is given by
\begin{equation*} \vec{x} = \vect{OP} + t \vect{PQ} . \end{equation*}
Hint 2.
The parametric equations of a line \(\ell\) are the equations for each of the coordinates in the vector equation.
Answer.

The vector equation is given by:
\begin{equation*} \vec{x} = \begin{bmatrix} -7\\ 6 \\ 0 \end{bmatrix} + t \begin{bmatrix} 6\\ -5 \\ 4 \end{bmatrix} , \end{equation*}
and the parametric equations by
\begin{equation*} x_1 = -7 + 6t ; x_2 = 6 - 5t ; x_3 = 4t . \end{equation*}
Solution.

The vector equation of the line is given by
\begin{equation*} \vec{x} = \begin{bmatrix} -7\\ 6 \\ 0 \end{bmatrix} + t \left( \begin{bmatrix} -1\\ 1 \\ 4 \end{bmatrix} - \begin{bmatrix} -7\\ 6 \\ 0 \end{bmatrix} \right) = \begin{bmatrix} -7\\ 6 \\ 0 \end{bmatrix} + t \begin{bmatrix} 6\\ -5 \\ 4 \end{bmatrix} . \end{equation*}
To check that we did not make a mistake: for \(t=0\text{,}\) we are indeed at the point \((-7,6,0)\text{,}\) and for \(t=1\text{,}\) we are at the point
\begin{equation*} \begin{bmatrix} -7\\ 6 \\ 0 \end{bmatrix} + \begin{bmatrix} 6\\ -5 \\ 4 \end{bmatrix} = \begin{bmatrix} -1\\ 1 \\ 4 \end{bmatrix} , \end{equation*}
the second point. For the parametric equations, we just have to rephrase the above vector equation in terms of its coordinates:
\begin{equation*} x_1 = -7 + 6t ; x_2 = 6 - 5t ; x_3 = 4t . \end{equation*}

2.

Find the vector and parametric form of the following lines:
  1. The line parallel to \(\begin{bmatrix} 2 \\ -1\\ 0 \end{bmatrix} \) and passing through \(P=(1,-1,3)\text{.}\)

    Solution.

    The vector equation is given by

    \begin{equation*} \vec{x} = \begin{bmatrix} 1\\ -1 \\ 3 \end{bmatrix} + t \begin{bmatrix} 2 \\ -1\\ 0 \end{bmatrix} , \end{equation*}

    because for \(t=0\text{,}\) we are at the perscribed point, and the directional vector has the perscribed direction.

    The parametric form is therefore given by

    \begin{equation*} x_1 = 1 +2t ; x_2 = -1 - t ; x_3 = 3 . \end{equation*}
    Answer.

    Vector equation:

    \begin{equation*} \vec{x} = \begin{bmatrix} 1\\ -1 \\ 3 \end{bmatrix} + t \begin{bmatrix} 2 \\ -1\\ 0 \end{bmatrix} , \end{equation*}

    Parametric form:

    \begin{equation*} x_1 = 1 +2t ; x_2 = -1 - t ; x_3 = 3 . \end{equation*}

  2. The line passing through \(P=(3, -1,4)\) and \(Q=(1,0,-1)\text{.}\)

    Solution.

    Our line can be described by \(\vec{x} = \vect{OP} + t\vect{PQ}\) since this makes sure that, for \(t=0\text{,}\) our line passes through \(P\text{,}\) and for \(t=1\text{,}\) it passes through \(Q\text{.}\) The vector equation is therefore given by

    \begin{equation*} \vec{x} = \begin{bmatrix} 3\\-1\\4 \end{bmatrix} + t \left( \begin{bmatrix} 1\\0\\-1 \end{bmatrix} - \begin{bmatrix} 3\\-1\\4 \end{bmatrix} \right) = \begin{bmatrix} 3\\-1\\4 \end{bmatrix} + t \begin{bmatrix} -2\\1\\-5 \end{bmatrix} , \end{equation*}

    The parametric form is therefore given by

    \begin{equation*} x_1 = 3 - 2t ; x_2 = -1 + t ; x_3 = 4 - 5t . \end{equation*}
    Answer.

    Vector equation:

    \begin{equation*} \vec{x} = \begin{bmatrix} 3\\-1\\4 \end{bmatrix} + t \begin{bmatrix} -2\\1\\-5 \end{bmatrix} \end{equation*}

    Parametric form:

    \begin{equation*} x_1 = 3 - 2t ; x_2 = -1 + t ; x_3 = 4 - 5t \end{equation*}

  3. The line passing through the point \(P=(3, -1,4)\) and \(Q=(3,-1,5)\text{.}\)

    Solution.

    Our line can be described by \(\vec{x} = \vect{OP} + t\vect{PQ}\) since this makes sure that, for \(t=0\text{,}\) our line passes through \(P\text{,}\) and for \(t=1\text{,}\) it passes through \(Q\text{.}\) The vector equation is therefore given by

    \begin{equation*} \vec{x} = \begin{bmatrix} 3\\-1\\4 \end{bmatrix} + t \left( \begin{bmatrix} 3\\-1\\5 \end{bmatrix} - \begin{bmatrix} 3\\-1\\4 \end{bmatrix} \right) = \begin{bmatrix} 3\\-1\\4 \end{bmatrix} + t \begin{bmatrix} 0\\0\\1 \end{bmatrix} \end{equation*}

    The parametric form is then

    \begin{equation*} x_1 = 3 ; x_2 = -1 ; x_3 = 4+t . \end{equation*}
    Answer.

    Vector equation:

    \begin{equation*} \vec{x} = \begin{bmatrix} 3\\-1\\4 \end{bmatrix} + t \begin{bmatrix} 0\\0\\1 \end{bmatrix} \end{equation*}

    Parametric form:

    \begin{equation*} x_1 = 3 ; x_2 = -1 ; x_3 = 4+t \end{equation*}

  4. The line parallel to \(\begin{bmatrix} 1 \\ 1\\ 1 \end{bmatrix} \) and passing through \(P=(1,1,1)\text{.}\)

    Solution.

    The vector equation is given by

    \begin{equation*} \vec{x} = \begin{bmatrix} 1\\1\\1 \end{bmatrix} + t \begin{bmatrix} 1\\1\\1 \end{bmatrix} , \end{equation*}

    because for \(t=1\text{,}\) we are at the perscribed point, and we have given the line the perscribed direction.

    The parametric form is therefore given by

    \begin{equation*} x_1 = 1+t ; x_2 = 1+t ; x_3 = 1+t . \end{equation*}
    Answer.

    Vector equation:

    \begin{equation*} \vec{x} = = \begin{bmatrix} 1\\1\\1 \end{bmatrix} + t \begin{bmatrix} 1\\1\\1 \end{bmatrix} \end{equation*}

    Parametric form:

    \begin{equation*} x_1 = 1+t ; x_2 = 1+t ; x_3 = 1+t \end{equation*}

  5. The line passing through \(P=(1,0,-3)\) and parallel to the line with parametric equations \(x_1 = -1 +2t\text{,}\) \(x_2 = 2-t\text{,}\) and \(x_3= 3+3t\text{.}\)

    Solution.

    First, let us find a directional vector for the line whose parametric equations are given. For \(t=0\text{,}\) that line passes through the point \(Q=(-1,2,3)\) and for \(t=1\text{,}\) it passes through \(R=(1,1,6)\text{.}\) Therefore, the vector

    \begin{equation*} \vect{QR}= \begin{bmatrix} 1-(-1) \\ 1-2 \\ 6-3 \end{bmatrix} = \begin{bmatrix} 2 \\ -1 \\ 3 \end{bmatrix} \end{equation*}

    gives the direction of said line.

    The vector equation of the line in question is therefore given by

    \begin{equation*} \vec{x} = \begin{bmatrix} 1 \\ 0\\ -3 \end{bmatrix} + t \begin{bmatrix} 2 \\ -1 \\ 3 \end{bmatrix} , \end{equation*}

    because for \(t=0\text{,}\) it passes through \(P\text{,}\) and it has the perscribed directional vector.

    The parametric form is then given by

    \begin{equation*} x_1 = 1+2t ; x_2 = -t ; x_3 = -3+3t . \end{equation*}
    Answer.

    Vector equation:

    \begin{equation*} \vec{x} = \begin{bmatrix} 1 \\ 0\\ -3 \end{bmatrix} + t \begin{bmatrix} 2 \\ -1 \\ 3 \end{bmatrix} \end{equation*}

    Parametric form:

    \begin{equation*} x_1 = 1+2t ; x_2 = -t ; x_3 = -3+3t. \end{equation*}

  6. The line passing through \(P=(2,-1,1)\) and parallel to the line with parametric equations \(x_1 =2-t\text{,}\) \(x_2 =1\) and \(x_3 = t\text{.}\)

    Solution.

    First, let us find a directional vector for the line whose parametric equations are given. For \(t=0\text{,}\) that line passes through the point \(Q=(2,1,0)\) and for \(t=1\text{,}\) it passes through \(R=(1,1,1)\text{.}\) Therefore, the vector

    \begin{equation*} \vect{QR}= \begin{bmatrix} 1-2 \\ 1-1 \\ 1-0 \end{bmatrix} = \begin{bmatrix} -1 \\ 0 \\ 1 \end{bmatrix} \end{equation*}

    gives the direction of said line.

    The vector equation of the line in question is therefore given by

    \begin{equation*} \vec{x} = \begin{bmatrix} 2 \\ -1 \\ 1 \end{bmatrix} + t \begin{bmatrix} -1 \\ 0 \\ 1 \end{bmatrix} \end{equation*}

    The parametric form is therefore given by

    \begin{equation*} x_1 = 2-t ; x_2 = -1 ; x_3 = 1+t . \end{equation*}
    Answer.

    Vector equation:

    \begin{equation*} \vec{x} = \begin{bmatrix} 2 \\ -1 \\ 1 \end{bmatrix} + t \begin{bmatrix} -1 \\ 0 \\ 1 \end{bmatrix} \end{equation*}

    Parametric form:

    \begin{equation*} x_1 = 2-t ; x_2 = -1 ; x_3 = 1+t \end{equation*}

  7. The lines through \(P=(1,0,1)\) that meet the line \(\ell\) whose vector equation is given by \(\mathbf{x} = \begin{bmatrix} 1 \\ 2\\ 0 \end{bmatrix} +t \begin{bmatrix} 2 \\ -1\\ 2 \end{bmatrix} \) at points with distance 3 from \(Q=(1,2,0)\text{.}\)

    Solution.

    First, let us find the points \(R\) on \(\ell\) that have distance \(3\) from \(Q\text{:}\) Having distance \(3\) means exactly that

    \begin{equation*} \norm{ \vect{QR} } = 3. \end{equation*}

    The fact that \(R\) is on \(\ell\) means that, for some real number \(t\text{,}\) we have

    \begin{equation*} \vect{OR} = \begin{bmatrix} 1 \\ 2\\ 0 \end{bmatrix} + t \begin{bmatrix} 2 \\ -1\\ 2 \end{bmatrix} \end{equation*}

    Thus,

    \begin{equation*} \vect{QR} = \left( \begin{bmatrix} 1 \\ 2\\ 0 \end{bmatrix} + t \begin{bmatrix} 2 \\ -1\\ 2 \end{bmatrix} \right) - \begin{bmatrix} 1\\2\\0 \end{bmatrix} = \begin{bmatrix} 2t \\ -t\\ 2t \end{bmatrix} \end{equation*}

    and we therefore want

    \begin{equation*} \norm{ \begin{bmatrix} 2t \\ -t\\ 2t \end{bmatrix} } = 3, \text{ i.e. } (2t)^2 + (-t)^2 + (2t)^2 = 9. \end{equation*}

    This means, we need \(9t^2=9\text{,}\) or in other words, \(t=\pm 1\text{.}\) Therefore, there are two points \(R_+, R_-\) on \(\ell\) which have distance \(3\) from \(Q\text{,}\) namely the points that satisfy

    \begin{equation*} \vect{O R_+} = \begin{bmatrix} 1 \\ 2\\ 0 \end{bmatrix} + 1 \begin{bmatrix} 2 \\ -1\\ 2 \end{bmatrix} = \begin{bmatrix} 3 \\ 1\\ 2 \end{bmatrix} \end{equation*}

    and

    \begin{equation*} \vect{OR_-} = \begin{bmatrix} 1 \\ 2\\ 0 \end{bmatrix} - 1 \begin{bmatrix} 2 \\ -1\\ 2 \end{bmatrix} = \begin{bmatrix} -1 \\ 3\\ -2 \end{bmatrix} . \end{equation*}

    Any line through \(P\) can be described by the vector equation

    \begin{equation*} \vec{x} = \vect{OP} + s \vec{d} \end{equation*}

    for some directional vector \(\vec{d}\text{.}\) For our line to go through \(R_+\text{,}\) we need to choose

    \begin{equation*} \vec{d} = \vect{PR_+} = \begin{bmatrix} 3 \\ 1\\ 2 \end{bmatrix} - \begin{bmatrix} 1 \\ 0\\ 1 \end{bmatrix} = \begin{bmatrix} 2 \\ 1\\ 1 \end{bmatrix} \end{equation*}

    and the vector equation for this line is then given by

    \begin{equation*} \vec{x} = \begin{bmatrix} 1 \\ 0\\ 1 \end{bmatrix} + s \begin{bmatrix} 2 \\ 1\\ 1 \end{bmatrix} . \end{equation*}

    Its parametric form is therefore given by

    \begin{equation*} x_1 = 1+2s ; x_2 = s ; x_3 = 1+s . \end{equation*}

    For the line to go through \(R_-\) on the other hand, we need to choose

    \begin{equation*} \vec{d} = \vect{PR_-} = \begin{bmatrix} -1 \\ 3\\ -2 \end{bmatrix} - \begin{bmatrix} 1 \\ 0\\ 1 \end{bmatrix} = \begin{bmatrix} -2 \\ 3\\ -3 \end{bmatrix} \end{equation*}

    and the vector equation for this line is then given by

    \begin{equation*} \vec{x} = \begin{bmatrix} 1 \\ 0\\ 1 \end{bmatrix} + s \begin{bmatrix} -2 \\ 3\\ -3 \end{bmatrix} . \end{equation*}

    Its parametric form is then given by

    \begin{equation*} x_1 = 1-2s ; x_2 = 3s ; x_3 = 1-3s . \end{equation*}
    Answer.

    There are two lines that meet the given line at distance \(3\) from \(Q\) and go through \(P\text{:}\)

    Vector equation of the first line:

    \begin{equation*} \vec{x} = \begin{bmatrix} 1 \\ 0\\ 1 \end{bmatrix} + t \begin{bmatrix} 2 \\ 1\\ 1 \end{bmatrix} \end{equation*}

    Parametric form of the first line:

    \begin{equation*} x_1 = 1+2t ; x_2 = t ; x_3 = 1+t \end{equation*}

    Vector equation of the second line:

    \begin{equation*} \vec{x} = \begin{bmatrix} 1 \\ 0\\ 1 \end{bmatrix} + t \begin{bmatrix} -2 \\ 3\\ -3 \end{bmatrix} \end{equation*}

    Parametric form of the second line:

    \begin{equation*} x_1 = 1-2t ; x_2 = 3t ; x_3 = 1-3t . \end{equation*}

3.

Find the normal, general, and vector form of each of the following planes. Hint.

In order to determine the normal form of a plane, you need both a single point \(P\) on the plane and a normal vector \(\vec{n}\) to the plane. See Definition 2.3.14.
  1. Passing through \(A=(2,1,3)\text{,}\) \(B=(1,1,3)\text{,}\) and \(C=(1,2,-3)\text{.}\)

    Solution.

    We begin by finding two direction vectors for this plane, namely \(\vec{d_1} = \vec{AB} = \begin{bmatrix}-1\\0\\0\end{bmatrix}\) and \(\vec{d_2} = \vec{AC} = \begin{bmatrix}-1\\1\\-6\end{bmatrix}\text{.}\) We can then use any point on the plane to give a vector equation, such as this one:

    \begin{equation*} \begin{bmatrix}x\\y\\z\end{bmatrix} = \begin{bmatrix}2\\1\\3\end{bmatrix} + t\begin{bmatrix}-1\\0\\0\end{bmatrix}+s\begin{bmatrix}-1\\1\\-6\end{bmatrix}\text{.} \end{equation*}

    To find the normal form we need a normal vector, that is, a vector \(\vec{n}\) such that \(\vec{n}\cdot\vec{d_1} = 0\) and \(\vec{n}\cdot\vec{d_2} = 0\text{.}\) If you are comfortable with the cross product, one solution is to take \(\vec{n} = \vec{d_1} \times \vec{d_2}\text{.}\) We are not teaching the cross product in this course, so we will find \(\vec{n}\) another way. Suppose that \(\vec{n} = \begin{bmatrix}a\\b\\c\end{bmatrix}\text{.}\) Then we need:

    \begin{equation*} 0 = \vec{n}\cdot\vec{d_1} = \begin{bmatrix}a\\b\\c\end{bmatrix} \cdot\begin{bmatrix}-1\\0\\0\end{bmatrix} = -a \end{equation*}
    \begin{equation*} 0 = \vec{n}\cdot\vec{d_2} = \begin{bmatrix}a\\b\\c\end{bmatrix}\cdot\begin{bmatrix}-1\\1\\-6\end{bmatrix} = -a+b-6c\text{.} \end{equation*}

    We have here a system of two linear equations in three variables, and any solution to the system will give us a normal vector. Solving the system using our usual techniques, we find that \(a=0, b=6, c=1\) is a solution, so we take \(\vec{n} = \begin{bmatrix}0\\6\\1\end{bmatrix}\text{.}\) Then if we use the point \(A\) to define our normal equation, we get

    \begin{equation*} \begin{bmatrix}x\\y\\z\end{bmatrix} \cdot \begin{bmatrix}0\\6\\1\end{bmatrix} = \begin{bmatrix}2\\1\\3\end{bmatrix} \cdot \begin{bmatrix}0\\6\\1\end{bmatrix}\text{.} \end{equation*}

    Finally, to find the general equation we just calculate the dot products in the normal equation, and get

    \begin{equation*} 6y+z = 9\text{.} \end{equation*}
    Answer.

    Normal form:

    \begin{equation*} \begin{bmatrix}x\\y\\z\end{bmatrix} \cdot \begin{bmatrix}0\\6\\1\end{bmatrix} = \begin{bmatrix}2\\1\\3\end{bmatrix} \cdot \begin{bmatrix}0\\6\\1\end{bmatrix} \end{equation*}

    (Other answers are possible).

    General form:

    \begin{equation*} 6y+z=9 \end{equation*}

    (Every correct answer is a non-zero multiple of this one).

    Vector form:

    \begin{equation*} \begin{bmatrix}x\\y\\z\end{bmatrix} = \begin{bmatrix}2\\1\\3\end{bmatrix} + t\begin{bmatrix}-1\\0\\0\end{bmatrix}+s\begin{bmatrix}-1\\1\\-6\end{bmatrix} \end{equation*}

    (Many other correct answers are also possible).

  2. Passing through \(A=(1,-1,6)\text{,}\) \(B=(0,0,1)\text{,}\) and \(C=(4,7,-11)\text{.}\)

    Solution.

    We follow the same strategy as in the previous example. As direction vectors we take \(\vec{d_1} = \vec{AB} = \begin{bmatrix}-1\\1\\-5\end{bmatrix}\) and \(\vec{d_2} = \vec{BC} = \begin{bmatrix}4\\7\\-12\end{bmatrix}\text{.}\) Then, using the point \(B\) this time as our chosen point on the plane, we get a vector equation:

    \begin{equation*} \begin{bmatrix}x\\y\\z\end{bmatrix} = \begin{bmatrix}0\\0\\1\end{bmatrix} + t\begin{bmatrix}-1\\1\\-5\end{bmatrix} + s\begin{bmatrix}4\\7\\-12\end{bmatrix}\text{.} \end{equation*}

    To find a normal vector, let \(\vec{n} = \begin{bmatrix}a\\b\\c\end{bmatrix}\text{.}\) Then we need:

    \begin{equation*} 0 = \vec{n}\cdot\vec{d_1} = -a+b-5c \end{equation*}
    \begin{equation*} 0 = \vec{n}\cdot\vec{d_2} = 4a+7b-12c\text{.} \end{equation*}

    One solution to this system is \(a=23, b=-32, c=-11\text{,}\) so we take \(\vec{n} = \begin{bmatrix}23\\-32\\-11\end{bmatrix}\text{.}\) Using the point \(B\text{,}\) our normal form equation is:

    \begin{equation*} \begin{bmatrix}x\\y\\z\end{bmatrix} \cdot \begin{bmatrix}23\\-32\\-11\end{bmatrix} = \begin{bmatrix}0\\0\\1\end{bmatrix}\cdot\begin{bmatrix}23\\-32\\-11\end{bmatrix}\text{.} \end{equation*}

    Finally, expanding the dot products above gives us the general equation:

    \begin{equation*} 23x-32y-11z = -11\text{.} \end{equation*}
    Answer.

    Normal form:

    \begin{equation*} \begin{bmatrix}x\\y\\z\end{bmatrix} \cdot \begin{bmatrix}23\\-32\\-11\end{bmatrix} = \begin{bmatrix}0\\0\\1\end{bmatrix}\cdot\begin{bmatrix}23\\-32\\-11\end{bmatrix} \end{equation*}

    General form:

    \begin{equation*} 23x-32y-11z = -11 \end{equation*}

    Vector form:

    \begin{equation*} \begin{bmatrix}x\\y\\z\end{bmatrix} = \begin{bmatrix}0\\0\\1\end{bmatrix} + t\begin{bmatrix}-1\\1\\-5\end{bmatrix} + s\begin{bmatrix}4\\7\\-12\end{bmatrix} \end{equation*}

  3. Passing through \(P=(2,-3,5)\) and parallel to the plane with general equation \(3x_1-2x_2-x_3=0\text{.}\)

    Solution.

    Two planes are parallel if and only if they have the same normal vectors. Therefore, we should first find a normal vector to the plane whose general equation is given: If we chose
    \begin{equation*} \vec{n} = \begin{bmatrix} 3 \\ -2 \\ -1 \end{bmatrix}, \end{equation*}
    then the given general form is equivalent to
    \begin{equation*} \vec{n} \cdot\vec{x} =0, \end{equation*}
    so \(\vec{n}\) is indeed a normal vector. With this at hand, any point \(X=(x_1,x_2,x_3)\) on the plane whose normal form we are after can be described by \(\vec{n}\cdot\vect{PX}=0\text{,}\) or more explicitly:
    \begin{equation*} \begin{bmatrix} 3 \\ -2 \\ -1 \end{bmatrix} \cdot \left( \vec{x} - \begin{bmatrix} 2 \\ - 3 \\ 5 \end{bmatrix} \right) =0 \end{equation*}
    To get the general form, we have to compute the dot product on the left-hand side and rearrange:
    \begin{equation*} 3x_{1} - 2 x_{2} - x_{3} = 7. \end{equation*}
    For the vector form, we need two non-parallel vectors \(\vec{u}\text{,}\) \(\vec{v}\) which are orthogonal to \(\vec{n}\text{,}\) i.e. they need to satisfy
    \begin{equation*} \vec{u}\cdot \begin{bmatrix} 3 \\ -2 \\ -1 \end{bmatrix} = 0 \text{ and } \vec{v}\cdot \begin{bmatrix} 3 \\ -2 \\ -1 \end{bmatrix} = 0. \end{equation*}
    For example,
    \begin{equation*} \vec{u} = \begin{bmatrix} 0 \\ 1 \\ -2 \end{bmatrix} \text{ and } \vec{v} = \begin{bmatrix} 2 \\ 3 \\ 0 \end{bmatrix} \end{equation*}
    work. Therefore, the vector equation of the plane is
    \begin{equation*} \vec{x} = \vect{OP} +t\vec{u} +s\vec{v} = \begin{bmatrix} 2\\-3\\5 \end{bmatrix} +t\begin{bmatrix} 0 \\ 1 \\ -2 \end{bmatrix} +s\begin{bmatrix} 2 \\ 3 \\ 0 \end{bmatrix}\text{.} \end{equation*}
    Answer.

    Normal form:

    \begin{equation*} \begin{bmatrix} 3 \\ -2 \\ -1 \end{bmatrix} \cdot \begin{bmatrix} x_1 \\ x_2 \\ x_3 \end{bmatrix}= 7 \end{equation*}

    General form:

    \begin{equation*} 3x_{1} - 2 x_{2} - x_{3} = 7 \end{equation*}

    Vector form:

    \begin{equation*} \vec{x} = \vect{OP} +t\vec{u} +s\vec{v} = \begin{bmatrix} 2\\-3\\5 \end{bmatrix} +t\begin{bmatrix} 0 \\ 1 \\ -2 \end{bmatrix} +s\begin{bmatrix} 2 \\ 3 \\ 0 \end{bmatrix} \end{equation*}

  4. Passing through \(P=(3,0,-1)\) and parallel to the plane with equation \(2x_1-x_2+x_3=3\text{.}\)

    Solution.

    Two planes are parallel if and only if they have the same normal vectors. Therefore, we should first find a normal vector to the plane whose general equation is given: If we chose
    \begin{equation*} \vec{n} = \begin{bmatrix} 2 \\ -1 \\ 1 \end{bmatrix}, \end{equation*}
    then the given general form is equivalent to
    \begin{equation*} \vec{n} \cdot\vec{x} =3, \end{equation*}
    so \(\vec{n}\) is indeed a normal vector. With this at hand, any point \(X=(x_1,x_2,x_3)\) on the plane whose normal form we are after can be described by \(\vec{n}\cdot\vect{PX}=0\text{,}\) or more explicitly:
    \begin{equation*} \begin{bmatrix} 2 \\ -1 \\ 1 \end{bmatrix} \cdot \left( \vec{x} - \begin{bmatrix} 3 \\ 0 \\ -1 \end{bmatrix} \right) =0 \end{equation*}
    To get the general form, we have to compute the dot product on the left-hand side and rearrange:
    \begin{equation*} 2x_{1} - x_{2} + x_{3} = 5. \end{equation*}
    For the vector form, we need two non-parallel vectors \(\vec{u}\text{,}\) \(\vec{v}\) which are orthogonal to \(\vec{n}\text{,}\) i.e. they need to satisfy
    \begin{equation*} \vec{u}\cdot \begin{bmatrix} 2 \\ -1 \\ 1 \end{bmatrix} = 0 \text{ and } \vec{v}\cdot \begin{bmatrix} 2 \\ -1 \\ 1 \end{bmatrix} = 0. \end{equation*}
    For example,
    \begin{equation*} \vec{u} = \begin{bmatrix} 0 \\ 1 \\ 1 \end{bmatrix} \text{ and } \vec{v} = \begin{bmatrix} 1 \\ 2 \\ 0 \end{bmatrix} \end{equation*}
    work. Therefore, the vector equation of the plane is
    \begin{equation*} \vec{x} = \vect{OP} +t\vec{u} +s\vec{v} = \begin{bmatrix} 3 \\ 0 \\ -1 \end{bmatrix} +t\begin{bmatrix} 0 \\ 1 \\ 1 \end{bmatrix} +s\begin{bmatrix} 1 \\ 2 \\ 0 \end{bmatrix}\text{.} \end{equation*}
    Answer.

    Normal form:

    \begin{equation*} \begin{bmatrix} 2 \\ -1 \\ 1 \end{bmatrix} \cdot \left( \vec{x} - \begin{bmatrix} 3 \\ 0 \\ -1 \end{bmatrix} \right) =0 \end{equation*}

    General form:

    \begin{equation*} 2x_{1} - x_{2} + x_{3} = 5 \end{equation*}

    Vector form:

    \begin{equation*} \vec{x} = \vect{OP} +t\vec{u} +s\vec{v} = \begin{bmatrix} 3 \\ 0 \\ -1 \end{bmatrix} +t\begin{bmatrix} 0 \\ 1 \\ 1 \end{bmatrix} +s\begin{bmatrix} 1 \\ 2 \\ 0 \end{bmatrix} \end{equation*}

  5. Containing \(P=(3,0,-1)\) and the line

    \begin{equation*} \vec{x} = \begin{bmatrix} 0 \\ 0\\ 2 \end{bmatrix} +t\begin{bmatrix} 1 \\ 0\\ 1 \end{bmatrix} \end{equation*}

    Solution.

    Since the plane contains the line, it in particular contains the point \(Q=(0,0,2)\) (choose \(t=0\) in the line equation). Since \(P\) is assumed to be in the plane, we conclude that the line that goes through \(Q=(0,0,2)\) and \(P\text{,}\) whose vector form is given by
    \begin{equation*} \vec{x} = \vect{OQ} + s\vect{QP} = \begin{bmatrix} 0 \\ 0\\ 2 \end{bmatrix} + s\begin{bmatrix} 3 \\ 0\\ -3 \end{bmatrix} , \end{equation*}
    is also contained in the plane. Since this second line's directional vector is not parallel to the first line's directional vector, we conclude that the plane is spanned by those two directional vectors and thus has vector form
    \begin{equation*} \vec{x} = \begin{bmatrix} 0 \\ 0\\ 2 \end{bmatrix} + t\begin{bmatrix} 1 \\ 0\\ 1 \end{bmatrix} + s \begin{bmatrix} 3 \\ 0\\ -3 \end{bmatrix} . \end{equation*}

    We can find a normal vector \(\vec{n}\) by letting \(\vec{n} = \begin{bmatrix}a\\b\\c\end{bmatrix}\) and solving the system \(\vec{n} \cdot \vec{d_1} = 0 = \vec{n}\cdot\vec{d_2}\text{.}\) We find that a solution is

    \begin{equation*} \vec{n} = \begin{bmatrix} 0\\ 6 \\ 0 \end{bmatrix} . \end{equation*}

    The normal equation of the plane is now given by \(\vec{n}\cdot\vect{PX}=0\text{,}\) or more explicitly:

    \begin{equation*} \begin{bmatrix} 0\\ 6 \\ 0 \end{bmatrix} \cdot \left( \vec{x} - \begin{bmatrix} 3 \\ 0 \\ -1 \end{bmatrix} \right)=0 \end{equation*}
    and we get the general form by computing the dot product on the left-hand side and rearranging:
    \begin{equation*} 6x_2 = 0,\text{ i.e. } x_2 = 0. \end{equation*}
    Answer.

    Normal form:

    \begin{equation*} \begin{bmatrix} 0\\ 6 \\ 0 \end{bmatrix} \cdot \left( \vec{x} - \begin{bmatrix} 3 \\ 0 \\ -1 \end{bmatrix} \right)=0 \end{equation*}

    General form:

    \begin{equation*} x_2 = 0 \end{equation*}

    Vector form:

    \begin{equation*} \vec{x} = \begin{bmatrix} 0 \\ 0\\ 2 \end{bmatrix} + t\begin{bmatrix} 1 \\ 0\\ 1 \end{bmatrix} + s \begin{bmatrix} 3 \\ 0\\ -3 \end{bmatrix} . \end{equation*}

  6. Containing \(P=(2,1,0)\) and the line

    \begin{equation*} \vec{x} = \begin{bmatrix} 3 \\ -1\\ 2 \end{bmatrix} +t\begin{bmatrix} 1 \\ 0\\ -1 \end{bmatrix} \end{equation*}

    Solution.

    Since the plane contains the line, it in particular contains the point \(Q=(3,-1,2)\) (choose \(t=0\) in the line equation). Since \(P\) is assumed to be in the plane, we conclude that the line that goes through \(Q\) and \(P\text{,}\) whose vector form is given by
    \begin{equation*} \vec{x} = \vect{OQ} + s\vect{QP} = \begin{bmatrix} 3 \\ -1 \\ 2 \end{bmatrix} + s\begin{bmatrix} -1 \\ 2 \\ -2 \end{bmatrix} , \end{equation*}
    is also contained in the plane. Since this second line's directional vector is not parallel to the first line's directional vector, we conclude that the plane is spanned by those two directional vectors and thus has vector form
    \begin{equation*} \vec{x} = \begin{bmatrix} 3 \\ -1\\ 2 \end{bmatrix} + t\begin{bmatrix} 1 \\ 0\\ - 1 \end{bmatrix} + s \begin{bmatrix} -1 \\ 2 \\ -2 \end{bmatrix} . \end{equation*}
    We can find a normal vector \(\vec{n}\) by setting \(\vec{n}\cdot\vec{d_1} = \vec{n}\cdot\vec{d_2} =0\) and solving the resulting system. We find that one solution is
    \begin{equation*} \vec{n}= \begin{bmatrix} 2\\ 3\\ 2 \end{bmatrix}) . \end{equation*}
    The normal equation of the plane is now given by \(\vec{n}\cdot\vect{PX}=0\text{,}\) or more explicitly:
    \begin{equation*} \begin{bmatrix} 2\\ 3\\ 2 \end{bmatrix} \cdot \left( \vec{x} - \begin{bmatrix} 3 \\ -1\\ 2 \end{bmatrix} \right)=0 \end{equation*}
    and we get the general form by computing the dot product on the left-hand side and rearranging:
    \begin{equation*} 2x_1 + 3x_2 + 2x_3 = 7. \end{equation*}
    Answer.

    Normal form:

    \begin{equation*} \begin{bmatrix} 2\\ 3\\ 2 \end{bmatrix} \cdot \left( \vec{x} - \begin{bmatrix} 3 \\ -1\\ 2 \end{bmatrix} \right)=0 \end{equation*}

    General form:

    \begin{equation*} 2x_1 + 3x_2 + 2x_3 = 7 \end{equation*}

    Vector form:

    \begin{equation*} \vec{x} = \begin{bmatrix} 3 \\ -1\\ 2 \end{bmatrix} + t\begin{bmatrix} 1 \\ 0\\ - 1 \end{bmatrix} + s \begin{bmatrix} -1 \\ 2 \\ -2 \end{bmatrix} . \end{equation*}

  7. Containing the lines

    \begin{equation*} \vec{x} = \begin{bmatrix} 1 \\ -1\\ 2 \end{bmatrix} +t\begin{bmatrix} 1 \\ 1\\ 1 \end{bmatrix} \ \text{and} \ \ \vec{x} = \begin{bmatrix} 0 \\ 0\\ 2 \end{bmatrix} +t\begin{bmatrix} 1 \\ -1\\ 0 \end{bmatrix} . \end{equation*}

    Solution.

    First, we have to find out in which point the two lines meet. (If they do not meet, then they are skew lines since they are clearly not parallel. In this case, they are not in the same plane.) In other words, we are looking for two real numbers \(s, t\) such that
    \begin{equation*} \begin{bmatrix} 1 \\ -1\\ 2 \end{bmatrix} + s \begin{bmatrix} 1 \\ 1\\ 1 \end{bmatrix} = \begin{bmatrix} 0 \\ 0\\ 2 \end{bmatrix} + t \begin{bmatrix} 1 \\ -1\\ 0 \end{bmatrix} . \end{equation*}
    Componentwise, this vector equation means:
    \begin{equation*} 1 + s = t;\; -1 + s = -t;\; 2 + s = 2. \end{equation*}
    The last equation yields \(s=0\) and both other equations then yield \(t = 1\text{.}\) We conclude that the two lines meet in the point \((1,-1,2)\) because
    \begin{equation*} \begin{bmatrix} 1 \\ -1\\ 2 \end{bmatrix} + 0 \begin{bmatrix} 1 \\ 1\\ 1 \end{bmatrix} = \begin{bmatrix} 0 \\ 0\\ 2 \end{bmatrix} + 1 \begin{bmatrix} 1 \\ -1\\ 0 \end{bmatrix} = \begin{bmatrix} 1 \\ -1\\ 2 \end{bmatrix} . \end{equation*}
    Since the two lines are not parallel, their directional vectors span the plane that contains them, so we arrive at the following vector equation of the plane,
    \begin{equation*} \begin{bmatrix} x_1 \\ x_2 \\ x_3 \end{bmatrix} = \begin{bmatrix} 1 \\ -1\\ 2 \end{bmatrix} + r \begin{bmatrix} 1 \\ 1\\ 1 \end{bmatrix} + q \begin{bmatrix} 1 \\ -1\\ 0 \end{bmatrix} , \end{equation*}
    which means in parametric form:
    \begin{equation*} x_1 = 1 + r + q ; x_2 = -1 + r - q ; x_3 = 2 + r . \end{equation*}
    For the normal form, we solve the system \(\vec{n} \cdot \vec{d_1} = \vec{n}\cdot\vec{d_2} = 0\) and find that we can take
    \begin{equation*} \vec{n} = \begin{bmatrix} 1\\ 1\\ -2 \end{bmatrix} . \end{equation*}
    We now only need a point on the plane, say \((1 , -1 ,2)\text{,}\) to give the normal form \(\vec{n}\cdot\vect{PX}=0\) explicitly:
    \begin{equation*} \begin{bmatrix} 1\\ 1\\ -2 \end{bmatrix} \cdot \left( \begin{bmatrix} x_1 - 1\\ x_2 + 1\\ x_3 - 2 \end{bmatrix} \right) = 0 . \end{equation*}
    The general form can then be computed to be:
    \begin{equation*} x_1 + x_2 - 2 x_3 = -4 . \end{equation*}
    Answer.

    Normal form:

    \begin{equation*} \begin{bmatrix} 1\\ 1\\ -2 \end{bmatrix} \cdot \begin{bmatrix} x_1 - 1\\ x_2 + 1\\ x_3 - 2 \end{bmatrix} = 0 \end{equation*}

    General form:

    \begin{equation*} x_1 + x_2 - 2 x_3 = -4 \end{equation*}

    Vector form:

    \begin{equation*} \begin{bmatrix} x_1 \\ x_2 \\ x_3 \end{bmatrix} = \begin{bmatrix} 1 \\ -1\\ 2 \end{bmatrix} + r \begin{bmatrix} 1 \\ 1\\ 1 \end{bmatrix} + q \begin{bmatrix} 1 \\ -1\\ 0 \end{bmatrix} \end{equation*}

  8. Containing the lines

    \begin{equation*} \vec{x} = \begin{bmatrix} 3 \\ 1\\ 0 \end{bmatrix} +t\begin{bmatrix} 1 \\ -1\\ 3 \end{bmatrix} \ \text{and} \ \ \vec{x} = \begin{bmatrix} 0 \\ -2\\ 5 \end{bmatrix} +t\begin{bmatrix} 2 \\ 1\\ -1 \end{bmatrix} . \end{equation*}

    Solution.

    First, we have to find out in which point the two lines meet. (If they do not meet, then they are skew lines since they are clearly not parallel. In this case, they are not in the same plane.) In other words, we are looking for two real numbers \(s, t\) such that
    \begin{equation*} \begin{bmatrix} 3 \\ 1\\ 0 \end{bmatrix} +s\begin{bmatrix} 1 \\ -1\\ 3 \end{bmatrix} = \begin{bmatrix} 0 \\ -2\\ 5 \end{bmatrix} +t\begin{bmatrix} 2 \\ 1\\ -1 \end{bmatrix} . \end{equation*}
    Componentwise, this vector equation means:
    \begin{equation*} 3 + s = 2t;\; 1 - s = -2+t;\; 3s = 5 - t. \end{equation*}
    The second equation says \(t=3-s\text{,}\) which we plug into the other equations to get \(s = 1\text{.}\) We conclude that the two lines meet in the point \((4,0,3)\) because
    \begin{equation*} \begin{bmatrix} 3 \\ 1\\ 0 \end{bmatrix} +1\begin{bmatrix} 1 \\ -1\\ 3 \end{bmatrix} =\begin{bmatrix} 4 \\ 0\\ 3 \end{bmatrix} . \end{equation*}
    Since the two lines are not parallel, their directional vectors span the plane that contains them, so we arrive at the following vector equation of the plane,
    \begin{equation*} \begin{bmatrix} x_1 \\ x_2 \\ x_3 \end{bmatrix} = \begin{bmatrix} 4 \\ 0\\ 3 \end{bmatrix} + r \begin{bmatrix} 1 \\ -1\\ 3 \end{bmatrix} + q \begin{bmatrix} 2 \\ 1\\ -1 \end{bmatrix}\text{.} \end{equation*}
    For the normal form, we again solve the system \(\vec{n}\cdot\vec{d_1} = \vec{n}\cdot\vec{d_2} = 0\) to find
    \begin{equation*} \vec{n} = \begin{bmatrix} -2\\ 7\\ 3 \end{bmatrix} . \end{equation*}
    We now only need a point on the plane, say \((4,0,3)\text{,}\) to give the normal form \(\vec{n}\cdot\vect{PX}=0\) explicitly:
    \begin{equation*} \begin{bmatrix} -2\\ 7\\ 3 \end{bmatrix} \cdot \begin{bmatrix} x_1 - 4\\ x_2 \\ x_3 - 3 \end{bmatrix} . \end{equation*}
    The general form can then be computed to be:
    \begin{equation*} -2x_1 + 7x_2 + 3 x_3 = 1. \end{equation*}
    Answer.

    Normal form:

    \begin{equation*} \begin{bmatrix} -2\\ 7\\ 3 \end{bmatrix} \cdot \begin{bmatrix} x_1 - 4\\ x_2 \\ x_3 - 3 \end{bmatrix} = 0 \end{equation*}

    General form:

    \begin{equation*} -2x_1 + 7x_2 + 3 x_3 = 1 \end{equation*}

    Vector form:

    \begin{equation*} \begin{bmatrix} x_1 \\ x_2 \\ x_3 \end{bmatrix} = \begin{bmatrix} 4 \\ 0\\ 3 \end{bmatrix} + r \begin{bmatrix} 1 \\ -1\\ 3 \end{bmatrix} + q \begin{bmatrix} 2 \\ 1\\ -1 \end{bmatrix} \end{equation*}

  9. Each point which is equidistant from \(P=(2,-1,3)\) and \(Q=(1,1,-1)\text{.}\)

    Solution.

    For a point \(X\) to be equidistant from \(P\) and \(Q\text{,}\) we must have
    \begin{equation*} \norm{\vect{PX}}= \norm{\vect{QX}}. \end{equation*}
    By squaring both sides of the equation, we can rewrite this to
    \begin{equation} \vect{PX}\cdot \vect{PX}= \vect{QX}\cdot \vect{QX}.\tag{2.3.1} \end{equation}
    If we use that \(\vect{PX} = \vect{OX} - \vect{OP}\text{,}\) then using the properties of the dot product yields
    \begin{align*} \vect{PX}\cdot \vect{PX} \amp = (\vect{OX} - \vect{OP})\cdot(\vect{OX} - \vect{OP})\\ \amp = \vect{OX}\cdot\vect{OX} - \vect{OX}\cdot\vect{OP} - \vect{OP}\cdot\vect{OX} + \vect{OP}\cdot\vect{OP}\\ \amp = \norm{\vect{OX}}^2 + \norm{\vect{OP}}^2 - 2 \vect{OX}\cdot\vect{OP}. \end{align*}
    Similarly,
    \begin{equation*} \vect{QX}\cdot \vect{QX} = \norm{\vect{OX}}^2 + \norm{\vect{OQ}}^2 - 2 \vect{OX}\cdot\vect{OQ} . \end{equation*}
    So if we plug both of these into (2.3.1) and cancel the summand of \(\norm{\vect{OX}}^2\) on both sides, then we see that \(\norm{\vect{PX}}= \norm{\vect{QX}}\) is equivalent to
    \begin{equation} \norm{\vect{OP}}^2 - 2 \vect{OX}\cdot\vect{OP} = \norm{\vect{OQ}}^2 - 2 \vect{OX}\cdot\vect{OQ} .\tag{2.3.2} \end{equation}
    We compute with \(X=(x_1,x_2,x_3)\text{:}\)
    \begin{gather*} \vect{OX}\cdot\vect{OP} = 2x_1 - x_2 + 3x_3\\ \vect{OX}\cdot\vect{OQ} = x_1 + x_2 - x_3\\ \norm{\vect{OP}}^2 = 2^2 + (-1)^2 +3^2 = 14\\ \norm{\vect{OQ}}^2 = 1^2 + 1^2 + (-1)^2 = 3, \end{gather*}
    so that (2.3.2) becomes:
    \begin{align*} \amp 14 - 2 (2x_1 - x_2 + 3x_3) = 3 - 2 (x_1 + x_2 - x_3)\\ \iff \amp 11 = (- 2 x_1 - 2 x_2 + 2 x_3) + (4x_1 - 2x_2 + 6x_3)\\ \iff \amp 11 = 2x_1 - 4x_2 + 8x_3, \end{align*}
    which is the general form of our plane equation. We can rewrite this to
    \begin{equation*} \begin{bmatrix} 2\\ -4\\ 8 \end{bmatrix} \cdot \begin{bmatrix} x_1 \\ x_2 \\ x_3 \end{bmatrix} = 11, \end{equation*}
    which is its normal form. Lastly, for the vector form, we need three points in the plane which do not lie on a line. Let us choose \(R_1= (0, -3 , -\frac{1}{8} )\text{,}\) \(R_2= (\frac{3}{2}, 0, 1)\text{,}\) and \(R_3= (6,\frac{1}{4} ,0)\) which all satisfy the general equation. Now, the plane's vector equation is given by
    \begin{align*} \vec{x} \amp = \vect{OR_1} + t \vect{R_1 R_2} + s \vect{R_1 R_3}\\ \amp = \begin{bmatrix} 0 \\ -3 \\ -\frac{1}{8} \end{bmatrix} + t \begin{bmatrix} \frac{3}{2} - 0 \\ 0 - (-3) \\ 1 - (-\frac{1}{8}) \end{bmatrix} + s \begin{bmatrix} 6 - 0 \\ \frac{1}{4} - (-3) \\ 0 - (-\frac{1}{8}) \end{bmatrix}\\ \amp = \begin{bmatrix} 0 \\ -3 \\ -\frac{1}{8} \end{bmatrix} + t \begin{bmatrix} \frac{3}{2} \\ 3 \\ \frac{9}{8} \end{bmatrix} + s \begin{bmatrix} 6 \\ \frac{13}{4} \\ \frac{1}{8} \end{bmatrix} \end{align*}
    We can rewrite this by rescaling (\(t=8r\) and \(s=8q\)) to:
    \begin{equation*} \vec{x} = \begin{bmatrix} 0 \\ -3 \\ -\frac{1}{8} \end{bmatrix} + r \begin{bmatrix} 12 \\ 24 \\ 9 \end{bmatrix} + q \begin{bmatrix} 48 \\ 26 \\ 1 \end{bmatrix}\text{.} \end{equation*}
    Answer.

    Normal form:

    \begin{equation*} \begin{bmatrix} 2\\ -4\\ 8 \end{bmatrix} \cdot \begin{bmatrix} x_1 \\ x_2 \\ x_3 \end{bmatrix} = 11 \end{equation*}

    General form:

    \begin{equation*} 11 = 2x_1 - 4x_2 + 8x_3 \end{equation*}

    Vector form:

    \begin{equation*} \vec{x} = \begin{bmatrix} 0 \\ -3 \\ -\frac{1}{8} \end{bmatrix} + r \begin{bmatrix} 12 \\ 24 \\ 9 \end{bmatrix} + q \begin{bmatrix} 48 \\ 26 \\ 1 \end{bmatrix} \end{equation*}

  10. Each point which is equidistant from \(P=(0,1,-1)\) and \(Q=(2,-1,-3)\text{.}\)

    Solution.

    A point \(X\) is equidistant from \(P\) and \(Q\) if and only if
    \begin{equation*} \norm{\vect{OP}}^2 - 2 \vect{OX}\cdot\vect{OP} = \norm{\vect{OQ}}^2 - 2 \vect{OX}\cdot\vect{OQ} , \end{equation*}
    see the argument in Item 2.3.4.3.iand (2.3.2) in particular. We compute with \(X=(x_1,x_2,x_3)\text{:}\)
    \begin{gather*} \vect{OX}\cdot\vect{OP} = x_2 - x_3\\ \vect{OX}\cdot\vect{OQ} = 2x_1 - x_2 - 3x_3\\ \norm{\vect{OP}}^2 = 0^2 + 1^2 +(-1)^2 = 2\\ \norm{\vect{OQ}}^2 = 2^2 + (-1)^2 + (-3)^2 = 14, \end{gather*}
    so that (2.3.2) becomes:
    \begin{align*} \amp 2 - 2 (x_2 - x_3) = 14 - 2 (2x_1 - x_2 - 3x_3)\\ \iff \amp 2 (2x_1 - x_2 - 3x_3) - 2 (x_2 - x_3) = 12\\ \iff \amp 4x_1 - 4x_2 - 4x_3 = 12, \end{align*}
    which is the general form of our plane equation. We can rewrite this to
    \begin{equation*} \begin{bmatrix} 4 \\ -4 \\ - 4 \end{bmatrix} \cdot \begin{bmatrix} x_1 \\ x_2 \\ x_3 \end{bmatrix} = 12, \end{equation*}
    which is its normal form. Lastly, for the vector form, we need three points in the plane which do not lie on a line. Let us choose \(R_1= (3,0,0)\text{,}\) \(R_2= (0, -3, 0)\text{,}\) and \(R_3= (0,0,-3)\) which all satisfy the general equation. Now, the plane's vector equation is given by
    \begin{align*} \vec{x} \amp = \vect{OR_1} + t \vect{R_1 R_2} + s \vect{R_1 R_3}\\ \amp = \begin{bmatrix} 3\\0\\0 \end{bmatrix} + t \begin{bmatrix} -3\\-3\\0 \end{bmatrix} + s \begin{bmatrix} -3\\0\\-3 \end{bmatrix} \end{align*}
    Answer.

    Normal form:

    \begin{equation*} \begin{bmatrix} 4 \\ -4 \\ - 4 \end{bmatrix} \cdot \begin{bmatrix} x_1 \\ x_2 \\ x_3 \end{bmatrix} = 12 \end{equation*}

    General form:

    \begin{equation*} 4x_1 - 4x_2 - 4x_3 = 12 \end{equation*}

    Vector form:

    \begin{equation*} \vec{x} = \begin{bmatrix} 3\\0\\0 \end{bmatrix} + t \begin{bmatrix} -3\\-3\\0 \end{bmatrix} + s \begin{bmatrix} -3\\0\\-3 \end{bmatrix} \end{equation*}

4.

In each case, calculate the distance from the point \(P\) to the line \(\ell\text{,}\) and find the point \(Q\) on \(\ell\) closest to \(P\text{.}\)
  1. \(P=(3,2,-1)\text{,}\) \(\ell \colon \vec{x} = \begin{bmatrix} 2 \\ 1\\ 3 \end{bmatrix} +t\begin{bmatrix} 3 \\ -1\\ -2 \end{bmatrix} \)

  2. \(P=(1,-1,3)\text{,}\) \(\ell \colon \vec{x} = \begin{bmatrix} 1 \\ 0\\ -1 \end{bmatrix} +t\begin{bmatrix} 3 \\ 1\\ 4 \end{bmatrix} \)

Hint 1.

If a line \(\ell\) is given by the vector equation
\begin{equation*} \vec{x} = \vec{a} + t\vec{d}, \end{equation*}
then the distance from \(\ell\) to a point \(P\) is given by
\begin{equation*} \operatorname{dist} (\ell, P) = \norm{(\mathbf{p}-\mathbf{a}) - \operatorname{proj}_{\mathbf{d}}(\mathbf{p}-\mathbf{a})}, \end{equation*}
where \(\vec{p}:=\vect{OP}\) and \(\operatorname{proj}\) is as defined in Hint 2.2.5.8.1.
Hint 2.

If a line \(\ell\) is given by the vector equation
\begin{equation*} \vec{x} = \vec{a} + t\vec{d} \end{equation*}
and \(\vec{p}\) is the position vector of a point \(P\text{,}\) then
\begin{equation*} \vec{q} := \vec{a} + \operatorname{proj}_{\mathbf{d}}(\mathbf{p}-\mathbf{a}), \end{equation*}
is the position vector of the point \(Q\) on \(\ell\) which is closest to the point \(P\text{.}\)
Answer.

  1. \begin{equation*} \operatorname{dist} (\ell, P) = \sqrt{\tfrac{152}{14}} \text{ and } Q= (\tfrac{29}{7}, \tfrac{2}{7}, \tfrac{11}{7}) \end{equation*}

  2. \begin{equation*} \operatorname{dist} (\ell, P) = \sqrt{\tfrac{217}{26}} \text{ and } Q= (\tfrac{71}{26}, \tfrac{15}{26}, \tfrac{34}{26}) \end{equation*}

Solution.

According to Hint 2.3.4.4.1, the formula for the distance between \(\ell\) and \(P\) is given by
\begin{equation*} \operatorname{dist} (\ell, P) = \norm{(\mathbf{p}-\mathbf{a}) - \operatorname{proj}_{\mathbf{d}}(\mathbf{p}-\mathbf{a})}, \end{equation*}
where \(\vec{a}\) is a point on the line and \(\mathbf{d}\) is a direction vector of the line. We now only have to plug in the values for the two situations:
  1. For the given \(\ell\text{,}\) we have

    \begin{equation*} \vec{a} = \begin{bmatrix} 2 \\ 1\\ 3 \end{bmatrix}, \vec{d} = \begin{bmatrix} 3 \\ -1\\ -2 \end{bmatrix}, \text{ and } \vec{p} = \begin{bmatrix} 3 \\ 2\\ -1 \end{bmatrix} , \end{equation*}
    so that
    \begin{equation*} \vec{v} := \mathbf{p}-\mathbf{a} = \begin{bmatrix} 3 \\ 2\\ -1 \end{bmatrix} - \begin{bmatrix} 2 \\ 1\\ 3 \end{bmatrix} = \begin{bmatrix} 1 \\ 1\\ -4 \end{bmatrix} . \end{equation*}
    We compute
    \begin{align*} \mathbf{v} \cdot \mathbf{d} \amp = \begin{bmatrix} 1 \\ 1\\ -4 \end{bmatrix} \cdot \begin{bmatrix} 3 \\ -1\\ -2 \end{bmatrix}\\ \amp = \bigl(1\cdot 3 + 1 \cdot (-1) + (-4)\cdot (-2)\bigr) =10. \end{align*}
    and
    \begin{equation*} \vec{d}\cdot \vec{d} = \begin{bmatrix} 3 \\ -1\\ -2 \end{bmatrix} \cdot \begin{bmatrix} 3 \\ -1\\ -2 \end{bmatrix} = 3^2 + (-1)^2 + (-2)^2 = 14, \end{equation*}
    so that (using Hint 2.2.5.8.1)
    \begin{equation*} \operatorname{proj}_{\mathbf{d}}\mathbf{v} = \left( \frac{\vec{d}\cdot \vec{v}}{\vec{d}\cdot \vec{d}} \right) \vec{d} = \tfrac{10}{14}\begin{bmatrix} 3 \\ -1\\ -2 \end{bmatrix} . \end{equation*}
    Therefore,
    \begin{align*} \operatorname{dist} (\ell, P) \amp = \norm{\mathbf{v} - \operatorname{proj}_{\mathbf{d}}\mathbf{v}} = \norm{ \begin{bmatrix} 1 \\ 1\\ -4 \end{bmatrix} - \tfrac{10}{14} \begin{bmatrix} 3 \\ -1\\ -2 \end{bmatrix}}\\ \amp = \norm{\tfrac{1}{14}\begin{bmatrix} -16 \\ 24 \\ -36 \end{bmatrix}}\\ \amp = \sqrt{ \left(\tfrac{-16}{14}\right)^2 + \left(\tfrac{24}{14}\right)^2 + \left(\tfrac{-36}{14}\right)^2}\\ \amp = \sqrt{\tfrac{152}{14}}. \end{align*}
    Next, for the point \(Q\) on \(\ell\) which has distance \(\sqrt{\tfrac{152}{14}}\) from \(P\text{,}\) we use Hint 2.3.4.4.2: we need
    \begin{equation*} \vec{q} := \vec{a} + \operatorname{proj}_{\mathbf{d}}\vec{v} = \begin{bmatrix} 2 \\ 1\\ 3 \end{bmatrix} + \tfrac{10}{14}\begin{bmatrix} 3 \\ -1\\ -2 \end{bmatrix} = \tfrac{1}{14}\begin{bmatrix} 58 \\ 4\\ 22 \end{bmatrix} , \end{equation*}
    so that \(Q= (\tfrac{29}{7}, \tfrac{2}{7}, \tfrac{11}{7})\text{.}\)

  2. \(P=(1,-1,3)\text{,}\) \(\ell \colon \vec{x} = \begin{bmatrix} 1 \\ 0\\ -1 \end{bmatrix} +t\begin{bmatrix} 3 \\ 1\\ 4 \end{bmatrix} \) For the given \(\ell\text{,}\) we have

    \begin{equation*} \vec{a} = \begin{bmatrix} 1 \\ 0\\ -1 \end{bmatrix}, \vec{d} = \begin{bmatrix} 3 \\ 1\\ 4 \end{bmatrix}, \text{ and } \vec{p} = \begin{bmatrix} 1 \\ -1\\ 3 \end{bmatrix} , \end{equation*}
    so that
    \begin{equation*} \vec{v} := \mathbf{p}-\mathbf{a} = \begin{bmatrix} 1 \\ -1\\ 3 \end{bmatrix} - \begin{bmatrix} 1 \\ 0\\ -1 \end{bmatrix} = \begin{bmatrix} 0 \\ -1\\ 4 \end{bmatrix} . \end{equation*}
    We compute
    \begin{align*} \mathbf{v} \cdot \mathbf{d} \amp = \begin{bmatrix} 0 \\ -1\\ 4 \end{bmatrix} \cdot \begin{bmatrix} 3 \\ 1\\ 4 \end{bmatrix}\\ \amp = \bigl(0\cdot 3 + (-1) \cdot 1 + 4\cdot 4\bigr) =15. \end{align*}
    and
    \begin{equation*} \vec{d}\cdot \vec{d} = \begin{bmatrix} 3 \\ 1\\ 4 \end{bmatrix} \cdot \begin{bmatrix} 3 \\ 1\\ 4 \end{bmatrix} = 3^2 + 1^2 + 4^2 = 26, \end{equation*}
    so that (using Hint 2.2.5.8.1)
    \begin{equation*} \operatorname{proj}_{\mathbf{d}}\mathbf{v} = \left( \frac{\vec{d}\cdot \vec{v}}{\vec{d}\cdot \vec{d}} \right) \vec{d} = \tfrac{15}{26}\begin{bmatrix} 3 \\ 1\\ 4 \end{bmatrix} . \end{equation*}
    Therefore,
    \begin{align*} \operatorname{dist} (\ell, P) \amp = \norm{\mathbf{v} - \operatorname{proj}_{\mathbf{d}}\mathbf{v}} = \norm{ \begin{bmatrix} 0 \\ -1\\ 4 \end{bmatrix} - \tfrac{15}{26}\begin{bmatrix} 3 \\ 1\\ 4 \end{bmatrix} }\\ \amp = \norm{\tfrac{1}{26}\begin{bmatrix} -45 \\ -41 \\ 44 \end{bmatrix}}\\ \amp = \sqrt{ \left(\tfrac{-45}{26}\right)^2 + \left(\tfrac{-41}{26}\right)^2 + \left(\tfrac{44}{26}\right)^2}\\ \amp = \sqrt{\tfrac{217}{26}}. \end{align*}
    Next, for the point \(Q\) on \(\ell\) which has distance \(\sqrt{\tfrac{217}{26}}\) from \(P\text{,}\) we use Hint 2.3.4.4.2: we need
    \begin{equation*} \vec{q} := \vec{a} + \operatorname{proj}_{\mathbf{d}}\vec{v} = \begin{bmatrix} 1 \\ 0\\ -1 \end{bmatrix} + \tfrac{15}{26}\begin{bmatrix} 3 \\ 1\\ 4 \end{bmatrix} = \tfrac{1}{26}\begin{bmatrix} 71 \\ 15\\ 34 \end{bmatrix} , \end{equation*}
    so that \(Q= (\tfrac{71}{26}, \tfrac{15}{26}, \tfrac{34}{26})\text{.}\)

5.

In each case, find the shortest distance from the point \(P\) to the plane and find \(Q\) on the plane closest to \(P\text{.}\)
  1. \(P=(2,3,0)\) and plane equation: \(5x_1+x_2+x_3 =1\)

  2. \(P=(3,1,-1)\) and plane equation: \(2x_1+x_2-x_3 =6\)

Hint.
The distance from a plane \(\mathcal{P}\) to a point \(P\) is given by
\begin{equation*} \operatorname{dist} (\mathcal{P}, P) = \norm{\operatorname{proj}_{\mathbf{n}}(\mathbf{p}-\mathbf{a})}, \end{equation*}
where \(\vec{n}\) is normal to the plane, \(\vec{a}\) is the position vector of any point on the plane, \(\vec{p}:=\vect{OP}\text{,}\) and \(\operatorname{proj}\) is as defined in Hint 2.2.5.8.1.>
Answer.

  1. \(\operatorname{dist} (\mathcal{P}, P) = \sqrt{ \frac{16}{3} }, Q =(\frac{-2}{9},\frac{23}{9},\frac{-4}{9}) \text{.}\)

  2. \(\displaystyle \operatorname{dist} (\mathcal{P}, P) = \sqrt{ \frac{2}{3} }, Q =(\frac{7}{3}, \frac{2}{3}, \frac{-2}{3})\)

Solution.

According to Hint 2.3.4.5.1, we only need to find a point \(A\) on the plane and a normal vector \(\vec{n}\) to the plane.
  1. For the plane with general equation \(5x_1+x_2+x_3 =1\text{,}\) we can choose

    \begin{equation*} \vec{n} = \begin{bmatrix} 5\\ 1\\ 1 \end{bmatrix} \text{ and } A = (1, -4, 0). \end{equation*}
    We then compute
    \begin{equation*} \vec{v} := \vect{OP}-\vect{OA} = \begin{bmatrix} 2\\ 3\\ 0 \end{bmatrix} - \begin{bmatrix} 1\\ -4\\ 0 \end{bmatrix} = \begin{bmatrix} 1\\ 7\\ 0 \end{bmatrix}, \end{equation*}
    so that
    \begin{equation*} \vec{n} \cdot \vec{v} = \begin{bmatrix} 5\\ 1\\ 1 \end{bmatrix} \cdot \begin{bmatrix} 1\\ 7\\ 0 \end{bmatrix} = 5+7 = 12 \end{equation*}
    and
    \begin{equation*} \vec{n} \cdot \vec{n} = \begin{bmatrix} 5\\ 1\\ 1 \end{bmatrix} \cdot \begin{bmatrix} 5\\ 1\\ 1 \end{bmatrix} = 25+1+1 = 27. \end{equation*}
    We can now compute (using Hint 2.2.5.8.1)
    \begin{equation*} \operatorname{proj}_{\mathbf{n}}(\mathbf{v}) = \left( \frac{\vec{n}\cdot \vec{v}}{\vec{n}\cdot \vec{n}} \right) \vec{n} = \frac{12}{27} \begin{bmatrix} 5\\ 1\\ 1 \end{bmatrix} = \frac{4}{9} \begin{bmatrix} 5\\ 1\\ 1 \end{bmatrix} \end{equation*}
    and thus
    \begin{align*} \operatorname{dist} (\mathcal{P}, P) \amp = \norm{\operatorname{proj}_{\mathbf{n}}\mathbf{v}}\\ \amp = \sqrt{ \left(\frac{20}{9}\right)^2 + \left(\frac{4}{9}\right)^2 + \left(\frac{4}{9}\right)^2 } = \sqrt{ \frac{16}{3} }. \end{align*}
    The point on the plane which is closest to \(P\) then has the position vector
    \begin{equation*} \vec{q} = \vect{OP} - \operatorname{proj}_{\mathbf{n}}\mathbf{v} = \begin{bmatrix} 2\\ 3\\ 0 \end{bmatrix} - \frac{4}{9} \begin{bmatrix} 5\\ 1\\ 1 \end{bmatrix} = \frac{1}{9} \begin{bmatrix} -2 \\ 23\\ -4 \end{bmatrix}, \end{equation*}
    so that \(Q =(\frac{-2}{9},\frac{23}{9},\frac{-4}{9})\text{.}\)

  2. For the plane with general equation \(2x_1+x_2-x_3 =6\text{,}\) we can choose

    \begin{equation*} \vec{n} = \begin{bmatrix} 2\\ 1\\ -1 \end{bmatrix} \text{ and } A = (3, 0, 0). \end{equation*}
    We then compute
    \begin{equation*} \vec{v} := \vect{OP}-\vect{OA} = \begin{bmatrix} 3\\ 1\\ -1 \end{bmatrix} - \begin{bmatrix} 3\\ 0\\ 0 \end{bmatrix} = \begin{bmatrix} 0\\ 1\\ -1 \end{bmatrix}, \end{equation*}
    so that
    \begin{equation*} \vec{n} \cdot \vec{v} = \begin{bmatrix} 2\\ 1\\ -1 \end{bmatrix} \cdot \begin{bmatrix} 0\\ 1\\ -1 \end{bmatrix} = 2 \end{equation*}
    and
    \begin{equation*} \vec{n} \cdot \vec{n} = \begin{bmatrix} 2\\ 1\\ -1 \end{bmatrix} \cdot \begin{bmatrix} 2\\ 1\\ -1 \end{bmatrix} = 4+1+1 = 6. \end{equation*}
    We can now compute (using Hint 2.2.5.8.1)
    \begin{equation*} \operatorname{proj}_{\mathbf{n}}(\mathbf{v}) = \left( \frac{\vec{n}\cdot \vec{v}}{\vec{n}\cdot \vec{n}} \right) \vec{n} = \frac{1}{3} \begin{bmatrix} 2\\ 1\\ -1 \end{bmatrix} \end{equation*}
    and thus
    \begin{align*} \operatorname{dist} (\mathcal{P}, P) \amp = \norm{\operatorname{proj}_{\mathbf{n}}\mathbf{v}}\\ \amp = \sqrt{ \left(\frac{2}{3}\right)^2 + \left(\frac{1}{3}\right)^2 + \left(\frac{-1}{3}\right)^2 } = \sqrt{ \frac{2}{3} }. \end{align*}
    The point on the plane which is closest to \(P\) then has the position vector
    \begin{equation*} \vec{q} = \vect{OP} - \operatorname{proj}_{\mathbf{n}}\mathbf{v} = \begin{bmatrix} 3\\ 1\\ -1 \end{bmatrix} - \frac{1}{3} \begin{bmatrix} 2\\ 1\\ -1 \end{bmatrix} = \frac{1}{3} \begin{bmatrix} 7\\ 2\\ -2 \end{bmatrix} \end{equation*}
    so that \(Q =(\frac{7}{3}, \frac{2}{3}, \frac{-2}{3})\text{.}\)

6.

Find the shortest distance between the following pairs of parallel lines.
  1. \(\ell_1\colon\vec{x} = \begin{bmatrix} 2 \\ -1\\ 3 \end{bmatrix} +t\begin{bmatrix} 1 \\ -1\\ 4 \end{bmatrix} \) and \(\ell_2\colon\vec{x} = \begin{bmatrix} 1 \\ 0\\ 1 \end{bmatrix} +t\begin{bmatrix} 1 \\ -1\\ 4 \end{bmatrix} \)

  2. \(\ell_1\colon\vec{x} = \begin{bmatrix} 3 \\ 0\\ 2 \end{bmatrix} +t\begin{bmatrix} 3 \\ 1\\ 0 \end{bmatrix} \) and \(\ell_1\colon\vec{x} = \begin{bmatrix} -1 \\ 2\\ 2 \end{bmatrix} +t\begin{bmatrix} 3 \\ 1\\ 0 \end{bmatrix} \)

Hint.
Find a plane \(\mathcal{P}\) to which \(\ell_1\) (and therefore also \(\ell_2\)) is orthogonal. In other words, the directional vector of \(\ell_1\) is normal to \(\mathcal{P}\text{.}\) Find the points \(Q_1, Q_2\) which \(\mathcal{P}\) has in common with \(\ell_1\) resp. \(\ell_2\text{.}\) What do you know about the line from \(Q_1\) to \(Q_2\text{?}\)
Answer.

  1. \begin{equation*} \operatorname{dist} (\ell_1, \ell_2) = \tfrac{2}{3}. \end{equation*}

  2. \begin{equation*} \operatorname{dist} (\ell_1, \ell_2) = \sqrt{10}. \end{equation*}

Solution.

We follow the idea of Hint 2.3.4.6.1 and make one additional remark: The line from \(Q_1\) to \(Q_2\) is, by construction, contained in the plane since the two points are in the plane. In particular, said line is orthogonal to \(\ell_1\) and \(\ell_2\) and hence describes the direct path from \(\ell_1\) to \(\ell_2\text{,}\) meaning
\begin{equation*} \operatorname{dist} (\ell_1, \ell_2) = \norm{\vect{Q_1 Q_2}}. \end{equation*}
We now follow this recipe for the two given pairs of lines.
  1. We choose the point \(Q_1= (2 , -1, 3 ) \) on \(\ell_1\) and the declare the directional vector \(\vec{n}=\begin{bmatrix} 1 \\ -1\\ 4 \end{bmatrix} \) of \(\ell_1\) to be normal to the plane \(\mathcal{P}\text{.}\) The normal form of \(\mathcal{P}\) is then given by \(\vec{n} \cdot \vec{x} = \vec{n} \cdot \vect{OQ_1}\text{,}\) so its general form is

    \begin{equation*} x_1 - x_2 + 4 x_3 = 15 . \end{equation*}
    Next, we are looking for the intersection of \(\mathcal{P}\) with \(\ell_2\text{.}\) In other words, we are looking for \(t\) such that \(\begin{bmatrix} 1 \\ 0\\ 1 \end{bmatrix} +t\begin{bmatrix} 1 \\ -1\\ 4 \end{bmatrix}\) satisfies the general equation of \(\mathcal{P}\text{:}\)
    \begin{equation*} (1+t) - (0-t) + 4 (1+4t) = 15 \iff t = \tfrac{5}{9}. \end{equation*}
    We conclude that the point \(Q_2\) that \(\mathcal{P}\) and \(\ell_2\) share is given by
    \begin{equation*} \begin{bmatrix} 1 \\ 0\\ 1 \end{bmatrix} +\tfrac{5}{9}\begin{bmatrix} 1 \\ -1\\ 4 \end{bmatrix} =\begin{bmatrix} \tfrac{14}{9} \\ -\tfrac{5}{9}\\ \tfrac{29}{9}\end{bmatrix} . \end{equation*}
    The distance between the points \(Q_1\) and \(Q_2\) is then the distance between the lines:
    \begin{align*} \operatorname{dist} (\ell_1, \ell_2) \amp= \norm{\vect{Q_1 Q_2}}\\ \amp= \sqrt{(\tfrac{14}{9} -2)^2 + (-\tfrac{5}{9} +1)^2 + (\tfrac{29}{9} -3)^2} = \sqrt{\tfrac{36}{81}} = \tfrac{2}{3}. \end{align*}

  2. We choose the point \(Q_1= (3 , 0, 2 ) \) on \(\ell_1\) and the declare the directional vector \(\vec{n}=\begin{bmatrix} 3 \\ 1\\ 0 \end{bmatrix} \) of \(\ell_1\)to be normal to the plane \(\mathcal{P}\text{.}\) The normal form of \(\mathcal{P}\) is then given by \(\vec{n} \cdot \vec{x} = \vec{n} \cdot \vect{OQ_1}\text{,}\) so its general form is

    \begin{equation*} 3x_1 + x_2 = 9 . \end{equation*}
    Next, we are looking for the intersection of \(\mathcal{P}\) with \(\ell_2\text{.}\) In other words, we are looking for \(t\) such that \(\begin{bmatrix} -1 \\ 2\\ 2 \end{bmatrix} +t\begin{bmatrix} 3 \\ 1\\ 0 \end{bmatrix}\) satisfies the general equation of \(\mathcal{P}\text{:}\)
    \begin{equation*} 3(-1+3t) + (2+t) = 9 \iff t = 1. \end{equation*}
    We conclude that the point \(Q_2\) that \(\mathcal{P}\) and \(\ell_2\) share is given by
    \begin{equation*} \begin{bmatrix} -1 \\ 2\\ 2 \end{bmatrix} +1\begin{bmatrix} 3 \\ 1\\ 0 \end{bmatrix} = \begin{bmatrix} 2 \\ 3\\ 2 \end{bmatrix} . \end{equation*}
    The distance between the points \(Q_1\) and \(Q_2\) is then the distance between the lines:
    \begin{align*} \operatorname{dist} (\ell_1, \ell_2) \amp= \norm{\vect{Q_1 Q_2}}\\ \amp= \sqrt{(2-3)^2 + (3-0)^2 + (2-2)^2} = \sqrt{10} . \end{align*}

7.

Find the angle between the planes \(\mathcal{P}_1\colon x_1+x_2=5\) and \(\mathcal{P}_2\colon 2x_1+x_2-x_3 =4\text{.}\)
Hint.
Find a normal vector \(\vec{n}_1\) resp. \(\vec{n}_2\) for each of the planes. Using the Cosine Formula 2.2.5.5.1, compute the angle \(\theta=\sphericalangle (\vec{n}_1, \vec{n}_2)\) between these vectors. Then,
\begin{equation*} \sphericalangle (\mathcal{P}_1, \mathcal{P}_2) = \left\{ \begin{array}{lc} \theta \amp \text{ if } 0 \leq \theta \leq \tfrac{\pi}{2}\\ \pi - \theta \amp \text{ if } \tfrac{\pi}{2} \leq \theta \leq \pi \\ \end{array} \right. \end{equation*}
Answer.

\begin{equation*} \sphericalangle (\mathcal{P}_1, \mathcal{P}_2) = \tfrac{\pi}{6} \end{equation*}
Solution.

A normal vector to \(\mathcal{P}_1\) resp. \(\mathcal{P}_2\) is given by
\begin{equation*} \vec{n}_1 = \begin{bmatrix} 1 \\ 1\\ 0 \end{bmatrix} \text{ resp. } \vec{n}_2 = \begin{bmatrix} 2 \\ 1\\ -1 \end{bmatrix} . \end{equation*}
According to the Cosine Formula 2.2.5.5.1, the angle between \(\vec{n}_1\) and \(\vec{n}_2\) is the number \(\theta\) that satisfies
\begin{equation*} \cos (\theta) = \frac{ \vec{n}_1\cdot \vec{n}_2}{ \norm{\vec{n}_1}\cdot \norm{\vec{n}_2}} , \end{equation*}
so we compute:
\begin{align*} \vec{n}_1\cdot \vec{n}_2 \amp = 1\cdot 2 + 1\cdot 1 + 0\cdot (-1) = 3\\ \norm{\vec{n}_1} \amp = \sqrt{ 1^2 + 1^2 + 0^2} = \sqrt{2}\\ \norm{\vec{n}_1} \amp = \sqrt{ 2^2 + 1^2 + (-1)^2} = \sqrt{6}, \end{align*}
so that
\begin{equation*} \cos (\theta) = \frac{ 3}{ \sqrt{2}\cdot \sqrt{6}} = \frac{ 3}{\sqrt{12}} , \text{ i.e. } \sphericalangle (\mathcal{P}_1, \mathcal{P}_2) = \theta = \tfrac{\pi}{6} . \end{equation*}

8.

Find the angle between the line
\begin{equation*} \ell\colon \vec{x} = \begin{bmatrix} 0 \\ 3\\ 7 \end{bmatrix} +t\begin{bmatrix} 1 \\ 1\\ 4 \end{bmatrix} \end{equation*}
and \(\mathcal{P}\colon 4x_1+7x_2+4x_3 =6\text{.}\)
Hint.
Find a normal vector \(\vec{n}\) for \(\mathcal{P}\) and a directional vector \(\vec{d}\) of \(\ell\text{.}\) Compute \(\theta=\sphericalangle (\vec{n}, \vec{d})\) using the Cosine Formula 2.2.5.5.1. Then
\begin{equation*} \sphericalangle (\mathcal{P}, \ell) = \left\{ \begin{array}{lc} \frac{\pi}{2} - \theta \amp \text{ if } 0 \leq \theta \leq \frac{\pi}{2} \\ \theta - \frac{\pi}{2} \amp \text{ if } \frac{\pi}{2} \leq \theta \leq \pi \end{array} \right. . \end{equation*}
Answer.

\begin{equation*} \sphericalangle (\mathcal{P}, \ell) = \tfrac{\pi}{4} . \end{equation*}
Solution.

A normal vector to the plane is given by
\begin{equation*} \vec{n} = \begin{bmatrix} 4 \\ 7\\ 4 \end{bmatrix}. \end{equation*}
The angle \(\theta\) between this vector and the directional vector \(\vec{d} = \begin{bmatrix} 1 \\ 1\\ 4 \end{bmatrix}\) of the line can be computed using the Cosine Formula 2.2.5.5.1:
\begin{equation*} \cos (\theta) = \frac{ \vec{n} \cdot \vec{d}}{ \norm{\vec{n}}\cdot \norm{\vec{d}}} , \end{equation*}
so we compute
\begin{align*} \vec{n}\cdot \vec{d} \amp = 4\cdot 1 + 7\cdot 1 + 4\cdot 4 = 27\\ \norm{\vec{n}} \amp = \sqrt{ 4^2 + 7^2 + 4^2} = \sqrt{81} = 9\\ \norm{\vec{d}} \amp = \sqrt{ 1^2 + 1^2 + 4^2} = \sqrt{18} = 3\sqrt{2}. \end{align*}
It follows that
\begin{equation*} \cos (\theta) = \frac{ 27}{ 9\cdot 3\sqrt{2}} = \frac{\sqrt{2}}{2} , \text{ i.e. } \theta=\tfrac{\pi}{4}. \end{equation*}
The angle \(\alpha\) between the line and the plane is then given by \(\alpha = \tfrac{\pi}{2} - \theta = \tfrac{\pi}{4}.\)