Lemma
← All topics
Pure mathematics

Vectors

Quantities with size and direction, in two and three dimensions.

Introduction

A vector has both size (magnitude) and direction, unlike a scalar, which only has size. Displacement, velocity and force are vectors; distance, speed and mass are scalars. This topic covers vector notation in 2D and 3D, adding and scaling vectors, magnitude and direction, unit vectors, position vectors, and using vectors to prove geometric facts such as "these points are collinear" or "this quadrilateral is a parallelogram".

Why it matters

A pilot flying north at 200200 km/h in a 5050 km/h westerly wind does not travel north. Vectors tell you the actual velocity. Every physics engine in a video game, every GPS route and every structural engineering calculation uses vectors, and they are the bridge from Pure maths to Mechanics.

Intuitive explanation

IntuitionA vector is a journey

(34)\binom{3}{4} means "3 right, 4 up". Where you start does not matter: the same arrow can be drawn anywhere. Adding vectors means doing one journey after another, nose to tail. Multiplying by 22 means the same direction, twice as far; by −1-1, the reverse journey.

IntuitionParallel means multiple

Two vectors are parallel exactly when one is a scalar multiple of the other. That single idea solves most geometric vector problems.

Formal definitions

DefinitionComponent form

In 2D, a=a1i+a2j=(a1a2)\mathbf a = a_1\mathbf i + a_2\mathbf j = \binom{a_1}{a_2}. In 3D, a=a1i+a2j+a3k=(a1a2a3)\mathbf a = a_1\mathbf i + a_2\mathbf j + a_3\mathbf k = \begin{pmatrix}a_1\\a_2\\a_3\end{pmatrix}, where i,j,k\mathbf i, \mathbf j, \mathbf k are unit vectors along the xx-, yy- and zz-axes.

DefinitionMagnitude and unit vector

∣a∣=a12+a22+a32|\mathbf a| = \sqrt{a_1^2 + a_2^2 + a_3^2}. The unit vector in the direction of a\mathbf a is a^=a∣a∣\hat{\mathbf a} = \dfrac{\mathbf a}{|\mathbf a|}.

DefinitionPosition vector

The position vector of point AA is OA→=a\overrightarrow{OA} = \mathbf a. Then AB→=b−a\overrightarrow{AB} = \mathbf b - \mathbf a.

Notation

  • Bold a\mathbf a in print; underlined a‾\underline{a} in handwriting.
  • AB→\overrightarrow{AB} is the vector from AA to BB; ∣AB→∣|\overrightarrow{AB}| is the length ABAB.
  • Column vectors and i,j,k\mathbf{i}, \mathbf{j}, \mathbf{k} notation are interchangeable; use whichever the question uses.

Key facts

IdentitiesRules
AB→=b−a,AB→+BC→=AC→,BA→=−AB→\overrightarrow{AB} = \mathbf b - \mathbf a, \qquad \overrightarrow{AB} + \overrightarrow{BC} = \overrightarrow{AC}, \qquad \overrightarrow{BA} = -\overrightarrow{AB}

Midpoint of ABAB: 12(a+b)\tfrac12(\mathbf a + \mathbf b). Point dividing ABAB in ratio m:nm : n: na+mbm+n\dfrac{n\mathbf a + m\mathbf b}{m + n}.

IdentitiesDirection of a 2D vector

(ab)\binom{a}{b} makes angle θ\theta with the positive xx-axis, where tan⁡θ=ba\tan\theta = \dfrac ba (check the quadrant).

Key results

TheoremParallel and collinear

a∥b  ⟺  a=λb\mathbf a \parallel \mathbf b \iff \mathbf a = \lambda\mathbf b for some scalar λ\lambda. Points A,B,CA, B, C are collinear if AB→=λAC→\overrightarrow{AB} = \lambda\overrightarrow{AC} (parallel and sharing the point AA).

TheoremEqual vectors

If a\mathbf a and b\mathbf b are not parallel and pa+qb=ra+sbp\mathbf a + q\mathbf b = r\mathbf a + s\mathbf b, then p=rp = r and q=sq = s. This lets you compare coefficients in geometric proofs.

Proofs

ProofMagnitude in 3D

The vector (abc)\begin{pmatrix}a\\b\\c\end{pmatrix} is the diagonal of a box. The diagonal of its base has length a2+b2\sqrt{a^2 + b^2} (Pythagoras), and then the space diagonal is (a2+b2)+c2\sqrt{(a^2 + b^2) + c^2}.

