Light and mirrors

The lamp's size over its distance, and nothing else

One straight-edge shadow gives a lamp's angular size and nothing about its actual size or distance — scale a 36 cm lamp and its 3.0 m distance together and the band it casts differs by 0.0e+0. A second card at a different height breaks the tie, recovering 36.00 cm at 3.000 m from bands of 18.0 cm and 144.0 cm alone, at a condition number of 37.1.

Worth reading first: The penumbra is the lamp's image · The lamp, out of the picture.

A soft shadow on a curved floor is not the lamp’s image settled which floors let a penumbra be trusted as a record of the lamp at all. On the flat floors that survive that filter, the next question is sharper: trusted to say what, exactly, about the lamp?

A single straight-edge shadow answers one question and one only — how wide the lamp looks from where the edge is. It does not answer how wide the lamp actually is, and it does not answer how far away it is, because those two quantities enter the construction only as a ratio. Scale a lamp and its distance together by the same factor and the band it casts does not change at all: the same picture on the floor is compatible with an 18 cm lamp at 1.5 m, a 36 cm lamp at 3.0 m, or a 90 cm lamp at 7.5 m, and nothing in one shadow can tell those apart.

The reason is the same reason a nearer coin and a farther dinner plate can subtend the same angle at an eye. Every ray this construction casts leaves a point on the lamp and grazes the same edge, so the triangle formed by a rim, the edge and the floor has one angle fixed by the geometry and the lamp’s half-width and height above the edge entering only through their ratio — double the half-width and double the height and every one of those triangles is congruent to the one before, just carried out along rays that are twice as long. A shadow is silent about anything that a similar triangle is silent about, and a similar triangle is silent about absolute scale by definition.

That this holds for a straight edge and stops holding as soon as a card of finite width is substituted is not obvious in advance, which is why the family above is drawn rather than merely argued for: an edge has no length of its own to compare a lamp’s size against, and a card does, so the same rescaling that leaves a straight-edge shadow unchanged moves a card’s shadow by an amount fixed by the ratio of the lamp’s size to the card’s own — a ratio that does not rescale even when the lamp and its distance both do.

Five lamps, five heights, one band: the profiles differ by 0.0e+0Five lamps, from 18 cm at 2.70 m to 90 cm at 3.90 m, each scaled together with its distance above the card so that all five subtend 33.40 degrees there. Their limiting rays land on the same two places and the lit fraction between them is the same at every place: 0.0e+0 of difference, which is nothing. The picture on the floor holds the lamp's size over its distance and does not hold either one.36 cm at 3.00 ma straight edgeall five subtend 33.40° at the occluderprofiles differ by 0.0e+0
Fig. 1 Five lamps, from 18 cm at 2.70 m to 90 cm at 3.90 m, each scaled together with its own distance above the card so that all five subtend 33.40 degrees there. Every one of the five throws its limiting rays onto the same two places on the floor, and the lit fraction between those places is the same at every point: the five profiles differ by 0.0e+0, which is not a small number but nothing at all.

The degeneracy is exact, and it is a fact about the edge

A difference of 0.0e+0 sounds like the kind of claim that ought to be taken on faith or hedged as “negligible.” It is neither, and the reason is worth making precise before anything is built on top of it.

Behind a straight edge the family is degenerate to exactly nothing; behind a card it is 1.00The largest difference between any two members of the scaled family and the middle one, at every place on the floor, for three arrangements. Behind a straight edge the five lamps are indistinguishable — the difference is exactly nothing, and it is arrived at by casting rays from real places rather than by cancelling a ratio in a formula. Behind a card of its own width they are plainly different, which is what proves the machinery could have told them apart and did not. And scaling the lamp without moving it, the third row, changes the picture immediately. So the degeneracy is a fact about the band and a straight edge, not about the model.lamp and distance together, straight edgeexactly 0lamp and distance together, 90 cm card1.000lamp scaled, distance held0.296worst difference from the middle member, over the whole floor3.68 m of umbra between them
Fig. 2 The largest difference between any two members of the scaled family and the middle one, over the whole floor, for three arrangements. Behind a straight edge the five lamps are indistinguishable — exactly 0 — arrived at by casting rays from real coordinates rather than by cancelling a ratio symbolically. Behind a 90 cm card of its own width the same five differ by 1.000, the largest the quantity can be. Scaling the lamp without moving it, holding the distance fixed, differs by 0.296 — immediately, rather than growing from zero.

