Skip to lesson content

Lesson 3 of 9

Vector Algebra · Lesson 3 of 9

Vector Components and Direction

“Translate geometric arrows into components, then calculate magnitudes, unit vectors and direction information.”

Learning Objectives

• Distinguish scalar components from vector components in a rectangular basis. • Derive magnitude and perform componentwise vector operations. • Construct unit vectors and vectors of specified magnitude. • Test collinearity and calculate direction ratios and cosines. • Represent every unit direction in the coordinate plane.

Building a vector from three basic directions

The unit vectors point along the positive x-, y- and z-axes. They are mutually perpendicular and each has length one. By travelling along these three directions, with signed distances, we can reach any point in space.

For , first move along the x-axis, then parallel to the y-axis, and finally parallel to the z-axis. The head-to-tail rule says that the sum of these displacements is . Negative coordinates simply require movement in the corresponding negative axis direction.

Rectangular component formLaTeX
are scalar components: signed numbers. The arrows are vector components.
Three perpendicular componentsxyzOQRP(x,y,z)y jz k
Three perpendicular components— Follow the component route O to Q to R to P; its resultant is OP.

Magnitude and basic operations

The component route has right angles, so Pythagoras applies twice. The projection into the XY-plane has length . Combining that length with the perpendicular z-component gives the full length in space.

Magnitude in componentsLaTeX
For , square all three signed components and add before taking the nonnegative square root.

Addition combines movements in the same basic direction. Equality therefore requires each corresponding component to be equal, rather than merely requiring the two lengths to agree. The following component rules express the geometric operations already introduced.

Component operationsLaTeX
Here . The vectors are equal exactly when , and .
Example — Equality compared with equal length

Problem
Find if . Then compare with .

  1. 1.Equate the corresponding components: , , . These three conditions establish vector equality.
  2. 2.Both and have magnitude .
  3. 3.Their corresponding components differ, so they are not equal vectors. Equal length alone does not determine direction.

The component rules also explain how scalar multiplication and addition interact. You can verify each identity by looking at one component at a time. This is a useful alternative to drawing several scaled arrows.

Scalar and distributive lawsLaTeX
are real scalars. These identities hold for all components, hence for the vectors themselves.

Normalising and choosing a magnitude

A unit vector keeps only direction information. Calculate the length of a nonzero vector, then divide every component by that same length. To produce a different required length, multiply the unit vector by that length.

Unit and prescribed-length vectorsLaTeX
gives a vector of magnitude in the same direction. The opposite direction is .
Example — A unit vector in space

Problem
Find a unit vector along .

  1. 1.The magnitude is .
  2. 2.Divide all three components by it: .
  3. 3.Checking its squared magnitude gives . Its components retain the original signs and proportions.
Example — A vector with a required length

Problem
Construct a vector of magnitude 7 along .

  1. 1.The given vector has magnitude .
  2. 2.The unit direction is .
  3. 3.Multiplying by 7 gives . Its length is 7, and the positive multiplier preserves direction.
Example — Normalising a resultant

Problem
Find the unit vector along the sum of and .

  1. 1.Add first: .
  2. 2.Its magnitude is .
  3. 3.The unit vector is . Normalising each addend separately would generally change the resultant direction.

Collinearity and direction information

Two nonzero vectors are collinear exactly when one is a scalar multiple of the other. A positive multiple gives the same direction and a negative multiple gives the opposite direction. In components this means one common scale factor must work in all three positions.

Component test for collinearityLaTeX
This is the safe form of the test. Ratios such as should only be formed when their denominators are nonzero.
Example — Opposite but collinear

Problem
Show that and are collinear.

  1. 1.The second vector is times the first in every component.
  2. 2.Therefore they are collinear and oppositely directed.
  3. 3.Their magnitudes have ratio 1:2, so they are not equal vectors and are not negatives of one another with equal length.

The scalar components provide direction ratios. Dividing them by the vector magnitude gives direction cosines, precisely the components of the unit vector along it. A common positive rescaling of direction ratios preserves the same orientation; a negative rescaling describes the opposite orientation.

Direction from componentsLaTeX
The direction-cosine triple has squared sum one. The component triple generally does not.
Example — Ratios and cosines

Problem
Find direction ratios and cosines for .

  1. 1.One direction-ratio triple is .
  2. 2.The magnitude is .
  3. 3.The direction cosines are . Their squared sum is .

All unit directions in a plane

A vector in the XY-plane has no z-component. For a unit vector, its endpoint lies on the unit circle. As its direction angle varies, the endpoint passes through every point of that circle, including directions in all four quadrants.

Unit vectors in the coordinate planeLaTeX
The magnitude is one because . The angle is measured from the positive x-axis.
Unit directions trace a circlexyP(cos θ, sin θ)cos θsin θO
Unit directions trace a circle— The horizontal and vertical components are cos θ and sin θ.
Common mistake

Do not divide by a zero component when testing collinearity. Compare all components using a common multiplier instead. Also, a direction-ratio triple need not have length one; a direction-cosine triple must.

Quiz

Quick check

For , the scalar y-component is

Quick check

What is ?

Quick check

A unit vector along is

Quick check

Which is collinear with ?

Quick check

The unit vector making angle with the positive x-axis in the XY-plane is

Practice Problems

Practice Problems
  1. For , find its scalar components, vector components and magnitude.
  2. Find when . Give two unequal vectors with the same magnitude.
  3. Find the sum of , and .
  4. Find a vector of magnitude 8 in the direction of .
  5. Find the direction cosines of . Explain why is equally inclined to the positive axes.
  6. If a unit vector makes angles , and an acute angle with the positive axes, determine and its components.
  7. Find all real values of for which is a unit vector. Explain the two signs.

Key Takeaways

Key Takeaways

Components turn geometric vector operations into arithmetic on signed numbers. Scalar components are numbers; vector components include the corresponding basis vector. Normalise the required vector only after forming it. Collinearity requires one common component multiplier; direction cosines are normalised components. Every unit vector in the XY-plane has cosine and sine as its two components.