∎
ProofThe midpoint formula

OM→=a+12AB→=a+12(b−a)=12(a+b)\overrightarrow{OM} = \mathbf a + \tfrac12\overrightarrow{AB} = \mathbf a + \tfrac12(\mathbf b - \mathbf a) = \tfrac12(\mathbf a + \mathbf b).

∎

Methods

MethodGeometric proofs with vectors
  1. Choose two non-parallel base vectors (often given, such as a\mathbf a and b\mathbf b).
  2. Write every vector you need as a route in terms of them.
  3. To show parallel: show one is a multiple of the other. To find unknown ratios: write the same vector two ways and compare coefficients.
MethodResultant force and acceleration

Add the force vectors to get the resultant F\mathbf F, then F=ma\mathbf F = m\mathbf a. The magnitude gives the size; the direction comes from tan⁡θ\tan\theta.

The scalar (dot) product, and why it measures angles

Define a⋅b=a1b1+a2b2+a3b3\mathbf a\cdot\mathbf b = a_1b_1 + a_2b_2 + a_3b_3. Apply the cosine rule to the triangle with sides a\mathbf a, b\mathbf b and a−b\mathbf a - \mathbf b:

∣a−b∣2=∣a∣2+∣b∣2−2∣a∣∣b∣cos⁡θ.|\mathbf a - \mathbf b|^2 = |\mathbf a|^2 + |\mathbf b|^2 - 2|\mathbf a||\mathbf b|\cos\theta.

But expanding the components directly,

∣a−b∣2=∑(ai−bi)2=∣a∣2+∣b∣2−2∑aibi.|\mathbf a - \mathbf b|^2 = \sum(a_i - b_i)^2 = |\mathbf a|^2 + |\mathbf b|^2 - 2\sum a_ib_i.

Comparing the two:

a⋅b=∣a∣∣b∣cos⁡θ.\mathbf a\cdot\mathbf b = |\mathbf a||\mathbf b|\cos\theta.

Consequences:

  • a⋅b=0\mathbf a\cdot\mathbf b = 0 iff the vectors are perpendicular;
  • a⋅a=∣a∣2\mathbf a\cdot\mathbf a = |\mathbf a|^2;
  • a⋅b^\mathbf a\cdot\hat{\mathbf b} is the length of the projection of a\mathbf a onto the direction of b\mathbf b, which is the "shadow" of a\mathbf a.

The section formula

If PP divides ABAB in the ratio m:nm : n, then AP=mm+nABAP = \frac{m}{m+n}AB, so

p=a+mm+n(b−a)=na+mbm+n.\mathbf p = \mathbf a + \frac{m}{m+n}(\mathbf b - \mathbf a) = \frac{n\mathbf a + m\mathbf b}{m + n}.

The midpoint is the case m=nm = n. p\mathbf p is a weighted average of a\mathbf a and b\mathbf b, with more weight on the nearer endpoint.

Vector equation of a line

Every point on the line through AA in direction d\mathbf d is reached by starting at AA and moving some multiple of d\mathbf d:

r=a+td,t∈R.\mathbf r = \mathbf a + t\mathbf d, \qquad t \in \mathbb{R}.

In 2D this is equivalent to y=mx+cy = mx + c, but it works equally well in 3D, where there is no single Cartesian equation for a line.

Proving geometry with vectors: the method

  1. Choose an origin and two (or three) basic vectors.
  2. Express every relevant point in terms of them.
  3. Translate "parallel" into "scalar multiple", "perpendicular" into "dot product zero", and "meet" into "equate two expressions and compare coefficients".
  4. Comparing coefficients is legitimate because the basic vectors are independent: αa+βb=γa+δb\alpha\mathbf a + \beta\mathbf b = \gamma\mathbf a + \delta\mathbf b forces α=γ\alpha = \gamma and β=δ\beta = \delta when a\mathbf a and b\mathbf b are not parallel.

Examples

ExampleA 3D magnitude

∣2i−j+2k∣=4+1+4=3|2\mathbf i - \mathbf j + 2\mathbf k| = \sqrt{4 + 1 + 4} = 3.

More fully worked examples are in the Worked examples tab.

Common mistakes

Common mistakeReversing AB→\overrightarrow{AB}

