LINEAR-ALGEBRA · Unit 9 · Video 2 · Interactive Practice

The Goldilocks Principle: Basis and Dimension

IKey Formulas

Formula Name Description
c1v1+c2v2+=0c_1\mathbf{v}_1 + c_2\mathbf{v}_2 + \cdots = \mathbf{0} \Rightarrow all ci=0c_i = 0 Linear Independence Only the trivial solution makes the zero vector
Span{v1,,vk}=V\text{Span}\{\mathbf{v}_1, \ldots, \mathbf{v}_k\} = V Spanning Set Every vector in VV is a linear combination
nn vectors form a basis for Rn    det0\mathbb{R}^n \iff \det \neq 0 Basis Test Matrix invertibility checks both properties at once
dim(V)=\dim(V) = number of vectors in any basis Dimension Theorem This count is the same for every basis of VV

IIVisualization 1 — The Parallelogram Test

Two vectors form a basis for R2\mathbb{R}^2 exactly when their parallelogram has nonzero area — and that area is det|\det|.

💡 Challenge: make v2\mathbf{v}_2 a multiple of v1\mathbf{v}_1 — say v1=(2,1)\mathbf{v}_1 = (2, 1), v2=(4,2)\mathbf{v}_2 = (4, 2). The area collapses to 00: two dependent vectors span only a line.

IIIVisualization 2 — The 3×3 Determinant Test

Fix v1,v2\mathbf{v}_1, \mathbf{v}_2 and move the third vector: the determinant is nonzero exactly when v3\mathbf{v}_3 escapes their plane.

A = [ v₁ | v₂ | v₃ ]

💡 (3,4,7)=v1+v2(3, 4, 7) = \mathbf{v}_1 + \mathbf{v}_2 lies in the plane, so det=0\det = 0; (3,3,8)(3, 3, 8) escapes it — three independent directions and det=2\det = 2.

IVVisualization 3 — Too Few, Just Right, Too Many

A basis for R2\mathbb{R}^2 needs exactly two vectors — one too few can't span, one too many must be redundant.

💡 That just-right count — 22 for R2\mathbb{R}^2, 33 for R3\mathbb{R}^3 — is the dimension: every basis of a space has the same size.

VQuiz Questions

Question 1

The matrix A=[123133258]A = \begin{bmatrix} 1 & 2 & 3 \\ 1 & 3 & 3 \\ 2 & 5 & 8 \end{bmatrix} has det(A)=2\det(A) = 2.

Do the columns of AA form a basis for R3\mathbb{R}^3?

Correct! For an n×nn \times n matrix, det0\det \neq 0 confirms both independence and spanning in one computation.

Not quite. Recall the key theorem: for nn vectors in Rn\mathbb{R}^n, matrix invertibility (det0\det \neq 0) is the single test for a basis.

Show solution

Solution:

For nn vectors in Rn\mathbb{R}^n, the single basis test is:

n vectors form a basis for Rn    n×n matrix is invertible    det0n \text{ vectors form a basis for } \mathbb{R}^n \iff n \times n \text{ matrix is invertible} \iff \det \neq 0

Since det(A)=20\det(A) = 2 \neq 0, the matrix is invertible. This simultaneously guarantees:

  • Linear independence: the null space contains only 0\mathbf{0}
  • Spanning: every vector in R3\mathbb{R}^3 is reachable

One check replaces two. The answer is Yes.

Note: the value of the determinant (2) tells us the volume scaling factor, not how many vectors are independent!

Question 2

Vectors v1=(1,1,2)\mathbf{v}_1 = (1, 1, 2) and v2=(2,3,5)\mathbf{v}_2 = (2, 3, 5) span a plane in R3\mathbb{R}^3. The vector (3,4,7)(3, 4, 7) equals v1+v2\mathbf{v}_1 + \mathbf{v}_2.

What is the dimension of Span{v1,v2,(3,4,7)}\text{Span}\{\mathbf{v}_1, \, \mathbf{v}_2, \, (3, 4, 7)\}?

Correct! A dependent vector doesn't add a new dimension — the span remains a 2D plane.

Not quite. Since (3,4,7)(3,4,7) already lies in the span of the first two vectors, adding it doesn't change the span at all.

Show solution

Solution:

Since (3,4,7)=v1+v2(3, 4, 7) = \mathbf{v}_1 + \mathbf{v}_2, the third vector is a linear combination of the first two. Adding a dependent vector does not expand the span:

Span{v1,v2,(3,4,7)}=Span{v1,v2}\text{Span}\{\mathbf{v}_1, \mathbf{v}_2, (3,4,7)\} = \text{Span}\{\mathbf{v}_1, \mathbf{v}_2\}

The span is still the same 2D plane. The set {v1,v2}\{\mathbf{v}_1, \mathbf{v}_2\} is a basis for that plane (2 independent vectors), so:

dim=2\boxed{\dim = 2}

This is the "Too Many" scenario from the Goldilocks principle — the third vector is dead weight.

Question 3

True or False: A vector space VV can have one basis with 4 vectors and another basis with 5 vectors.

Correct! The Dimension Theorem guarantees that all bases for the same space have the same number of vectors.

Not quite. Recall the Dimension Theorem — the number of vectors in a basis is an invariant of the space, not a choice!

Show solution

Solution:

False. This directly contradicts the Dimension Theorem:

Every basis for a given vector space has the same number of vectors.

This invariant count is the dimension of the space. If one basis has 4 vectors, then dim(V)=4\dim(V) = 4, and every other basis for VV must also have exactly 4 vectors.

A set of 5 vectors in a 4-dimensional space must contain at least one dependent (redundant) vector, so it cannot be a basis.

Question 4

You know that dim(R4)=4\dim(\mathbb{R}^4) = 4. You have a set of 4 vectors in R4\mathbb{R}^4. According to the basis verification algorithm from the video, what is the minimum you need to check to confirm this is a basis?

Correct! When the vector count matches the known dimension, checking independence alone is sufficient — spanning follows automatically.

Not quite. When you know the dimension and have the right count of vectors, the basis verification algorithm provides a powerful shortcut.

Show solution

Solution:

Since we know dim(R4)=4\dim(\mathbb{R}^4) = 4 and we have exactly k=4k = 4 vectors, the algorithm goes:

  1. Know dimension? Yes, d=4d = 4.
  2. Count matches? Yes, k=d=4k = d = 4.
  3. Check independence only: form the 4×44 \times 4 matrix and verify det0\det \neq 0.

The powerful shortcut from the Dimension Theorem: when you have exactly dd vectors in a dd-dimensional space, independence automatically guarantees spanning. So checking independence alone is sufficient!

For Rn\mathbb{R}^n specifically, the matrix invertibility test (det0\det \neq 0) is the single computation that confirms everything.

Note: orthogonality is a stronger condition than independence — it's sufficient but not necessary for a basis.

Solved: 0 / 4