The three rows are not three degrees of the same effect; they are a control and two ways of breaking it. The straight edge has no width of its own, so nothing in the geometry distinguishes “far and large” from “near and small” — every ray that would tell them apart passes through the same one-dimensional edge regardless. A card of finite width does have a length scale that does not participate in the lamp-and-distance rescaling, and the moment that second length exists the five members stop agreeing, all the way up to 1.000. And scaling only the lamp, leaving its distance fixed, obviously changes the picture on the floor — the exact reading a person expects — which is there to confirm that the family really is being redrawn each time and the zero above is not an artefact of the code returning a cached answer. A method that reported exactly nothing on all three rows would be broken; one that reported exactly nothing only on the row with no second length is behaving.

The 1.000 is worth reading as a fact about the card rather than about the lamp. It is the largest value the underlying quantity can take at all — a place that sees the whole lamp behind one arrangement and none of it behind another — so the card family is not merely “different,” it is as different as two profiles compared this way can be, at some point on the floor. The 0.296 sits between the two extremes for a reason that is itself worth noting: holding the distance fixed and scaling only the lamp changes both the lamp’s absolute size and, through it, the umbra’s own extent, but it does not introduce a second length scale the way a card does — it is simply the ordinary, expected sensitivity of a shadow to the size of what is casting it, present at every rung of this site and not a new phenomenon in its own right. What makes the top row the interesting one is not that it differs from the bottom two, but that a straight edge is the one arrangement, among the three, for which the natural expectation — “of course a bigger, farther lamp looks different from a smaller, nearer one” — turns out to be false.

What one flat measurement can actually say

The angular size a straight-edge shadow reports is a real, well-defined quantity, and it is worth putting a number on before asking what more is needed. A source of known width, at a known distance from an edge, images through that edge exactly as the lamp above does.

A 36 cm source, an edge, and the band betweenThe penumbra is 15.4 cm wide by the projection — the source's width times the receiver-to-occluder distance over the source-to-occluder distance — and 15.4 cm by counting how much of the source each point can see. The two routes share no arithmetic.source, 36 cmthe occluder's edgefraction of the source visiblepenumbra 15.4 cmprojection: 15.43 cmsampled: 15.35 cm
Fig. 3 A 36 cm source and an edge, at the same width this essay’s own lamp carries. The penumbra comes out at 15.4 cm by the closed-form projection — the source’s own width times the receiver-to-occluder distance over the source-to-occluder distance — and at 15.4 cm again by counting how much of the source each point on the receiver can see, a route that shares no arithmetic with the first. The two agreeing is the check; neither number says whether the source is 36 cm at 1.4 m or 18 cm at 0.7 m, because the formula behind both routes only ever uses their ratio.

The penumbra is the lamp’s image is where that closed form is first stated, and this is the same formula read for what it withholds rather than what it supplies: a width divided by a distance is an angle, and an angle is exactly the information a single flat measurement contains. Nothing about adding more precision to one photograph changes that. A perfectly sharp edge, measured to an arbitrary number of decimal places, still yields only the ratio, because the ratio is the only combination of the lamp’s size and its distance that appears anywhere in the equation relating them to the band’s own width.

The one number that depended on which card came first

That angular size is not merely a ratio in the abstract; it is a ratio read from somewhere, and where it is read from turns out to matter in a way this essay’s own machinery got wrong before it got right.

An angular diameter is not a property of a lamp on its own — it is a property of a lamp and a place to stand, exactly as apparent size always is — so reporting “the” angular diameter of a lamp recovered from two cards requires saying which of the two heights it is reported from. The first version of this measurement did not say so: it reported the angle from whichever card happened to be listed first in an array of measurements, which meant the identical pair of cards, handed over in the other order, described a different lamp — 10.29 degrees against 33.40, both arithmetically correct and neither the same question, because “how wide does the lamp look from 1.00 m” and “how wide does it look from 2.40 m” are two different quantities that happen to share a source. That is now reported from the lower of the two cards by convention, with the general formula available for any other height a reader wants it evaluated at. What was never in doubt through any of this is the recovery of the lamp’s actual size and height, which is the pair of numbers the rest of this essay is built on and which do not depend on an ordering at all.

The distinction matters because it is easy to conflate two claims that sound alike and are not. “The lamp’s angular size cannot be recovered without ambiguity” is false — an angular size is perfectly well defined the moment a place to measure it from is named, and this essay’s own opening figure computed one, 33.40 degrees, without any trouble at all. “The lamp’s actual size and distance cannot be recovered from one angular measurement” is true, and is the degeneracy this essay is about. The ordering bug conflated the two by making the first claim look shaky — an angle that changed when nothing about the lamp did — when the actual fault was silence about which of many equally legitimate angles was being reported. A recovered lamp has one height and one half-width; it does not have one angular diameter, because it can be looked at from more than one place, and the fix is to say from where rather than to treat the angle as if it were the lamp’s own property.

Breaking the degeneracy: a second occluder at a different height

The family figure showed what one straight edge cannot do. A second edge, at a different height from the first, is what supplies the length the single measurement was missing.

