TactivergeLite

Lite / Independent Engineering Research / Week 1

Vectors, combinations and span

Two cables hold up one load. Which loads can they balance, and which can they never balance however hard they pull?

About 40 min · 3 goals · Checked by automated tests · Full interactive version

Why should I care?

Every state an engineer tracks (forces, currents, joint angles, sensor readings) is a list of numbers that can be added and scaled. Linear algebra is the grammar of those lists. Before solving anything, it pays to ask what a set of 'ingredient' vectors can possibly build.

Predict

Column 2 of a 2×2 matrix is exactly twice column 1. How many targets b in the plane can A·x reach?

  1. Every point in the plane
  2. Only the points on one line through the origin
  3. Only the origin
Guess first, then reveal

Any combination x₁a₁ + x₂(2a₁) = (x₁ + 2x₂)a₁ is just a multiple of a₁. The span has collapsed from the plane to a line, so most targets b are unreachable.

Discover

Start with 'Two cables' and use the sliders to make the orange arrow land on b. Then switch to 'Parallel columns': can you still reach b? Watch the shaded line: it is everything those columns can build.

What the interactive shows (text version)

The diagram plots two column vectors of A scaled by sliders x₁ and x₂, laid tip to tail, and a target point b. A text readout gives A·x, b and the miss distance. For parallel columns, a shaded line marks the span; points off it cannot be reached.

You can also open the interactive on the full site when you have a faster connection.

Understand

Linear combinations

Given vectors a₁, …, aₙ and numbers x₁, …, xₙ, the vector x₁a₁ + … + xₙaₙ is a linear combination. Matrix–vector multiplication is exactly this: A·x = x₁·(column 1) + x₂·(column 2) + …. So the question 'does Ax = b have a solution?' means 'is b some combination of the columns of A?'

Span and dependence

The span of a set of vectors is every combination of them. Two non-parallel vectors in the plane span the whole plane; two parallel ones span only a line. Vectors are linearly dependent if one is a combination of the others, which means it adds nothing new to the span. A basis is a set that spans the space with no redundancy; its size is the dimension.

Vector spaces, informally

A vector space is any collection you can add and scale without leaving it: arrows in the plane, lists of three currents, even polynomials or solutions of a linear ODE. Closure is what lets us superpose: if two motions satisfy a linear equation, so does their sum. That single fact powers modal analysis later in the term.

Explain it another way

Intuitive

Think of columns as ingredients and x as a recipe. Ax = b asks for a recipe that makes dish b. Parallel columns are two bottles of the same sauce: twice as many bottles, no new flavours.

Technical

span{a₁, …, aₙ} = {Σ xᵢaᵢ : xᵢ ∈ ℝ}. Ax = b is solvable if and only if b ∈ col(A), the column space. Columns are independent if and only if Ax = 0 has only x = 0.

Mathematical

For two vectors in ℝ², a₁ and a₂ are dependent exactly when det[a₁ a₂] = 0, because the parallelogram they span then has zero area.

Applied

In a pin-jointed frame, each member's tension pushes the joint along the member's direction. If two members are collinear, they can only resist loads along that line: the joint is a mechanism for sideways loads.

Worked example 1

Is b = (1, 5) a combination of a₁ = (2, 1) and a₂ = (−1, 1)?

Solve 2x₁ − x₂ = 1 and x₁ + x₂ = 5. Adding gives 3x₁ = 6, so x₁ = 2 and x₂ = 3. Check: 2·(2, 1) + 3·(−1, 1) = (1, 5). Yes.

Worked example 2

Are (1, 2, 3), (2, 3, 4) and (3, 5, 7) independent?

(1, 2, 3) + (2, 3, 4) = (3, 5, 7), so the third is a combination of the first two: dependent. Together they span only a plane in ℝ³.

Common mix-ups

Practice

Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.

Practice 1. a₁ = (1, 0.5) and a₂ = (2, 1). What is their span?
Practice 2. Which statement about A·x is always true?

Practice 4. Which set is linearly dependent?
Practice 5. u(t) and w(t) both solve the linear ODE x″ + 4x = 0. Which also solves it?

Apply it

Pick a three-member pin-jointed joint (sketch it). Write each member's unit direction as a column of A, the applied load as b, and decide whether the joint can resist every load direction. What happens if two members are collinear?

Reflect

Where in a project of yours would superposition (adding two solutions) save you work?

Write your answer on paper or in your own notes. Lite never stores what you write.

Writing engineering problems as Ax = b →