Scalars and vectors
A scalar is fully described by a number and a unit: mass, time, temperature, speed, work. A vector needs a size (magnitude) and a direction, and adds by the triangle law: displacement, velocity, acceleration, force.
We write a vector in bold or with an arrow: A or A⃗; its size is |A| or A. Not everything with a direction is a vector: electric current has a direction but adds like a scalar.
Position and displacement vectors
The position vector r of a point P is the arrow from the origin O to P: r = x î + y ĵ.
If an object moves from P (r₁) to Q (r₂), its displacement vector is Δr = r₂ − r₁. It depends only on the start and end points, not on the path taken.
Equal vectors
Two vectors are equal if they have the same magnitude and the same direction. You can slide a vector parallel to itself anywhere and it stays the same vector. Vectors of the same size but opposite direction are negative of each other.
Multiplying a vector by a number
λA is a vector λ times as long as A. If λ > 0 it points the same way; if λ < 0 it points the opposite way; if λ = 0 we get the zero (null) vector. Multiplying by a quantity with units changes the physical meaning: velocity × time = displacement.
Adding and subtracting vectors
Triangle law
Place the tail of B at the head of A. The arrow from A's tail to B's head is A + B.
Parallelogram law
Draw A and B from one point and complete the parallelogram. The diagonal from that point is the resultant R, with R² = A² + B² + 2AB cos θ and tan α = B sin θ/(A + B cos θ).
Addition is commutative (A + B = B + A) and associative. Subtraction: A − B = A + (−B), and |A − B|² = A² + B² − 2AB cos θ.
Unit vector
A unit vector has magnitude 1 and only shows a direction: Â = A/|A|. î, ĵ, k̂ point along the x, y and z axes. So A = |A| Â.
Resolving a vector into rectangular components
If A makes angle θ with the x-axis: Ax = A cos θ, Ay = A sin θ, and A = Ax î + Ay ĵ. Back again: A = √(Ax² + Ay²), tan θ = Ay/Ax.
Adding with components is easy: add the x parts, add the y parts. R = (Ax + Bx) î + (Ay + By) ĵ.
Scalar and vector product
Scalar (dot) product
A·B = AB cos θ = AxBx + AyBy + AzBz. It is a scalar. î·î = 1, î·ĵ = 0. Example: work W = F·s.
Vector (cross) product
|A×B| = AB sin θ, the area of the parallelogram made by A and B. Its direction is perpendicular to both, by the right-hand rule. î×ĵ = k̂, ĵ×k̂ = î, k̂×î = ĵ, and B×A = −A×B. Example: torque τ = r×F.
Key formulas and definitions
- R = √(A² + B² + 2AB cos θ), tan α = B sin θ/(A + B cos θ)
- Ax = A cos θ, Ay = A sin θ, A = √(Ax² + Ay²)
- Â = A/|A|
- Δr = r₂ − r₁
- A·B = AB cos θ = AxBx + AyBy + AzBz
- |A×B| = AB sin θ; î×ĵ = k̂
Worked examples
1. Two forces of 3 N and 4 N act at a right angle. Find the resultant.
Step 1: θ = 90°, cos 90° = 0. Step 2: R = √(9 + 16 + 0) = 5 N. Step 3: tan α = 4/3 → α ≈ 53° from the 3 N force.
2. A particle moves from P(1, 2) m to Q(4, 6) m. Find its displacement vector and its size.
Step 1: Δr = (4 − 1) î + (6 − 2) ĵ = 3î + 4ĵ m. Step 2: |Δr| = √(9 + 16) = 5 m.
3. A velocity of 20 m/s makes 30° with the x-axis. Find its components.
Step 1: vx = 20 cos 30° = 20 × 0.866 = 17.3 m/s. Step 2: vy = 20 sin 30° = 10 m/s. Step 3: v = 17.3 î + 10 ĵ m/s.
4. Find the unit vector along A = 6î − 8ĵ.
Step 1: |A| = √(36 + 64) = 10. Step 2: Â = A/|A| = 0.6î − 0.8ĵ. Step 3: check: 0.36 + 0.64 = 1 ✓.
5. Two vectors of size 5 each make 60° with each other. Find |A + B| and |A − B|.
Step 1: |A + B|² = 25 + 25 + 2·25·cos 60° = 75 → |A + B| ≈ 8.66. Step 2: |A − B|² = 25 + 25 − 25 = 25 → |A − B| = 5.
6. A = 2î + 3ĵ and B = 4î − ĵ. Find A·B and the angle between them.
Step 1: A·B = 2·4 + 3·(−1) = 5. Step 2: |A| = √13 ≈ 3.61, |B| = √17 ≈ 4.12. Step 3: cos θ = 5/(3.61 × 4.12) ≈ 0.336 → θ ≈ 70.4°.
7. For the same A = 2î + 3ĵ and B = 4î − ĵ, find A×B and the area of their parallelogram.
Step 1: A×B = (AxBy − AyBx) k̂ = (2·(−1) − 3·4) k̂ = −14 k̂. Step 2: area = |A×B| = 14 square units. Step 3: the minus sign means it points into the plane.
8. A force F = 3î + 4ĵ N moves a box by s = 5î m. Find the work done.
Step 1: W = F·s = 3·5 + 4·0. Step 2: W = 15 J. Only the part of F along the motion does work.
Common mistakes
- Adding magnitudes directly: 3 N + 4 N at right angles is 5 N, not 7 N.
- Using sin for the x-component when θ is measured from the x-axis. Ax = A cos θ.
- Thinking A×B = B×A. Swapping the order flips the direction.
- Writing the dot product as a vector. A·B is just a number.