Unfinished learning resource · Units 1–8 available

Unit 2. Vectors, span, independence and basis

Unfinished learning resource · TMP-SCI-132. Units 1–8 are available; whole-course validation remains unfinished. This is not a completed semester, registered course, degree credit or accreditation. The teaching has received bounded assistant review, not subject-specialist or learner validation. Workload estimates and rubrics remain unpiloted. All application data are fictional. No account, installation, purchase or private upload is needed.

Study route and preparation

This unit makes precise several ideas introduced in Unit 1: combinations of columns, homogeneous directions and rank. It does not assume that naming those ideas established mastery. You should be able to add and scale coordinate vectors, solve a small real linear system, retain all free parameters and distinguish a contradiction from a zero row. No calculus or determinant knowledge is needed.

Allow about 16–18 hours over two weeks: four teaching sessions with guided work (six hours), independent practice and corrections (four hours), homework and quiz (three hours), and project plus delayed transfer (three to five hours). These are unpiloted design estimates, not promised completion times or contact hours. Attempt tasks before consulting the explained answers. After feedback, identify the first unsupported inference and redo the task without looking. A clear text explanation, typed or handwritten mathematics, or an equivalent recorded explanation with a transcript can be used. No assessment requires a picture, colour discrimination or a mouse action.

Outcomes. By the end, you should be able to:

Readiness checks

R1. For u=(2,−1,0), v=(1,3,2), compute 2u−v.

R2. Solve x+y=4, y+z=1 over the reals, giving every solution.

R3. Does x+y=1, 2x+2y=3 have a solution? Identify the decisive row after elimination.

R4. Write c1(1,0,1)+c2(0,1,1)=(2,3,5) as three scalar equations and solve for c1,c2. If these are uncertain, use the readiness explanations and revisit Unit 1 Sessions B/C before the proof tasks below. Course completion elsewhere is not evidence that these specific skills are secure.

Session A. Which collections really behave like vector spaces?

A1. The ambient space and its operations

R^n denotes ordered lists of n real numbers. In R^3, (1,2,0) and (1,2,0,0) are not interchangeable: the latter belongs to R^4. Addition and scalar multiplication act coordinate by coordinate. A scalar here is any real number, including negative numbers and zero. The zero vector has every coordinate zero.

These operations obey the ordinary vector-space rules: addition is associative and commutative; zero is an additive identity; each vector has a negative; scalar multiplication distributes across vector addition and scalar addition; scalar products associate; multiplying by 1 changes nothing. They hold in R^n because the corresponding real-number equalities hold separately in each coordinate. We will study subsets with these inherited operations. This unit is not a full classification of abstract vector spaces.

A subspace S of R^n must contain zero and be closed under addition and multiplication by every real scalar. “Closed” means that the operation stays inside S. An equivalent test is: S is nonempty and αu+βv belongs to S whenever u,v belong to S and α,β are real. This test includes zero (take α=β=0), addition (α=β=1) and scaling (β=0). Nonemptiness prevents the empty set from passing by a vacuous statement.

A proof must cover arbitrary members, not several convenient examples. A disproof needs only one valid counterexample: specify members or a scalar, compute the result, and show which condition fails.

A2. Worked contrast: a plane and a shifted plane

Let S={(x,y,z): z=x+y}. The braces mean “all triples satisfying the condition.” Zero satisfies it. Write arbitrary u=(a,b,a+b) and v=(c,d,c+d). Their combination is

αu+βv=(αa+βc, αb+βd, α(a+b)+β(c+d)).

The third coordinate is the sum of the first two, so the result is in S for all choices. This proves closure, not just a sample. S is a subspace.

Now let T={(x,y,z): z=x+y+1}. Zero fails the condition because 0≠1, so T is not a subspace. It is a shifted plane. Two members (0,0,1) and (1,0,2) have sum (1,0,3), which also fails the defining condition. One failure was enough; the second illustrates why translations matter.

Diagram A, complete text description. S passes through the origin and the points (1,0,1) and (0,1,1). Every point on S has form (a,b,a+b). T is the parallel plane one unit higher in the third coordinate, with points (a,b,a+b+1). Its point above the origin is (0,0,1), not the origin itself. No drawing is needed to check the defining equations.

Containing zero is necessary but not sufficient. The set U={(x,y): xy=0} consists of the two coordinate axes. It contains zero and is closed under scaling. But (1,0)+(0,1)=(1,1), whose coordinate product is 1, so U is not closed under addition. Likewise the first quadrant is closed under addition, but multiplying (1,0) by −1 leaves it. Restrictions appropriate for physical quantities need not form vector subspaces.

