What survives

Four lines have a cross-ratio

The cross-ratio is introduced as a property of four points on a line. Its dual — four lines through a point carry the same number, and any transversal reads it back — is not a second theorem. It is why the first one is true: four rays from an eye are a pencil, every picture of them is a section of that pencil, and a quantity belonging to the pencil cannot depend on which section was taken.

Worth reading first: What a projection destroys · Two triangles and the line nobody drew.

The cross-ratio is always introduced the same way. Four points on a line, a formula of four differences, a demonstration that the number survives projection while lengths and ratios do not. This site’s own first rung does it that way too.

That introduction leaves the fact looking like a small miracle: of all the quantities four points could have, one happens to be preserved. It is not a miracle, and the reason it is not is a change of subject.

Four points on a line, before and after a projectionLength and the ratio of lengths do not survive the projection; the cross-ratio does, agreeing to 0e+0 relative. Joined to a vertex off their line, the four points become four lines whose own cross-ratio is the same number — and two further transversals cut those lines in four points that carry it again, which is why any picture of the four rays gives the same answer.horizonABCDany vertexon the groundin the picturelength AB1.00011.3930ratio AB:CD0.56670.6837cross-ratio1.31681.3168correct from 26 cm, at 160 mm wide34° across
Fig. 1 The same four points, joined to a vertex off their line, and cut by two other transversals. The four joins have a cross-ratio of their own; each transversal cuts them in four points that carry the same number; and it is the number the original four points had.

The dual statement

In the projective plane, points and lines are interchangeable. Every statement has a partner obtained by swapping the two words and turning lies on into passes through: three points on a line becomes three lines through a point; the line joining two points becomes the point joining two lines.

Apply that to the cross-ratio. Four points on a line becomes four lines through a point — a pencil — and the dual quantity is the cross-ratio of that pencil, computable from the four directions with no points on it at all.

Cut the pencil with any transversal and it makes four collinear points. Those four points have a cross-ratio. It is the pencil’s, whatever transversal was chosen: three quite different transversals across the same four rays give the same number to nine decimal places.

Which is why projection preserves it

Now put an eye at the pencil’s vertex.

Four points in the world, seen from an eye, are four rays. Those rays are a pencil. The picture is a plane cutting the pencil, so the four image points are a transversal’s section of it — and so are the four world points, cut by a different plane.

Both sets of four points are sections of one pencil. The cross-ratio belongs to the pencil, so the two sections agree, and they agree not because of a coincidence in a formula but because they are two readings of the same object.

That reframing does something to the original statement. The question “why does the cross-ratio survive projection?” becomes “why does a section of a pencil not depend on where the cut is taken?” — and the second question answers itself once the pencil is the thing under discussion. The projection was never doing anything to the four points; it was choosing a second plane to read one pencil in.

Four points on a line, before and after a projectionLength and the ratio of lengths do not survive the projection; the cross-ratio does, agreeing to 0e+0 relative.horizonABCDon the groundin the picturelength AB0.70600.9936ratio AB:CD0.40000.4764cross-ratio1.25571.2557correct from 26 cm, at 160 mm wide34° across
Fig. 2 The original statement, on a different set of four positions. Length and the ratio of two lengths are destroyed by the projection; the cross-ratio comes through. Read through the pencil, the surprising half of that sentence stops being surprising and the destruction is what needs explaining.

The use, which is not decorative

Duality reads like a formal elegance until it makes something measurable that otherwise is not, and here it does.

A cross-ratio measured on points needs the four points to be in the picture. The most useful fourth point in perspective work is a vanishing point, and vanishing points are routinely off the canvas — a mildly rotated building puts one of them several picture-widths away, and the rectify rung works with one that has run off the paper.

The pencil form needs no such thing. Take any vertex, take the four rays to whatever is being measured, and compute from the four directions. Directions do not run off the edge of anything.

So a fence whose far end is out of frame, a row of columns disappearing behind a wall, a set of divisions whose convergence point is off the negative: all of them still carry a measurable cross-ratio, because the quantity lives in the pencil and the pencil is complete as soon as the four rays exist.

