Worked examples — Linear independence — formal definition, testing
The scenario matrix
Every linear-independence problem lives in one of these cells. We will hit all of them.
| Cell | Situation | Right tool | Answer pattern |
|---|---|---|---|
| A | Square, vectors in | determinant | → indep |
| B | Square but parallel/multiple (degenerate) | determinant or inspection | dependent |
| C | Non-square, fewer vectors than dimension | row reduce, count pivots | could be either |
| D | Non-square, more vectors than dimension | count vs dimension | always dependent |
| E | Set contains the zero vector | inspection | always dependent |
| F | A vector is a sum of others (hidden) | row reduce reveals it | dependent |
| G | Real-world word problem | translate → matrix → test | context-dependent |
| H | Exam twist (parameter : for which dependent?) | as function of | solve |
The number of vectors is just "how many arrows we listed". The dimension is how many coordinates each arrow has (e.g. lives in dimension ). A pivot is a leading nonzero entry after row reduction — one per genuinely new direction.
Example 1 — Cell A (square, determinant)
Forecast: They point clearly different ways — neither looks like a stretch of the other. Guess: independent. Look at the figure before reading on.

- Stack as columns. . Why this step? The equation is exactly ; the columns of are our vectors.
- Two vectors in → square → use the determinant. Why this step? only exists for square matrices, and here is . Geometrically is the signed area of the parallelogram the two vectors make (blue in the figure). Zero area means they lie on one line (dependent); nonzero area means they open up a genuine 2D patch.
- Compute. .
Answer: independent.
Example 2 — Cell B (square, degenerate: parallel)
Forecast: Notice and . Smells like a multiple. Guess: dependent.

- Spot the scalar multiple. . Why this step? If one vector is a scalar multiple of another, they lie on the same line through the origin (see figure — both arrows and their extension share one dashed line). That is the picture of dependence.
- Write the nontrivial combo. , with . Why this step? Dependence needs at least one nonzero coefficient producing ; we just exhibited one.
- Confirm with determinant. .
Answer: dependent.
Example 3 — Cell C (non-square, fewer than dimension)
Forecast: Only vectors in a -dimensional space, and neither is a multiple of the other. Guess: independent (but is off-limits — the matrix is ).
- Why no determinant. is — not square, so does not exist. Why this step? The determinant is defined only for square matrices; reaching for it here is a classic error. Use rank via row reduction instead.
- Row reduce. Why this step? Row operations don't change dependence relations among columns; we just want to count pivots (leading entries).
- Count pivots. Pivots in column 1 (the ) and column 2 (the ): 2 pivots for 2 columns. Why this step? Pivots number of columns ⇒ ⇒ no free variable ⇒ only trivial solution.
Answer: independent.
Example 4 — Cell D (more vectors than dimension)
Forecast: arrows squeezed into a flat -dimensional plane. Guess: dependent — there's simply no room for independent directions.
- Count vectors vs dimension. vectors, dimension . Matrix is . Why this step? , so at least one column has no pivot ⇒ a free variable exists ⇒ nontrivial solution guaranteed. We already know the answer before computing.
- Find an explicit relation (for satisfaction). Note ? Check: . ✓ Why this step? Producing the actual combo confirms dependence concretely: , with coefficients .
Answer: dependent.
Example 5 — Cell E (contains the zero vector)
Forecast: One of them is . Guess: dependent — and this holds no matter what the other vectors are.
- Isolate the zero vector. Call them . Why this step? Any set containing is instantly dependent — we don't even need the other entries.
- Build a nontrivial combo. . Why this step? Here , yet the sum is . That single nonzero coefficient is enough for dependence.
Answer: dependent.
Example 6 — Cell F (hidden sum, must row reduce)
Forecast: No two are visible multiples. Tempting to shout "independent", but the trap is a hidden combination. Row reduce to be safe.
- Stack columns and reduce. Why this step? A zero row appears — only 2 pivots for 3 columns, so ⇒ free variable ⇒ dependent.
- Recover the relation. Guess : . ✓ Why this step? The dependence was , invisible at a glance — exactly why row reduction beats eyeballing.
Answer: dependent.
Example 7 — Cell G (real-world word problem)
Forecast: "Reproduced by mixing others" is literally the definition of a redundant vector. Scan: looks like . Guess: dependent (one stock is wasteful).
- Translate the story. "Mix solution X from the others" = "X is a linear combination of the others" = dependence. Why this step? Mixing with amounts means ; asking if this equals is asking about a dependency.
- Test the guess. . ✓ Why this step? One explicit nontrivial combo () proves dependence — no need to reduce.
Answer: dependent — is exactly part + part , so it is a redundant stock.
Example 8 — Cell H (exam twist: a parameter)
Forecast: Square case, so dependence ⇔ . There will be one special value of . Guess: solve .
- Set up the determinant as a function of . Why this step? Square matrix ⇒ determinant test is valid, and becomes a formula in ; the dependent values are its roots.
- Expand along row 1. Why this step? Cofactor expansion turns a determinant into small ones we can evaluate.
- Solve . . Why this step? is exactly the dependence condition (columns collapse to directions).
Answer: the set is dependent only when ; independent for every other .
Case-coverage checklist
Recall Did we hit every cell?
A (square/det) → Ex 1 ::: ✓ B (parallel degenerate) → Ex 2 ::: ✓ C (non-square, fewer) → Ex 3 ::: ✓ D (more than dimension) → Ex 4 ::: ✓ E (contains zero vector) → Ex 5 ::: ✓ F (hidden sum) → Ex 6 ::: ✓ G (word problem) → Ex 7 ::: ✓ H (parameter twist) → Ex 8 ::: ✓
Connections
- Determinant — the test powering Cells A, B, H.
- Rank of a matrix — pivot-counting for the non-square Cells C, D, F.
- Homogeneous systems and null space — every test is really "does have a nontrivial solution?".
- Basis and dimension — Cell D is the "too many for the dimension" fact.
- Span and spanning sets — the word problem (Cell G) asks whether a stock lies in the span of the others.
- Invertible matrix theorem — for the square cells, independent ⇔ invertible.