Skip to main content

Physics I course sequence · Interactive lesson

Vectors and unit-vector notation

Almost everything this course measures has a direction, and direction is exactly what ordinary arithmetic throws away. Add vectors as arrows first, so you know what the answer should look like, then as î, ĵ and k̂ components, so you can get it right to three figures and carry it into three dimensions.

UPI-01.05 · Lesson 5 of 9 in this unit. Position is not a completion score.
Starting model: Vectors and unit-vector notationA = 4.0 N at 30° and B = 3.0 N at 120° are chained tip to tail from the origin, and the resultant R = A + B closes that chain. The circle of radius |B| about the tip of A holds every tip R can reach, so 1.0 N ≤ |R| ≤ 7.0 N; here |R| = 5.00 N. Dashed lines drop R onto the axes as R_x and R_y.ABRxy1.0 N ≤ |R| ≤ 7.0 N|R| = 5.00 Ncircle: where R can endarctan(Ry/Rₓ) = 66.9°true direction θR = 66.9°
Start with a picture. Change the model in the lab below.
1

What is a vector?

Magnitude and direction matter—and vectors combine by the vector addition rule.

Vector

  • Magnitude and direction.
  • Represented by an arrow.
  • Added tip to tail or by components.

Displacement, velocity, acceleration and force.

Scalar

Magnitude or numerical value, with no spatial direction.

Examples: mass, time, temperature and energy.

Use ordinary scalar arithmetic, with consistent units.

-5-5-2.5-2.52.52.555xyATip to tail: R = A + B
A = 3 î + 4 ĵ   ·   |A| = 5
The full vector model

A vector is a quantity with a magnitude and a direction that combines with others of its kind by the tip-to-tail rule: put the tail of B at the tip of A, and A + B is the arrow from the first tail to the last tip. Displacement is the model — walk 40 m east and then 30 m north and you stand 50 m from the start, not 70 m — and force, velocity and acceleration earn the name because experiment shows they combine the same way. Drawing the arrows shows the shape of an answer, but only to the precision of a ruler and a protractor. Unit vectors remove that limit. î, ĵ and k̂ are dimensionless arrows of length one along the axes, so any vector can be written A = Aₓ î + Ay ĵ + Az k̂, and the geometric rule collapses into adding signed numbers axis by axis; magnitude and direction are rebuilt afterwards, with a quadrant check that a calculator's arctan will not make for you. The model has edges. A size and a direction are not enough: a finite three-dimensional rotation has both, yet a quarter-turn about x followed by one about y leaves a book in a different orientation from the same turns taken in reverse order, so rotations do not add like arrows. And components belong to a frame — turn the axes and the components generally change while A itself does not.

Definition and notation

Something counts as a vector when it has both a size and a direction and combines with others tip to tail; in unit-vector notation it is written as signed components multiplying î, ĵ and k̂, the dimensionless unit vectors along the x, y and z axes.

Example: force and its unit direction

F = (6.0 î − 8.0 ĵ) N has magnitude √(6.0² + 8.0²) = 10.0 N and direction F̂ = 0.60 î − 0.80 ĵ, which points 53.1° below the +x axis; the minus sign, not the size, is what sends it downward.

Magnitude and direction, both stated in full

A vector is specified by two things, and each is easy to state carelessly. The magnitude |A| is a non-negative number with a unit: a displacement of 250 m, a force of 12 N. The direction needs a reference, or it says nothing. “30°” is incomplete; “30° north of east”, “143° counterclockwise from +x” and “along −ĵ” are complete, and so is a compass bearing measured clockwise from north. Where an arrow is drawn does not matter: two arrows with the same length and the same direction are the same vector, which is what lets you slide B across the page to put its tail on the tip of A. Reversing the arrow gives −A, with the same magnitude pointing the opposite way, and multiplying by a scalar c stretches the arrow by |c|, flipping it when c is negative. Scalars such as mass, time and energy carry no direction and add as ordinary numbers. A vector's magnitude is a scalar too, which is exactly why it cannot carry the direction on its own.