AB→=b−a\overrightarrow{AB} = \mathbf b - \mathbf a, "end minus start", not a−b\mathbf a - \mathbf b.

Common mistakeSquaring negatives

∣(−34)∣=9+16=5|\binom{-3}{4}| = \sqrt{9 + 16} = 5; the minus sign disappears when squared.

Common mistakeDirection in the wrong quadrant

(−23)\binom{-2}{3} points up and to the left: the angle with the positive xx-axis is 180°−56.3°=123.7°180° - 56.3° = 123.7°.

Common mistakeCollinear needs a common point

Parallel vectors AB→\overrightarrow{AB} and CD→\overrightarrow{CD} only show collinearity if the lines share a point.

Applications

  • Navigation: combining a boat's velocity with a current.
  • Mechanics: resultant forces, equilibrium, F=ma\mathbf F = m\mathbf a.
  • Computer graphics: positions, directions and lighting all use 3D vectors.

Connections

Summary

  • AB→=b−a\overrightarrow{AB} = \mathbf b - \mathbf a; magnitude x2+y2+z2\sqrt{x^2 + y^2 + z^2}; unit vector a∣a∣\frac{\mathbf a}{|\mathbf a|}.
  • Parallel   ⟺  \iff scalar multiple; collinear = parallel + common point.
  • Direction in 2D from tan⁡θ=yx\tan\theta = \frac{y}{x}, checking the quadrant.
  • Distance between AA and BB is ∣b−a∣|\mathbf b - \mathbf a|.

Worked examples

Try each one yourself first, then open the solution.

Example 1Magnitude and direction

Find the magnitude of v=−5i+12j\mathbf v = -5\mathbf i + 12\mathbf j and the angle it makes with the positive xx-axis.

Show the solution
  1. 1Magnitude

    ∣v∣=25+144=13|\mathbf v| = \sqrt{25 + 144} = 13.

  2. 2Reference angle

    tan⁡α=125⇒α=67.4°\tan\alpha = \frac{12}{5} \Rightarrow \alpha = 67.4°.

  3. 3Quadrant

    v\mathbf v points left and up (second quadrant): 180°−67.4°=112.6°180° - 67.4° = 112.6°.

Answer

1313, at 112.6°112.6°

Example 2Unit vector

Find the unit vector in the direction of (2−63)\begin{pmatrix}2\\-6\\3\end{pmatrix}.

Show the solution
  1. 1Magnitude

    4+36+9=7\sqrt{4 + 36 + 9} = 7.

  2. 2Divide

    17(2−63)\dfrac17\begin{pmatrix}2\\-6\\3\end{pmatrix}.

Answer

(2/7−6/73/7)\begin{pmatrix}2/7\\-6/7\\3/7\end{pmatrix}

Example 3Distance between two points in 3D

AA and BB have position vectors i+2j−k\mathbf i + 2\mathbf j - \mathbf k and 4i−2j+11k4\mathbf i - 2\mathbf j + 11\mathbf k. Find ABAB.

Show the solution
  1. 1End minus start

    AB→=3i−4j+12k\overrightarrow{AB} = 3\mathbf i - 4\mathbf j + 12\mathbf k.

  2. 2Magnitude

    9+16+144=169=13\sqrt{9 + 16 + 144} = \sqrt{169} = 13.

Answer

AB=13AB = 13

Example 4Showing points are collinear

A(1,2,3)A(1, 2, 3), B(3,5,4)B(3, 5, 4) and C(7,11,6)C(7, 11, 6). Show that AA, BB and CC are collinear.

Show the solution
  1. 1Two vectors from AA

    AB→=(231)\overrightarrow{AB} = \begin{pmatrix}2\\3\\1\end{pmatrix}, AC→=(693)\overrightarrow{AC} = \begin{pmatrix}6\\9\\3\end{pmatrix}.

  2. 2Parallel

    AC→=3AB→\overrightarrow{AC} = 3\overrightarrow{AB}.

  3. 3Conclude

    Parallel and sharing the point AA, so collinear. BB is a third of the way from AA to CC.

Answer

AC→=3AB→\overrightarrow{AC} = 3\overrightarrow{AB}

Example 5A geometric proof

In triangle OABOAB, OA→=a\overrightarrow{OA} = \mathbf a and OB→=b\overrightarrow{OB} = \mathbf b. MM is the midpoint of OAOA and NN the midpoint of OBOB. Prove that MNMN is parallel to ABAB and half its length.

