School/✦ Research Engineer/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
1.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.
- ◇ Write a linear combination x₁a₁ + x₂a₂ and read A·x as a combination of the columns of A.
- ◇ Describe the span of a set of vectors and recognise when vectors are linearly dependent.
- ◇ Explain why a vector space needs closure under addition and scaling, using engineering state vectors.
2.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.
Loading the interactive…
Can't use the interactive? Read a description instead
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.
3.Checkpoint: guided practice
Check what you just discovered before going on. Hints appear after a wrong answer.
Practice 1
a₁ = (1, 0.5) and a₂ = (2, 1). What is their span?
4.Predict
Column 2 of a 2×2 matrix is exactly twice column 1. How many targets b in the plane can A·x reach?
Guess first. Being wrong here is how the surprise works.
5.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
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.
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.
For two vectors in ℝ², a₁ and a₂ are dependent exactly when det[a₁ a₂] = 0, because the parallelogram they span then has zero area.
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
- Two vectors in the plane always span the plane.
✓ Only if they are not parallel (det ≠ 0). Parallel vectors span a line. - A vector space means arrows.
✓ Any set closed under addition and scaling counts, including lists of sensor readings and solutions of linear ODEs.
6.Practice on your own
Practice, not a test. Wrong answers get a hint and another try.
Practice 2
Which statement about A·x is always true?
Practice 3
Find x₂ so that x₁(1, 1) + x₂(1, −1) = (5, 1).
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?
7.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?
8.Reflect
Concepts: Linear systems, elimination and rank · Matrices and linear transformations