2

Adding and subtracting vectors

Slide arrows without changing their length or direction.

Tip-to-tail method

-4-4-2-22244xyABRTip to tail: R = A + B
Put B’s tail at A’s tip. R joins the first tail to the final tip.

Parallelogram method

-4-4-2-22244xyABRParallelogram: R is the diagonal.
Both arrows start together; the diagonal is A + B.

Vector subtraction

-5-5-2.5-2.52.52.555xyA−BRR = A − B = A + (−B)
A − B = A + (−B). Reverse B, then add.
Tip to tail, in either order

To add B to A, slide B until its tail sits on the tip of A; the sum R = A + B runs from the tail of A to the tip of B. Draw B first and A second and you trace the other half of a parallelogram with the same diagonal, so A + B = B + A. With three or more vectors keep chaining tips to tails; the grouping does not matter, (A + B) + C = A + (B + C), and the resultant always closes the chain. Subtraction needs no new rule: A − B = A + (−B), so reverse B and chain it on. Change of velocity is the everyday case. A puck moving at v₁ = 12 m s⁻¹ east leaves a collision at v₂ = 5.0 m s⁻¹ north. Δv = v₂ − v₁ is v₂ followed by a 12 m s⁻¹ arrow pointing west, a right triangle with hypotenuse √(12² + 5.0²) = 13 m s⁻¹ directed 22.6° north of west. The speed fell by only 7 m s⁻¹, yet the velocity changed by 13 m s⁻¹, and it is the 13, not the 7, that sets how hard the collision had to push.

3

Unit vectors î, ĵ and k̂

The Cartesian basis vectors are dimensionless, mutually perpendicular and one unit long.

î = (1, 0, 0)Direction +x · magnitude 1
ĵ = (0, 1, 0)Direction +y · magnitude 1
k̂ = (0, 0, 1)Direction +z · magnitude 1

A = Aₓ î + Aᵧ ĵ + A𝓏 k̂

Where do the units go?

Components carry the physical unit, such as m or N. The basis vectors carry only direction.

Orthonormal basis

î · ĵ = ĵ · k̂ = k̂ · î = 0
î · î = ĵ · ĵ = k̂ · k̂ = 1

The dot product measures alignment; perpendicular directions give zero.
Unit vectors carry direction and nothing else

Pick a right-handed set of axes and lay an arrow of length one along each: î along +x, ĵ along +y, k̂ along +z. They are dimensionless, so once a vector is written on them, every unit and every sign lives in its components; Aₓ = −8.0 m is a full statement, eight metres in the −x direction. The same idea works along any line, not just the axes. Divide a vector by its own magnitude and what survives is pure direction, the unit vector  = A/|A|. A drone at P = (2.0 m, −1.0 m) is sent toward Q = (−6.0 m, 14.0 m). Its displacement is d = Q − P = (−8.0 î + 15.0 ĵ) m, of length √(8.0² + 15.0²) = 17.0 m, so d̂ = −0.471 î + 0.882 ĵ. Any vector along that line is now a magnitude times d̂: flying at 34 m s⁻¹ from P toward Q means v = (34 m s⁻¹) d̂ = (−16 î + 30 ĵ) m s⁻¹. Check a unit vector by squaring its components: 0.471² + 0.882² = 1.00.

4

Adding vectors by components

One signed sum for each axis.

R = A + B
= (Aₓ + Bₓ) î + (Aᵧ + Bᵧ) ĵ + (A𝓏 + B𝓏) k̂

Use the same basis and physical unit for both vectors. In 2D, the z-components are zero.

Adding by components, one column at a time