Show the solution
  1. 1Write MN→\overrightarrow{MN}

    MN→=MO→+ON→=−12a+12b=12(b−a)\overrightarrow{MN} = \overrightarrow{MO} + \overrightarrow{ON} = -\tfrac12\mathbf a + \tfrac12\mathbf b = \tfrac12(\mathbf b - \mathbf a).

  2. 2Write AB→\overrightarrow{AB}

    AB→=b−a\overrightarrow{AB} = \mathbf b - \mathbf a.

  3. 3Compare

    MN→=12AB→\overrightarrow{MN} = \tfrac12\overrightarrow{AB}: parallel and half the length. ■\blacksquare

Answer

MN→=12AB→\overrightarrow{MN} = \tfrac12\overrightarrow{AB}

Example 6Finding a ratio by comparing coefficients

OABCOABC is a parallelogram with OA→=a\overrightarrow{OA} = \mathbf a, OC→=c\overrightarrow{OC} = \mathbf c. PP is the point where the diagonals meet. Show that PP is the midpoint of each diagonal.

Show the solution
  1. 1Along OBOB

    OB→=a+c\overrightarrow{OB} = \mathbf a + \mathbf c, so OP→=λ(a+c)\overrightarrow{OP} = \lambda(\mathbf a + \mathbf c).

  2. 2Along ACAC

    OP→=a+μ(c−a)=(1−μ)a+μc\overrightarrow{OP} = \mathbf a + \mu(\mathbf c - \mathbf a) = (1 - \mu)\mathbf a + \mu\mathbf c.

  3. 3Compare coefficients

    λ=1−μ\lambda = 1 - \mu and λ=μ\lambda = \mu, so λ=μ=12\lambda = \mu = \tfrac12. ■\blacksquare

Answer

λ=μ=12\lambda = \mu = \frac12

Example 7Resultant force and acceleration

Forces (3i+2j)(3\mathbf i + 2\mathbf j) N and (i−5j)(\mathbf i - 5\mathbf j) N act on a particle of mass 22 kg. Find the magnitude of its acceleration.

Show the solution
  1. 1Resultant

    F=4i−3j\mathbf F = 4\mathbf i - 3\mathbf j N.

  2. 2Newton's second law

    a=Fm=2i−1.5j\mathbf a = \frac{\mathbf F}{m} = 2\mathbf i - 1.5\mathbf j.

  3. 3Magnitude

    ∣a∣=4+2.25=2.5|\mathbf a| = \sqrt{4 + 2.25} = 2.5 m s−2^{-2}.

Answer

2.52.5 m s−2^{-2}

Beyond the specification

University-level ideas and the deeper mathematics behind this topic. Not needed for exams, but this is where the subject really opens up.

Vector spaces: the abstract idea (university)

Arrows are just one example. What makes something a "vector" is how it behaves: you can add two of them and scale one by a number, and these operations obey sensible rules.

DefinitionVector space

A set VV with addition and scalar multiplication satisfying, for all u,v,w∈V\mathbf u, \mathbf v, \mathbf w \in V and scalars λ,μ\lambda, \mu:

  • u+v=v+u\mathbf u + \mathbf v = \mathbf v + \mathbf u and (u+v)+w=u+(v+w)(\mathbf u + \mathbf v) + \mathbf w = \mathbf u + (\mathbf v + \mathbf w);
  • there is a zero vector 0\mathbf 0, and every v\mathbf v has a negative −v-\mathbf v;
  • λ(u+v)=λu+λv\lambda(\mathbf u + \mathbf v) = \lambda\mathbf u + \lambda\mathbf v, (λ+μ)v=λv+μv(\lambda + \mu)\mathbf v = \lambda\mathbf v + \mu\mathbf v, λ(μv)=(λμ)v\lambda(\mu\mathbf v) = (\lambda\mu)\mathbf v, and 1v=v1\mathbf v = \mathbf v.