The vanishing point runs to infinity and the measurement does not careAs the camera comes level the vertical vanishing point leaves the canvas, the page and eventually the plausible — 7.2 × 10⁹ px at a tilt of one part in eight million. The recovered height stays exact to 2e-16 relative the whole way. At exactly level the method has nothing to work with and refuses.0510-2-10how far the camera looks down, over eight metres (metres, log scale)where the vertical vanishing point falls (log₁₀ pixels)the vanishing pointthe error in the recovered heightthe error curve is offset by 17 decades to be visiblea flat line at machine precision
Fig. 3 The problem the dual form sidesteps. A vanishing point several picture-widths outside the frame is a real point of the picture’s geometry and cannot be marked on the paper — and every construction that needs to mark it has to be replaced by one that does not.
The cross-ratio of four points, dry and wetThe pinhole returns the world's cross-ratio to 2e-16. The same four points seen through 1.20 m of air and then water return it 0.77% out, and stop being collinear by 0.76 px.pinholethrough waterin the world1.266486through the pinhole1.266486through the water1.274979no single viewpoint — the rays miss by 0.71 px of bendcross-ratio 0.67% out, against 2e-16 dry
Fig. 4 A case where the pencil is not a pencil. Rays continued through a refracting surface do not pass through a common point, so there is nothing for the cross-ratio to be a property of — and it stops being invariant, by a measured amount.

Why there is exactly one invariant and not two

The pencil reading answers a question the point reading leaves hanging: why is there one surviving quantity rather than three or none?

Count the freedom. Four collinear points have four coordinates along their line. The projective transformations of a line — the maps a projection can perform on it — form a three-parameter family. Four minus three is one, so there is exactly one function of the four points that no projective transformation of the line can change, and the cross-ratio is it.

Read through the pencil, the same count says something more concrete. Four rays from a point have four angles; the projective transformations available are the ones that change where the section is taken, which is again three parameters; and one shape parameter of the pencil survives. That parameter is what every section reports.

So the answer to “why one” is a subtraction, and the answer to “why that one” is that the cross-ratio is the standard coordinate on the space that is left. Any other invariant is a function of it — the harmonic condition is the cross-ratio equal to 1-1, the equal-spacing condition is 4/34/3, and the six values a cross-ratio takes under permutations of the four points are six functions of one number.

That is worth having because it forecloses a natural hope. There is no second invariant waiting to be found, no additional quantity that a cleverer construction could rescue from a projection. One number, and the count says why.

What is being claimed, precisely

It is worth stating the theorem in its exact form, because the loose version — “four lines have a cross-ratio” — invites a question the exact version answers.

The loose version suggests the number is a property of four lines considered as a set of four lines in the plane. It is not: four arbitrary lines have six intersections and no distinguished quantity. The number belongs to four lines through a common point, and the requirement of concurrency is what makes the quantity exist.

Stated fully: given four concurrent lines, every transversal not through their common point cuts them in four collinear points, and the cross-ratio of those four points is the same for every such transversal. The excluded case — a transversal through the vertex — is excluded because it cuts all four lines at the same place, and four coincident points have no cross-ratio.

That exclusion is worth noticing because it is the only case, and its rarity is a fact about the projective plane. In the drawn plane there are two apparent exceptions: a transversal parallel to one of the four lines never meets it, and a transversal parallel to two of them never meets either. Both are handled by the same promotion that makes the theory work at all — the missing intersection is a point at infinity, and a point at infinity enters the cross-ratio formula like any other. The number comes out finite and correct.

So the theorem has one hypothesis and one exclusion, and both are about degeneracy rather than about geometry. A statement with that shape is usually a statement about a structure rather than about a configuration, which is what duality is.

The harmonic case

The cross-ratio of 1-1 is the harmonic case, and it duals too. Four collinear points in harmonic relation become four concurrent lines in harmonic relation — a harmonic pencil — and the constructions transfer.

That is what makes the diagonals of a rectangle work in both directions at once. The near end, the far end, the midpoint and the vanishing point are a harmonic set of points along a receding side. The two diagonals, the side and the line to the vanishing point are a harmonic set of lines through a corner. Same fact, two readings, and a draughtsman can use whichever one has its ingredients in the picture.