G1. Prove that S1={(x,y,z): x−2y+z=0} is a subspace. Use the defining equality for arbitrary vectors, not a list of points.

G2. Decide whether each set is a subspace of R^2, and justify: (a) x+y=2; (b) x≥0; (c) {(0,0)}. For a false claim, identify a failed requirement with numbers.

Session B. Span and independence answer different questions

B1. Span asks what can be produced

For vectors v1,...,vk in the same R^n, their span is the set of all c1v1+...+ckvk with real coefficients. A listed vector may be used with coefficient zero; negative coefficients are allowed. The span is a subspace: zero uses zero coefficients, and combinations of combinations are still combinations of the same list. For example, if u=Σaivi and w=Σbivi, then αu+βw=Σ(αai+βbi)vi. The symbol Σ means add the terms for i=1 through k.

A list spans S when its span equals S. Equality requires both directions. Every generated vector must lie in S, and every member of S must be generated. One successful target does not prove that a list spans the whole ambient space.

Take p=(1,0,1), q=(0,1,1), r=(1,1,2). Every combination of p,q lies in the plane S from Session A, and every (a,b,a+b) equals ap+bq. Thus p,q span S. The vector r=p+q adds no reachable vector. The three-vector list p,q,r still spans S, not R^3. Target (2,3,5) is reachable: 2p+3q. Target (2,3,6) is not: every generated vector has third coordinate equal to the sum of the first two.

B2. Independence asks whether a list has redundancy

A list v1,...,vk is linearly independent when the only solution of c1v1+...+ckvk=0 is c1=...=ck=0. A nontrivial relation means at least one coefficient is nonzero, not that every coefficient is nonzero. A list with a nontrivial relation is dependent. For instance p+q−r=0 proves p,q,r dependent. The coefficient list (1,1,−1) is not the zero list.

The list p,q is independent: αp+βq=(α,β,α+β)=0 forces α=β=0 from the first two coordinates. It is independent in R^3 but does not span R^3. Conversely e1=(1,0), e2=(0,1), e1+e2=(1,1) span R^2 but are dependent. Independence and spanning must not be treated as synonyms.

A list containing zero is dependent because a coefficient 1 on that entry and zero on all others gives a nontrivial relation. Repeated vectors also give a relation. If a nontrivial relation has cj≠0, solve it for vj: vj=−Σ(i≠j)(ci/cj)vi. This explains the redundancy. Do not say every member of a dependent list can be removed: in [e1,2e1,e2], e2 is needed to retain the same span.

B3. Coefficients and uniqueness

If a list is independent, any reachable target has unique coefficients. Suppose Σaivi=b=Σbivi. Subtract to get Σ(ai−bi)vi=0. Independence forces ai=bi for every i. Conversely, a nontrivial relation can be added to any one coefficient solution to obtain different coefficients for the same target. A dependent list may still have unreachable targets. Independence guarantees at most one representation, not that every target in R^n is reachable.

For p,q,r above, target (2,3,5) has coefficients (2−t,3−t,t), with arbitrary real t. These are all representations: set the r coefficient to t, and the first two coordinate equations force the other coefficients. The different coefficient lists do not mean different target vectors.

G3. For p,q above, decide whether (−1,4,3) and (−1,4,4) lie in their span. Give coefficients or a contradiction.

G4. Show that a=(1,2), b=(2,4), c=(0,1) are dependent by an explicit relation. Then remove one vector while retaining the span R^2, and justify both spanning and independence of your new list.

Session C. Bases, dimension and the original-column rule

C1. A basis is a list that spans with no redundancy

A basis of S is an independent list spanning S. Because it spans, each member of S has a representation. Because it is independent, that representation is unique. For an ordered basis B=(v1,...,vk), the B-coordinates of a vector are its k coefficients in that order. They need not equal its n ambient coordinates.

For B=(p,q), the vector (2,3,5) has B-coordinates (2,3). Another basis of S is C=(p,r): if αp+βr=0, coordinate 2 gives β=0 and then α=0; moreover q=r−p, so C generates every combination of p,q. The same vector has C-coordinates (−1,3), since −p+3r=(2,3,5). The vector did not change; its description did. Reordering a basis also reorders coefficients.

C2. Why dimension is not the number of coordinates or listed vectors

The dimension of a finite-dimensional space is the number of vectors in any basis. Why “any”? Here is the key finite argument. Suppose S is spanned by m vectors and we have k>m vectors in S. Express each of the k vectors as a combination of the m generators. Requiring a combination of their coefficient lists to be zero gives m homogeneous equations in k unknown weights. Unit 1 guarantees a nonzero solution because there are more unknowns than possible pivots. Those weights give a nontrivial relation among the k vectors. Therefore an independent list cannot be longer than a spanning list. Applying this in both directions to two bases forces their sizes equal.

