Unfinished learning resource · Units 1–8 available

Unit 8. From measurements to a defensible mathematical report

Unfinished learning resource · TMP-SCI-132. Units 1–8 are available; whole-course validation remains unfinished. Writing all eight manuscripts does not establish course completion, learner competence, degree credit or accreditation. Study times and assessment rubrics remain unpiloted; specialist, learner and accessibility validation remain needed. All records are fictional, dimensionless and supplied below. No account, software installation, purchase or private upload is required.

Purpose and study route

The earlier units separated systems, spaces, maps, eigenvectors, projections and quadratic forms so each idea could be learned carefully. An application does not arrive with its method written on the front. Here you decide what is identifiable, whether exact equations agree, which approximation was chosen, and how to communicate what a calculation does and does not establish.

This unit develops one relative-sensor packet, then tests similar reasoning in changed contexts. The triangle example teaches the workflow; a four-node cycle is the main project. You may present the project as a network calibration memo or a relative-signal reconstruction report. These are two narratives for the same supplied matrix/data, not different mathematical requirements. Neither requires knowledge of electricity, physical sensors, programming or statistics.

Prerequisites: Units 1–7, especially full solution sets, kernel/image/rank, basis coordinates, invertibility, real eigenbases, orthogonal projection and Gram matrices. The unit revisits these concepts in a connected argument rather than assuming a formula list is sufficient. The retained weeks-13–14 allocation is 22 hours: six for teaching/guided work, five for practice/homework/corrections, three for the cumulative quiz and delayed work, and eight for the project. This is an unpiloted budget. Spread four sessions and the project across multiple sittings.

Attempt before opening the explained answers. Retain first attempts, corrections and the assumptions you changed. Written, typed or spoken-plus-transcript reports are acceptable. Diagrams have complete text equivalents; no drawing, colour or interactive tool is necessary. Exact fractions are preferred; label any decimals as approximations.

Outcomes

Readiness

R1. Solve x₂−x₁=2 and x₃−x₂=−1 over R. Give the full family, not one solution, and identify its direction vector.

R2. Prove that W={x∈R³:x₁+x₂+x₃=0} is a subspace. Check whether (1,−1,0),(1,1,−2) form an orthogonal basis of W and normalize them.

R3. For A=[1 0;0 1;1 1], explain why every b has a least-squares fit but some b have no exact fit. Distinguish existence from unique coefficients.

R4. If T has orthonormal eigenvectors q₀,q₁,q₂ with eigenvalues 1,1/2,1/2, express T^k(3q₀+2q₁−q₂) for k≥0 and its limit. Explain why the eigenvalue 1 cannot simply be ignored.

Session A. Ask the right question before calculating

A1. A five-part decision record

Write these five sentences before solving a new packet:

  1. Unknowns: what each coordinate represents, its units and its allowed set.
  2. Observation map: what an output coordinate predicts, including direction/sign and row order.
  3. Exact question: does Ax=b hold, and what is the whole solution set if it does?
  4. Approximation choice: if exact equations disagree, what objective and constraints are being introduced, and why?
  5. Claim boundary: which conclusions follow algebraically, and which require real observations or an error model?

For example, “three readings imply three identifiable unknowns” is not justified by counting. Repeated or dependent rows may carry fewer than three independent constraints. “The best fit is the truth” is also stronger than the calculation. The word best always refers to the specified objective and allowed inputs.

A2. A relative-sensor triangle

Three stations have unknown real levels x₁,x₂,x₃. A directed reading from station i to station j predicts x_j−x_i. The rows, in order, correspond to 1→2, 2→3 and 3→1:

B=[−1 1 0; 0 −1 1; 1 0 −1],
Bx=(x₂−x₁, x₃−x₂, x₁−x₃).

Adding the three predicted readings gives zero. Conversely, for any y with y₁+y₂+y₃=0, choose x=(0,y₁,y₁+y₂); substitution gives Bx=y. Thus image B is exactly the sum-zero plane in observation space, not just a subset. Also Bx=0 forces x₁=x₂=x₃, so ker B=span{1}, where 1=(1,1,1). Rank is 2, nullity is 1, and det B=0. The determinant's zero does not tell us whether a particular b is inconsistent or has many solutions; the image condition does.

For exact b=(2,−1,−1), all solutions are (t,t+2,t+1). Choosing zero mean gives (−1,1,0). Choosing x₁=10 instead gives (10,12,11). Both predict the same differences. Zero mean is a reference convention, not evidence that an actual average is zero. A genuinely known x₁=10 is additional information; merely deciding to label station 1 as zero is not.

