Light and mirrors

Two lamps and one map

A flat object lit by two lamps casts two shadows, and one is the other scaled about a point — ratio 1.2509 here, carrying every point of the first outline onto the second to 1e-15 m. No rotation and no shear is available to it, because a projection between two parallel planes has its axis at infinity. And the ratio is exactly 1 when the two lamps are at the same height, which makes a pair of shadows a measurement of the lamps.

Worth reading first: A shadow is a second projection · Three constructions, one map.

Light a flat object from two lamps and it casts two shadows. They are different sizes, they point in different directions, and the region where they overlap is darker than either.

The question worth asking is not what each shadow is — each is a homology of the object, and that is settled — but what the map between them is. Given one shadow, what does the other one have to be?

One shadow is the other, scaledThe map from one lamp's shadow to the other's is a homothety — a scaling about one point, with ratio 1.2509 — and it carries every point of the first outline onto the second to 1e-15 m. There is no rotation and no shear available to it, because a projection between two parallel planes has its axis at infinity, and a homology with its axis at infinity is a scaling.correct from 19 cm, at 160 mm wideratio 1.0357 · carries one onto the other to 9e-16 m
Fig. 1 The map from one lamp’s shadow to the other’s: a scaling about a single point, ratio 1.2509, carrying every point of the first outline onto the second to 1e-15 m. No rotation and no shear enters, and the spokes joining corresponding points all pass through one place.

A shadow between parallel planes is a scaling

The answer comes out of one observation about the geometry, and the observation is that the two planes involved are parallel.

A flat object lying at height hh and a floor at height 00 are two parallel planes. A homology’s axis is where the two planes meet — and two parallel planes meet at infinity, so the axis is the line at infinity.

A central collineation whose axis is the line at infinity is a homothety: a scaling about a point. That is not a special case to be checked for, it is what the classification says as soon as the axis is named. So the map from the object to its shadow is

pkp+(1k)a,k=HHh\mathbf{p} \mapsto k\,\mathbf{p} + (1-k)\,\mathbf{a}, \qquad k = \frac{H}{H - h}

for a lamp at height HH over the floor point a\mathbf{a} — a scaling about the lamp’s own foot, by a ratio set by the two heights and nothing else.

Two lamps give two such scalings. Composing one with the inverse of the other gives a third, with ratio kB/kAk_B/k_A, and that is the map between the two shadows.

Which means the two shadows of a flat object are similar figures. Same shape, different size, no rotation, and corresponding points joined by lines through a common centre.

Two lamps, two shadows, one darker regionEach lamp casts its own shadow, and each is an exact record of the same object under a different projection. Where the two overlap no light arrives from either — the region a reader reads as "the" shadow, and it is the intersection of two shapes rather than a shape in its own right. The ratio between them is 1.2509, and it is the only thing separating one from the other.correct from 19 cm, at 160 mm widetwo lamps · one homothety, ratio 1.0357
Fig. 2 The two shadows drawn together, with the region dark to both. What a reader calls “the shadow” is the intersection of two shapes, and the two shapes differ by one number — the ratio, 1.2509.

The ratio is a measurement of the lamps

The ratio kB/kAk_B/k_A depends on the two lamps’ heights and on the object’s height, and on nothing else — not on where the lamps are horizontally, not on the object’s shape, not on where it sits on the floor.

Two consequences that a reader looking at a photograph can use.

Equal ratios means equal heights. Set the two lamps at the same height and kA=kBk_A = k_B, so the composition has ratio exactly 1 — a pure translation. The two shadows are then congruent: same size, same orientation, offset. This is a statement about the lights read off their shadows, and it needs nothing about the object at all.

And the ratio is not a similarity of the object. Both shadows are enlargements of the object, so “the shadows are similar” is expected. What is worth the slider is that the map between them stays a pure scaling with no rotation, at every pair of lamp positions — including lamps on opposite sides of the object, where the shadows point in opposite directions.

Two lamps at one height: the shadows differ by a translationWith both lamps at the same height the map from one shadow to the other has ratio 1.000000 — a pure translation, and the two outlines are congruent. That is a statement about the lamps read off the shadows: same size means same height, whatever else differs.correct from 19 cm, at 160 mm wideratio 1.0000 · carries one onto the other to 7e-16 m
Fig. 3 The two lamps at one height. The composed map’s ratio is 1.000000 — a pure translation, and the outlines are congruent. Read backwards, that is a statement about the lamps: same shadow size means same lamp height, whatever else differs.

No rotation is available, and that is the surprising part

The absence of a rotation in the map is worth dwelling on, because it is the claim a reader is most likely to doubt after looking at a real pair of shadows.