The plane S has dimension 2 even though its vectors have three coordinates and p,q,r is a list of three spanning vectors. R^n has standard basis e1,...,en and dimension n. The zero space {0} has the empty list as its basis and dimension 0: the empty sum is zero, and there is no nontrivial coefficient list. The one-vector list [0] is not a basis because it is dependent.

Within a d-dimensional space, an independent list of d vectors is a basis; a spanning list of d vectors is a basis. For the first claim, if the list failed to span, choose w outside its span and add it to the list. Why is the longer list independent? In a zero combination, a nonzero coefficient on w would let us solve for w as a combination of the old vectors, contradicting its choice. If that coefficient is zero, the old list's independence forces all remaining coefficients to zero. This longer independent list would contradict the length bound. For the second claim, dependence would let us remove a vector and retain a spanning list shorter than a basis, again contradicting the bound. These shortcuts require that all vectors belong to the stated space and that its dimension is already established.

C3. Pivot positions select columns from the original matrix

Form a matrix A whose columns are your vectors. The homogeneous system Ac=0 tests their dependence. Row operations preserve exactly the coefficient solutions, so they preserve dependence relations among corresponding columns. They do not generally preserve the column vectors themselves or their span as a subset of R^n.

For A=[p q r], written by rows,

A = [1 0 1; 0 1 1; 1 1 2].

Subtract rows 1 and 2 from row 3 to obtain R=[1 0 1; 0 1 1; 0 0 0]. Pivot positions are columns 1 and 2. Choose columns 1 and 2 of A, namely p,q, as the basis for the original column space. Columns 1 and 2 of R are (1,0,0),(0,1,0); these span the plane z=0, not S. In fact (1,0,0) fails z=x+y. The pivot positions identify which original columns to retain; they are not permission to replace the requested space.

Why does the selection work? Continue to reduced row echelon form by scaling pivots and clearing entries above them, keeping the same pivot positions. Each pivot column now has one 1 in its own pivot row and zeros elsewhere. In a zero combination of these columns, each pivot row forces the corresponding coefficient to zero, proving independence. Any other column is the sum of these pivot columns weighted by its entries in the pivot rows; its entries in the remaining zero rows are zero. Thus the pivot columns span all reduced columns. Reversing all the row operations preserves those same coefficient relations and independence. So the original pivot columns are independent and span all the original columns. Their number equals the rank, hence rank is the dimension of the column space.

G5. For A=[1 1 0 1; 0 1 1 2; 1 2 1 3], reduce by R3←R3−R1−R2 and R1←R1−R2, tracking the unchanged rows. Find original pivot columns, a column-space basis and dimension. Write columns 3 and 4 in that basis. Is (2,3,5) reachable? Give its basis coordinates.

G6. Diagnose “This matrix has three rows, so its column space has dimension 3.” Use G5 as a counterexample and state the correct bound.

Session D. Null-space bases and a new kind of vector

D1. Turning free variables into a basis

For G5's matrix, the reduced rows are [1 0 −1 −1], [0 1 1 2], [0 0 0 0]. Its null space N(A) consists of coefficient vectors in R^4, not output vectors in R^3. The equations Ax=0 give x1=x3+x4 and x2=−x3−2x4. Put x3=s, x4=t:

x=s(1,−1,1,0)+t(1,−2,0,1).

These two vectors span N(A) because every solution has this form. They are independent because coordinates 3 and 4 of their combination are exactly s and t; a zero combination forces both zero. They therefore form a basis, and dim N(A)=2. Merely listing two solutions would prove neither spanning nor independence.

In general, with n columns and r pivots, solve Ax=0 by giving each free variable its own parameter. Set one free parameter to 1 and the others to 0 to form each special solution. Every solution is the corresponding combination, and the free coordinates force those special solutions to be independent. Thus dim N(A)=n−r. This is a statement about the coefficient space. The column-space dimension r and null-space dimension n−r add to n; their vectors need not live in the same ambient space.

For Ax=b with b≠0 and at least one solution p0, the solution set is p0+N(A). It is not a subspace because zero fails Ax=b. We may call its affine dimension dim N(A), meaning the dimension of its direction space, but it has no vector-space basis under the inherited operations. Nonnegative restrictions can cut down this set further and are a different question.

G7. For the matrix in G5, find all solutions to Ax=(2,3,5). Express them as one particular solution plus the null-space basis above. Explain why this solution set is not a subspace of R^4.

