# Where to stake the midpoint Author: Bee Rosa Davis Source: https://www.davisgeometric.com/zadachnik/#p2 Collection: Zadachnik Status: Public entry. Text edition of the public page, with links, equations, figure descriptions and expanded details. Interactive readouts describe the initial displayed state, not every possible input. Use the linked interactive page and its evidence files for other states. Publication here does not change the source’s research status, assumptions or limitations. --- Entry 02 · "Segments and angles" (Отрезки и углы) · Problem 2 · pp. 9, 55–56 # Where to stake the midpoint Three points on a line: an origin point *O*, and two markers *A* and*B*. *A* sits at distance *a* from *O*; *B*sits at distance *b*. Mark the midpoint of segment *AB* — call it*M*. **How far is *M* from *O*?** Delone splits the answer into two cases — same side of *O*, or opposite sides — and computes each. Then, at the end of his solution, he writes a one-sentence footnote stating a small convention: treat a segment with coinciding endpoints as having length zero, and the formulas remain valid. Later problems in this book reuse this convention whenever a segment shrinks to a point. This entry walks Problem 2 in five movements: §1 rewrites Delone's two cases as one formula, §2 lets you drag through the cases, §3 names what kind of object the midpoint formula actually is, §4 reads the footnote, and §5 lifts the construction up to triangles and tetrahedra. Entry 01 opened the budget engine and struck its coin in §2 — the signed overlap. This entry spends that coin as a coordinate — position, not length: one signed coordinate collapses Delone's two cases into one formula, and the midpoint it computes is the reading's first flat geodesic, the halfway point of the straightest path from A to B. The budget engine bills in signed quantities from here on. Delone, in full 2. На прямой даны два отрезка *OA* = *a*, *OB* = *b*. Определить расстояние между точкой *O* и серединой *M* отрезка*AB*. "On a line, two segments *OA* = *a*, *OB* = *b* are given. Determine the distance between point *O* and the midpoint *M*of segment *AB*." Two cases. Same side or opposite sides. With *a* < *b*: Case 1 (same side):  OM = ½(*b* + *a*). Case 2 (opposite sides):  OM = ½(*b* − *a*). **And his footnote — the line that states a convention used throughout the rest of the book:**  "Если *a* = *b*, то полученные формулы остаются верными, если считать отрезки с совпадающими концами равными нулю."  *"If a = b, the formulas remain valid if we consider segments with coinciding endpoints equal to zero."* **Two scenarios make a = b.** In Case 1 (same side), a = b means both markers sit at the same point — the segment AB collapses to a single point, and the footnote covers it: treat that point as a length-zero segment and ½(b + a) still gives the right answer (the midpoint coincides with the markers). In Case 2 (opposite sides), a = b means the two markers are at equal distances on opposite sides — the midpoint sits at O itself, ½(b − a) = 0, and nothing degenerates. The footnote names the first scenario only. This is the first time Delone makes explicit a rule he will silently invoke whenever a geometric figure degenerates later in the book (a triangle shrinking to a line, a circle shrinking to a point). [Figure: Delone Figure 2: two cases of the midpoint construction on a line. Case 1, both markers on the same side of O, in order O, A, M, B. Case 2, markers on opposite sides of O with a less than b, in order A, O, M, B.] Figure labels: Case 1: same side (O — A — M — B); O; A; M; B; Case 2: opposite sides, a < b (A — O — M — B); A; O; M; B From the source · p. 55–56 📖 **Awaiting annotated page · p. 55–56** This slot will hold the page from Delone & Zhitomirsky's 1949 edition that I worked through here, with margin notes. The two-case solution for OM and the load-bearing footnote — the page §4 reads. The annotated scan with my margin notes lives here once I mark it up. In the field — the cartographer The surveyor walks a baseline with a steel tape. She drives a stake where she stands and calls it her instrument station (O) — her local origin. She measures forward to a marked point downrange (A), then forward again to another marked point (B). **Where does she stake the midpoint of AB, measured from her instrument station?** If both markers are downrange (same side of O), the midpoint is downrange too, halfway between them. If one is downrange and one is behind (opposite sides of O), the midpoint can land on either side of her instrument — whichever marker is farther from O wins the side. The two Delone cases are the surveyor's two field scenarios. The trick surveyors use to handle both with one formula is the same trick §1 names algebraically: assign each marker a signed distance (downrange counted as positive, behind counted as negative), and the midpoint coordinate is the plain average of the two signed distances. Sign records which side of O the marker is on; the average always lands at the geometric midpoint, on whichever side it actually sits. ## 1 · Signed coordinates collapse the two cases to one Vocabulary for this section **From the Preface panels.** Signed quantities — a number carrying a sign that records which side of a reference point you're on, with the bank-account and altitude analogies (Panel B). The absolute-value bars |X| around a number mean ordinary absolute value (Panel A). **Four new terms in this section.** - **Direction convention.** Pick one direction along the line and call it *downrange*. The other direction is *behind*. This is a free choice — like deciding which way is "right" when you draw an axis on paper. Once chosen, downrange counts as positive and behind counts as negative. - **Signed coordinate.** The signed version of a marker's distance from the origin O. If a marker sits 3 units downrange, its signed coordinate is +3. If 3 units behind, its signed coordinate is −3. The unsigned distance |X| from O is what Delone wrote as a and b (always non-negative); the signed coordinate is the same number with a sign attached. This is exactly the move Preface Panel B's altitude analogy describes — choose a reference level (sea level / O), then every position carries a sign saying which side it's on. - **Configuration.** The placement of the named points on the line — i.e., a specific assignment "A is here, B is there." Different configurations give different pictures. The same word will come up again later when we look at all possible (A, B) placements at once. - **Cover map.** The signed coordinate carries a choice — which direction is positive? In geometry, that choice has a name (an*orientation*), and the technical name for its record-keeping is a*cover map*. The orientation cover of a line is exactly the rule "remember which of the two sides counts as positive"; the signed coordinate's sign is what that bookkeeping looks like in practice. The full formal name — the orientation double cover, with glyph S¹ → ℝP¹ — is one of the four framework pillars introduced in the Preface (and shows up properly at entries 3–4 on angle bisectors). For §1, just note: the sign is encoding a choice the cover map keeps track of. With those terms in place, here is the move. Pick the origin O and a downrange direction. Let A and B carry signed coordinates as defined above — same letters as the markers, but now positive or negative depending on side. Then the signed coordinate of the midpoint of segment AB is the plain average: M = (A + B) / 2,     |OM| = |(A + B) / 2| The two Delone scenarios are now two sign choices, computed by the same formula. - **Same side (both markers downrange).** A = +a, B = +b (or both behind, by symmetry — the answer is the same). The midpoint signed coordinate is (a + b)/2; distance from O is |OM| = (a + b)/2. Delone's Case 1. - **Opposite sides (A behind, B downrange).** A = −a, B = +b. The midpoint signed coordinate is (−a + b)/2 = (b − a)/2; distance from O is |OM| = |b − a|/2. Delone's Case 2. Delone's Case 2 formula OM = ½(b − a) only gives a non-negative number if you assume a < b (he writes this assumption at the top of his solution). The signed-coordinate version |OM| = |b − a|/2 has the absolute value baked in, so it stays valid regardless of which marker is farther from O. The signed-coordinate version is the same identity without the hidden a < b hypothesis. Delone keeps lengths non-negative throughout his book — the convention his pre-vector-geometry register requires — and handles each case separately. The signed-coordinate version is what the same identity looks like once that convention is dropped. Which side of O a marker lies on is recorded by the sign of its signed coordinate, not by the structure of the formula. ## 2 · Drag it — same side, opposite sides, and the case where the segment collapses to a point Drag A and B on the signed number line. Watch the midpoint M (the diamond) and |OM| (the bracket above) recompute as you go. Try (A = 2, B = 5) — Delone's Case 1, both markers downrange. Try (A = −3, B = 5) — Delone's Case 2, opposite sides. Then drag both markers to the same point: the segment AB collapses to a single point with zero length. This is the same configuration we met in Entry 01 as the "kiss state" — two endpoints coinciding. Delone calls it out explicitly in his p. 56 footnote, and §4 below reads what he says. [Figure: A signed number line with three points: the origin O and two draggable benchmarks A and B; the midpoint M of segment AB is highlighted] Figure labels: -8; -7; -6; -5; -4; -3; -2; -1; 0; 1; 2; 3; 4; 5; 6; 7; 8; |OM| = 3.5; O; A; B; M; AB segment A (signed) = **2** ,   B (signed) = **5** M = (A + B)/2 = (2 + 5)/2 = **3.5** signed midpoint coordinate |OM| = |M| = **3.5** distance from origin — one formula, no cases A (signed position) = 2 B (signed position) = 5 Same side of O — case 1 in Delone. |OM| = (|A|+|B|)/2 = 3.5 ## 3 · The midpoint is the simplest affine combination Vocabulary for this section — basic tools **From Preface Panel A.** λ (lambda) — a blending weight, a number usually between 0 and 1. **From earlier in this entry.** Signed coordinate (§1) — a position on the line with a sign attached. **Three terms you need now.** - **Weighted average.** An ordinary average where some inputs count more than others. The plain average of 3 and 9 is 6, treating each equally. The weighted average that counts 9 twice and 3 once is (3 + 9 + 9)/3 = 7 — or equivalently, ⅓·3 + ⅔·9. The weights ⅓ and ⅔ say how much each input counts. - **Affine combination of geometric points.** A weighted average of points where **the weights sum to 1** . For two points A and B and weights p and q with p + q = 1, the affine combination is the point at position p·A + q·B. The midpoint M = ½A + ½B (weights p = q = ½) is the equal-weight case. The "affine" name signals that the construction handles points as positions and shifts with the picture when the picture is shifted (more on why this matters in the next bullet). - **Why the weights must sum to 1.** It is exactly what makes the result move with the picture. If you shift the whole line by a constant amount c (every point becomes the old point plus c), then ½A + ½B becomes ½(A + c) + ½(B + c) = (½A + ½B) + c — the midpoint shifts by the same c. The point you picked is the same point in the new coordinates. Any other choice of weights (say ¼ and ¼, summing to ½) would push the result off by a coefficient when you shift, and that's not what "the midpoint of AB" means. Weights summing to 1 is the algebraic statement of "this is a real position on the line, not just a number." **Advanced — for the full family.** The remaining terms are the formal vocabulary that names everything else this section will touch (the full one-parameter family of points on the line, the dimension lift in §5, and the GIGI block at the end). Skim them now and come back for the definitions when they show up below. - **Convex combination.** An affine combination where every weight is between 0 and 1 (in addition to summing to 1). For two points, those two constraints together force the result to lie on the segment between A and B, not past either endpoint. The midpoint is convex (½, ½). The name "convex" comes from this property — the result always lands inside the convex shape spanned by the inputs (a segment, here). - **Interpolation** means "filling in between." Picking a weight λ in [0, 1] and computing (1 − λ)A + λB gives a point on the segment AB, sliding from A (when λ = 0) to B (when λ = 1) as λ runs through the interval. This is the convex case. - **Extrapolation** means "extending past." Picking a weight λ outside [0, 1] — for instance λ = 1.5 or λ = −0.3 — still gives a point on the line through A and B, but past the segment on one side or the other. This is the affine-but-not-convex case. - **Centroid.** The equal-weight affine combination of a collection of points. For two points, it is the midpoint. For three points A, B, C (a triangle), it is (A + B + C)/3 — each corner counts ⅓. For four points (a tetrahedron), it is (A + B + C + D)/4. The centroid generalizes the midpoint up the dimensions. - **Barycentric coordinates.** The list of weights themselves, thought of as a coordinate system. For two points, the barycentric coordinates of M with respect to A and B are the pair (p, q) with p + q = 1, where M = pA + qB. The midpoint has barycentric coordinates (½, ½). For three points, the barycentric coordinates are a triple summing to 1 — these are the natural coordinates inside a triangle. - **Simplex.** The smallest convex shape you can build from a given number of points in general position. With 1 point you get a point (0-simplex). With 2 points you get a segment (1-simplex). With 3 non-collinear points you get a triangle (2-simplex). With 4 non-coplanar points you get a tetrahedron (3-simplex). The centroid of a simplex is the equal-weight affine combination of its corners. With those words in place, the §1 midpoint formula reads: M = ½A + ½B This is the affine combination of A and B with equal weights. The weights (½ and ½) sum to 1, so the result is a real position on the line — it moves with the picture when the picture is shifted, as the vocabulary block explains. The midpoint is the n = 2, equal-weight case of the affine combination. **The full one-parameter family.** The same formula with general weights gives every point on the line through A and B. Parameterize by a single blending weight λ. Define M(λ) = (1 − λ)A + λB. Then: - *λ* = 0 gives M = A. - *λ* = 1 gives M = B. - *λ* = ½ gives M = ½A + ½B, the midpoint. - *λ* between 0 and 1 gives a point on the segment AB — interpolation, per the vocabulary block. - *λ* outside [0, 1] gives a point on the line through A and B, but past the segment on one end — extrapolation. The midpoint is the n = 2, equal-weight, convex case of the affine combination — equal weights at two points. Keep the equal-weight rule and bump the number of points up. With three points the result is the triangle centroid; with four points, the tetrahedron centroid. §5 makes this ladder explicit. **Where this lands in graphics and animation (optional).** The formula M(λ) = (1 − λ)A + λB is the building block of every linear interpolation used in computer graphics. A *Bézier curve* (used in font outlines and vector graphics) is built by iterating this formula on control points. A*spline* is a curve stitched together from many Bézier pieces. The*in-betweening* step in 2D and 3D animation — generating frames between two drawn poses — is also this formula, applied to position, rotation, or any other interpolatable quantity. You do not need any of those for the rest of this entry; I include them so you know the formula has a vast downstream life. ## 4 · The footnote states the zero-length convention Delone's one-sentence footnote, restated: *"If a = b, the formulas remain valid if we consider segments with coinciding endpoints equal to zero."* **Why the convention is needed.** Drag both markers to the same point in the §2 demo. The segment AB is now just a point. What is its length? Ordinary geometry has no answer — "length of a one-point segment" is not a configuration the bare definition of length covers. Without a convention, the question is simply undefined, and any formula that takes the segment AB as input cannot keep computing without making a choice. Delone makes the choice explicitly: **assign that segment the length zero, and the formulas remain valid.** ½(A + B) still equals A (which equals B, since they coincide); the midpoint sits exactly where the markers do. With the convention, the limit is clean. Without it, the limit is a hole. **The same configuration we met in Entry 01.** In Entry 01 the same degenerate case showed up as the "kiss" — the two tape strips just touching at a single point, the overlap collapsing to a length-zero contact. Here it shows up as two markers coinciding, with the segment AB collapsing to that same single point. Different setup, identical degenerate configuration. Preface Panel C defines what this book means by "a configuration has gone degenerate," and the convention covers both. **STRUCTURAL — bridge to the no-zero pillar.** Delone states the convention without naming a principle. I read it as the earliest explicit appearance in this book of what I call the no-zero pillar: *treat degenerate cases as length-zero by convention so the formulas keep working*. Panel C in the Preface gives the longer version. For this entry it is enough that Delone stated the convention in 1949 with no fanfare and went back to computing — and that every later problem in this book that handles a degenerate limit (a collapsed triangle, a coincident pair of endpoints, a circle of radius zero) is invoking the same convention. ## 5 · The dimension ladder, again Affine combinations with equal weights work the same way at every dimension. The midpoint formula M = ½A + ½B is the n = 2 case; here are the next two rungs of the same ladder. - **1D — two points on a line, midpoint.** M = ½A + ½B, or equivalently (A + B)/2. Equal weights at the two corners of a 1-simplex (a segment). - **2D — three points in a plane, triangle centroid.** M = ⅓A + ⅓B + ⅓C, or (A + B + C)/3. Equal weights at the three corners of a 2-simplex (a triangle). This is the point where the three medians of the triangle meet — the triangle's center of mass for a uniform-density plate. - **3D — four points in space, tetrahedron centroid.** M = ¼A + ¼B + ¼C + ¼D, or (A + B + C + D)/4. Equal weights at the four corners of a 3-simplex (a tetrahedron). The center of mass of a uniform-density solid tetrahedron. Same operation — affine combination with equal weights — generates the centroid of a simplex at any dimension. Problem 2 is the 1-simplex case. **The convention extends up the ladder.** All three centroid formulas remain valid in the degenerate cases: three collinear points (the 2-simplex degenerates to dimension 1, a flat line of three points with zero triangle area), four coplanar points (the 3-simplex degenerates to dimension 2, a flat patch of four points with zero tetrahedron volume), or any coincidence among the corners. In each case, the simplex loses a dimension; the formula keeps computing the equal-weight affine combination of the corner positions, by exactly the same zero-length-segment convention Delone names on page 56 (§4 below). The same convention covers each rung. **Where each rung lands later in Delone (optional).** The triangle centroid lift appears in Delone's problems 67–88 ("remarkable points" of the triangle); the tetrahedron centroid lift appears in problems 337–348 (medians of a tetrahedron). The same affine-combination primitive applies at every problem in those clusters; I will cross-reference when I get there. ## The four pillars Each card below tags how strongly the framework idea is doing work here. The four altitude tags (ANALOGY / RESONANCE / SECTION-CHOICE / STRUCTURAL) are as defined in the Preface altitude key. SECTION-CHOICE refers to the Delone-silently-picks-a- section sense (the framework names a choice Delone makes implicitly); it is not the bundle-theory "section of a cover" — that mathematical sense shows up below in the Double cover card. 0 ∉ No zero convention named by Delone · pillar named by me **STRUCTURAL.** This is the first place in the book where Delone states the zero-length convention explicitly — "if we consider segments with coinciding endpoints equal to zero" — treating zero as a convention rather than a substance. Delone states the convention; I read it as the earliest explicit appearance of what I track as the no-zero pillar (Panel C of the Preface gives the longer version). The degenerate set of configurations inside this problem is the diagonal A = B in the (A, B) plane of marker positions — the set of configurations where the two markers coincide and the segment shrinks to a point. (The (A, B) plane is described in plain English and drawn on the Davis manifold card below.) S¹ → ℝP¹ Double cover signed coordinate = section choice **SECTION-CHOICE.** Picking which side of O counts as positive (the §1 direction convention) is a choice between two possibilities — left vs. right, or downrange vs. behind. In geometry, that kind of choice has a name: an *orientation*. The mathematical record-keeping for "which of the two possibilities did you pick?" is what gets formally called the*orientation double cover of the line*; the symbol S¹ → ℝP¹ is its formal glyph (entries 3–4 introduce it properly). For Problem 2 it is enough to know: the sign on the signed coordinate is the bookkeeping for which side you chose. Delone's two-case split is what happens when you do that bookkeeping by hand; the signed-coordinate formula lets one sign do it. ∥ → • No parallel lines dormant in 1D **ANALOGY.** Same as Entry 01: no parallels can exist on a single line, so the pillar has nothing to do in 1D. It is logged here as inactive; it will become active at the 2D parallel-lines problems (23–25) and structurally load-bearing at the projective-geometry capstone (514–518). Mentioned here only so the four-card grid stays parallel across entries. 𝔇 The Davis manifold a 2D chart **STRUCTURAL.** Consider the space of *all possible*(A, B) configurations at once. Each axis is one marker's signed coordinate; every point in this plane is a particular pair of marker positions. I call this the *configuration plane*; it is a 2D chart of the larger framework object I call the Davis manifold 𝔇 (the deeper definition waits for the DAVIS Manifold paper). **§1's formula on the plane.** The midpoint distance |OM| = |A + B|/2 is a piecewise-linear function of (A, B) — the same kind of function Problem 1 §4 introduced (kinked at one value, straight on either side). Its single kink is along the line A + B = 0, which is the set of configurations where M coincides with O. The diagram below shows the picture. [Figure: Configuration plane: horizontal axis A and vertical axis B, the signed coordinates of the two markers. The two same-side quadrants carry a heavier ink wash than the two opposite-side quadrants, and the kink line A plus B equals zero runs through the origin and the two opposite-side quadrants — the set of configurations where the midpoint M coincides with O.] Figure labels: A; B; O; both; downrange; (same side); A behind,; B downrange; (opposite sides); both behind; (same side); A downrange,; B behind; (opposite sides); A + B = 0; (M coincides with O) **The full case-structure picture (optional).** Delone's case-split (signs of A and B separately) adds two more straight lines through the origin — A = 0 and B = 0 — so the full picture has three lines through the origin: A = 0, B = 0, and A + B = 0. Three lines through the origin in general position cut the plane into six wedge-shaped regions, each corresponding to a different combination of signs and a different version of Delone's case-by-case formulas. ## What it becomes inside GIGI GIGI is the geometric database engine I am building — a fiber-bundle record store with a GQL verb surface and an HTTP stream server. Each entry maps its material onto that engine and marks the altitude honestly. A claim earns the **FIXTURE** badge only when it cites a real run captured against the engine, with the actual numbers that run returned; it is a **CANDIDATE** when the object is something the engine could compute but no run has been captured yet. No worked result appears in this section that the engine did not actually produce. GIGI artifact · AFFINE_COMBINATION · CANDIDATE — no captured run computes a midpoint Problem 2 lands as the base case of the **affine combination** — the math object §3 named: the midpoint M = ½A + ½B, and the centroid ladder above it. No captured GIGI run computes a midpoint, a centroid, or any affine combination. The engine computes `CURVATURE` and `COVER` on any ingested configuration, but no midpoint or affine-combination fixture has been run for these problems, so this section stays a **CANDIDATE** : the object is well posed for the engine, the run is simply not yet captured. Earlier drafts of this box asserted worked results — a midpoint read off a classical flat-transport trajectory, a centroid from an`INTEGRATE … MEASURE AVG` aggregator, and a`GEODESIC` standing in for M(λ). Those were pattern-matched from verb names, not produced by the engine, and are removed. GEODESIC in the shipped engine is a graph shortest-path — Dijkstra over stored records, no λ parameter — not an evaluator of M(λ). When a real run is captured for Problem 2's midpoint it will be cited here with the actual numbers it returned. ``` AFFINE_COMBINATION // CANDIDATE — no captured run law weights_sum_to_one : Σλᵢ = 1 law translation_equivariant : f(P+v) = f(P)+v faces { midpoint(n=2, eq weights) CANDIDATE · no captured run centroid(eq weights at any n) CANDIDATE · no captured run barycentric(general weights, Σ=1) CANDIDATE · no captured run } captured_runs : none for Problem 2 CURVATURE/COVER run on any ingested config, but no midpoint/affine-combination run is captured zero_length_segment_convention : when Pᵢ = Pⱼ, the segment PᵢPⱼ has length 0 (Delone p.56) ``` The first law says the weights must sum to 1 (Σ is the standard summation symbol; the line reads "the sum of all the λs equals 1") — the rule §3's vocabulary block explained. The second law names this property by its formal home: **translation-equivariance** — the output shifts by the same vector the input shifted by. (Not to be confused with translation-*invariance*, which would mean the output does not change when the input shifts — true of things like total length, but not of point positions.) The trailing contract embeds Delone's p.56 convention so any downstream code calling AFFINE_COMBINATION handles a coinciding-points case without needing to redecide locally. The real captured runs live in `gigi_fixtures_results.json`, reproducible via `scripts/gigi_fixtures_probe.py`. None of them computes a midpoint or affine combination, so this box stays a CANDIDATE until such a run is captured. ## Open threads - At the triangle-centers cluster (problems 67–88), verify that the triangle centroid is the same affine-combination primitive lifted to n = 3. - At the tetrahedron-medians problems (337–348), verify the lift to n = 4 — the tetrahedron centroid as the equal-weight affine combination of four corners. - **Track each later degenerate-limit case back to Delone's p.56 convention** — the zero-length-segment contract carried in the AFFINE_COMBINATION block above. Every collapsed triangle, every coincident endpoint pair, every circle of radius zero in later entries should invoke this same named contract rather than re-deciding the convention locally. **Engine-internal gates (optional, for readers tracking GIGI's internal catalogue).** Three additional threads live underneath this entry but are not needed to follow the math: (i) the Davis-manifold chart inherited from Entry 01 still wants grounding from the DAVIS Manifold paper, including the open question of whether the fold-set of the configuration plane (the (A, B) chart introduced in the Davis manifold pillar card above) corresponds to curvature; (ii) at the parallelohedra cluster (problems 479–496), McMullen's polytope-algebra grounding discharges both Entry 01's VALUATION primitive and AFFINE_COMBINATION's bridge to formal point algebra in one move; (iii) at problems 3–4 and 45–66, the orientation double cover gets cashed into the explicit S¹ → ℝP¹ form referenced in the Double cover pillar card. These are gates inside the engine catalogue, not gates on the reading.