Put the two lamps on opposite sides of the object. One shadow falls left and the other falls right; they point in opposite directions and look like mirror images of each other. The map between them still has no rotation in it, and no reflection either — it is a scaling about a point, with a positive ratio, and the “opposite directions” are entirely accounted for by where the centre of the scaling sits relative to the two outlines.

The reason is the axis. A central collineation’s angular behaviour lives in what it does to the line at infinity, and a map fixing that line pointwise cannot move a direction at all: every direction is its own image, so no line changes its angle and no rotation is possible. A scaling about a point far from the object drags the whole outline across the floor while leaving every edge parallel to where it was.

So the visual impression of two shadows “pointing different ways” is an impression about position rather than about orientation, and the two outlines are exactly parallel edge for edge. That is checkable in a photograph with a straightedge, and it fails immediately if the object is not parallel to the floor — which makes it a test of the flatness assumption rather than of the lamps.

The ratio is positive, always

A homology’s characteristic ratio carries a sign, and the sign says where the projection centre is: negative when the centre lies between the two planes, positive when it does not.

For a lamp above an object above a floor, the centre is above both planes, so k=H/(Hh)k = H/(H-h) is positive and greater than one — the shadow is an enlargement, never a reversal. The composition of two such maps has a positive ratio too, which is why the two shadows are similar rather than inverted.

The contrast with the viewing field is exact and is the reason the sign is worth mentioning. A floor anamorph’s homology has ratio 1.4815-1.4815: negative, because the eye sits between the design’s plane and the ground, so the map carries points across the axis. That is what makes an anamorph read as inside out rather than merely stretched, and a shadow never does it.

The design, the eye, and where the rays landA 0.90 m design standing on the ground line, an eye 1.62 m up and 2.40 m back, and the marks the rays leave on the floor. Above: the section, with the ray through the top of the design reaching 3.00 m away. Below: the marks themselves, in plan.floorpicture planeeye level — no mark above thiseye · 1.62 m up, 2.40 m backthe ground line, seen from abovethe mark runs to 3.00 ma point 1.62 m up casts no mark at all
Fig. 4 The negative-ratio case, for comparison. The eye is between the two planes, the map carries points across the axis, and the marks read as inside out. A lamp above an object above a floor cannot produce this, whatever its position.

Three lamps, and the loop that closes

The two-lamp result makes a prediction, and it is the kind of prediction a wrong derivation fails.

Three lamps give three pairwise maps: A to B, B to C, and C back to A. Their ratios are kB/kAk_B/k_A, kC/kBk_C/k_B and kA/kCk_A/k_C, so they multiply to exactly 1, and going round the loop returns every point of the shadow to itself.

Checked rather than assumed: the product is 1 to the last bit, and every point of a sampled outline comes back to 2e-16 m after all three maps. A map with a spurious rotation or shear in it — the kind of error a plausible-looking derivation produces — would not close, and the residual would say so in metres rather than in argument.

The loop closing is what makes this a group statement rather than a coincidence about two lamps. Any number of lamps, any order, and the composition of the round trip is the identity.

What breaks it, and it is not the second lamp

The result is narrower than it first appears, and every clause is load-bearing.

The object has to be flat, and parallel to the floor. If the object is not a plane figure, or is a plane figure tilted relative to the floor, the two planes are no longer parallel, the axis is a real line rather than the line at infinity, and each shadow is a general homology instead of a homothety. The composition is then a central collineation with that axis rather than a scaling.

The floor has to be flat. A dished, ridged or stepped floor gives no homology at all, so there is nothing to compose. The composed map’s existence is exactly as fragile as each individual map’s.

And the lamps have to be above the object’s plane. A lamp below it does not cast a shadow downward onto the floor at all, and the machinery refuses it rather than returning a negative ratio — a refusal paired, as the site’s habit requires, with the acceptance one step above.

None of those is about the second lamp. Adding lights does not weaken any of the geometry; it composes maps that were already there, which is why the composition is so much simpler than the individual maps look.

A shadow cast onto a dished floorThe section shows what the ray diagram is: straight lines from the lamp, through the occluder's plane, down to whatever is there to receive them. Nothing about the light or the occluder changes between the four surfaces — only where the rays stop. Fitting the shadow's map from four marks and predicting the other sixty-eight leaves 5.67 mm of error on this one, against 1e-13 mm at the four fitted marks.the lampthe occluder's planea dished floora vertical section — the rays are straightfour points fitted · worst prediction 5.67 mm
Fig. 5 The clause that fails first in a real room. Dish the floor and the individual shadow map is no longer a homology — 5.67 mm of misprediction from four fitted marks — so there is nothing for the composition to be a composition of.

What happens when the object is not flat

The flatness clause is the one a reader will most often be standing outside of, so it is worth saying what the result degrades into rather than only that it fails.