Halving a receding rectangle two waysThe diagonals cross at the image of the rectangle's centre, 0e+0 px from it — the construction is exact at every camera because it uses only which lines meet where, and that is what a projection keeps. Halving the drawn side with a ruler instead lands 16.6 px from the image of the side's midpoint.the diagonals against a ruler, at 3.8 mthe diagonals — exactthe ruler — 16.6 px outcorrect from 23 cm, at 160 mm wideharmonic set -1.000000000 · construction 0e+0 px
Fig. 5 The construction in its point form. Its dual form uses the same lines and asks about the pencil at a corner instead of about the points along a side — which is available when the far corner is out of frame and the point form is not.
Two versions of the same invariant, one of which measures nothingFour consecutive divisions give the equal-steps method a perfect score. Using the vanishing point as the fourth point rejects it by 14%.error against the value the projection must producefour divisionsthree plus the VPthe projectionexactexactequal stepsexact14%halving3.6%25%tapering0.9%21%green: agrees with the projectiona necessary condition is not a test
Fig. 6 The test the dual form makes portable. A cross-ratio taken against a vanishing point rejects a row spaced by eye; taken against a fourth mark it does not — and the pencil form is what allows the vanishing point to be used when it is off the paper.

Desargues, which is its own dual

The most quoted example of duality is Desargues’ theorem, and it earns the status: dualising the theorem produces its own converse.

Two triangles in perspective from a point are in perspective from a line dualises to two triangles in perspective from a line are in perspective from a point, which is the converse. So the theorem and its converse are one statement seen twice, and proving either proves both.

Two triangles in perspective from a pointCorresponding vertices lie on three lines through one centre. Pair off the corresponding SIDES instead and the three points where they meet are collinear — 3e-12 px from the line through them, at every configuration the slider reaches. Nothing was measured to make that happen, and nothing can be adjusted to improve it.three side intersections, collinear to 3e-12 pxcentrethree sides paired, three pointscollinear to 3e-12 px
Fig. 7 The self-dual configuration. Ten points and ten lines, each point on three of the lines and each line through three of the points — a pattern that maps to itself under the exchange, which is why the theorem is its own converse.
A box drawn from a known camera, and the camera recovered from the drawingThree vanishing points found from the twelve drawn edges alone give back the focal length to 1e-15 relative.recovered principal pointused to drawrecoveredgapfocal length1061.801061.801e-15principal x345.0345.01e-12angle36.0°36.0°correct from 25 cm, at 160 mm wide36° across
Fig. 8 What the pencils in a picture are worth. Three bundles of parallel edges give three vanishing points, and the camera follows from them by an incidence computation — the cross-ratio’s dual form is the same machinery one dimension down.

Where duality stops being available

Two limits, and stating them is what keeps this from being mysticism.

Duality is a fact about the projective plane, not about the drawn plane. Its statements hold with points and lines at infinity included, and a construction that dualises perfectly on paper may dualise to something requiring a line at infinity that cannot be drawn. Nothing is wrong when that happens; the dual statement is still true and its ingredients are directions rather than marks.

And it does not dualise measurements. Length has no dual, angle has no dual, and the reason is that neither is projective. Only the incidence structure dualises, which is precisely the structure a projection preserves — so the class of statements that dualise is the same class that survives photography, and the two facts are the same fact.

That coincidence is worth carrying. This site keeps finding that its exact constructions are the incidence-only ones: the diagonals, Desargues, the pole of the horizon. Those are exactly the constructions with duals, and it is not three properties coinciding — it is one property, seen three times, that a projective statement is one made of nothing but which lines meet where.

A family of parallel ground lines at 40°, and where they meetAll five lines pass through one point on the horizon, off the edge of the frame at x = 2167. The point fitted from the drawn lines agrees with the one computed from the direction to 1e-11 px, and the fit's own residual is 3e-12 px.horizon — the image of the line at infinityvanishing point at x = 2167 — off the framecorrect from 30 cm, at 160 mm wide30° across
Fig. 9 The promotion that makes the plane self-dual in the first place. Without points at infinity a pencil of parallel lines has no vertex and the duality has exceptions; with them, every two lines meet and every two points join, and the exchange is complete.
The three vanishing points of one box, drawn to scale with the boxThe picture is the small rectangle. Two of the three vanishing points fall well outside it, which is why they are computed rather than located by eye.the pictureVP₁VP₂VP₃orthocentrefocal length from the triangle — 812.8 pxspread 0e+0% across three routes
Fig. 10 Three pencils in one picture, each with its own vertex on the drawn geometry. The camera comes out of these three points — and it comes out of them as an incidence computation, which is why the recovery is exact rather than fitted.
The measuring point, checked against the depths the camera produces6 equal depths of 1.20 m, laid out by the construction, land on the projected positions to 6e-14 px.246VPcorrect from 26 cm, at 160 mm wide34° across
Fig. 11 A construction that reads a pencil rather than a set of points. The measuring point is a vertex on the horizon, and the rays from it cut the receding line in the divisions being laid out — which is the dual form used without being named.