The component method turns tip-to-tail geometry into bookkeeping. Resolve every vector along the same axes, add the x-components as signed numbers, add the y-components, and only then rebuild the resultant. Take two ropes on a crate: F₁ = 120 N at 30° and F₂ = 80 N at 135°, both counterclockwise from +x. In components F₁ = (103.92 î + 60.00 ĵ) N and F₂ = (−56.57 î + 56.57 ĵ) N; the negative x-component is the part of F₂ pulling back against F₁. Adding the columns gives R = (47.35 î + 116.57 ĵ) N, so |R| = √(47.35² + 116.57²) = 125.8 N at arctan(116.57/47.35) = 67.9°. The ropes pull with 200 N between them yet deliver 125.8 N, because they are 105° apart and along x the second undoes part of the first. Keep the extra digits until the last line, then round once. Nothing in the method depends on there being two vectors or two dimensions: ten forces in three dimensions are still just three column sums.

5

Magnitude and direction

Find the length; use the signs to find the quadrant.

|A| = √(Aₓ² + Aᵧ² + A𝓏²)
θ = atan2(Aᵧ, Aₓ)   (2D, A ≠ 0)

II (−, +)
90°–180°
I (+, +)
0°–90°
III (−, −)
180°–270°
IV (+, −)
270°–360°

Axes bound the quadrants. In 3D, atan2(y, x) gives azimuth only; a second angle or all unit-vector components are needed.

Rebuilding direction: the quadrant check

Magnitude is safe, because squaring discards the signs and Pythagoras never needs them. Direction is where the signs matter, and the usual tool hides them. A calculator's arctan returns angles only between −90° and +90°, so arctan(Ay/Aₓ) cannot tell (3, 5) from (−3, −5): the ratio is 1.667 either way. Take a velocity v = (−3.0 î − 5.0 ĵ) m s⁻¹. Its speed is √(3.0² + 5.0²) = 5.83 m s⁻¹. The calculator gives arctan(−5.0/−3.0) = 59.0°, an arrow into the first quadrant, but both components are negative, so v lies in the third quadrant and θ = 59.0° + 180° = 239.0°, or 59.0° below the −x axis. The rule: when Aₓ is negative, add 180° to the arctan; when Aₓ is positive the arctan is already right, apart from adding 360° if you want an angle between 0° and 360°. Most programming languages provide atan2(Ay, Aₓ), which applies the rule itself. The cheapest protection is still a thumbnail sketch: read the signs, name the quadrant, then compute.

6

A unit vector in any direction

Divide a nonzero vector by its own magnitude.

 = A / |A|

Example · A = (3, 4, 0) m

|A| = 5 m
 = 0.6 î + 0.8 ĵ
|Â| = √(0.6² + 0.8²) = 1

 is dimensionless. The zero vector cannot be normalized: 0 / 0 is undefined.

7

Triangle inequality

A quick check on every resultant.

||A| − |B|| ≤ |A + B| ≤ |A| + |B|

For nonzero vectors, the upper bound occurs when they point the same way; the lower bound occurs in opposite directions. If either vector is zero, both bounds coincide.

Example: lengths 3 m and 4 m can sum to any length from 1 m to 7 m.

A drawing for judgement, components for numbers

A scale drawing is honest about geometry and weak on precision. Draw the crate problem at 1 cm = 20 N and the resultant should measure 6.29 cm. A ruler read to ±0.5 mm means ±1 N, about 0.8% of 125.8 N, and a protractor read to ±1° swings the tip sideways by 125.8 N × π/180 = 2.2 N. Chain a few more vectors and those errors compound; a flat scale drawing cannot generally recover a three-dimensional length directly. Components allow calculation without extra ruler or protractor error; input uncertainties still propagate into the result. The drawing still earns its place, only earlier. Before calculating, sketch the arrows roughly to predict the quadrant and the size, and fence the answer with ||A| − |B|| ≤ |A + B| ≤ |A| + |B|. For the crate, the sketch shows a resultant roughly as long as F₁, certainly between 40 N and 200 N, pointing up and to the right. A computed 125.8 N at 67.9° passes; a sign slip that returned 247.9° would be caught at a glance.