D2. Polynomials as vectors, with the operations stated

Let P2 be all real polynomials a+bt+ct² of degree at most 2, including the zero polynomial. Add polynomials by adding coefficients; scale by scaling every coefficient. Identifying a+bt+ct² with (a,b,c) transfers the R^3 vector rules. The symbol t is a formal polynomial variable; a,b,c are coordinates. Equality of polynomials means equality of every coefficient, not just agreement at one t-value.

The ordered list (1,t,t²) is a basis because every polynomial has that form uniquely. P2 has dimension 3, although each polynomial describes many function values. As a contrasting set, polynomials of degree exactly 2 are not a subspace: zero is excluded, and t²+(−t²)=0 leaves it.

Consider V={p in P2: p(0)=0}. Evaluation at zero reads off a, so V consists of bt+ct². It has basis (t,t²) and dimension 2. This is the same structure as the coordinate plane a=0, not a reason to invent a new theory for every notation.

G8. Give a basis and dimension for W={p in P2: p(1)=0}. Show both spanning and independence. Is p(1)=1 instead a subspace condition?

Independent practice: changed problems

I1. Prove S={(x,y,z): 2x−y+z=0} is a subspace and give a basis and dimension. Show both parts of the basis claim.

I2. The set {(x,y): y=x²} contains zero. Decide whether it is a subspace with a specific closure test.

I3. For u=(1,2,0), v=(0,1,1), decide whether b=(3,8,2) and c=(3,8,3) are in span(u,v). Give a representation or contradiction.

I4. Analyze the list (1,0,1), (0,1,1), (1,1,k) for every real k. For the exceptional value give a nontrivial dependence relation; otherwise justify independence without a determinant.

I5. In R^3, the list e1,e2 is independent. Explain why it is not a basis for R^3, name the space for which it is a basis, and extend it to a basis of R^3.

I6. For M=[1 2 0 1; 0 0 1 1; 1 2 1 2], find a basis for its column space and a basis for its null space. State both ambient spaces and dimensions. Justify, rather than just count, the null-space basis.

I7. In S={(x,y,z):z=x+y}, let B=((1,0,1),(1,1,2)). Find the B-coordinates of (4,1,5), and explain why (4,1) is not the answer in this basis.

I8. Give a basis for {0} and explain why the list [0] fails. Then explain why any four vectors in R^3 are dependent.

I9. In P2, decide whether 1+t, t+t², 1+2t+t² form a basis for P2. Identify their span's dimension and exhibit one polynomial outside it.

Homework: proof and counterexample

H1. Prove that the intersection of two subspaces of R^n is a subspace. Then show why their union need not be one, using two specific subspaces of R^2.

H2. Prove that a finite list is independent exactly when each vector in its span has a unique representation using that list. Include both directions, not just the definition.

H3. Let u=(1,1,0), v=(0,1,1), w=(1,2,1). Give two different bases for their span and find coordinates of (2,5,3) in each. Explain what is invariant and what changes.

H4. For x+y+z=2, give the full affine solution set, a basis for its direction space and that direction space's dimension. Explain why you cannot call the two direction vectors a basis for the original solution set.

H5. In P2 find a basis for {p:p(−1)=p(1)=0}. Prove that you have every polynomial, not just one example. Does the zero polynomial belong?

Formative quiz: 30 points, about 45 minutes

Q1 (5). Decide whether S={(x,y,z):x+y−z=0} and T={(x,y,z):x+y−z=1} are subspaces. Give a general proof for a true claim and a counterexample for a false one.

Q2 (5). For a=(1,1,0), b=(0,1,1), c=(1,2,1), give a dependence relation and a basis for their span. Prove your selected list is a basis and state its dimension.

Q3 (4). Are all vectors in R^3 reachable using the Q2 list? Test (2,5,3) and (2,6,3), and explain the invariant deciding both cases.

Q4 (7). For D=[1 0 2; 0 1 −1; 1 1 1], give a basis and dimension for both its column space and its null space. Explain why the original columns matter.

Q5 (5). The vectors (1,0) and (1,k) are proposed as a basis of R^2. Classify all real k, justifying any exceptional case. Do not divide by k before considering zero.

Q6 (4). In P2, give a basis and dimension for the subspace whose coefficient of t is zero. Explain why “one variable t means dimension 1” is wrong.

Some quiz questions deliberately revisit earlier patterns as retrieval practice; they are not independent changed-context evidence. Use scores to identify repairs, not to certify mastery. A score of 24 or more is only a provisional prompt to try transfer; unresolved confusion about subspace closure, uniqueness or original-column selection still needs repair. Rework those tasks after feedback regardless of the total. Lower scores signal revisiting the corresponding session and solving changed examples. These thresholds are not validated grades.

