notesonly.in

One notebook for every subject — open it anywhere.

Log in

Vector Algebra and Vector Calculus: A Simple Primer

A vector is a quantity with both magnitude and direction — displacement, velocity, force, electric field — while a scalar has magnitude only, like temperature or mass. Vector algebra is the set of rules for adding vectors and multiplying them in the two ways physics needs: the dot product, which measures how much one vector lies along another, and the cross product, which produces a new vector perpendicular to both. Vector calculus extends these ideas to vector fields that vary from point to point, like the wind velocity over a city.

Vectors matter because physics lives in three-dimensional space. Work is a dot product (force along displacement), torque is a cross product (lever arm times force), and Maxwell's equations — all of electromagnetism — are written in vector calculus. Fluency with dot and cross products is the entry ticket to mechanics, electromagnetism, and fluid dynamics.

Key Concepts

  • Vector basics: vectors add tip-to-tail, scale by scalars, and resolve into components along basis vectors i, j, k. The magnitude is |a| = √(aₓ² + a_y² + a_z²).
  • Dot product: a·b = |a||b|cosθ = aₓbₓ + a_yb_y + a_zb_z. It is a scalar measuring projection; zero means perpendicular.
  • Cross product: a×b has magnitude |a||b|sinθ and points perpendicular to both, by the right-hand rule. It is antisymmetric: a×b = −(b×a).
  • Scalar triple product: a·(b×c) is a scalar equal to the volume of the parallelepiped spanned by the three vectors.
  • Vector functions: a vector depending on one variable, like position r(t), differentiates component-wise: velocity v = dr/dt, acceleration a = dv/dt.

Formulas

  • Dot product: a·b = Σᵢ aᵢbᵢ, in units of (unit of a)(unit of b). Angle: cosθ = (a·b)/(|a||b|).
  • Cross product components: a×b = (a_yb_z − a_zb_y, a_zb_x − a_xb_z, a_xb_y − a_yb_x). Magnitude |a×b| = area of the parallelogram they span.
  • Work: W = F·d, in joules.
  • Torque: τ = r×F, in N·m, pointing along the rotation axis by the right-hand rule.

Worked Example

Let a = (2, 3, 1) and b = (1, −1, 4). The dot product is a·b = 2(1) + 3(−1) + 1(4) = 2 − 3 + 4 = 3. Magnitudes: |a| = √(4 + 9 + 1) = √14 ≈ 3.742, |b| = √(1 + 1 + 16) = √18 ≈ 4.243. The angle between them: cosθ = 3/(3.742 × 4.243) = 3/15.88 = 0.189, so θ ≈ 79.1°. The cross product is a×b = (3·4 − 1·(−1), 1·1 − 2·4, 2·(−1) − 3·1) = (13, −7, −5). Verify perpendicularity: (13, −7, −5)·(2, 3, 1) = 26 − 21 − 5 = 0, and (13, −7, −5)·(1, −1, 4) = 13 + 7 − 20 = 0. Both dot products vanish, confirming the cross product is perpendicular to each input vector, exactly as required.

Common Misconceptions

  1. "The dot product is a vector." It is a scalar — a single number. Only the cross product (and scalar multiples) of vectors is a vector.
  2. "Cross products commute." They anticommute: a×b = −(b×a). Swapping the order flips the direction.
  3. "You can divide by a vector." There is no vector division. Expressions like a/b are meaningless; use dot or cross products instead.

Real-World Applications

  • Work and energy: W = F·d explains why carrying a bag horizontally does no work against gravity.
  • Torque and rotation: τ = r×F tells you why a longer spanner loosens a bolt more easily.
  • Electromagnetism: the magnetic force qv×B and Poynting vector E×B are cross products.
  • Computer graphics: surface normals from cross products drive lighting, and dot products drive shading, in every 3D game.

Vector algebra packs geometry into algebra: dot for "along", cross for "perpendicular". With these two products — and calculus applied component-wise — the whole of classical field physics becomes writable.