Given two vectors in a plane, their cross product gives a normal vector:
n=a×b
Equation of a Line Through Two Points
For points a and b, the line equation is:
(r−a)×(b−a)=0
This encodes: any point r on the line has r−a parallel to b−a.
Shortest Distance: Point to Line
Distance from point q to line through points a, b:
d=∣b−a∣∣(q−a)×(b−a)∣
This is the magnitude of the perpendicular component.
Rotational Motion
The velocity of a point at position r rotating with angular velocity ω:
v=ω×r
Triple Products
Scalar Triple Product
a⋅(b×c)=axbxcxaybycyazbzcz=[a,b,c]
Properties:
Cyclic permutation (even): value unchanged
[a,b,c]=[b,c,a]=[c,a,b]
Odd permutation: sign changes
[a,c,b]=−[a,b,c]
Geometric meaning: volume of parallelepiped formed by a, b, c
Coplanar vectors: if [a,b,c]=0, the vectors lie in the same plane
Vector Triple Product
a×(b×c)=(a⋅c)b−(a⋅b)c
This is the BAC-CAB rule (mnemonic: “BAC minus CAB”).
Warning: Cross product is not associative:
a×(b×c)=(a×b)×c
Why the Cross Product Only Exists in 3D
The cross product as defined here is specific to three dimensions. In 2D, a perpendicular “vector” would have to point out of the plane (making it essentially a scalar). In 4D and higher, the concept generalises differently (wedge product / exterior algebra).
This is why the cross product is sometimes called the “vector product” — it produces a vector only because we happen to work in 3D.
The standard Cartesian (rectangular) coordinate system uses three mutually perpendicular axes x, y, z emanating from an origin O.
Position vector:r=xi^+yj^+zk^
Basis vectorsi^, j^, k^ are constant — they point in the same direction everywhere.
Cylindrical Polar Coordinates (r, θ, z)
Useful for systems with cylindrical symmetry (pipes, wires, cylindrical objects).
Coordinate Definitions
r≥0: perpendicular distance from z-axis
θ: azimuthal angle from x-axis in the xy-plane
z: height (same as Cartesian)
Relations to Cartesian
x=rcosθ,y=rsinθ,z=z
r=x2+y2,θ=tan−1xy
Basis Vectors
Unlike Cartesian, cylindrical basis vectors depend on position:
e^r=cosθi^+sinθj^
e^θ=−sinθi^+cosθj^
e^z=k^
Position vector:r=re^r+ze^z
Warning:e^r and e^θ change direction as θ changes.
Spherical Polar Coordinates (r, θ, ϕ)
Useful for systems with spherical symmetry (atoms, planets, central forces).
Coordinate Definitions
r≥0: distance from origin
θ∈[0,π]: polar angle from z-axis (inclination)
ϕ∈[0,2π): azimuthal angle from x-axis
Note: Physics convention differs from mathematics — physicists use θ for polar angle and ϕ for azimuthal, while mathematicians often swap them.
Relations to Cartesian
x=rsinθcosϕ,y=rsinθsinϕ,z=rcosθ
r=x2+y2+z2
Basis Vectors
Again, position-dependent:
e^r=sinθcosϕi^+sinθsinϕj^+cosθk^
e^θ=cosθcosϕi^+cosθsinϕj^−sinθk^
e^ϕ=−sinϕi^+cosϕj^
Position vector:r=re^r
Volume Elements
The volume element changes with coordinate system:
Cartesian:dV=dxdydz
Cylindrical:dV=rdrdθdz
The extra factor r accounts for the fact that rings at larger r have larger circumference.
Spherical:dV=r2sinθdrdθdϕ
The factor r2sinθ comes from the Jacobian determinant. At the poles (θ=0,π), sinθ=0 and the volume element vanishes — this reflects the coordinate singularity.
Area Elements
For surface integrals:
Cylindrical (curved surface):dS=rdθdz
Spherical (surface of sphere):dS=r2sinθdθdϕ
Why Different Coordinate Systems?
Choosing the right coordinates simplifies problems:
Symmetry
Best Coordinates
Example
Cylindrical
(r,θ,z)
Electric field of a wire
Spherical
(r,θ,ϕ)
Gravitational field of Earth
Translational
Cartesian
Uniform field
Key insight: The physics remains the same; only the mathematical description changes. Choose coordinates that match the symmetry to reduce complexity.
Warning: Basis Vectors Change
In curvilinear coordinates, derivatives of basis vectors are non-zero:
Cylindrical:∂θ∂e^r=e^θ,∂θ∂e^θ=−e^r
Spherical: More complex relations involving all three basis vectors.
This means ∂θ∂r is not simply e^θ — there are additional terms. Always compute vector products in Cartesian or use established formulas for operators like ∇ in curvilinear coordinates.
Compare with trig: The derivatives of sinh and cosh follow the same pattern as sin and cos but without sign changes.
Inverse Hyperbolic Functions
Expressed as logarithms:
sinh−1x=ln(x+x2+1)(defined for all x)
cosh−1x=ln(x+x2−1)(for x≥1)
tanh−1x=21ln(1−x1+x)(for ∣x∣<1)
Derivation of sinh−1: If y=sinh−1x, then x=sinhy=2ey−e−y. Multiply by ey, solve the quadratic in ey.
Why Hyperbolic Functions Matter
Catenary: The shape of a hanging chain is y=acosh(x/a)
Special relativity: Rapidity (the hyperbolic angle) uses tanh
Differential equations: Solutions to dx2d2y=y involve sinh and cosh
Complex analysis: Bridge between trigonometric and exponential functions
Hyperbolic functions appear wherever phenomena have exponential growth/decay combined with symmetry, such as in thermal physics, fluid dynamics, and electrical transmission lines.
We write limx→x0f(x)=K if f(x) can be made arbitrarily close to K by taking x sufficiently close to x0.
Key point: This is about behaviour nearx0, not atx0. The limit can exist even if f(x0) is undefined or different from K.
The (ε, δ) Definition (Weierstrass)
limx→x0f(x)=K if and only if: for any ε>0, there exists δ>0 such that ∣f(x)−K∣<ε for all x satisfying 0<∣x−x0∣<δ.
Key features:
The order matters: for anyε, we must find someδ
The condition 0<∣x−x0∣ excludes x0 itself
We control x (through δ) to control f(x) (through ε)
Analogy: A game where an opponent picks ε, and you must respond with a valid δ.
Example: Proving limx→0xsinx=1
We need: for any ε>0, find δ such that ∣x∣<δ⇒xsinx−1<ε.
Using the inequality ∣sinx∣<∣x∣<∣tanx∣ for 0<x<π/2:
From sinx<x<tanx, we get cosx<xsinx<1
As x→0, cosx→1, so xsinx is squeezed to 1
This uses the squeeze theorem: If g(x)≤f(x)≤h(x) and limg=limh=L, then limf=L.
One-Sided Limits
Right-hand limit:limx→a+f(x)
Left-hand limit:limx→a−f(x)
The (two-sided) limit exists if and only if both one-sided limits exist and are equal.
Example: The Heaviside step function:
H(x)={01x<0x≥0
has limx→0+H(x)=1 and limx→0−H(x)=0. Since these differ, limx→0H(x) does not exist.
Limits at Infinity
limx→∞f(x)=K if for any ε>0, there exists X such that ∣f(x)−K∣<ε for all x>X.
Example:limx→∞x1=0
Given ε>0, choose X=1/ε. Then for x>X:
x1−0=x1<X1=ε
Continuity
A function f is continuous atx=a if:
f(a) exists (the function is defined there)
limx→af(x)=f(a)
(ε, δ) form: For any ε>0, there exists δ>0 such that ∣f(x)−f(a)∣<ε for all ∣x−a∣<δ.
Note: unlike the limit definition, this includesx=a.
Types of discontinuity:
Removable: limit exists but ≠ function value
Jump: one-sided limits exist but differ
Essential: limit does not exist (e.g., oscillation)
Differentiability
A function f is differentiable atx=a if the limit:
f′(a)=limh→0hf(a+h)−f(a)
exists.
Key relationship:
Differentiable ⇒ continuous
Continuous ⇒ differentiable
Example where continuous but not differentiable:f(x)=∣x∣ at x=0. The left and right derivatives differ.
Big-O Notation
We write f(x)=O(g(x)) as x→a if there exist constants K>0 and δ>0 such that:
∣f(x)∣≤K∣g(x)∣for all 0<∣x−a∣<δ
Intuition:f is bounded by a multiple of g near a.
Examples:
x2+x=O(x2) as x→∞ (the x2 term dominates)
sinx=O(x) as x→0 (since sinx/x→1)
Notation convention: We usually state the tightest bound.
Why Rigorous Analysis Matters
The (ε, δ) framework:
Makes precise what “close” means
Avoids circular reasoning in limits
Handles pathological cases (discontinuous functions, functions that oscillate)
Provides foundations for calculus proofs
Historically, calculus was developed before rigorous foundations. The (ε, δ) definition (Weierstrass, 19th century) resolved centuries of confusion about infinitesimals, convergence, and continuity.
A series is ∑k=0∞uk. The partial sums are Sn=∑k=0nuk.
Convergence: The series converges if limn→∞Sn=S exists (finite). We write ∑uk=S.
Formal definition: For any ε>0, there exists N such that ∣S−Sn∣<ε for all n>N.
Necessary Condition for Convergence
If ∑uk converges, then limk→∞uk=0.
Warning: The converse is false. Example: harmonic series ∑k1 diverges even though k1→0.
Absolute vs Conditional Convergence
Absolute convergence:∑∣uk∣ converges.
Conditional convergence:∑uk converges but ∑∣uk∣ diverges.
Key theorem: If ∑∣uk∣ converges, then ∑uk converges.
Riemann rearrangement theorem: Conditionally convergent series can be rearranged to converge to any value (or diverge). Absolutely convergent series are immune to rearrangement.
Comparison Test
For series with 0≤uk≤vk:
If ∑vk converges, then ∑uk converges
If ∑uk diverges, then ∑vk diverges
Limit comparison: If limk→∞vkuk=L with 0<L<∞, then ∑uk and ∑vk behave the same.
Example:∑k(k+1)1 converges since k(k+1)1<k21 and ∑k21 converges.
Consider tetrahedron with vertices at O(0,0,0), A(1,0,0), B(0,1,0), C(0,0,1).
(a) Find the cosines of angles between faces.
(b) Find the areas of the four faces.
(c) Find the distance from O to face ABC.
Solution outline:
(a) Normal to face OAB is in z-direction. Normal to OBC is in x-direction. These are perpendicular. Angle between faces OAB and OAC: normals are (0,0,1) and (0,1,0), angle is 90°.
Face ABC has normal (1,1,1) (from cross product). Angle with other faces uses dot product.
(b) Face OAB is right triangle with area 1/2. Similarly for OBC, OAC. Face ABC has area 23.
(c) Equation of face ABC: r⋅(1,1,1)=1, or x+y+z=1.
Distance from O: d=31.
Tripos 2004, Paper 1, Question 1A
Given vectors a, b, c with a⋅(b×c)=0, define reciprocal basis(a∗,b∗,c∗) by:
a∗=a⋅(b×c)b×c
with analogous definitions for b∗, c∗.
Show that a∗⋅a=1 and a∗⋅b=0.
Solution:
a∗⋅a=a⋅(b×c)a⋅(b×c)=1
a∗⋅b=a⋅(b×c)(b×c)⋅b
But (b×c)⋅b=[b,c,b]=0 (repeated vector in scalar triple product).
Series
Tripos 2014, Paper 1
Find the expansion of ln(1+x+x2) for:
(i) small x
(ii) large x
Solution:
(i)1+x+x2=1+x+x2. Let u=x+x2, then for small u:
ln(1+u)=u−2u2+3u3−⋯
Substitute back: ln(1+x+x2)=x+x2−2(x+x2)2+⋯
(ii) For large x: ln(1+x+x2)=ln(x2)+ln(x21+x1+1)
Let w=x1+x21. Then:
=2lnx+w−2w2+⋯
Methods II (Lent Term)
First-order and second-order ordinary differential equations, oscillations, multivariable calculus (gradients, divergence, curl), integration theorems, and Fourier series
Verify Stokes’ theorem for F=(−y,x,0) on circle x2+y2≤a2 in plane z=0.
Curl:∇×F=(0,0,2)
Surface integral:∫S(∇×F)⋅dS=∫S2dS=2πa2
Line integral: Boundary is circle x2+y2=a2 at z=0.
r=(acosθ,asinθ,0)
dr=(−asinθ,acosθ,0)dθ
F=(−asinθ,acosθ,0)
F⋅dr=a2sin2θ+a2cos2θ=a2
∮F⋅dr=∫02πa2dθ=2πa2
Both equal:2πa2
Fourier Series
Parseval’s Theorem Application
Use Fourier series for f(x)=x on [−π,π] to evaluate ∑n=1∞n21.
Fourier coefficients:
Since f is odd: an=0.
bn=π1∫−ππxsin(nx)dx=n2(−1)n+1
Parseval:
2π1∫−ππx2dx=21∑n=1∞bn2
3π2=21∑n24
∑n=1∞n21=6π2
Fourier Series of Square Wave
f(x)={−11−π<x<00<x<π
Even though f is odd, this gives a series with only sine terms:
f(x)=π4(sinx+31sin3x+51sin5x+⋯)
=π4∑k=0∞2k+1sin((2k+1)x)
Note: This can also be obtained by differentiating the triangle wave series.
Methods III (Easter Term)
Linear algebra (vector spaces, matrices, determinants, linear maps, eigenvalues), and partial differential equations (Laplace, wave, and diffusion equations)
The Levi-Civita symbol encodes the “orientation” of a coordinate system — it changes sign under any swap of two indices, just like the determinant changes sign under row swaps.