Precalculus · Textbook draft · 10 minute reading

Vectors in the Plane

Represent displacement, direction, projections, and force components with vectors.

Before you begin

  • Coordinates, trigonometry, and the Pythagorean theorem.

Learning objectives

  • Calculate vector combinations and unit directions.
  • Use the dot product for angles and projections.
  • Distinguish displacement from path length in a vector model.

A displacement of three metres east and four metres north has length five metres, but its length alone does not specify where it goes. A vector retains the two components needed to record both magnitude and direction. Adding vectors can then describe successive displacements without first reducing them to lengths.

Components describe a displacement

Write a plane vector as v=(vx,vy)\mathbf v=(v_x,v_y), also denoted vxi+vyjv_x\mathbf i+v_y\mathbf j using horizontal and vertical unit vectors. An arrow from PP to QQ represents v=Q−P\mathbf v=Q-P. Moving the arrow without rotating or changing its length represents the same free vector.

The magnitude is ∥v∥=vx2+vy2\|\mathbf v\|=\sqrt{v_x^2+v_y^2}. For v=(3,4)\mathbf v=(3,4), it is 5. The zero vector has magnitude zero and no unique direction.

Addition is componentwise: (a,b)+(c,d)=(a+c,b+d)(a,b)+(c,d)=(a+c,b+d). Scalar multiplication gives k(a,b)=(ka,kb)k(a,b)=(ka,kb). A negative scalar reverses direction and scales magnitude by its absolute value. Thus ∥−2v∥=2∥v∥\|-2\mathbf v\|=2\|\mathbf v\|.

Moving by (3,4)(3,4) and then by (−3,4)(-3,4) gives net displacement (0,8)(0,8), with magnitude 8. The traveled path has length 5+5=105+5=10. Adding component displacements and adding path lengths answer different questions.

Unit directions and bearings

For v≠0\mathbf v\ne\mathbf0, its unit direction is v/∥v∥\mathbf v/\|\mathbf v\|. The vector (3,4)(3,4) therefore has unit direction (3/5,4/5)(3/5,4/5).

A vector of magnitude r≥0r\ge0 at directed angle θ\theta from the positive horizontal axis has components (rcos⁡θ,rsin⁡θ)(r\cos\theta,r\sin\theta). At magnitude 10 and angle 150∘150^\circ, these are (−53,5)(-5\sqrt3,5).

Recovering a direction from components requires the correct quadrant. The equation tan⁡θ=vy/vx\tan\theta=v_y/v_x alone cannot distinguish opposite directions. For (−1,−1)(-1,-1), a principal arctangent returns π/4\pi/4 from the ratio 1, but the vector lies in quadrant III and has direction 5π/45\pi/4. A two-argument arctangent routine can account for both component signs.

The dot product measures alignment

Define u⋅v=uxvx+uyvy\mathbf u\cdot\mathbf v=u_xv_x+u_yv_y. It is a scalar, and v⋅v=∥v∥2\mathbf v\cdot\mathbf v=\|\mathbf v\|^2. For nonzero vectors with included angle θ∈[0,π]\theta\in[0,\pi],

u⋅v=∥u∥∥v∥cos⁡θ.\mathbf u\cdot\mathbf v=\|\mathbf u\|\|\mathbf v\|\cos\theta.

To derive this, apply the law of cosines to the triangle of vectors and compare it with the component expansion of ∥u−v∥2\|\mathbf u-\mathbf v\|^2. Both expressions contain ∥u∥2+∥v∥2\|\mathbf u\|^2+\|\mathbf v\|^2, leaving the stated cross term.

Perpendicular nonzero vectors have zero dot product. For (2,1)(2,1) and (1,−2)(1,-2), the dot product is zero. Positive dot product means an acute included angle; negative means an obtuse one.

Projection separates a component along a direction

The signed scalar component of u\mathbf u along a unit vector e\mathbf e is u⋅e\mathbf u\cdot\mathbf e. Along a nonzero vector v\mathbf v, the vector projection is

proj⁡vu=u⋅v∥v∥2v.\operatorname{proj}_{\mathbf v}\mathbf u =\frac{\mathbf u\cdot\mathbf v}{\|\mathbf v\|^2}\mathbf v.

For u=(4,2)\mathbf u=(4,2) and v=(1,1)\mathbf v=(1,1), the coefficient is 6/2=36/2=3, giving projection (3,3)(3,3). The remaining vector is (1,−1)(1,-1), perpendicular to v\mathbf v. Their sum recovers u\mathbf u.

If a constant force F\mathbf F acts through displacement d\mathbf d, its signed work is F⋅d\mathbf F\cdot\mathbf d. A force perpendicular to displacement contributes zero to this work, even though its magnitude is nonzero. With newtons and metres as component units, work has units joules.

Vector equations describe lines and combinations

The equation r(t)=p+tv\mathbf r(t)=\mathbf p+t\mathbf v describes a line through point p\mathbf p in nonzero direction v\mathbf v. Restricting tt to [0,1][0,1] gives a segment from p\mathbf p to p+v\mathbf p+\mathbf v. Two independent direction vectors can express every plane vector as a combination; parallel directions cannot supply movement transverse to their common line.

Exercises

  1. Calculate 2(1,−3)−(4,2)2(1,-3)-(4,2).
  2. Find the magnitude and unit direction of (5,−12)(5,-12).
  3. Give components of magnitude 8 at angle π/3\pi/3.
  4. Find the angle between (1,0)(1,0) and (1,3)(1,\sqrt3).
  5. Project (6,2)(6,2) onto (1,0)(1,0) and identify the perpendicular remainder.
  6. Find the work of constant force (3,4)(3,4) through displacement (2,−1)(2,-1).
Worked solutions
  1. (2,−6)−(4,2)=(−2,−8)(2,-6)-(4,2)=(-2,-8).
  2. Magnitude 13 and unit direction (5/13,−12/13)(5/13,-12/13).
  3. (8/2,83/2)=(4,43)(8/2,8\sqrt3/2)=(4,4\sqrt3).
  4. The cosine is 1/(1⋅2)=1/21/(1\cdot2)=1/2, so the angle is π/3\pi/3.
  5. The projection is (6,0)(6,0) and remainder (0,2)(0,2).
  6. The dot product is 3(2)+4(−1)=23(2)+4(-1)=2 joules if the supplied units are newtons and metres.
Your study progress · Optional

Keep your place

Mark this lesson complete after you've read it, attempted its exercises, and explained its central idea in your own words.

Progress is not saved unless you choose to mark the lesson complete.

Saved only in this browser's local storage. No required account, server transmission, or analytics. You can reset your saved progress on the course page. Clearing browser data also clears the record.