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 outcomes
An output being uniquely defined does not mean the input can be recovered. Unit 3 identified the precise obstruction: a nonzero kernel loses information, and an image smaller than the codomain misses outputs. Here we connect those ideas to an inverse and introduce a signed scalar that detects invertibility of a square matrix.
Prerequisites: exact row operations and solution families from Unit 1; basis and dimension from Unit 2; kernel, image, rank–nullity, composition order and coordinate bases from Unit 3. No calculus or eigenvalues are assumed. Matrices use semicolons to separate rows. All scalars are real.
The retained plan allocates eight hours: three for teaching and guided work, two for independent practice and corrections, one for homework, and two for the quiz/project/delayed work. This is an unpiloted design budget, not observed completion time. Split the three sessions across several sittings; pause and revisit prerequisites when needed. Attempt tasks before opening the explained answers. Keep original attempts and corrections distinct. Written, typed or recorded responses with a transcript are acceptable. Diagrams have complete text descriptions; no drawing or colour is required.
By the end you should be able to:
- O1. Explain a two-sided inverse and justify the square invertibility equivalences.
- O2. Compute and verify an inverse by elimination, including failure cases and product order.
- O3. Compute small determinants, tracking row-operation effects and explaining why nonzero determinant detects full square rank.
- O4. Interpret signed area/volume scaling without mistaking it for a length or shape guarantee.
- O5. Distinguish square determinant tests from rectangular rank tests and one-sided inverses.
- O6. Explain coordinate, feasibility and measurement limitations of exact invertibility.
Readiness
R1. For A=[2 1;1 1], solve Ax=(5,3) and solve Ax=0. Explain what the second answer says about information loss.
R2. For B=[1 2;2 4], find rank, a kernel basis and an image basis. State which outputs can occur.
R3. With H=[1 1;0 1] and K=[1 0;0 2], compute HK and KH. Which product applies H first?
If these are insecure, revisit elimination, original-column image bases or composition before proceeding. No determinant is needed for readiness.
Session A. An inverse must undo both ways
A1. Definition and the square equivalences
For T:V→W, an inverse is a function S:W→V satisfying S(T(v))=v for every v and T(S(w))=w for every w. Thus both S∘T and T∘S are the appropriate identity maps. An inverse exists exactly when T is bijective: the first identity forces injectivity and the second forces surjectivity. Conversely, a bijection gives each w exactly one preimage, defining S. If T is linear, S is linear too: T(αS(u)+βS(v))=αu+βv, and uniqueness of the preimage identifies this vector with S(αu+βv).
For an n-by-n matrix A with n≥1, the following statements are equivalent:
- A has a two-sided matrix inverse A⁻¹.
- Ax=b has exactly one solution for every b in Rⁿ.
- ker A={0}.
- rank A=n.
- The columns of A form a basis of Rⁿ.
- Row reduction gives Iₙ.
Here is the reasoning, rather than six unrelated tests. A⁻¹ supplies the unique solution A⁻¹b; conversely unique solvability makes the map bijective and its linear inverse has a matrix. Rank–nullity gives zero kernel exactly when rank=n. With n columns in Rⁿ, rank n means the columns are a basis, so every b has a unique column expansion. Rank n gives a pivot in every column and every row, hence reduced row-echelon form Iₙ, and the reverse implication follows from the pivot count. This chain also proves that, for square matrices, either injectivity or surjectivity is enough for both. The word square cannot be deleted.
An inverse is unique. If B and C are both inverses, B=B(AC)=(BA)C=C. The superscript −1 denotes an undoing operation, not reciprocals of individual entries.
A2. Why augmented elimination computes the inverse
Apply row operations to [A | Iₙ]. Each reversible row operation is multiplication on the left by an invertible elementary matrix: swap rows, rescale one row by a nonzero scalar, or add a multiple of another row. Their composition is some invertible E, so the augmented result is [EA | E]. If the left block becomes Iₙ, then EA=Iₙ. Thus Ax=0 implies x=EAx=0; the square equivalences show A is invertible, and E=A⁻¹. Both products can then be checked directly. If the left block has fewer than n pivots, no inverse exists; do not pretend the right block is an inverse.
For A=[2 1;1 1], swap the two rows, subtract twice row 1 from row 2, multiply row 2 by −1, then subtract row 2 from row 1:
[2 1 | 1 0; 1 1 | 0 1]
→ [1 1 | 0 1; 2 1 | 1 0]
→ [1 1 | 0 1; 0 −1 | 1 −2]
→ [1 1 | 0 1; 0 1 | −1 2]
→ [1 0 | 1 −1; 0 1 | −1 2].
Therefore A⁻¹=[1 −1;−1 2]. Multiplying on either side produces I₂. The output (5,3) recovers the input (2,1). If the output were (0,1), its unique real input would be (−1,2); invertibility does not make a nonnegative-input constraint feasible.
For B=[1 2;2 4], subtracting twice row 1 from row 2 leaves a zero row on the left. Its nonzero kernel already explained this failure in R2. There is no B⁻¹, even though particular compatible outputs have many preimages.
A3. Reverse a sequence in reverse order
If A and B are invertible and BA means first A then B, its inverse is A⁻¹B⁻¹. Indeed,
(A⁻¹B⁻¹)(BA)=A⁻¹I A=I,
(BA)(A⁻¹B⁻¹)=B I B⁻¹=I.
Associativity allows the brackets to move; it does not allow factors to exchange places. A common error is writing B⁻¹A⁻¹, which reverses each step but performs the undoing in the wrong order.
Diagram A, text equivalent. An arrow A carries input x to intermediate y. An arrow B carries y to output z. To return from z, take B⁻¹ to y and then A⁻¹ to x. The diagram is a path through three named spaces, not permission to commute matrices.
G1. Reproduce the augmented elimination for A=[2 1;1 1] without the worked lines. Verify both products with your inverse. Explain why the entrywise reciprocal array [1/2 1;1 1] fails.
G2. Let E=[1 0;0 1;0 0] and J=[1 0 0;0 1 0]. Compute JE and EJ. Which map is injective, which is surjective, and why is neither a bijection between its stated coordinate spaces?
Session B. What the determinant records
B1. Small formulas and a definition for every positive size
For [a], det[a]=a. For A=[a b;c d], define det A=ad−bc. For A=[a b c;d e f;g h i],
det A=a(ei−fh)−b(di−fg)+c(dh−eg).
The alternating signs matter. This is expansion across the first row using the 2-by-2 arrays left after deleting that row and the chosen column. For [1 2 0;0 3 1;2 1 1], the answer is 1(3−1)−2(0−2)=6.
For completeness, the general definition is also explicit. A permutation σ lists each of 1,…,n exactly once. Its inversion count is the number of pairs i<j with σ(i)>σ(j). Put sign(σ)=+1 for an even count and −1 for an odd count. Then
det A = sum over all permutations σ of sign(σ) a₁,σ(1) a₂,σ(2) ··· aₙ,σ(n).
Each term selects one entry from every row and every column. For n=2 this gives ad−bc; for n=3 it gives the six products in the displayed formula. This definition is not an efficient large-matrix algorithm. Practice in this unit uses at most 3-by-3 arrays.
B2. Row rules, with reasons
The definition is linear in each individual row while the others stay fixed: each product has exactly one entry from that row, so distribution and scalar extraction work. It is also alternating: swapping two rows changes the sign of the whole sum. To see the sign change, match terms by exchanging the two selected column positions. An adjacent exchange changes permutation parity, and exchanging any two positions can be expressed as an odd number of adjacent exchanges. Thus matched products have opposite signs. To connect this to an arbitrary row permutation, sort its index list by swapping adjacent inverted neighbours. Each such swap reduces its inversion count by one, and the sorted list has count zero. Reversing those swaps constructs the row permutation, so its total determinant factor is (−1) to the inversion count, exactly sign(σ). In particular, a matrix with equal rows has determinant zero: swapping them leaves the array unchanged but negates the determinant.
Consequently:
- Interchanging two rows multiplies det by −1.
- Multiplying one row by c multiplies det by c.
- Adding c times a different row to a row leaves det unchanged. Expand by linearity: the extra term has two proportional rows, hence is zero.
These are different rules. Scaling all n rows by c gives det(cA)=cⁿ det A, not generally c det A. Linearity in one row does not mean det(A+B)=det A+det B.
For an upper triangular matrix, the determinant is the product of diagonal entries. The last row can only select its last entry in a nonzero term; remove that row and column and repeat. The identity therefore has determinant 1. A zero row gives determinant zero directly from the definition.
Reduce any square A to row-echelon form using reversible row operations, tracking swaps and nonzero rescalings. If there are n pivots the echelon form has nonzero diagonal product; if there are fewer than n pivots it has a zero row. The row rules preserve whether the determinant is zero. Therefore
det A≠0 ⇔ rank A=n ⇔ A is invertible.
This proves the extra invertibility test, not a seventh unrelated fact. For C=[1 2 0;0 3 1;2 1 1], use R₃←R₃−2R₁ to obtain [1 2 0;0 3 1;0 −3 1], then R₃←R₃+R₂. The diagonal becomes 1,3,2. Neither operation changes det, so det C=6, agreeing with the formula.
B3. Products, inverses and coordinates
For square matrices, det(BA)=det B det A. One proof uses the row facts just established: row i of BA is the combination of rows of A with coefficients from row i of B. Expand the determinant by linearity in all rows. A term choosing the same row of A twice vanishes. The remaining choices are permutations of A's rows, whose determinants are sign(σ) det A. Their coefficients and signs sum to det B, giving the stated product. This finite expansion also covers singular A and B; it does not assume inverses.
For invertible A, 1=det(A⁻¹A)=det(A⁻¹)det A, hence det(A⁻¹)=1/det A. In size 2, direct multiplication gives
[a b;c d][d −b;−c a]=(ad−bc)I₂,
and the reverse product is the same. If ad−bc≠0, divide that whole adjugate array by ad−bc to obtain A⁻¹. If ad−bc=0, division is invalid and the rank criterion already rules out an inverse. Elimination is still a useful general method. To solve one system, eliminate that system; explicitly forming an inverse is not required. Cramer's rule is not prescribed as a numerical method here.
Unit 3's same-basis representation is S⁻¹AS, so its determinant is det A. With different input and output bases, C⁻¹AB instead has determinant det A·det B/det C. It still detects invertibility, but its numerical value need not equal det A. Signed geometric scaling in the usual coordinate plane refers to the standard-coordinate matrix, or to an explicitly fixed common basis with its corresponding geometric units.
G3. Calculate det[3 1;2 1], use the size-2 formula for its inverse, and verify both products.
G4. Starting with C above and det C=6, swap rows 1 and 3, double the new row 2, then add five times row 2 to row 1. What is the final determinant? Separately find det(2C).
Session C. Geometry and the limits of an exact test
C1. Signed area and volume
For ordered planar vectors u=(u₁,u₂), v=(v₁,v₂), the signed area of their parallelogram is u₁v₂−u₂v₁, or det[u v]. This familiar coordinate area formula can be obtained by splitting the parallelogram into triangles; its absolute value is ordinary area. A positive sign means the ordered edges have the standard counterclockwise orientation, a negative sign means the reverse, and zero means collinear edges. Reversing the order reverses the sign, not the ordinary area. A triangle with edges u,v from one vertex has half the parallelogram's ordinary area.
The transformed edges Au,Av form A[u v]. The product rule proves
signed area after = det A × signed area before.
Thus ordinary area scales by |det A|; a negative determinant reverses orientation. For three ordered spatial edges, det[u v w] analogously gives signed parallelepiped volume, with ordinary volume its absolute value. This standard coordinate-volume interpretation is stated here; its geometric derivation is not developed. The algebraic product rule supplies the same volume-scaling result. Zero determinant collapses all full-dimensional parallelograms or parallelepipeds to zero area or volume; it need not send every point to zero.
For L=[−1 2;0 3], det L=−3. A unit square becomes a parallelogram of ordinary area 3 and reversed orientation. The first edge (1,0) becomes (−1,0), still length 1, while the second (0,1) becomes (2,3). Area scaling is not a common length scale, angle-preservation rule or shape guarantee.
Diagram B, text equivalent. The unit square's corners (0,0),(1,0),(0,1),(1,1) become (0,0),(−1,0),(2,3),(1,3). The two edges from zero point left and up-right. Their determinant is −3. No coloured region is required to read the orientation or area.
C2. Rectangles, restrictions and imperfect records
A rectangular matrix has no determinant in this unit's standard definition. For an m-by-n matrix, injectivity means rank n and surjectivity onto Rᵐ means rank m. Both can hold only if m=n. G2 illustrates one-sided inverse identities: JE=I₂ but EJ≠I₃. An embedding can be undone on its image without covering its whole codomain; a projection can be assigned one preimage for each output without recovering every original input.
Nonzero determinant is an exact algebraic test, not a promise about measured data. If two outputs are close while their inputs differ greatly, small measurement changes may strongly alter reconstruction. The project supplies one exact rational example. Nor is the raw magnitude of a determinant a universal sensitivity score: changing coordinate units or multiplying a map by a scalar changes the determinant. For instance, δI₂ has determinant δ² but shrinks both coordinate directions equally, whereas diag(δ,1/δ) has determinant 1 but scales the two axes very differently. Here δ>0. A fuller study of numerical conditioning is deferred; no numerical-error tolerance is inferred from det alone.
G5. For L above and u=(1,1), v=(−1,2), compute the original and transformed signed parallelogram areas. Check by transformed edges and by det L. Give ordinary areas and the transformed triangle area.
G6. Explain three distinct problems with “This 2-by-3 matrix has determinant zero, so every output has no input.” Replace it with a valid rank-based statement.
Independent practice
I1. For A=[3 1;2 1], find A⁻¹ by augmented elimination and solve Ax=(5,4). Verify the solution directly.
I2. For B=[1 2;2 4], decide whether an inverse exists; give every solution to Bx=(3,6), and explain why Bx=(3,7) fails.
I3. Find det[0 2 1;1 1 0;0 3 4] using row operations with exact fractions, then check with the size-3 formula. State the invertibility consequence.
I4. An unknown 3-by-3 A has det A=−4. Find the determinant after a row swap, then multiplying one row by 3, then adding another row to it. Separately find det(2A). Refute general additivity of determinants with A=B=I₂.
I5. For E,J from G2, identify a kernel basis and image basis for each, and their rank/nullity. Explain exactly which one-sided identity holds and why it does not contradict the square equivalences.
I6. Let A=[2 1;0 1], S=[1 1;0 1] and C=[2 0;0 1]. Compute S⁻¹AS and C⁻¹A. Interpret the former as a same-basis change and the latter as standard input with output basis given by C. Compare determinants and invertibility.
Homework: explanation and counterexamples
H1. Prove inverse uniqueness and the formula (BA)⁻¹=A⁻¹B⁻¹, explicitly verifying both products. Give concrete invertible A,B for which the wrong reversed formula B⁻¹A⁻¹ differs.
H2. For A=[2 1;1 1], explain why every real output has a unique real input but output (0,1) is impossible if both inputs must be nonnegative. State which assumption changed; do not call the matrix singular.
H3. Give two invertible 2-by-2 matrices with determinant 1 that act differently on e₂. Use them to refute “equal determinants mean the same map” and “determinant 1 preserves every length.”
Formative quiz: 30 points
This is changed-data rehearsal of taught methods, not a validated transfer test. The points are separate from the project and are not a semester grade.
Q1 (10). For A=[2 −1;1 1], find its inverse by a justified method and verify both products. Solve Ax=(1,5) and explain the unique-solution claim for every real output.
Q2 (10). Compute det C for C=[2 0 1;1 1 0;0 2 3] by row operations, tracking their effects. State the standard-coordinate volume and orientation effects. If instead the third row is replaced by the sum of the original first and second rows, explain the new determinant and invertibility.
Q3 (10). Let R=[1 0 1;0 1 1] and J=[1 0;0 1;0 0]. Compute RJ and JR; find ker R and rank R. Explain why R is onto but not one-to-one and why “R has inverse J” is wrong.
Formative project: a reversible drawing scanner, 40 points
A fictional scanner maps a point (x,y) to (u,v) by
A_t=[1 t;2 1], so u=x+ty and v=2x+y.
The parameter t is a known exact real number. The rule is a mathematical model, not a claim about a physical device. Coordinates normally range over all R²; where requested, nonnegative inputs are an additional application restriction. Explain methods and limits, not only final numbers.
P1 (10). Find exactly which t give a bijection R²→R². Derive A_t⁻¹ for those values and verify both products symbolically. At the exceptional value find kernel/image bases and explain the lost information. Choose between t=1/2 and t=1 if the goal is unique reconstruction of every real input.
P2 (10). At t=1 reconstruct the point producing (u,v)=(5,8), and verify it. Does the output (2,5) have a nonnegative input? Distinguish failure of that restriction from inconsistency of the unrestricted real system.
P3 (10). A tile has adjacent edge vectors p=(2,0), q=(1,1) from the origin. At t=1 find the transformed edges, signed and ordinary parallelogram areas, triangle areas, and orientation change. Explain why equal ordinary areas do not establish equal shapes. At t=1/2 describe the collapsed image line and its area.
P4 (10). Use t=499/1000. Reconstruct inputs from b=(999/500,4) and from b'=(2,4). The outputs differ by only (1/500,0). Compare the recovered inputs and contrast the effect of that same output difference at t=1. Explain why exact invertibility alone is insufficient for a reliability claim with imperfect measurements, and why this example does not establish a universal determinant threshold.
Delayed follow-through
D1. After a pause, let M_s=[1 2;1 s]. Decide which s admit an inverse. At s=3 recover the input producing (7,10). At s=2, distinguish the fibers over (7,10) and (7,7). Explain what changed. This is changed-data near transfer, not an independently validated unseen-method test. D2. Find the first unsupported step in one of your attempts and correct it. If no error occurred, critique “a negative determinant means negative area, so an inverse is impossible.” Supply a concrete counterexample and a conditional statement that is true.
Feedback and next step
Mark errors by their cause: missing square hypothesis, one-sided identity mistaken for two-sided, untracked row scaling, wrong composition order, determinant mistaken for a length factor, coordinate mixing, or an unstated input restriction. Correct the cause and then solve a changed instance.
Unit 5, eigenvalues and diagonalization, is available in this reader. This unit establishes exact invertibility and determinant tools, not spectral theory, numerical conditioning, or a complete semester. Actual learner attempts, workload evidence, subject-specialist appraisal, rubric reliability and rendered reading/accessibility checks remain necessary for stronger teaching or release claims.