Diagram A, text equivalent. Three labelled nodes form a directed loop: 1→2→3→1. Each arrow carries the head level minus the tail level. Going around the full loop cancels every level once positively and once negatively. Shifting all three levels by the same amount leaves every arrow label unchanged.

G1. For b=(4,−2,−2), determine exact consistency, the full solution family and its zero-mean representative. Give a kernel and image basis and verify rank-nullity. Explain why a zero determinant is not proof that no solution exists.

G2. Reverse only the third arrow, so it reads 1→3. Write the new matrix and the transformed exact observations for G1. State the new consistency relation. What happens if someone reverses that row but forgets to negate its observed value?

Session B. An inconsistent record and its nearest consistent replacement

B1. Project in observation space first

The new triangle record is b=(3,0,−2). Its sum is 1, so Bx=b has no solution. Choose unrestricted real levels and the equal-weight objective F(x)=||Bx−b||². This choice is new; inconsistency alone does not dictate equal squared weights.

The image plane has normal 1. Subtract the normal component of b:

p=b−((1ᵀb)/3)1=(8/3,−1/3,−7/3).

p sums to zero and is therefore feasible. The residual uses predicted minus observed throughout this unit:

r=p−b=(−1/3,−1/3,−1/3),  ||r||²=1/3.

For any feasible y, p−y is in the sum-zero plane and r is perpendicular to it. Therefore ||y−b||²=||r||²+||y−p||². This proves p is the unique closest observation vector. It does not yet select unique station levels. Solve Bx=p to obtain all coefficients x=x_c+t1, where x_c=(−5/3,1,2/3) is the unique zero-mean representative. The normal equation Bᵀr=0 is an independent check. Do not attempt (BᵀB)⁻¹ here: that matrix is singular.

The signs of these equal residuals do not identify the faulty instrument. The constant residual is what this particular chosen geometry requires. A different objective can distribute the discrepancy differently.

B2. Separate coordinates for contrast and offset

An orthonormal basis of level space is

q₁=(1,−1,0)/sqrt(2),
q₂=(1,1,−2)/sqrt(6),
q₀=(1,1,1)/sqrt(3).

Write x=z₁q₁+z₂q₂+z₀q₀. The first two coordinates describe contrasts; z₀=sqrt(3) times the mean. Since Bq₀=0, the measurement cannot recover z₀. The restricted map from the zero-mean plane to the observation sum-zero plane is bijective: its kernel is the intersection of span{1} with the zero-mean plane, namely {0}, and both spaces have dimension 2. Equivalently, each fitted observation vector has exactly one zero-mean preimage.

Multiplication gives

L=BᵀB=[2 −1 −1;−1 2 −1;−1 −1 2]=3I−11ᵀ.

Lq₁=3q₁, Lq₂=3q₂, Lq₀=0. These are verified eigenpairs for this particular matrix. They are eigenpairs of L, not automatically of B. For any h, hᵀLh=||Bh||²=3(z₁²+z₂²), so only contrast displacement increases the objective. In particular,

F(x_c+h)=1/3+3(z₁²+z₂²).

In all of level space, F≤4/3 describes an infinite circular cylinder with axis x_c+t1 and perpendicular radius 1/sqrt(3). In the chosen zero-mean plane it is a disk centered at x_c. An exact anchor such as x₁=10 selects another plane; do not assume this plane is perpendicular to the cylinder axis or that its coordinate plot has the same circle geometry.

Diagram B, text equivalent. In observation space the measured point b lies one perpendicular step away from the sum-zero plane; p is its unique foot. In level space the corresponding solutions form a line parallel to (1,1,1). A small observation-space error ball does not remove this free offset. The distinct spaces and distinct objects prevent confusing a unique prediction with unique parameters.

G3. Verify p,r,x_c,L and all three displayed eigenpairs. Give the contrast coordinates of x_c and explain why the offset coordinate is zero. Check the minimum objective both by the residual and by direct substitution.

G4. Impose the exact additional value x₁=10 for the inconsistent record. Find the uniquely selected best-fit levels. Then instead add the soft term γ(x₁−10)² to F with γ>0 and no exact constraint. Prove whether the optimum changes with γ in this special one-anchor situation. Distinguish this from a claim about arbitrary extra observations.

Session C. Repeated correction without hiding the constant mode

C1. Derive the iteration from a checkable rule

Consider the mathematical update