Surprising examples

  • Polynomials of degree at most nn: add them and scale them. A basis is 1,x,x2,…,xn1, x, x^2, \ldots, x^n, so the dimension is n+1n + 1.
  • Functions f:R→Rf: \mathbb{R}\to\mathbb{R}: infinite-dimensional.
  • Solutions of y′′+y=0y'' + y = 0: any combination Acos⁡x+Bsin⁡xA\cos x + B\sin x is again a solution. A 2-dimensional space with basis {cos⁡,sin⁡}\{\cos, \sin\}.
  • Sequences satisfying un+2=un+1+unu_{n+2} = u_{n+1} + u_n: a 2-dimensional space with basis {φn,ψn}\{\varphi^n, \psi^n\}. This is why Binet's formula exists (Sequences and series).
  • m×nm\times n matrices, magic squares, quantum states.
DefinitionBasis and dimension

A basis is a set of vectors that is linearly independent (no non-trivial combination gives 0\mathbf 0) and spanning (every vector is a combination of them). Every basis of a given space has the same size, its dimension.

The power of the abstraction: a theorem proved once for "vector spaces" applies at a stroke to arrows, polynomials, functions, signals and quantum states. Linear algebra is probably the single most widely used part of university mathematics.

TheoremEvery basis has the same size (Steinitz exchange)

If v1,…,vm\mathbf v_1, \ldots, \mathbf v_m are independent and w1,…,wn\mathbf w_1, \ldots, \mathbf w_n span VV, then m≤nm \le n.

Idea: swap the v\mathbf vs into the spanning list one at a time, each time throwing out one of the w\mathbf ws. Independence guarantees that there is always a w\mathbf w to throw out, so you cannot run out of w\mathbf ws first.

Beyond the syllabusInner products and Hilbert spaces

A dot product on an abstract space is called an inner product. For functions on [−π,π][-\pi, \pi], ⟨f,g⟩=∫−ππf(x)g(x) dx\langle f, g\rangle = \int_{-\pi}^\pi f(x)g(x)\,dx. With it, "length", "angle" and "perpendicular" make sense for functions, and Fourier series become expansions in an orthogonal basis {1,cos⁡nx,sin⁡nx}\{1, \cos nx, \sin nx\}, exactly like writing a vector in terms of i,j,k\mathbf i, \mathbf j, \mathbf k. A complete inner-product space is a Hilbert space: the mathematical home of quantum mechanics.

The cross product and determinants (university)

In three dimensions there is a second product, which gives a vector:

a×b=∣ijka1a2a3b1b2b3∣=(a2b3−a3b2, a3b1−a1b3, a1b2−a2b1).\mathbf a\times\mathbf b = \begin{vmatrix}\mathbf i & \mathbf j & \mathbf k\\ a_1 & a_2 & a_3\\ b_1 & b_2 & b_3\end{vmatrix} = (a_2b_3 - a_3b_2,\ a_3b_1 - a_1b_3,\ a_1b_2 - a_2b_1).
TheoremGeometric meaning

a×b\mathbf a\times\mathbf b is perpendicular to both a\mathbf a and b\mathbf b, and has length ∣a∣∣b∣sin⁡θ|\mathbf a||\mathbf b|\sin\theta, the area of the parallelogram they span. Its direction is given by the right-hand rule.

Proof

Perpendicularity: a⋅(a×b)=a1(a2b3−a3b2)+a2(a3b1−a1b3)+a3(a1b2−a2b1)=0\mathbf a\cdot(\mathbf a\times\mathbf b) = a_1(a_2b_3 - a_3b_2) + a_2(a_3b_1 - a_1b_3) + a_3(a_1b_2 - a_2b_1) = 0, since every term cancels with another. Length: a direct expansion gives Lagrange's identity

∣a×b∣2=∣a∣2∣b∣2−(a⋅b)2=∣a∣2∣b∣2(1−cos⁡2θ).|\mathbf a\times\mathbf b|^2 = |\mathbf a|^2|\mathbf b|^2 - (\mathbf a\cdot\mathbf b)^2 = |\mathbf a|^2|\mathbf b|^2(1 - \cos^2\theta).
∎

Properties that differ from ordinary multiplication

  • Anticommutative: b×a=−a×b\mathbf b\times\mathbf a = -\mathbf a\times\mathbf b, and so a×a=0\mathbf a\times\mathbf a = \mathbf 0.
  • Not associative: i×(i×j)=i×k=−j\mathbf i\times(\mathbf i\times\mathbf j) = \mathbf i\times\mathbf k = -\mathbf j, but (i×i)×j=0(\mathbf i\times\mathbf i)\times\mathbf j = \mathbf 0.
  • Instead it satisfies the Jacobi identity: a×(b×c)+b×(c×a)+c×(a×b)=0\mathbf a\times(\mathbf b\times\mathbf c) + \mathbf b\times(\mathbf c\times\mathbf a) + \mathbf c\times(\mathbf a\times\mathbf b) = \mathbf 0. Vectors with this product form a Lie algebra, the algebra of infinitesimal rotations.