A plane object tilted relative to the floor still casts a homology from each lamp — two planes that are not parallel still meet in a line, and that line is a real axis rather than the line at infinity. Each shadow is then a general homology, and the map between them is a central collineation with that same axis. Which is still a strong statement: corresponding points of the two shadows are joined by lines through a common centre, and the line where the object’s plane meets the floor is fixed pointwise by both maps and therefore by the composition.

What is lost is the similarity. A homology with a finite axis does not preserve directions, so the two shadows are no longer parallel edge for edge, and the ratio no longer reads directly as a comparison of lamp heights.

A solid object has no single map at all. Its shadow is the outline of its silhouette from the lamp, and the silhouette is a different curve on the body for each lamp — so the two shadows are outlines of two different curves, and no map between them is defined even in principle. This is the same fact the parallel field meets as the visual hull: a silhouette is a boundary, and which boundary it is depends on where it is being looked at from.

So the result’s reach is precisely: flat object, parallel to a flat floor, lamps above it. Which sounds narrow and covers the case anybody actually reasons about — a cut-out, a leaf, a sheet of paper, a stencil, a flat sign — and, more importantly, is the case where the shadow is being used as a measurement.

The shadow of a ball, under a lamp 1.90 m upThe lamp's tangent cone cuts the ground in an ellipse. The top of the ball is at 0.84 m and the lamp at 1.90 m: above that height the shadow closes, below it the shadow reaches the horizon, and the ball's distance from the lamp appears nowhere in the condition.the lamp is above the top of the ball — an ellipsecorrect from 22 cm, at 160 mm wideaxis ratio 0.4274 · discriminant -7.08e-1
Fig. 6 The solid case, from the rung below. A ball’s shadow is the section of a tangent cone, so its outline comes from a contour on the body that moves when the lamp moves — two lamps give two different contours, and there is no map between the outlines to look for.

The four regions, and why “the shadow” is a compound

The picture with two lamps has four kinds of place in it, and separating them says what a soft-edged shadow actually is.

Lit by both. Neither lamp is blocked.

Lit by A only and lit by B only. One lamp is blocked; the region is the difference between one shadow and the other.

Lit by neither — the intersection of the two shadows, and the only part that is fully dark.

Which is the discrete version of a penumbra. An extended source is the limit of many point sources, and the graded edge of a real shadow is the region where some of the source is blocked. Two lamps give a two-step version of the same structure, and the geometry is the same geometry: the penumbra’s width is the source’s own image through the occluder’s edge, and here the “source” is two points.

So the region a reader identifies as “the shadow” is the intersection of two shapes that differ by one scaling. It is not a shadow of anything — no single projection produces it — and its outline is made of arcs of two different homothetic copies of the object.

A 28 cm source, an edge, and the band betweenThe penumbra is 14.0 cm wide by the projection — the source's width times the receiver-to-occluder distance over the source-to-occluder distance — and 13.9 cm by counting how much of the source each point can see. The two routes share no arithmetic.source, 28 cmthe occluder's edgefraction of the source visiblepenumbra 14.0 cmprojection: 14.00 cmsampled: 13.93 cm
Fig. 7 The continuous version, from the rung below. An extended source produces a graded edge whose width is the source’s own image; two point lamps produce the same structure in two steps, and the four regions are what a two-point source’s penumbra looks like.
Two lamps, two shadows, one darker regionEach lamp casts its own shadow, and each is an exact record of the same object under a different projection. Where the two overlap no light arrives from either — the region a reader reads as "the" shadow, and it is the intersection of two shapes rather than a shape in its own right. The ratio between them is 0.9637, and it is the only thing separating one from the other.correct from 19 cm, at 160 mm widetwo lamps · one homothety, ratio 0.9637
Fig. 8 The two shadows with the second lamp higher than the first. The overlap changes shape and the map between the outlines is still a scaling — only the ratio has moved.

Composing maps is a group statement

There is a tidier way to say why the composition is well behaved, and it is the reason the census of this site’s plane maps was worth doing.

The maps of a plane fixing one line pointwise form a group. So two central collineations with a common axis compose to a third with the same axis, and the composed map’s class follows from the two without any case analysis.

Here the common axis is the line at infinity, shared because both object-to-floor maps are between parallel planes. The group of collineations fixing the line at infinity pointwise is the group of homotheties and translations — so the composition is one of those, necessarily, and the only question is which. The ratio answers it: not 1 gives a homothety with a finite centre; exactly 1 gives a translation.

That is the same argument the viewing field uses for what a wrong eye does to an anamorph: two anamorphs laid out for two different eyes share the ground line as their axis, so reading one from the other’s position composes two maps with a common axis and lands inside the same group, for every wrong eye and with no computation.

One group statement, two fields, and neither needed a derivation.