Integrated project: what can a response library explain?

The opening uses a familiar three-pattern structure, then adds a fourth redundant pattern, a complete coefficient family, a revised observation and a compression decision. It is cumulative formative work. All channels and patterns are fictional signed deviations from a reference level, with common arbitrary units. Coefficients may be any real numbers. They are not production counts, probabilities or proof of a real-world mechanism. The supplied model adds patterns linearly and treats readings as exact.

A three-channel library contains a=(1,1,0), b=(0,1,1), c=(1,2,1), d=(2,3,1). A target reading is y=(3,5,2).

P1. Describe the entire reachable subspace, choose an ordered basis from the original library, and justify spanning, independence and dimension. Explain why four listed patterns do not provide four independent directions.

P2. Give y's coordinates in your chosen basis, then give every coefficient vector (α,β,γ,δ) satisfying αa+βb+γc+δd=y. Prove completeness and verify the family. State which object is unique and which is not.

P3. A revised reading is y*=(3,6,2). Decide whether the old library can generate it. A proposed new pattern e=(0,1,0) is then supplied. Does it expand the reachable space? Justify the new dimension and represent y* using a,b,e. Do not treat successful representation as evidence that e physically caused the observation.

P4. Someone proposes keeping only c,d to reduce the library. Decide whether these preserve the original reachable space. Find y's coordinates in the ordered list (c,d), and explain why discarding named patterns can lose interpretive information even if the span is preserved.

P5. Provide a 150–250-word conclusion or equivalent accessible explanation connecting reachability, redundancy, uniqueness, exact-model limits and the revision. Include one test that would check an algebraic claim and one real-world assumption that this fictional packet cannot test.

Project rubric, 40 points. P1 space/basis 10 (defining relation 2, both directions of span 3, independence 3, dimension 2); P2 coefficients 10 (basis coordinates 2, full family 4, verification/completeness 2, distinction about uniqueness 2); P3 revision 8 (old contradiction 2, independent new direction/new dimension 3, valid representation 2, no causal overclaim 1); P4 compression 6 (basis justification 3, coordinates 2, interpretive limit 1); P5 synthesis 6 (five distinctions connected 3, algebraic test 1, untested assumption 1, accessible explanation 1). Follow a clearly stated arithmetic error for method credit, but do not award correctness points for false consequences. A family without completeness reasoning cannot receive all family points. A decorated chart is not required for communication credit.

Delayed transfer, after a break and without the project key

This is an unpiloted delayed near-transfer checkpoint, not a validated test of mastery. Keep the first attempt and any later correction separate. It uses only addition, scaling and the reasoning developed above, but in a new representation with a choice of model extension.

D1. A fictional record is a real 2×2 matrix, written [a b; c d], where the semicolon separates rows. Addition and scalar multiplication act entry by entry, and equality requires all four entries to agree. You may identify it with (a,b,c,d) in row order; no matrix multiplication or determinant is needed. The trace is a+d, the sum of diagonal entries.

The initial library is F=[1 0; 0 −1], G=[0 1; 1 0], H=[2 −1; −1 −2]. Coefficients can be any real numbers. The intended output domain U is every real 2×2 matrix with trace zero. It is acceptable that the initial library has narrower coverage than U.

D2. Review a claim: “A model represents a reading, so the mechanism generating it is uniquely identified.” Give a precise mathematical counterargument from the project or matrix packet, then name one further non-mathematical issue that the linear equations alone cannot settle. Rewrite the claim so it is defensible.

The project score is an initial checkpoint, not completion of O6. For D1 check separately: entrywise representation and all three space dimensions; original span/basis proof; option admissibility and full coverage; exact targets; affine-set explanation; revision/limits. For D2 check coefficient uniqueness separately from claims about causes. Record the first unsupported inference and solve that part again after feedback. No numeric pass threshold is assigned to this unpiloted transfer task. The existence of this manuscript or its model answers is not a measurement of learner outcomes.

Optional primary references and boundaries

The teaching, questions and numerical examples above are original and self-contained. Optional context: MIT OpenCourseWare's Independence, Basis and Dimension and Column Space and Nullspace provide related undergraduate sessions with lecture, summary and practice links. The landing pages were checked on 3 November 2026; no video viewing or full linked-resource review is claimed. These are optional links, not copied exercises, a required paid textbook, institutional endorsement, exact course equivalence or validation of this package. The next unit concerns linear maps and their matrix representations; it is available as Unit 3 in this reader.