]> 5.5 Projections and Applications

5.5 Projections and Applications

If you drop a perpendicular from a point to a line or plane, the point you reach on that line or plane is called the projection of the point onto the line or plane.

Suppose we have a point P ' , a line L , and a plane Q . Suppose L is described by two points, P 1 and P 2 , on it, and Q is described by a normal vector N and a point P 3 on it.

In applying vector concepts to geometric situations, there is one basic fact that is fairly simple and extremely useful:

The projection of a vector A on another vector B is given by ( A , B ) B ( B , B ) .

Why is this so?

Because it is a vector in the direction of B whose length is the length of A multiplied by the cosine of the angle between A and B , which is exactly what this projection is.

How can we use this fact?

Suppose we want to find the projection of P ' onto L . We can write O P ' as P 1 P ' + O P 1 , with P 1 P ' a vector. If we project P 1 P ' onto P 1 P 2 , then ( O P 1 + this projection) will be on L and is the point we want.

The answer is therefore

O P 1 + ( P 1 P ' , P 1 P 2 ) P 1 P 2 ( P 1 P 2 , P 1 P 2 )

If instead we want the distance of P ' from L we can subtract this point from P ' . The length of the resulting vector is our answer.

Suppose we want the distance of P ' to Q . This will be the length of the projection of P ' P 3 on N .

The projection of P ' onto Q can be obtained by adding the projection of P ' P 3 on N to O P ' .

The distance between two lines is just the length of the projection of a vector between a point on each on the cross product of vectors in the direction of each. This does not work if the two lines are parallel, since the cross product needed here will be the 0 vector.

If the lines are parallel, you can form a vector from a point on one line to a point on the other, project it on a vector in the direction of the lines, and subtract this projection from it. The resulting vector will be normal to the lines and its length will be the desired distance.

Thus, if you know how to project one vector on another, and you keep your wits about you, you can answer all the geometric questions raised in Section 5.1.

Exercises:

5.6 Draw an appropriate picture and find a formula for calculating each of the following:
Then calculate the answer with the following input:

P ' = ( 1 , 2 , 3 ) , P 1 = ( 1 , 0 , 0 ) , P 2 = ( 1 , 1 , 1 ) , P 3 = ( 1 , 2 , 1 ) , N = ( 2 , 1 , 4 ) , P 1 ' = ( 1 , 4 , 3 ) , P 2 ' = ( 2 , 3 , 4 ) , P 1 " = ( 6 , 0 , 3 ) , P 2 " = ( 6 , 2 , 6 ) .

5.7. The projection of a point P ' onto a line L (containing P 1 and P 2 ).

5.8 The projection of a point P ' onto a plane Q (having normal N and containing P 3 ).

5.9 The distance between P ' and Q .

5.10 The distance between P ' and L .

5.11 The distance between two skew lines in 3 space, L and L ' (containing P 1 ' and P 2 ' ).

5.12 The distance between two parallel lines in 3 space L and L " (containing P 1 " and P 2 " ).