x_(k+1)=x_k+ηBᵀ(b−Bx_k),  k=0,1,2,… .

It takes the mismatch back into level space using Bᵀ and a chosen real step η. This is an object to analyze, not a recommended production numerical algorithm. It requires no calculus. Because 1ᵀBᵀ=0, it preserves the mean of x_k. Let x† be the least-squares minimizer whose mean equals that of x_initial. Define e_k=x_k−x†. The normal equations give

e_(k+1)=(I−ηL)e_k.

The error has zero mean from the start and hence only the two contrast modes. Each is multiplied by 1−3η. For every initial state, convergence to its mean-matched minimizer occurs when |1−3η|<1, that is 0<η<2/3. At η=1/3 the contrast error is removed in one step. At η=0 it stays fixed; at η=2/3 it alternates sign without shrinking. Outside the closed interval [0,2/3], any nonzero contrast error grows in norm. A state already equal to a minimizer remains fixed for every η, so do not claim every trajectory diverges outside the interval.

For our inconsistent b, x_initial=0 and η=1/6 give

x_k=(1−2^(−k))x_c,  k≥0.

Indeed the initial error is −x_c and its multiplier is 1/2. The first two updates are (−5/6,1/2,1/3) and (−5/4,3/4,1/2). If instead x_initial=7·1, the limit is x_c+7·1, not x_c. These are equally good predictions with different unobservable offsets.

C2. A computable stopping check and its limitation

Set g=Bᵀ(Bx−b). Relative to the minimizer with the same mean, g=Le=3e. Thus ||e||=||g||/3 for this triangle, and

F(x)−F_min=3||e||²=||g||²/3.

This bounds contrast error, not error in an unknown true absolute offset. A tiny g cannot certify actual instrument accuracy. For a different matrix the factor 3 must be replaced by a justified spectral analysis; it is not universal. Rounding and finite precision also require separate analysis before implementing a solver.

Diagram C, text equivalent. The axis of all minimizers is parallel to 1. An iteration starts in a plane of fixed mean and stays in that plane. With η=1/6 its perpendicular distance to the axis halves at each step; with η=2/3 it jumps to the opposite side at the same distance. No motion along the axis is learned from relative measurements.

G5. Derive the iteration formula above. Find the least k≥0 for which ||x_k−x_c||≤||x_c||/8 when η=1/6 and x_initial=0. Verify both that your k works and that smaller k fail. Compare η=1/3, η=2/3 and η=1 for the same start.

G6. At x=(0,0,0), compute g, ||g||² and F(x)−F_min. Check the C2 identity. Repeat conceptually after adding 100·1 to x: which quantities change, which do not, and what can this tell you about absolute levels?

Session D. Change the model deliberately and report honestly

D1. Positive weights change the objective

For a positive diagonal W=diag(w₁,…,w_m), define F_W(x)=(Ax−b)ᵀW(Ax−b). Put C=diag(sqrt(w₁),…,sqrt(w_m)); then F_W=||C(Ax−b)||². Applying the ordinary least-squares result to CA and Cb yields AᵀW(Ax−b)=0. Positive weights preserve ker(CA)=ker A, but generally change the fitted vector. Zero weights can discard constraints, and negative weights do not define this squared-norm objective.

Weights may be modelling choices. They are not automatically probabilities or verified reliability. Changing the units of one output without adjusting its weight changes a numerical squared-error criterion. If a row and its observation are multiplied by s≠0 merely to express different units, divide its weight by s² to preserve the same objective.

For a complete directed cycle with m arrows, feasible predictions y satisfy 1ᵀy=0. Here this image description must be proved for the given cycle, as for the triangle, rather than assumed for every graph. Let β=Σb_i, σ=Σ1/w_i. The residual

r_i=−β/(σw_i)

makes p=b+r sum to zero. To prove optimality without calculus, any other feasible residual is r+h with Σh_i=0. Expanding gives

(r+h)ᵀW(r+h)=rᵀWr+2(Wr)ᵀh+hᵀWh
             =rᵀWr+hᵀWh,

since Wr is constant. Positive W makes equality occur only at h=0. Thus p is unique and the minimum is β²/σ. This is a formula for this cycle-image problem, not for arbitrary least squares.

For triangle b=(3,0,−2) and weights (1,1,2), β=1 and σ=5/2. The residual is (−2/5,−2/5,−1/5), fit (13/5,−2/5,−11/5) and weighted minimum 2/5. Its unweighted squared error is 9/25, larger than the unweighted minimum 1/3. There is no contradiction: the objectives differ.

