Tutorials › Calculus III › Resolving a Vector Parallel and Perpendicular to a Plane

Dot Products and Projections · Tutorial 66 of 999

Resolving a Vector Parallel and Perpendicular to a Plane

Use a plane’s normal vector to resolve a vector into its perpendicular and in-plane components, and verify the result with dot products.

Beginner 10 min read

What You'll Learn

  • Identify a normal vector from a plane equation.
  • Compute a vector’s component perpendicular to a plane using its normal.
  • Obtain the component parallel to the plane by subtraction.
  • Verify a decomposition by checking orthogonality and recombination.
  • Avoid treating a non-unit normal vector as though it were a unit vector.

Two Components Relative to a Plane

A vector can point partly across a plane and partly along it. For example, a displacement may have a component that moves away from a flat surface and another component that moves along the surface. Resolving the vector into these parts turns a geometric description into a calculation.

The key information is a normal vector to the plane: a nonzero vector perpendicular to every direction that lies in the plane. The component of a vector along this normal is its perpendicular component relative to the plane. Subtracting that component leaves a vector parallel to the plane.

Definition: Let \(\mathbf{n}\ne\mathbf{0}\) be a normal vector to a plane, and let \(\mathbf{v}\) be any vector. The component of \(\mathbf{v}\) perpendicular to the plane is its vector projection onto the normal direction. The component parallel to the plane is the remainder after subtracting the perpendicular component.

These are vector components, not just lengths. In particular, the perpendicular component can point either in the direction of \(\mathbf{n}\) or in the opposite direction.

The Projection Formulas

The normal vector need not have length one. For a nonzero normal vector \(\mathbf{n}\), the perpendicular component is

$$ \mathbf{v}_{\perp} = \frac{\mathbf{v}\cdot\mathbf{n}}{\mathbf{n}\cdot\mathbf{n}}\mathbf{n}. $$

The component parallel to the plane is then

$$ \mathbf{v}_{\parallel} = \mathbf{v}-\mathbf{v}_{\perp} = \mathbf{v} - \frac{\mathbf{v}\cdot\mathbf{n}}{\mathbf{n}\cdot\mathbf{n}}\mathbf{n}. $$

Here \(\mathbf{v}_{\perp}\) is parallel to the normal, so it is perpendicular to the plane. The vector \(\mathbf{v}_{\parallel}\) is orthogonal to \(\mathbf{n}\), so it lies in the plane’s direction. The two components add back to the original vector:

$$ \mathbf{v}=\mathbf{v}_{\parallel}+\mathbf{v}_{\perp}. $$

If the plane is written as \(ax+by+cz=d\), then \(\mathbf{n}=(a,b,c)\) is a normal vector, provided \((a,b,c)\ne(0,0,0)\). The constant \(d\) determines the plane’s position but does not change its normal direction.

Why the Formula Works

To find the parallel component, look for a vector of the form \(\mathbf{v}-t\mathbf{n}\) that is orthogonal to the normal. The unknown scalar \(t\) is chosen so that the remainder lies along the plane. This condition determines \(t\) directly.

1
Require the remainder to lie in the plane’s direction.
A vector lies in the plane’s direction exactly when it is orthogonal to \(\mathbf{n}\). Thus choose \(t\) so that \((\mathbf{v}-t\mathbf{n})\cdot\mathbf{n}=0\).
2
Solve for the scalar.
By linearity of the dot product, \(\mathbf{v}\cdot\mathbf{n}-t(\mathbf{n}\cdot\mathbf{n})=0\). Since \(\mathbf{n}\ne\mathbf{0}\), \(\mathbf{n}\cdot\mathbf{n}>0\), so \(t=(\mathbf{v}\cdot\mathbf{n})/(\mathbf{n}\cdot\mathbf{n})\).
3
Identify both components.
The vector \(t\mathbf{n}\) is parallel to the normal, so it is the perpendicular component. The remainder \(\mathbf{v}-t\mathbf{n}\) is the parallel component.

