Processing math: 100%
Skip to main content

Section 14.4 Examples

Subsection 14.4.1 Orthogonal vectors

Example 14.4.1. Testing for orthogonality.

As in Discovery 14.2, and as discussed in Subsection 14.3.2, it's fairly easy to find orthogonal vectors in R2. And it's not that much more difficult in R3.

  1. The vectors u=(3,7) and v=(7,3) are orthogonal in R2, because
    uv=3(7)+73=21+21=0.
  2. The vectors u=(3,7,1) and v=(7,2,7) are orthogonal in R3, because
    uv=3(7)+72+17=21+14+7=0.
Example 14.4.2. Orthogonality of the standard basis vectors.

In Rn, the standard basis vectors are always orthogonal to each other. When we compute eiej with ij, the 1 in the ith component of ei won't line up with the 1 in the jth component of ej, and we'll get a computation something like

eiej=00++00+ith times ith10+00++00+jth times jth01+00++00=0.

Subsection 14.4.2 Orthogonal projection

Let's complete the computations from Discovery 14.3.

Example 14.4.3. Using orthogonal projection to compute distance from a point to a line in R2.

The line through the origin and parallel to a=(3,1) consists of all scalar multiples of a. We would like to know the following.

  • What is the point on this line closest to the point Q(4,4)?
  • What is the distance from Q to the line?

We know that the point we are looking for is at the terminal point of projau, where u=OQ=(4,4). So compute

projau=43+4132+12(3,1)=85(3,1)=(245,85),

which tells us that the point on the line closest to Q is P(24/5,8/5). Now, the vector

n=PQ=(4/5,12/5)

will be a normal vector for the line, extending from P to Q, and so the norm of this vector represents the (perpendicular) distance between Q and the line:

d=n=(45)2+(125)2=16025=4105.

Subsection 14.4.3 Cross product

Here is an example of using the cross product to answer a geometry question in R3.

Example 14.4.4. Using cross product to determine the equation of a plane in R3.

Suppose we would like to determine the equation of the plane in R3 that passes through the point (3,3,3) and is parallel to the vectors u=(1,2,3) and v=(0,2,5).

The equation we are looking for is of the form ax+by+cz=d. We know that a,b,c can be taken to be the components of any normal vector for the plane. A normal vector for the plane must be orthogonal to the plane, and hence must be orthogonal to each of u and v. We can use the cross product to compute such a vector:

n=u×v=|ijk123025|=i(25(3)2)j(15(3)0)+k(1220)=16i5j+2k.

So we can use 16x5y+2z=d as the equation of the plane, for some as-yet-to-be-determined value of d. But we also know that the plane passes through the point (3,3,3), so we must have

16353+23=dd=39.

Thus, the plane can be described algebraically by the equation 16x5y+2z=39, or in point-normal form by the equation n(xx0)=0, where n is as computed above, x0 is the “base” point (3,3,3), and x=(x,y,z) is a variable point.