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.
20.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⃗). The magnitude of v is |v| or v.
Definition 20.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=Axı^+Ayȷ^+Azk^Themagnitudeis∣A∣=(Ax2+Ay2+Az2).In2Dfromangleθabovex−axis:Ax=∣A∣cosθ,Ay=∣A∣sinθ.
Vector addition follows the parallelogram rule (graphically) or component-wise (algebraically): if C = A + B, then C_x = A_x + B_x, C_y = A_y + B_y, C_z = A_z + B_z. Subtraction reverses the direction of the second vector before adding.
Example 20.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 F₁:F1x=30cos40°=22.98NFγ=30sin40°=19.28N
Components of F₂:F2x=50cos120°=−25.00NFγ=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(20.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 20.2 — Finding the Angle Between Vectors
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θ(20.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 20.1 — Cross Product in Component Form
A×B=(AyBz−AzBy)ı^−(AxBz−AzBx)ȷ^+(AxBy−AyBx)k^Theunitvectorrelations:ı^×ȷ^=k^,ȷ^×k^=ı^,k^×ı^=ȷ^(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 20.3 — Torque as a Cross Product
A force F = (2ı^+3ȷ^−k^)Nisappliedatpositionr = (î −2ȷ^+3k^)mfromthepivot.Findthetorque
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 20.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.