8

Not all directional quantities are ordinary vectors

A magnitude and direction alone are not enough: the addition rule matters.

Finite rotations in 3D

Turning a book about x and then y generally gives a different orientation from doing the same turns in reverse order. Finite rotations do not add like ordinary vectors.

This does not mean angular velocity is not a vector.

Same vector, different components

Rotating fixed orthonormal axes changes the components, not the vector’s physical length or direction. Keep the coordinate choice explicit.

Review coordinate changes →
Common trap: adding magnitudes instead of vectors

The magnitude of a sum is not the sum of the magnitudes. Two ropes pulling a sled with 250 N and 180 N, 60° apart, do not deliver 430 N. Put the first along +x: the second is (90 î + 155.9 ĵ) N, the sum is (340 î + 155.9 ĵ) N, and its magnitude is 374 N. |A + B| = |A| + |B| holds only when the two vectors point the same way; at any other angle part of each vector runs across the other, and pulling in opposite directions the same two ropes would give just 70 N. The slip has a component-form twin: |R| is √(Rₓ² + Ry²), never |Rₓ| + |Ry|, which here would claim 496 N. Add the vectors first, as arrows or as components, and take the magnitude last.

9

Interactive vector lab

Adjust the vectors and see their components, resultant or unit direction.

Vector A
Vector B
Magnitudes: 0–10 m. Angles: 0–360°, counterclockwise from +x.

Blue A, red B (or −B), green resultant. Add corresponding signed components.

-7-7-3.5-3.53.53.577xyABRTip to tail: R = A + B

R = A + B

Rₓ
2.830 m
Rᵧ
5.098 m
|R|
5.831 m
Direction from +x · 0–360°
60.964°

2.000 m ≤ |R| ≤ 8.000 m

A zero resultant has no direction. Length is calculated after adding or subtracting the components.

Readouts are rounded; calculations use unrounded inputs. Tiny cancellation residuals within floating-point roundoff are treated as zero. Nothing here changes saved course progress.

Explore the original resultant-circle lab · forces
Interactive model
4.0 N
3.0 N
120 °

Turn θB to 30° and |R| reaches |A| + |B|; turn it to 210° and |R| falls to ||A| − |B||. Then raise |B| above |A| and keep turning until Rₓ goes negative: arctan(Ry/Rₓ) and the true direction θR now differ by exactly 180°.

Interactive physics modelA = 4.0 N at 30° and B = 3.0 N at 120° are chained tip to tail from the origin, and the resultant R = A + B closes that chain. The circle of radius |B| about the tip of A holds every tip R can reach, so 1.0 N ≤ |R| ≤ 7.0 N; here |R| = 5.00 N. Dashed lines drop R onto the axes as Rₓ and R_y.ABRxy1.0 N ≤ |R| ≤ 7.0 N|R| = 5.00 Ncircle: where R can endarctan(Ry/Rₓ) = 66.9°true direction θR = 66.9°

Rₓ = Aₓ + Bₓ1.96 N

Ry = Ay + By4.60 N

|R| = √(Rₓ² + Ry²)5.00 N

DIRECTION θR FROM +x66.9 °

Live interpretationRₓ = Aₓ + Bₓ: 1.96 N. Ry = Ay + By: 4.60 N. |R| = √(Rₓ² + Ry²): 5.00 N. DIRECTION θR FROM +x: 66.9 °

10

Practice & worked examples

From displacement and a return route to three-dimensional cable forces.

Easy · Displacement & unit direction

A survey stake is moved by d = (−24 î + 7.0 ĵ) m, with î pointing east and ĵ pointing north. Find the size of the move, its direction as a compass description, and the unit vector along d.

