Skip to content

Vector spaces

State the vector space rules, recognise polynomials and functions as vectors, and test whether a subset of a space is a subspace.

It opens on

The line y = 2x and the line y = 2x + 1 look alike, parallel and the same slope. Add two points of each: why does only one of the lines survive being added to itself?

Why it matters

Data come as arrows, polynomials, images and signals, and one set of rules lets the same methods (span, basis, projection) work on all of them; knowing which subsets are subspaces tells you which sets of solutions or predictions behave linearly.

Good to know first

  • Vectors in ℝⁿ: adding and scaling coordinates and linear combinations
  • lines and planes written as equations such as y = 2x and z = x + y

Step by step

  1. The rules and the subspace test

    State the vector space rules and the three-part subspace test, and apply it to a line through the origin, a line missing the origin and the first quadrant.

    Take W = the line y = 2x, whose points are (t, 2t): (t, 2t) + (s, 2s) = (t + s, 2(t + s)) is on the line and c(t, 2t) = (ct, 2ct) is too, and (0, 0) is on it, so W is a subspace.

    A common mix-up

    A set closed under addition is a subspace.

    In fact: The first quadrant is closed under addition but not under negative scalars.

  2. Polynomials as vectors

    Treat polynomials of degree at most 2 as a vector space, add and scale them, and see that polynomials of degree exactly 2 are not a space.

    p = x² − 1 has coefficients (a, b, c) = (−1, 0, 1) and q = 1 − x has (1, −1, 0); adding coefficients gives (0, −1, 1), the polynomial p + q = x² − x.

    A common mix-up

    Vectors must be arrows or lists of numbers.

    In fact: Polynomials and functions satisfy the same eight rules.

  3. Subspaces of ℝ³

    Identify the subspaces of ℝ³ as the origin, lines through the origin, planes through the origin and all of ℝ³, and test a plane.

    Let W be the plane z = x + y. The vectors u = (1, 0, 1) and v = (0, 1, 1) lie on it, since 1 = 1 + 0 and 1 = 0 + 1.

    A common mix-up

    Any plane in ℝ³ is a subspace.

    In fact: Only those through the origin are.

Try it

Is the set of (x, y) with xy = 0 a subspace of ℝ²? Test (1, 0) and (0, 1).Answer

No; both are in it but (1, 0) + (0, 1) = (1, 1) has xy = 1

Hint: It is the union of the two axes

Write 2 + 3x − x² as a coefficient vector and give the vector of twice it.Answer

(2, 3, −1) and (4, 6, −2)

Hint: a, b, c in order

Is {(x, y, z): x + 2y − z = 0} a subspace of ℝ³?Answer

Yes; it contains 0 and the equation is preserved by sums and multiples

Hint: Add two solutions and substitute

The line y = 2x + 1 has parallel direction; does it contain (0, 0), and is the sum of (0, 1) and (1, 3) on it?Answer

No for both: (0, 0) fails 0 = 1, and (1, 4) fails 4 = 2·1 + 1.

What is 2p, and what are its coefficients?Answer

2x² − 2, coefficients (−2, 0, 2).

Vector spaces

30 minutes every month. No card.