Volume and the triple product

a⋅(b×c)=det⁡(abc)\mathbf a\cdot(\mathbf b\times\mathbf c) = \det\begin{pmatrix}\mathbf a\\ \mathbf b\\ \mathbf c\end{pmatrix} is the (signed) volume of the parallelepiped spanned by a\mathbf a, b\mathbf b and c\mathbf c. It is zero iff the three vectors are coplanar, i.e. linearly dependent. Determinants measure volume, in any dimension. That is why a matrix is invertible iff its determinant is non-zero: an invertible map cannot flatten space.

Physics

  • Torque: τ=r×F\boldsymbol\tau = \mathbf r\times\mathbf F.
  • Angular momentum: L=r×mv\mathbf L = \mathbf r\times m\mathbf v.
  • Magnetic force on a charge: F=qv×B\mathbf F = q\mathbf v\times\mathbf B, which is always perpendicular to the motion. That is why magnetic fields bend charged particles into circles and do no work on them.
Mathematical curiosityWhy only 3D (and 7D)?

A product a×b\mathbf a\times\mathbf b that is bilinear, perpendicular to both factors, and has length ∣a∣∣b∣sin⁡θ|\mathbf a||\mathbf b|\sin\theta exists only in dimensions 33 and 77. This is connected to the quaternions (4D) and the octonions (8D) via Hurwitz's theorem. In other dimensions, the wedge product a∧b\mathbf a\wedge\mathbf b of exterior algebra does the job, as an oriented area rather than a vector.

Linear maps: vectors in motion (university)

A function TT from vectors to vectors is linear if T(u+v)=Tu+TvT(\mathbf u + \mathbf v) = T\mathbf u + T\mathbf v and T(λv)=λTvT(\lambda\mathbf v) = \lambda T\mathbf v. Rotations, reflections, stretches, shears and projections are all linear. Translations are not, because they move 0\mathbf 0.

TheoremA linear map is determined by what it does to a basis

If Ti=pT\mathbf i = \mathbf p and Tj=qT\mathbf j = \mathbf q, then T(xi+yj)=xp+yqT(x\mathbf i + y\mathbf j) = x\mathbf p + y\mathbf q. Writing p\mathbf p and q\mathbf q as the columns of a matrix MM, Tv=MvT\mathbf v = M\mathbf v.

This is where matrices come from: a matrix is a linear map written in coordinates. Matrix multiplication is defined the way it is precisely so that M(Nv)=(MN)vM(N\mathbf v) = (MN)\mathbf v: multiplying matrices composes the maps.

Eigenvectors

Most vectors change direction under TT. An eigenvector does not: Tv=λvT\mathbf v = \lambda\mathbf v. It is only stretched, by the eigenvalue λ\lambda.

Example: the shear-and-stretch M=(2101)M = \begin{pmatrix}2 & 1\\ 0 & 1\end{pmatrix} has eigenvector i\mathbf i (eigenvalue 22) and i−j\mathbf i - \mathbf j (eigenvalue 11). In the basis of eigenvectors, MM acts as a simple stretch along each axis. Finding that basis (diagonalisation) turns hard problems into easy ones. Examples:

  • Powers: M100M^{100} becomes trivial to compute, which is how Binet's formula and population models work.
  • Differential equations: coupled systems separate into independent ones.
  • Vibrations: the eigenvectors are the normal modes of a bridge, molecule or guitar string, and the eigenvalues are their frequencies.
  • Google's PageRank: the ranking is the eigenvector of the web's link matrix with eigenvalue 11.
  • Quantum mechanics: measurable quantities are eigenvalues. The energy levels of an atom are eigenvalues of its Hamiltonian.
TheoremThe spectral theorem (real symmetric case)

A real symmetric matrix has real eigenvalues and an orthonormal basis of eigenvectors.

Geometrically: every symmetric linear map is a pure stretch along some set of perpendicular axes. These are the principal axes of stress in engineering, the principal moments of inertia in mechanics, and the principal components in statistics (PCA).

Vector calculus: fields and flows (university)