Two cards, 1260 mm between their bands, and the lamp comes out at 3.000 mOne lamp and two cards, one at 1.00 m and one at 2.40 m, each leaving its own band. The low card's band is 18.0 cm wide and the high card's 144.0 cm, and the two together are enough: the height of a card over the width of its band falls on a straight line in the card's height, and one point does not have a line through it while two do. Solved, they give the lamp 36.00 cm wide at 3.000 m — which is where it is. Neither band on its own says anything but 10.29 degrees.18.0 cmcard at 1.00 m144.0 cmcard at 2.40 mrecovered: 36.0 cm at 3.00 mtwo cards, two bands, one lampcondition number 37.1
Fig. 4 One lamp, two cards — one at 1.00 m, one at 2.40 m — each leaving its own band: 18.0 cm wide from the low card, 144.0 cm from the high one. The two together are enough. Solved, they recover the lamp at 36.0 cm wide, 3.00 m up — which is exactly where it is — at a condition number of 37.1. Neither band on its own says anything beyond an angle.

The reason two heights suffice where one cannot is worth stating exactly rather than left as “more data helps.” A card at height y leaves a band whose width w satisfies w = 2R·y/(hy), where h is the lamp’s height and R its half-width — one equation in two unknowns from one card, and one equation in two unknowns has a whole line of solutions rather than a point. A second card at a different height is a second equation, and two equations in two unknowns generically have one solution. The height’s presence in the denominator is what makes a single card insufficient in a way that is not obvious from the picture alone: it is not merely that one number under-determines two, it is that the one number available is a nonlinear mixture of both, and no amount of precision on that single mixture separates its ingredients.

Why a second card rather than, say, a second reading of the same card taken more carefully is worth being explicit about too, since the two are easy to run together. Reading the same band twice, however precisely, supplies the same equation twice — it can shrink the noise on w, and the conditioning reading below is exactly about how much that noise matters, but it cannot add a second independent equation, because y has not changed and neither has the relationship between y, h, w and R. What breaks the degeneracy is not more measurement of the same thing; it is measurement of the thing at a second, distinct value of the one quantity — the occluder’s own height — that the equation treats as known rather than as one of the two unknowns being solved for.

Why two points determine a line, and one point determines nothing

Rewriting that same relationship linearises it, and the linear form is what makes the “one card is not enough” claim visible as a picture rather than an argument about algebra.

Height over band width is a straight line whose intercept is 8.3333 and whose slope is 2.7778The measurement written so that its failure is visible. A card at height y leaves a band of width 2Ry/(h−y), so y divided by that width is h/2R − y/2R — a straight line in y, with the lamp's height in the intercept and its width in the slope. The two filled marks are the two cards actually used and the line is fitted through them; the open marks are five more heights that were not used and that fall on the same line, which is what makes the two enough rather than merely sufficient. One card is one mark, and a single mark has every line in the plane through it, so the solver is given nothing and refuses instead of choosing one. Solved here: 3.0000 m and 36.000 cm.02468012the card's height above the floor, in metresthat height divided by the width of its bandintercept 8.333 = height over lamp widthcard at 1.00 mcard at 2.40 mtwo marks fix the line; one mark fixes nothing3.0000 m, 36.000 cm
Fig. 5 The same measurement, rearranged: y divided by the band’s width is h/2R minus y/2R, a straight line in the card’s own height y, carrying the lamp’s height in its intercept and its half-width in its slope. The two filled marks are the two cards actually used, and the line fitted through them also passes through five more heights, drawn open, that were never measured — solving here gives 3.0000 m and 36.000 cm, and the intercept and slope printed on the axis are 8.333 and 2.778.

A single card is a single point in that picture, and a single point has every line in the plane running through it — which is the geometric statement of what “one measurement, two unknowns” means, made visible rather than merely asserted. Offered one card’s band alone, the least-squares fit this essay’s recovery uses does not guess at a slope; it refuses outright, on the stated ground that a lamp’s size and height are two unknowns needing two measurements and it was given one. That refusal is not a failure of the method — it is the method correctly reporting that nothing in a single band determines a line through it, which is the same fact the family figure showed by exhibiting five different lamps a straight edge cannot distinguish. A solver that quietly returned some height and width from one card, by defaulting to an arbitrary slope or picking the nearest previously-seen answer, would be worse than one that refuses, because it would look exactly like a measurement.

What five millimetres of misreading costs

A refusal at one card and a clean answer at two is not the end of the story, because the two cards are not equally good at supplying that second point depending on how far apart they are.