Show worked solution →
  1. Magnitude: |d| = √((−24)² + 7.0²) = √(576 + 49) = √625 = 25 m. The signs vanish on squaring, so the magnitude alone cannot say where the stake went.
  2. Quadrant first: dₓ is negative, meaning west, and dy is positive, meaning north, so d points into the north-west quadrant.
  3. Angle from the west axis: arctan(7.0/24) = 16.3°, so d is 16.3° north of west, which is 180° − 16.3° = 163.7° counterclockwise from east.
  4. Unit vector: d̂ = d/|d| = (−24 î + 7.0 ĵ)/25 = −0.96 î + 0.28 ĵ. Check: 0.96² + 0.28² = 0.9216 + 0.0784 = 1.0000.

|d| = 25 m, directed 16.3° north of west (163.7° from east); d̂ = −0.96 î + 0.28 ĵ, which is dimensionless.

Medium · Orienteering route

An orienteer walks 850 m at 20° north of east, then 1.30 km at 35° west of north, then 1.10 km at 15° south of west. Taking î east and ĵ north, find her net displacement by components and the straight walk that returns her to the start. Her scale drawing at 1 cm = 200 m showed the resultant as 7.3 cm at 132° from east. How good was it?

Show worked solution →
  1. Turn each heading into an angle counterclockwise from east: 20°, 90° + 35° = 125°, and 180° + 15° = 195°.
  2. Components in metres: leg 1 = (850 cos 20°, 850 sin 20°) = (798.7, 290.7); leg 2 = (1300 cos 125°, 1300 sin 125°) = (−745.6, 1064.9); leg 3 = (1100 cos 195°, 1100 sin 195°) = (−1062.5, −284.7).
  3. Add the columns: Rₓ = 798.7 − 745.6 − 1062.5 = −1009.4 m and Ry = 290.7 + 1064.9 − 284.7 = 1070.9 m. So R = (−1009.4 î + 1070.9 ĵ) m and |R| = √(1009.4² + 1070.9²) = 1472 m.
  4. Direction: the calculator's arctan(1070.9/−1009.4) = −46.7° points south-east, but Rₓ is negative and Ry positive, so add 180°: θ = 133.3° from east, which is 46.7° north of west.
  5. The walk home is −R = (1009.4 î − 1070.9 ĵ) m: the same 1.47 km, directed 46.7° south of east. She covered 3.25 km of path to end 1.47 km from the start.
  6. At the drawing's scale the component answer is 1472/200 = 7.36 cm at 133.3°. The drawing's 7.3 cm at 132° stands for 1460 m, and its tip lands about 35 m from the true one: right quadrant and right size, but good to only two figures.

R = (−1009 î + 1071 ĵ) m, which is 1.47 km at 46.7° north of west. The return walk is 1.47 km at 46.7° south of east; the drawing's tip was about 35 m off.

Hard · 3D guy-line cable forces

A guy-line bolt sits at (1.0, 2.0, 0) m on level ground, with k̂ vertical. Cable 1 runs from the bolt to (5.0, −1.0, 12.0) m on a mast and carries 650 N; cable 2 runs to (−5.0, 2.0, 8.0) m and carries 500 N. Each cable pulls the bolt toward its upper end. Find the total pull on the bolt, its magnitude, its tilt from vertical and the horizontal direction it leans toward, and the force the ground must supply.