A vector field assigns a vector to every point: wind velocity, gravitational field, electric field. Calculus on vector fields uses the operator ∇=(∂∂x,∂∂y,∂∂z)\nabla = \left(\frac{\partial}{\partial x}, \frac{\partial}{\partial y}, \frac{\partial}{\partial z}\right) in three ways.

operationformulameaning
gradient∇f\nabla fdirection and rate of steepest increase of ff
divergence∇⋅F\nabla\cdot\mathbf Fnet outflow per unit volume (sources and sinks)
curl∇×F\nabla\times\mathbf Flocal rotation (twice the angular velocity of a tiny paddle wheel)
TheoremThe divergence theorem (Gauss)

For a region VV with boundary surface SS and outward normal n\mathbf n:

∭V∇⋅F dV=∬SF⋅n dS.\iiint_V\nabla\cdot\mathbf F\,dV = \iint_S\mathbf F\cdot\mathbf n\,dS.

In words: what is produced inside must flow out through the boundary. This is the Fundamental Theorem of Calculus in three dimensions. Stokes' theorem does the same for curl and circulation round a loop.

Maxwell's equations

All of classical electromagnetism fits in four lines:

∇⋅E=ρε0,∇⋅B=0,∇×E=−∂B∂t,∇×B=μ0J+μ0ε0∂E∂t.\nabla\cdot\mathbf E = \frac{\rho}{\varepsilon_0}, \quad \nabla\cdot\mathbf B = 0, \quad \nabla\times\mathbf E = -\frac{\partial\mathbf B}{\partial t}, \quad \nabla\times\mathbf B = \mu_0\mathbf J + \mu_0\varepsilon_0\frac{\partial\mathbf E}{\partial t}.

Taking the curl of the third equation in empty space, and using the identity ∇×(∇×E)=∇(∇⋅E)−∇2E\nabla\times(\nabla\times\mathbf E) = \nabla(\nabla\cdot\mathbf E) - \nabla^2\mathbf E, gives the wave equation with speed 1μ0ε0=3×108\frac{1}{\sqrt{\mu_0\varepsilon_0}} = 3\times10^8 m s−1^{-1}. Maxwell (1865) recognised this as the speed of light: light is an electromagnetic wave. One of the greatest discoveries in physics came out of vector calculus.

Mathematical curiosityThe hairy ball theorem

You cannot comb a hairy sphere flat without a cowlick: every continuous tangent vector field on a sphere vanishes somewhere. So at any moment there is a point on Earth where the horizontal wind speed is zero. On a doughnut (torus), by contrast, a nowhere-zero field is easy. The difference is topological: it depends on the Euler characteristic of the surface, which is 22 for the sphere and 00 for the torus.

Why does this work?

Why does this work?Why is ∣a∣=x2+y2+z2|\mathbf a| = \sqrt{x^2 + y^2 + z^2}?

Apply Pythagoras twice: the diagonal of the base rectangle is x2+y2\sqrt{x^2 + y^2}, and it is perpendicular to the vertical edge zz, so the space diagonal is (x2+y2)+z2\sqrt{(x^2 + y^2) + z^2}.

Beyond the syllabus

Beyond the syllabusVector spaces

A vector space is any set whose elements can be added and scaled, obeying the familiar rules (associativity, distributivity, a zero vector, and so on). Arrows in space are one example, but so are polynomials of degree at most nn, solutions of linear differential equations, and m×nm \times n matrices. Concepts like dimension, basis and linear independence then apply far beyond geometry; the dimension of the space of polynomials of degree at most nn is n+1n + 1.

Beyond the syllabusVector fields

A vector field assigns a vector to each point, like wind velocity on a weather map. Calculus of vector fields (divergence, curl, and the theorems of Green, Gauss and Stokes) is the language of fluid flow and of Maxwell's equations of electromagnetism.

Mathematical curiosities

Mathematical curiosityHairy ball theorem

Every continuous tangent vector field on a sphere has a zero somewhere: you cannot comb a hairy ball flat. On Earth, at any instant there is somewhere the horizontal wind speed is zero.

Further exploration

Further explorationInvestigations
  • Prove that the medians of a triangle meet at the point 13(a+b+c)\frac13(\mathbf a + \mathbf b + \mathbf c).
  • Show that the midpoints of the sides of any quadrilateral form a parallelogram.
Now practise60 questions from Very easy to Extreme →