Cards 20 cm apart put the lamp out by 4.11 m; 140 cm apart, 0.026 mEach band width perturbed by 5 millimetres — about what reading a soft edge off a photograph costs — and the lamp re-solved 60 times at each separation. The scatter in the recovered height is the answer, and it runs from 4.110 metres for cards a hand's width apart to 0.026 metres for cards a metre and a half apart. Nothing here is a surprise once the line in the previous reading is in view: two marks close together fix a line's slope badly, and the intercept is where the lamp is. The condition number says it before any noise is drawn — 491 against 37 — which is the reading a person can take from the arrangement itself rather than from a hundred trials of it.012340.2500.5000.75011.25how far apart the two cards are, in metreshow far the recovered lamp height scatters, in metrescondition 491condition 152condition 69condition 47condition 375 mm of error on each band, 60 trials4.11 m down to 0.026 m
Fig. 6 Each band width perturbed by 5 millimetres — about what reading a soft edge off a photograph costs — and the lamp re-solved 60 times at every separation between the two cards. The scatter in the recovered height runs from 4.11 metres for cards a hand’s width apart, 20 cm, to 0.026 metres for cards a metre and a half apart, 140 cm — and the condition number says it before any noise is even drawn, 491 against 37.

The line picture from the previous reading explains this without anything further needing to be measured. Two marks close together fix a line’s intercept (the lamp’s height) very badly, because a small error in either mark’s position swings the whole line through a large arc at the axis; two marks far apart fix it firmly, because the same small error in position is now a small fraction of the line’s own run. The condition number — the ratio the least-squares fit reports from the two heights alone, with no noise involved — states the same fact in one figure available before a single trial is drawn: 491 for cards a hand’s width apart, 37 for cards a metre and a half apart, a factor of thirteen. The scatter itself moves further still over the same range, 4.11 m down to 0.026 m, a factor of 158 — the condition number is the cheap warning a reader can read off the arrangement before touching a shadow, and the trials are what confirm that the warning understates rather than overstates how much the separation matters. A reader with two cards and a tape measure has the warning available immediately, simply by asking how far apart the two heights are.

The honest limit

Everything this essay recovers depends on having two occluders at two different heights in the same photograph, and a photograph that shows only one straight edge cannot be made to supply the second no matter how carefully its single band is measured — sharpening the edge, correcting the lens, averaging many frames, none of it manufactures the missing length, because the missing length was never encoded in that single band to begin with. This is not a statement about measurement noise; it is the same statement the family figure already made, that the shadow itself carries no such information for a solver to extract however good the solver is.

That limit has a practical shape worth stating plainly: two cards at two heights are not always available. A single doorway, a single window frame, a single railing — one straight edge in the whole scene — leaves this recovery with nothing to solve, and the honest response is the same refusal the solver gives when handed one measurement rather than a wrong number produced by assuming a plausible distance. A reader with only one edge is not stuck with a worse version of this measurement; they are stuck with a different, strictly smaller one — the angular size and no more — and the two should not be presented as though the second were merely a noisier version of the first.

Nor does this essay’s construction generalise past the strip source it uses without further work. A lamp with a size that is not effectively linear — a disc, a window, an irregular fixture — leaves a penumbra whose closed form is not the one line this essay linearises, and the two-measurement argument would need to be rebuilt from that shape’s own equation rather than borrowed unchanged. What would carry over unchanged is the shape of the argument rather than its algebra: any source with an extent has some closed-form relationship between an occluder’s height and the width of the band it leaves, that relationship has the source’s size and the source’s distance entangled in it exactly as the strip’s does, and breaking that entanglement will need a second occluder at a second height for the same reason it does here — one measurement of one ratio-like quantity, however that quantity is shaped, is one equation in two unknowns.

And nothing here says anything about the brightness of either band, only its width. A photograph’s own exposure, the lamp’s actual wattage, how the eye perceives a soft edge against a hard one — all of that is closer to the honest limit a soft shadow on a curved floor is not the lamp’s image already stated for a different measurement on the same construction: the geometry of where a ray lands is computed here, and whether either band is bright enough to find on a real photograph is a separate question this site does not take up. The lamp, out of the picture, a light far enough away, the lamp comes out in rays and not in plan, the drawing does not run out of lines and a lamp behind the camera recover a lamp’s position from an entirely different construction — the lines drawn through objects and their shadows rather than the width of a soft edge — and the lamp a low shadow cannot locate measures exactly how that other construction degrades as the lamp gets low, in the same spirit this essay measures how the penumbra construction degrades as the two cards get close. The two families answer different questions about the same lamp — where it is, against how large it is — and neither substitutes for the other.

How many lamps make one lamp and what a point in shadow can see of the sky both start from the same flat-floor band this essay has just finished characterising, one asking what stands in for a source with a size and the other asking what an extended source leaves visible from underneath it. Both inherit the finding here without restating it: a single flat measurement of a soft edge is an angle, is only ever an angle, and needs a second measurement at a second height before it can become a size.

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.

Angular diameterConditioningDegeneracyleast squaresPenumbraUmbra