Four constructions, three of them the same mapA shadow, a floor anamorph, a mirror and a rectification, each decomposed into its fixed points and lines. Three are central collineations with a line of fixed points; the fourth is not, and that is the difference between changing a picture and changing where it is seen from.constructionfixed structurea shadow, ground to floorhomology · ratio 0.6719a floor anamorphhomology · ratio -1.4815a mirror in a vertical planehomology · ratio -1.0000a rectificationgeneral · three fixed points3 of 4 are centrala line of fixed points is what they share
Fig. 9 The census the group statement comes out of. A shadow, an anamorph and a mirror are homologies — a line of fixed points, a centre, one ratio; a rectification is not. Composition within a common axis is what makes the two-lamp result immediate.
Moved 250 mm sideways, the picture becomes an elationThe intended design and the one a displaced eye actually sees, drawn over each other. The map between them fixes the ground line pointwise, so the departure is exactly zero there and reaches 212.5 mm at 1.38 m up.ground line — right from anywherefaint: intended · solid: seendeparture (mm) against height (m)01.38the error map is an elation, with the ground line as its axisno characteristic ratio — nothing off the axis is fixed250 mm sidewayszero on the axis, 212.5 mm at the top
Fig. 10 The same group argument in the field next door, where it was first used. Two anamorphs for two eyes share an axis, so the composition is a central collineation on that line — zero departure along the ground line, growing above it, for every wrong eye.
A 40 cm source, an edge, and the band betweenThe penumbra is 20.0 cm wide by the projection — the source's width times the receiver-to-occluder distance over the source-to-occluder distance — and 19.9 cm by counting how much of the source each point can see. The two routes share no arithmetic.source, 40 cmthe occluder's edgefraction of the source visiblepenumbra 20.0 cmprojection: 20.00 cmsampled: 19.90 cm
Fig. 11 The continuous limit of adding lamps. A wide source is many point sources, and the graded edge it produces is the region where some of them are blocked — the four regions of two lamps, taken to a continuum.
Shadow length against the sun's elevationA 1 m post casts a 1 m shadow at 45° and a 5.7 m shadow at 10°. The curve is a cotangent and it has no upper bound.024620406080elevation of the sun (degrees)length of the shadow of a 1 m post (m)45° — shadow equals heightcot of the elevationunbounded as the sun sets
Fig. 12 And the quantity a single lamp’s height controls, for comparison with the ratio: how long a shadow is against the light’s elevation. The ratio between two lamps’ shadows is the cleaner reading, because it does not need the elevation at all.

What a photograph of two shadows gives up

Reading the result backwards is where the measurements are, and there are three of them.

The ratio gives the height comparison. Measure the two shadow outlines, fit the scaling that carries one to the other, and its ratio is kB/kAk_B/k_A — a function of the two lamp heights and the object’s height. With the object’s height known, the ratio of the two lamps’ heights follows.

The centre gives a line. The homothety’s centre is a computable point of the floor, and it lies on the line joining the two lamps’ feet. So the two shadows locate that line without either lamp being in the picture.

And congruence gives equality. Two shadows of the same size are two lamps at the same height, exactly, with no scale, no calibration and no camera needed — the cleanest measurement in this essay and the one that survives the most missing information.

One shadow is the other, scaledThe map from one lamp's shadow to the other's is a homothety — a scaling about one point, with ratio 0.8972 — and it carries every point of the first outline onto the second to 6e-16 m. There is no rotation and no shear available to it, because a projection between two parallel planes has its axis at infinity, and a homology with its axis at infinity is a scaling.correct from 19 cm, at 160 mm wideratio 0.8972 · carries one onto the other to 6e-16 m
Fig. 13 The far end of the slider, where the second lamp is well above the first. The map is still a scaling and nothing else; only the ratio has moved, and the ratio is what the height comparison is read from.
Two lamps, two shadows, one darker regionEach lamp casts its own shadow, and each is an exact record of the same object under a different projection. Where the two overlap no light arrives from either — the region a reader reads as "the" shadow, and it is the intersection of two shapes rather than a shape in its own right. The ratio between them is 1.5330, and it is the only thing separating one from the other.correct from 19 cm, at 160 mm widetwo lamps · one homothety, ratio 1.5330
Fig. 14 And the near end of the slider. Two shadows, one darker region, and a ratio that passes through 1 on the way up — which is the crossing that makes a pair of shadows a measurement rather than a picture.
A box and its shadow, both projections from a pointThe rays from the lamp to the corners are the same construction as the rays from the eye to the corners — one operation, two centres.correct from 26 cm, at 160 mm wide34° across
Fig. 15 The identification the whole field rests on, and the reason two lamps are two projections rather than a lighting effect: the rays from a lamp to an object’s corners are the rays from an eye to the same corners.

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.

Axis of a homologyCentral collineationCharacteristic ratioCompositionHomothetyPlanar homologypoint at infinityProjective mapShadow projectionUmbra