D2. An auditable report has a claim and a check

Use this report structure:

“No exact fit exists” is defensible when a proved consistency relation fails. “Station 2 is broken” is not established by a residual alone. “One reference fixes the common offset” must specify whether it is a true measurement or a convention. “More rows mean more information” must be checked against the kernel. The project lets you practice these distinctions in one complete report.

Independent practice

I1. For the triangle, let b=(1,2,4). Find its nearest sum-zero observation vector, all equal-weight minimizers, the zero-mean representative, residual and minimum. Verify using Bᵀr=0.

I2. For triangle b=(3,0,−2), use weights (1,1,2). Derive the stated weighted residual and fit, find the zero-mean levels, and verify BᵀWr=0. Compare weighted and unweighted objective values without mixing the two criteria.

I3. Keep only triangle rows 1 and 2 and data (3,0). Find rank, kernel and every exact solution. Explain why the third row adds a consistency check but cannot remove the common-offset ambiguity. What absolute measurement would remove it?

I4. Two disconnected pairs have readings x₂−x₁=2 and x₄−x₃=−1. Write the 2×4 map, find rank/kernel, and explain why one absolute reference cannot determine every level. Give a sufficient pair of added references and solve when x₁=0,x₃=5.

I5. For the triangle correction with b=(3,0,−2), η=1/2 and x_initial=2·1, derive x_k, its limit and the sign pattern of the contrast error. Find the least k making its error norm at most ||x_c||/16. Does oscillation necessarily imply failure to converge?

I6. A technician multiplies the triangle's third row and observation by 2. With all new weights equal to 1, is the old equal-weight objective preserved? Find weights that do preserve it and explain whether simply changing notation supplied new physical information.

Homework: synthesis and proof

H1. For the directed four-cycle 1→2→3→4→1, prove directly that the image is the sum-zero subspace of R⁴ and the kernel is the constant vectors. Give explicit bases and verify rank-nullity. Do not cite an unproved general graph theorem.

H2. Prove the positive-weight cycle projection formula in D1, including uniqueness and β=0. Explain which step fails if a weight is zero or negative and why unequal residuals do not themselves identify unequal actual instrument reliability.

H3. Derive the mean-preservation and error-recurrence statements for the triangle. Separate conditions for convergence from boundedness, and treat the exceptional initially fitted state. Explain why the iteration cannot learn an absolute common offset.

H4. Write a 150–250-word critique of “our square system has zero determinant, so no solution exists; least squares fixes the broken sensor; a tiny normal-equation residual proves the reconstructed true levels are accurate.” Replace each clause with a precise defensible claim and a specific verification or additional observation.

Cumulative method-selection quiz: 60 points

Six items, 10 points each. These are changed-context synthesis tasks, not a validated independent transfer test. Use methods you can justify rather than reverse-engineering a memorized answer. Scores are formative and separate from the project and earlier proposed semester weights.

Q1 (10). A fictional mixture vector x=(a,b,c) is constrained by C=[1 1 1;1 2 3;2 3 4] and observations d=(6,14,21). Diagnose exact feasibility and rank. If the third observation is corrected to 20, give every solution, a kernel basis and the interval making all three quantities nonnegative. Explain why changing that observation is a supplied scenario, not something an analyst may silently do.

Q2 (10). Let T(u,v)=(2u+v,u−v). Prove linearity, find its standard matrix, determinant and inverse, and represent it when both input and output use the ordered basis ((1,1),(1,−1)). Verify one nonzero input using both coordinate systems. Distinguish changing basis from changing the map.

Q3 (10). A fictional trend predicts c+mt at t=−1,0,1, with readings (0,2,5). Decide exact consistency, derive the least-squares coefficients under equal squared weights, give predictions and predicted-minus-observed residuals, verify normal orthogonality and minimum error, and explain uniqueness.

Q4 (10). Let M=[3/4 1/4;1/4 3/4], initial state (8,0), and x_(k+1)=Mx_k. Find an eigenbasis, derive x_k and its limit, compute x₂, and find the least k with first component within 1/4 of its limit. Explain total conservation and why the calculation alone does not validate a real exchange mechanism.

Q5 (10). For S_γ=[1 γ;γ 1], classify the real quadratic form for every real γ, including boundary kernels. Derive its minimum and maximum on unit vectors, giving equality eigenspaces and treating γ=0. Explain why determinant sign alone is not a universal definiteness test for arbitrary symmetric matrices.