Show worked solution →
  1. Displacements from the bolt: d₁ = (5.0 − 1.0) î + (−1.0 − 2.0) ĵ + 12.0 k̂ = (4.0 î − 3.0 ĵ + 12.0 k̂) m, with |d₁| = √(16 + 9 + 144) = 13.0 m; d₂ = (−6.0 î + 8.0 k̂) m, with |d₂| = 10.0 m.
  2. Unit vectors along the cables: û₁ = d₁/(13.0 m) = 0.308 î − 0.231 ĵ + 0.923 k̂ and û₂ = d₂/(10.0 m) = −0.600 î + 0.800 k̂.
  3. Each force is its tension times its direction: T₁ = (650 N) û₁ = (200 î − 150 ĵ + 600 k̂) N, exact because 650/13 = 50; T₂ = (500 N) û₂ = (−300 î + 400 k̂) N.
  4. Add the columns: R = (−100 î − 150 ĵ + 1000 k̂) N and |R| = √(100² + 150² + 1000²) = 1016 N, 12% less than the 1150 N that adding tensions would claim, because the x-components partly cancel.
  5. Tilt: the horizontal part has size √(100² + 150²) = 180 N, so R leans arctan(180/1000) = 10.2° from vertical. Both horizontal components are negative, a third-quadrant direction, so it leans toward arctan(150/100) + 180° = 236.3° from +x, not the 56.3° a bare arctan returns.
  6. The bolt stays put only if the ground supplies −R = (100 î + 150 ĵ − 1000 k̂) N.

R = (−100 î − 150 ĵ + 1000 k̂) N, |R| ≈ 1.02 × 10³ N, tilted 10.2° from vertical toward 236° from +x; the ground must supply (100 î + 150 ĵ − 1000 k̂) N.

Assume static equilibrium and neglect the bolt’s weight and other loads when finding the balancing ground force.

11

Quick check

Six questions on displacement, basis vectors, normalization, cancellation and bounds.

0 / 6 checked · 0 correct · this visit only

1. A robot is driven through the displacement d₁ = (3.0 î + 4.0 ĵ) m and then d₂ = (−7.0 î − 1.0 ĵ) m, with angles measured counterclockwise from +x. What is its net displacement from the start?

Refreshing clears these answers. This is not saved course completion.

Lesson summary

Draw the arrows, add signed components, then recover magnitude and direction. Unit vectors separate direction from physical size. Check the quadrant and triangle bounds; never assign a direction to a zero vector.

Full formula reference and conditions

Unit-vector form

A = Aₓ î + Ay ĵ + Az k̂

Direction lives in the unit vectors, size and sign in the numbers, so arrow geometry becomes arithmetic on three numbers.

Aₓ, Ay, Az are signed and carry the unit of A (m, N, m s⁻¹); î, ĵ, k̂ are dimensionless with length 1

Magnitude from components

|A| = √(Aₓ² + Ay² + Az²)

Pythagoras twice: once across the xy-plane, then from that diagonal up to the tip.

same unit as the components; never negative, and zero only when every component is zero

Direction in the xy-plane

θ = atan2(Ay, Aₓ), for (Aₓ, Ay) ≠ (0, 0)

The signs of Aₓ and Ay choose the quadrant. atan2(Ay, Aₓ) applies the correction for you; a sketch catches it when you forget.

θ in degrees or radians, counterclockwise from +x; arctan alone returns only −90° to +90°

Adding and subtracting

A ± B = (Aₓ ± Bₓ) î + (Ay ± By) ĵ + (Az ± Bz) k̂

The tip-to-tail construction reduced to one sum per axis, for any number of vectors, in two dimensions or three.

both vectors in one frame and one unit; the same sign is taken in every bracket

Unit vector along A

 = A/|A|, so A = |A| Â

Splits a vector into how much and which way, so a force of known size along a known line can be written down directly.

 is dimensionless with |Â| = 1; it is undefined for the zero vector

Bounds on a sum

||A| − |B|| ≤ |A + B| ≤ |A| + |B|

3 N and 4 N can make anything from 1 N to 7 N, and 5 N only at right angles: a free fence around any computed resultant.

For nonzero vectors, the upper bound is reached in the same direction and the lower bound in opposite directions; if one is zero, both bounds coincide.

Optional supporting lessons

These chapter resources can help with earlier ideas; they are not additional required Physics I completion tasks.

Extra challenging questions

Connect several ideas, explore supplied data, and compare your reasoning with a worked solution.