This also proves the decomposition is unique. If \(\mathbf{v}=\mathbf{p}+\mathbf{q}\), where \(\mathbf{p}\) is parallel to the plane and \(\mathbf{q}\) is parallel to \(\mathbf{n}\), then \(\mathbf{q}=s\mathbf{n}\) for some scalar \(s\). Since \(\mathbf{p}=\mathbf{v}-s\mathbf{n}\) must be orthogonal to \(\mathbf{n}\), the condition above forces \(s=(\mathbf{v}\cdot\mathbf{n})/(\mathbf{n}\cdot\mathbf{n})\). Therefore both components are determined uniquely.

Theorem: For every vector \(\mathbf{v}\) and every nonzero normal vector \(\mathbf{n}\), the formulas above give a unique decomposition into a component parallel to the plane and a component perpendicular to the plane. The checks are \(\mathbf{v}_{\parallel}\cdot\mathbf{n}=0\), \(\mathbf{v}_{\perp}\) parallel to \(\mathbf{n}\), and \(\mathbf{v}_{\parallel}+\mathbf{v}_{\perp}=\mathbf{v}\).

Worked Examples

Worked Example: Resolve a Vector Using a Non-Unit Normal

Let \(\mathbf{v}=(3,4,1)\), and suppose a plane has normal vector \(\mathbf{n}=(2,1,-2)\). Find the two components.

First calculate the dot products:

$$ \mathbf{v}\cdot\mathbf{n} =(3)(2)+(4)(1)+(1)(-2) =6+4-2 =8, $$
$$ \mathbf{n}\cdot\mathbf{n} =(2)(2)+(1)(1)+(-2)(-2) =4+1+4 =9. $$

Therefore, the perpendicular component is

$$ \mathbf{v}_{\perp} =\frac{8}{9}(2,1,-2) =\left(\frac{16}{9},\frac{8}{9},-\frac{16}{9}\right). $$

Subtract it from \(\mathbf{v}\) to obtain the parallel component:

$$ \mathbf{v}_{\parallel} =(3,4,1)-\left(\frac{16}{9},\frac{8}{9},-\frac{16}{9}\right) =\left(\frac{27-16}{9},\frac{36-8}{9},\frac{9+16}{9}\right) =\left(\frac{11}{9},\frac{28}{9},\frac{25}{9}\right). $$

Check that the parallel component is orthogonal to the normal:

$$ \mathbf{v}_{\parallel}\cdot\mathbf{n} =\frac{22}{9}+\frac{28}{9}-\frac{50}{9} =0. $$

The components also add back to the original vector: \((11/9+16/9,\;28/9+8/9,\;25/9-16/9)=(3,4,1)\). Both checks hold.

Worked Example: Read the Normal From a Plane Equation

Resolve \(\mathbf{v}=(1,3,2)\) relative to the plane \(2x-y+2z=5\).

The coefficients of \(x,y,z\) give the normal \(\mathbf{n}=(2,-1,2)\). Compute

$$ \mathbf{v}\cdot\mathbf{n} =(1)(2)+(3)(-1)+(2)(2) =2-3+4 =3, $$
$$ \mathbf{n}\cdot\mathbf{n} =2^2+(-1)^2+2^2 =4+1+4 =9. $$

Thus

$$ \mathbf{v}_{\perp} =\frac{3}{9}(2,-1,2) =\left(\frac{2}{3},-\frac{1}{3},\frac{2}{3}\right). $$

Subtract component by component:

$$ \mathbf{v}_{\parallel} =(1,3,2)-\left(\frac{2}{3},-\frac{1}{3},\frac{2}{3}\right) =\left(\frac{1}{3},\frac{10}{3},\frac{4}{3}\right). $$

Check orthogonality and recombination:

$$ \mathbf{v}_{\parallel}\cdot\mathbf{n} =\frac{2}{3}-\frac{10}{3}+\frac{8}{3} =0, \qquad \mathbf{v}_{\parallel}+\mathbf{v}_{\perp} =(1,3,2)=\mathbf{v}. $$

The equation’s constant \(5\) does not enter the component calculation; it locates the plane, while the normal determines its direction.

Worked Example: A Negative Perpendicular Component

Let \(\mathbf{n}=(1,2,2)\) be a plane normal and let \(\mathbf{v}=(1,-1,0)\). Find the components and check their lengths using the Pythagorean identity for orthogonal vectors.

The dot products are