Q6 (10). A different logger predicts (a+c,b+c) and reports (4,5). Find its full exact solution set, rank and kernel. Compare adding a duplicate observation 2a+2c=8 with adding a new observation a+b=5. Solve the latter system and justify whether each addition removes the ambiguity. State what an exact fit still cannot establish about observation truth.

Integrative project: reconstruct a four-station relative record, 60 points

Use one self-contained report, with six sections worth 10 points each. Choose the network-calibration or relative-signal narrative; all mathematics below is required in either. Supply an equation-based diagram description if you do not draw.

Stations 1,2,3,4 have unrestricted real levels. Directed rows 1→2, 2→3, 3→4 and 4→1 predict head minus tail. Observations in that order are b=(2,1,−1,−1). No observation is privileged initially; start with equal squared weights. These are fictional scaled readings, not electrical measurements or real-world safety data.

P1 (10). Construct A and the five-part decision record. Give rank, kernel and image with justification, determine exact consistency, and explain the missing common offset. Describe the graph accessibly and distinguish what follows from these specific rows from an unproved claim about all networks.

P2 (10). Derive the nearest consistent prediction p, residual p−b, minimum squared error and the complete minimizer family. Find the zero-mean representative x*. Verify Ax*=p and Aᵀ(p−b)=0. Explain fitted-vector uniqueness versus coefficient nonuniqueness.

P3 (10). Compute L=AᵀA and verify an orthonormal eigenbasis with eigenvalues 0,2,2,4. Explain the choice available within the repeated eigenvalue-2 eigenspace. Derive F(x*+h) in that basis. Describe the set F≤F_min+1 in all R⁴ and in the zero-mean subspace, including principal directions and semiaxis lengths. Explain why this is not a probability confidence region.

P4 (10). Analyze x_(k+1)=x_k+ηAᵀ(b−Ax_k). Derive the interval of η giving convergence to the mean-matched minimizer for every initial state. Treat both endpoints and initially fitted states. At η=1/4 and x_initial=0, compute x₁ and x₂, express the remaining error by modes, and determine the limit. Explain why the triangle's one-step η=1/3 rule cannot be copied blindly.

P5 (10). Change only the fourth weight to 4, keeping the same readings. Derive the weighted prediction, residual, minimum weighted objective and one zero-mean minimizer; verify the weighted normal equation. Compare with the old fit under both objectives, identifying which objective each minimizes. Explain why a different fit does not establish which instrument was actually more reliable.

P6 (10). Return to the equal-weight fit and add the exact observation x₁=10. Find all four levels and justify uniqueness. Explain how this differs from imposing zero mean as a convention and whether the same reference would be sufficient for the disconnected-pair map in I4. Finish with a 150–250-word accessible conclusion giving the main result, a verified limitation, one useful further observation or check, and what would require empirical evidence before any real deployment.

Delayed follow-through

D1. After a pause, a new three-channel logger predicts (a+b,b+c,c+a) and reports (3,4,5). Decide which familiar relative-sensor conclusions still apply and which do not. Find the matrix, determinant, exact solution and kernel. Explain whether a common shift is invisible. This probes changed structure, but no measured transfer claim is made.

D2. Produce a one-page audit of your project: preserve one error or questionable assumption, its correction and a changed-data check. If no error was found, critique a deliberately false claim from H4 with a concrete counterexample. Identify one skill that still needs practice and an observable check for improvement rather than declaring mastery from a score.

After this manuscript

This fills the final planned content slot, but does not complete validation of a course or establish that a learner has met the semester outcomes. Review your first attempts against the explanations, correct reasons rather than just numbers, and retest after a pause with changed data. Specialist review, actual learner attempts/timing, rubric calibration, full reading/navigation and assistive-technology validation remain outstanding. There is no automatic certificate or saved assessment record.

General graph theory, general convergence theory, pseudoinverses, singular-value decomposition, statistical confidence, physical-network validity and stable production numerical solvers are not developed here. The exact small examples support their stated conclusions only. The next educational work is review and learner-informed revision of the whole sequence, not silently adding more course identities.

Source and original-material note

All exposition, fictional records, diagrams described in words, exercises and keys are original. For an optional primary topic reference, see MIT OpenCourseWare: Graphs, Networks, Incidence Matrices and its terms and license, checked 4 November 2026. No external exercise, image, video, transcript or textbook passage is reproduced. The reference is not endorsement, affiliation, equivalence or credit recognition.