How the number is actually computed

The formula for four collinear points is a ratio of four differences of coordinates along the line. For four concurrent lines there is no coordinate to take differences of, so the dual form has to be computed from angles — and the naive translation does not work, because the cross-ratio of four angles is not the cross-ratio of the four points they cut.

What does work is the tangent. Measure each ray’s angle from the first, take the tangent of each, and feed the four tangents into the same four-difference formula. That is not an approximation and not a convention: a transversal at unit distance from the vertex cuts the four rays at positions equal to those tangents, so the tangents are a set of positions the four points take on one particular transversal, and the cross-ratio of the pencil is the cross-ratio of that section.

Which is a small piece of machinery with a large moral attached. The dual quantity is not a new definition; it is the old definition applied to a section that always exists. Every dual statement on this site has that shape — it is the original statement about an object that was always there and had not been named.

The check that the implementation is right is the one the theorem suggests: cut the pencil with three transversals of quite different slopes and positions and require the four points each makes to carry the same number. They agree to fourteen digits. A formula that got the tangent step wrong would produce a perfectly plausible number that varied with the transversal, and nothing about a single reading would say so.

What a vanishing point is, dually

The vanishing ladder promotes a direction to a point: parallel lines meet at a point of the projective plane, that point is findable in a drawing from the drawn lines, and it enters calculations like any other point. The dual promotion is worth stating because it is used constantly on this site without being named.

The dual of a point at infinity is a line through the origin of directions — which is to say, the dual of a direction is a pencil. So the statement “these lines are parallel” and the statement “these lines are concurrent” are one statement in the projective plane, differing only in where the common point is. A bundle of drawn edges converging at 40 px from the frame’s corner and a bundle running exactly parallel on the page are the same configuration described twice.

That is why vanishingPointOf can be written once and used for both. It fits a common intersection in the least-squares sense and reports the residual; a genuinely parallel bundle produces a nearly-singular system, which the function refuses rather than answering. The refusal is the honest half — a direction is not a place, and a routine that returns a very distant place for a bundle that has none has substituted one for the other.

Where the site already uses the dual form

Three places, and none of them says so.

The measuring point. The construction lays out correct depths by drawing rays from a point on the horizon through the divisions of a measuring line. Those rays are a pencil and the receding line is a transversal; the construction is a pencil section, and the reason it produces correct depths is that the pencil’s cross-ratio is what the eye’s own rays carry.

The three-vanishing-point recovery. Each bundle of a box’s parallel edges is a pencil in the drawing whose vertex is the direction’s vanishing point. The camera falls out of the three vertices by an incidence computation, and nothing about the individual edges matters — only which pencil each belongs to.

And the anamorphic construction. A figure drawn to be correct from one point is a pencil from that point sectioned by a surface that is not the picture plane. Changing the surface changes the drawing and not the pencil, which is why the same anamorph is correct on a flat sheet, on a cylinder and on a floor, and why the point it is correct from is the one thing all three have in common.

The sentence to keep

The cross-ratio does not survive projection. It was never in the four points to begin with: it is a property of the pencil of rays from the eye, and the four points — in the world, in the picture, in any other picture — are places where somebody chose to cut.

That is a better sentence than the usual one because it says why there is exactly one invariant rather than several. A pencil of four rays has one shape parameter, up to the projective transformations of the line. Four points cut from it can carry that parameter and cannot carry more, no matter how many quantities are written down about them.

What links here

Computed from the collection, not written here: the essays that point at this one.

Shares its objects with

Essays that name at least two of the same things, and that neither author linked.

Named objects

A flat tag is an object no other essay names yet.

Cross ratioDemonstrationDesarguesHarmonic conjugateline at infinityPinholeProjective dualityProjective invariantTransversalVanishing point