University of Texas Rio Grande Valley

Current teaching · Edinburg, Texas · Fall 2026
MATH 2412 PRECALCULUS · SECTION 06 · WEEK 11 · 8.8

Vectors

How do we describe a quantity that has both size and direction?

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.

Learning objectives View vectors geometrically; find magnitude and direction; perform vector addition and scalar multiplication; find the component form of a vector; find the unit vector in the direction of v; perform operations with vectors in terms of i and j; find the dot product of two vectors.

01 · Vectors and position vectors

Definitions
  • 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₁⟩.
INTERACTIVE · DRAG P AND Q

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

For v = ⟨a, b⟩
  • 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°.

INTERACTIVE · DRAG THE TIP OF v

Each preset gives an initial and a terminal point.

03 · Adding, subtracting, and scaling vectors

Operations with u = ⟨a, b⟩ and v = ⟨c, d⟩
sumu + v = ⟨a + c, b + d⟩: place v's tail at u's tip (tip-to-tail).
differenceu − v = u + (−v) = ⟨a − c, b − d⟩, where −v = ⟨−c, −d⟩ has the same length and the opposite direction.
scalar multiplekv = ⟨kc, kd⟩: |kv| = |k||v|; same direction if k > 0, opposite if k < 0.
i and j formi = ⟨1, 0⟩, j = ⟨0, 1⟩, so ⟨a, b⟩ = ai + bj and the operations act on the coefficients.
INTERACTIVE · VECTOR CALCULATOR

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

Definitions
  • 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).
INTERACTIVE · NORMALIZE A VECTOR
INTERACTIVE · FROM LENGTH AND ANGLE TO COMPONENTS

05 · The dot product and the angle between vectors

Dot product
  • 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.
INTERACTIVE · DRAG THE TWO VECTORS
PRACTICE

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.

Choose an answer for each problem.
WRAP-UP

Check your understanding · Vectors

Answer each question on paper first, then open the answer to check yourself.

  1. 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°.

  2. 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.

  3. 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°.