Physics quantities fall into two categories: scalars, which are fully described by a single number with units, and vectors, which require both magnitude and direction. Every force, velocity, and field in this curriculum is a vector.
Learning Goals
Distinguish scalars from vectors and represent vectors in component form using unit vectors.
Add and subtract vectors algebraically by combining corresponding components.
Compute the dot product and use it to find the angle between two vectors or the work done by a force.
Compute the cross product using the determinant formula and apply the right-hand rule for direction.
Recognize vector fields and compute the gradient of a scalar field.
24.1 Scalars and Vectors
A scalar is a quantity with magnitude but no direction: mass, temperature, time, speed, energy. You can add and multiply scalars with ordinary arithmetic.
A vector is a quantity with both magnitude and direction: displacement, velocity, acceleration, force, momentum, electric field. We write vectors in bold (v) or with an arrow (v⃗).Modern vector notation1901 · Gibbs and Wilson simplify physics notationBefore Gibbs, physicists who needed three-dimensional quantities often used quaternions — Hamilton's four-dimensional algebra. It worked but was clumsy, and the quaternion community guarded it fiercely. Gibbs quietly developed a cleaner vector analysis and circulated his notes informally for years before Edwin Wilson turned them into a textbook in 1901. The dot product, cross product, gradient, divergence, and curl — the notation physics still uses — all come from that book. The quaternionists never quite forgave him.Source: J. Willard Gibbs and Edwin Bidwell Wilson, Vector Analysis.Further reading: History of vector calculus · Josiah Willard Gibbs The magnitude of v is |v| or v.
Definition 24.1 — Vector Components
In 3D Cartesian coordinates, a vector A is written in terms of unit vectors î, ĵ, k̂ along the x, y, z axes:A=Axi^+Ayj^+Azk^The magnitude is |A∣=Ax2+Ay2+Az2. In 2D from angle θ above x-axis: Ax=∣A∣cosθ,Ay=∣A∣sinθ.
Vector addition follows the parallelogram rule (graphically) or component-wise (algebraically): if C = A + B, then Cx=Ax+Bx,Cy=Ay+By,Cz=Az+Bz. Subtraction reverses the direction of the second vector before adding.
Example 24.1 — Resultant Force from Two Applied Forces
Force F1 = 30 N at 40° above the +x axis. Force F2 = 50 N at 120° above the +x axis. Find the resultant.
Components of F1:F1x=30cos40∘=22.98NF1y=30sin40∘=19.28N
Components of F2:F2x=50cos120∘=−25.00NF2y=50sin120∘=43.30N
The dot product (scalar product) of two vectors gives a scalar measuring how much one vector projects onto another:
A⋅B=∣A∣∣B∣cosθ=AxBx+AyBy+AzBz(24.1)
Key properties: the dot product is zero when the vectors are perpendicular (cos 90° = 0), maximum when parallel, and negative when the angle exceeds 90°. It is commutative (A·B = B·A) and distributive.
Physical uses of the dot product: work W = F·Δr = FΔr cos θ (only the force component along displacement does work); electric flux Φ = E·A; magnetic flux ΦB=B⋅A.
Definition 24.2 — Finding the Angle Between Vectors
From the dot product formula, the angle θ between two vectors:cosθ=(A⋅B)/(∣A∣∣B∣)If the dot product is positive: θ < 90°. Zero: perpendicular. Negative: θ > 90°.
Example 24.2 — Work Done by a Force
A force F = (3î + 4ĵ) N acts on an object displaced by Δr = (5i^−2j^)m. Find the work done.
The cross product (vector product) produces a vector perpendicular to both input vectors, with magnitude equal to the area of the parallelogram they span:
∣A×B∣=∣A∣∣B∣sinθ(24.2)
Direction: right-hand rule — curl the fingers from A toward B, and the thumb points in the direction of A × B. Important: the cross product is anti-commutative: B × A = −(A × B).
Theorem 24.1 — Cross Product in Component Form
A×B=(AyBz−AzBy)i^−(AxBz−AzBx)j^+(AxBy−AyBx)k^The unit vector relations: î ×j^=k^,j^×k^=i^,k^×i^=j^ (cyclic), and î × î = 0 (any vector crossed with itself is zero).
Physical uses of the cross product: torque τ = r × F; angular momentum L = r × p; magnetic force F = qv × B; magnetic field from a current element dB = (μ₀I/4π)(dl × r̂/r²).
Example 24.3 — Torque as a Cross Product
A force F = (2i^+3j^−k^)N is applied at positionr = (î −2j^+3k^)m from the pivot. Find the torque.
In physics, a vector field assigns a vector to every point in space. The electric field E(r) and magnetic fieldB(r) are vector fields — at every point in space they have a direction and magnitude. Visualizing vector fields is the key to understanding Maxwell's equations and fluid mechanics.
The gradient of a scalar field φ is a vector field pointing in the direction of steepest increase: ∇φ = (∂φ/∂x)î + (∂φ/∂y)ĵ + (∂φ/∂z)k̂. The electric field is the negative gradient of the potential: E = −∇V.
Definition 24.3 — Common Traps
Vectors are not just magnitudes: direction and components matter.
Dot products produce scalars: cross products produce vectors perpendicular to both inputs.
Components depend on basis: the geometric vector does not.
Unit vectors carry direction only: they should have magnitude 1.
Exercises — 24.1–24.4 Vectors
1.
F1=30N at 40° and F2=50N at 120° (both above +x axis). Find the magnitude of the resultant.
N
Straightforward
2.
Force F = (3î + 4ĵ) N acts over displacement (5i^−2j^)m. Find the work done.
J
Straightforward
3.
Find the magnitude of torque when r = (î−2j^+3k^)m and F = (2i^+3j^−k^)N.
N·m
Intermediate
4.Find the angle between A = (2i^−3j^+k^) and B = (î + 4j^−2k^).
Intermediate
5.Define the triple scalar product A⋅(B×C) and prove it equals the volume of the parallelepiped spanned by A, B, C. What does it mean if this product is zero?
Challenging
Key Takeaways
Scalars have magnitude only; vectors have magnitude and direction — add component-wise.
Dot product A⋅B=∣A∣∣B∣cosθ=∑AiBi— scalar; measures projection; zero for perpendicular vectors.
Cross product A×B has magnitude |A∣∣B∣sinθ, direction given by right-hand rule — vector; zero for parallel vectors.
Cross product is anti-commutative: B×A=−A×B. Unlike the dot product, order matters.
Work = F⋅Δr (dot product), torque = r×F (cross product), magnetic force F=qv×B (cross product).
Vector fields assign a vector to every point in space; the electric field E=−∇V is the negative gradient of potential.