A wind of 20 mph from the west and a wind of 20 mph from the north are not the same, even though their sizes match. Quantities like velocity and force need both a magnitude and a direction. A vector captures both as an arrow, and in components ⟨a, b⟩ we can add vectors, stretch them, measure them, and find the angle between them.
01 · Vectors and position vectors
- A vector is a directed line segment from an initial point to a terminal point. The vector from P to Q is written PQ⃗ or with a bold letter such as v.
- Equal vectors have the same magnitude and the same direction, wherever they are drawn.
- A position vector starts at (0, 0) and ends at (a, b); it is written ⟨a, b⟩.
- The vector from C(x₁, y₁) to D(x₂, y₂) equals the position vector ⟨x₂ − x₁, y₂ − y₁⟩.
Drag the initial point P or the terminal point Q (they snap to the grid). The blue arrow is the equal position vector.
02 · Magnitude and direction
- Magnitude: |v| = √(a² + b²).
- Direction (measured counterclockwise from the positive x-axis): θ = tan⁻¹(b/a) in Quadrant I; tan⁻¹(b/a) + 180° in Quadrants II and III; tan⁻¹(b/a) + 360° in Quadrant IV.
Always sketch the vector first: the calculator's tan⁻¹ only returns angles between −90° and 90°.
Each preset gives an initial and a terminal point.
03 · Adding, subtracting, and scaling vectors
Drag the tips of u and v or pick a preset. Results appear in both ⟨ , ⟩ and i, j form.
04 · Unit vectors and magnitude–direction form
- A unit vector has magnitude 1. The unit vector in the direction of v ≠ 0 is u = v / |v|.
- A vector with magnitude |v| and direction θ is v = |v|(cos θ i + sin θ j).
05 · The dot product and the angle between vectors
- v · w = ac + bd for v = ⟨a, b⟩ and w = ⟨c, d⟩. The result is a scalar (a number), not a vector.
- The angle between v and w: θ = cos⁻¹( (v · w) / (|v||w|) ).
- v and w are perpendicular (θ = 90°) exactly when v · w = 0.
Guided problems · Vectors
Original problems on components, magnitude and direction, vector arithmetic, unit vectors, and the dot product. Open a hint if you need one, check your answers, then try another set.
Check your understanding · Vectors
Answer each question on paper first, then open the answer to check yourself.
Find the magnitude and direction of the vector from P(3, 7) to Q(1, 1).
Show answer
v = ⟨1 − 3, 1 − 7⟩ = ⟨−2, −6⟩. |v| = √40 = 2√10. Quadrant III: θ = tan⁻¹(3) + 180° ≈ 251.6°.
Given v = ⟨−4, 4⟩ and w = ⟨6, −5⟩, find 3v − 2w.
Show answer
3v = ⟨−12, 12⟩ and 2w = ⟨12, −10⟩, so 3v − 2w = ⟨−24, 22⟩ = −24i + 22j.
Find the angle between v = ⟨−2, −5⟩ and w = ⟨9, −1⟩.
Show answer
v · w = −18 + 5 = −13; |v| = √29 and |w| = √82. θ = cos⁻¹(−13/(√29 · √82)) ≈ 105.5°.