$$ \mathbf{v}\cdot\mathbf{n} =(1)(1)+(-1)(2)+(0)(2) =1-2+0 =-1, $$
$$ \mathbf{n}\cdot\mathbf{n}=1^2+2^2+2^2=9. $$

The coefficient is negative, so the perpendicular component points opposite to \(\mathbf{n}\):

$$ \mathbf{v}_{\perp} =-\frac{1}{9}(1,2,2) =\left(-\frac{1}{9},-\frac{2}{9},-\frac{2}{9}\right). $$

Subtracting gives

$$ \mathbf{v}_{\parallel} =(1,-1,0)-\left(-\frac{1}{9},-\frac{2}{9},-\frac{2}{9}\right) =\left(\frac{10}{9},-\frac{7}{9},\frac{2}{9}\right). $$

The dot product check is

$$ \mathbf{v}_{\parallel}\cdot\mathbf{n} =\frac{10}{9}-\frac{14}{9}+\frac{4}{9} =0. $$

For the length check, \(\|\mathbf{v}\|^2=1^2+(-1)^2+0^2=2\). Also,

$$ \|\mathbf{v}_{\perp}\|^2 =\frac{1+4+4}{81} =\frac{1}{9}, \qquad \|\mathbf{v}_{\parallel}\|^2 =\frac{100+49+4}{81} =\frac{153}{81} =\frac{17}{9}. $$

Hence \(\|\mathbf{v}_{\parallel}\|^2+\|\mathbf{v}_{\perp}\|^2=17/9+1/9=2=\|\mathbf{v}\|^2\), as expected for orthogonal components.

A Common Error: Forgetting the Normal’s Length

A frequent mistake is to multiply the normal by \(\mathbf{v}\cdot\mathbf{n}\) and stop, as if the normal were automatically a unit vector. For the first example, that incorrect calculation would give \(\mathbf{v}_{\perp}=8(2,1,-2)=(16,8,-16)\). But this is not the projection: its dot product with \(\mathbf{v}\) is not the relevant check; instead, verify whether the proposed parallel remainder is orthogonal to \(\mathbf{n}\).

The incorrect remainder would be \((3,4,1)-(16,8,-16)=(-13,-4,17)\), and

$$ (-13,-4,17)\cdot(2,1,-2) =-26-4-34 =-64\ne0. $$

So the remainder is not parallel to the plane. The missing denominator is \(\mathbf{n}\cdot\mathbf{n}=9\). Dividing by it gives the correct coefficient \(8/9\), and the resulting remainder has dot product zero with the normal.

Takeaway: Use \((\mathbf{v}\cdot\mathbf{n})/(\mathbf{n}\cdot\mathbf{n})\) when the normal is not known to be a unit vector. If \(\mathbf{n}\) is a unit vector, then \(\mathbf{n}\cdot\mathbf{n}=1\), and only in that case does the denominator disappear.

Why the Resolution Is Useful

The decomposition separates two geometrically different effects. The perpendicular component measures how much of \(\mathbf{v}\) points across the plane; the parallel component contains what remains along its direction. This makes it possible to describe a vector relative to a surface without changing the vector itself: the two pieces preserve its complete direction and magnitude when recombined.

There are three reliable checks for a calculation:

  • \(\mathbf{v}_{\perp}\) must be a scalar multiple of the normal.
  • \(\mathbf{v}_{\parallel}\cdot\mathbf{n}\) must equal zero.
  • \(\mathbf{v}_{\parallel}+\mathbf{v}_{\perp}\) must equal \(\mathbf{v}\).

If the components are computed correctly, the Pythagorean identity also applies: the squared length of the original vector is the sum of the squared lengths of its perpendicular and parallel components. This follows because their dot product is zero.

Check Your Understanding

For each question, use a nonzero normal vector and verify the component decomposition.

  1. For \(\mathbf{v}=(2,1,3)\) and normal \(\mathbf{n}=(1,0,1)\), find the parallel and perpendicular components.
  2. What normal vector can be read from the plane equation \(x+2y-2z=4\)?
  3. Why must \(\mathbf{n}\cdot\mathbf{n}\) be positive in the projection formula?
  4. If \(\mathbf{v}\cdot\mathbf{n}<0\), what does that tell you about the direction of the perpendicular component?
  5. What two dot-product or vector-sum checks can confirm a proposed decomposition?