Light and mirrors

A wire with a corner in its shadow

A bent wire has no corner anywhere on it, and its shadow has one. The lamps that do it are not a coincidence — they are a surface in the room, two-dimensional, made of the wire's own tangent lines, and a lamp being carried across the room passes through it.

Worth reading first: A shadow is a second projection · The circle whose centre moves.

Every shadow this site has cast so far has come off something convex: a point, a post, a flat card, a ball. Their shadows are legible because the outline of the shadow is the image of something obvious — a tip, an edge, a silhouette circle — and because nothing about the shape does anything surprising on the way down.

A wire is the smallest departure from that, and it already has something the convex cases do not.

A smooth wire with a corner in its shadowThe lamp stands on one of the wire's own tangent lines, and the shadow has a genuine cusp there — 179.9° of turn between consecutive samples on a curve that turns through less than a degree everywhere else. Nothing about the wire has a corner in it.the cornercorrect from 19 cm, at 160 mm wide46° across
Fig. 1 A helix of wire and its shadow, with a few of the rays that cast it drawn. The wire turns smoothly everywhere and its shadow turns back on itself at one point.

The wire has no corner. There is no kink in it, no join, no place where the tangent direction jumps; it is a helix, and its tangent turns as continuously as anything in this subject. The shadow has a corner — a genuine one, a cusp, at which the shadow’s own direction reverses.

The same wire, lamp 3 cm awayThe lamp has been moved 3 cm off the wire's tangent surface. No tangent reaches it — the closest approach is 1.4e-4 — and the sharpest turn in the shadow drops to 122.2°.correct from 19 cm, at 160 mm wide46° across
Fig. 2 Three centimetres off the tangent surface. The corner has already softened, and it is still much sharper than anything the wire itself does.

What the shadow of a curve is

Nothing new. A shadow is a projection from the lamp, so a curve’s shadow is the point shadow applied along the curve: for each point of the wire, run the ray from the lamp through it and take where it meets the floor. That is the same projectToGround every post in the light field uses, called once per sample.

Writing it out is what shows where the corner comes from. The shadow of the point at parameter s is

q(s)=L+t(s)(p(s)L)q(s) = L + t(s)\,\bigl(p(s) - L\bigr)

with t chosen so the result lands on the floor. Differentiate and the shadow’s velocity has two terms — one from the point moving along the wire, one from t changing as it does — and they cancel exactly when the wire’s tangent runs along the ray.

At such a point the shadow stops dead. Not slows: stops, and then comes back the way it went. That is what a cusp is.

The test is therefore one number: the sine of the angle between the tangent at s and the ray from the lamp to p(s). It is never negative, so a cusp is a minimum touching zero rather than a sign change. That mattered more than it should have, and it is recorded further down.

The lamps that do it are a wall

The condition is that the lamp lies on a tangent line of the curve. Not near one — on one.

A tangent line is one-dimensional and there is one for every point of the curve, so the tangent lines sweep out a surface: the curve’s tangent developable. The lamps that give a cusp are exactly the points of that surface, and a surface in a room is something a person walks through rather than something a person hits by luck.

That is the difference between this and a coincidence. A cusp is not generic — a lamp put down at random is not on the surface — but it is codimension one, and every path across the room that crosses the surface produces a shadow that develops a corner, holds it for an instant and loses it again.

The same wire, lamp 12 cm awayThe lamp has been moved 12 cm off the wire's tangent surface. No tangent reaches it — the closest approach is 6.0e-4 — and the sharpest turn in the shadow drops to 59.6°.correct from 19 cm, at 160 mm wide46° across
Fig. 3 The same wire and the same view, with the lamp moved twelve centimetres off the tangent surface. No tangent reaches it, and the corner has become a tight bend.
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. 4 What a shadow is, before any of this: a projection from the lamp, with the construction rays drawn. Every point of the wire above is cast by exactly this.

Where the wall is, for a helix

The tangent developable is easy to say and hard to picture, so it is worth locating for the wire in the figures, which is a helix of radius forty-two centimetres standing on the floor.

Take the tangent at any point of it. Its horizontal part is tangent to the circle the helix runs round — that is what a helix’s tangent does — so the tangent line’s shadow on the floor is a line tangent to a circle of forty-two centimetres. A tangent line to a circle never comes closer to the centre than the radius.

So no tangent line of this helix ever passes within forty-two centimetres of its axis, and a lamp standing inside the cylinder the helix winds around cannot be on any of them. Hang a bulb straight down the middle of a spiral staircase and its shadow has no corner in it at any height. Move the bulb out past the handrail and the corners become available.

The wall, for this wire, is a surface wrapped around outside the cylinder and rising with it, and it is not a wall anybody would have guessed the shape of. It is however a wall a person could find by experiment in about a minute, which is the usual situation with codimension-one things.

The same wire, lamp 1 cm awayThe lamp has been moved 1 cm off the wire's tangent surface. No tangent reaches it — the closest approach is 3.5e-5 — and the sharpest turn in the shadow drops to 168.8°.correct from 19 cm, at 160 mm wide46° across
Fig. 5 Eight millimetres off. This is the regime where the shadow doubles back over a short stretch, and the fold’s two ends are the pair of cusps.

Two cusps, or none

Crossing a wall changes something by a whole number, and here the whole number is the count of cusps — which goes up and down in twos.

The reason is the same one that makes a tangent line tangent: at a lamp on the surface, the sine of the angle between tangent and ray touches zero and comes back. Move the lamp to one side and the minimum lifts off zero, and there is no cusp anywhere near. Move it to the other and the minimum dips below — except that the sine cannot go below zero, so what actually happens is that the single tangency splits into two nearby ones, and the shadow acquires a pair of cusps with a short doubled-back piece between them.

That doubled-back piece is a swallowtail, and it is the standard picture of what happens to a projected curve as a viewpoint crosses a tangent surface. It is worth naming because it explains the thing a reader notices first about a near-cusp shadow, which is that the shadow seems to overlap itself for a little while. It does. Two arcs of the wire are casting onto the same stretch of floor, and the fold between them is the pair of cusps.

The same wire, lamp 40 cm awayThe lamp has been moved 40 cm off the wire's tangent surface. No tangent reaches it — the closest approach is 2.6e-3 — and the sharpest turn in the shadow drops to 15.5°.correct from 19 cm, at 160 mm wide46° across
Fig. 6 Forty centimetres off the surface. Nothing about the shadow now suggests that a corner was ever available.
The same wire, lamp 20 cm awayThe lamp has been moved 20 cm off the wire's tangent surface. No tangent reaches it — the closest approach is 1.1e-3 — and the sharpest turn in the shadow drops to 36.6°.correct from 19 cm, at 160 mm wide46° across
Fig. 7 Twenty centimetres off, which is where a reader looking at the picture would stop calling it a kink.

And it relaxes rather than switching off

The corner is not a threshold phenomenon, which is the part worth having.

Move the lamp off the surface and the shadow’s sharpest turn falls away smoothly. Three millimetres off, the shadow still turns through most of a straight angle. Two centimetres off it is turning through about a hundred and seven degrees. Twelve centimetres off it is about twenty-two degrees, and at a metre and a fifth it is a single degree and unremarkable.

A corner is a limit, not a switchThe sharpest turn in the shadow, against how far the lamp stands from the surface of tangent lines. It is 180.0° on the surface, 107° two centimetres away and 1.0° at 120 cm. The whole sweep is measured at twelve thousand samples along the wire, because at four thousand the sequence is not even monotone: near a cusp the samples crowd, and two neighbouring lamp positions straddle the turn differently. "The shadow has a kink in it" is a statement with a tolerance attached.0501001500255075100lamp's distance from the wire's tangent surface (cm)sharpest turn in the drawn shadow (degrees)a cusp on the surfacea smooth bend beside it
Fig. 8 The sharpest turn in the drawn shadow, against the lamp’s distance from the wire’s tangent surface. There is no step in it.

So “the shadow of that wire has a kink in it” is a statement with a tolerance attached, and the tolerance is the reader’s eyesight rather than anything in the geometry. This is the ordinary situation for a degeneracy: the degenerate case is measure zero and the nearly degenerate case is a neighbourhood, and everything interesting happens in the neighbourhood.

The same wire, lamp 80 cm awayThe lamp has been moved 80 cm off the wire's tangent surface. No tangent reaches it — the closest approach is 7.0e-3 — and the sharpest turn in the shadow drops to 5.8°.correct from 19 cm, at 160 mm wide46° across
Fig. 9 Eighty centimetres. The sharpest turn between consecutive samples is under two degrees, and the shadow reads as an ordinary smooth curve.

A flat curve cannot do it at all

Bend the wire into a circle and lay it on a table, or hold it upright, or tip it at any angle — and no lamp anywhere off its plane produces a cusp.

The reason is one line: the tangent lines of a plane curve all lie in that plane. So the tangent developable of a plane curve is the plane itself, and a lamp not in the plane is not on any tangent line. The closest a tangent comes to pointing at a lamp above a tilted ring, across the whole ring, is about twelve and a half degrees of angle — a long way from zero and not getting closer.

A smooth wire with a corner in its shadowThe lamp stands on one of the wire's own tangent lines, and the shadow has a genuine cusp there — 180.0° of turn between consecutive samples on a curve that turns through less than a degree everywhere else. Nothing about the wire has a corner in it.the cornercorrect from 21 cm, at 160 mm wide42° across
Fig. 10 A circular ring of wire tilted out of the horizontal, and its shadow. There is no corner anywhere in it, and no lamp off the ring’s own plane can put one there.

That is the same statement as a much more familiar one. A plane curve’s shadow is its image under a projection between two planes — a projectivity — and a projectivity takes smooth curves to smooth curves and conics to conics. Which is exactly why the shadow of a ball is a conic, and why a circle of wire casts an ellipse, a parabola or a hyperbola and nothing else, and why the shadow of a plane curve carries so little information about how the curve is oriented in space: the whole of the shadow is one plane map applied to one flat thing.

A space curve’s shadow is not a projectivity of anything. There is no plane to be mapped from. The shadow is a genuinely new curve, and it can do things — cusp, self-intersect, change its number of inflections — that no projective image of the original could.

The same wire, lamp 35 cm awayThe lamp has been moved 35 cm off the wire's tangent surface. No tangent reaches it — the closest approach is 2.2e-16 — and the sharpest turn in the shadow drops to 180.0°.the cornercorrect from 21 cm, at 160 mm wide42° across
Fig. 11 The tilted ring with its lamp moved. The shadow is a different ellipse and it is still an ellipse, because a plane curve’s shadow is its projective image and a projectivity takes a conic to a conic.

Two routes, and the disagreement that found a bug

The tangency test says where a cusp should be. It does not say the shadow has one; it says a condition holds. The site’s rule is that a claim gets a test it could fail, and here the second test is the drawn shadow itself: take the emitted polyline and measure the angle it turns through at its sharpest sample.

The two agree — where the tangency vanishes, the polyline turns through very nearly a straight angle, and where it does not, the polyline turns gently. That agreement is the check that the cusp is a fact about the projection rather than about the condition that predicted it.

It also caught the first version of the tangency test, which was wrong in a way that passed everything.

The quantity is a cross product, and the first draft took a signed component of it and hunted for sign changes with a bisection. A signed component of a cross product changes sign where the cross product is horizontal, not where it vanishes. So the test reported two cusps on a tilted ring — which, by the paragraph above, has none — and the drawn shadow at those two places was turning through less than half a degree. The disagreement between the two routes is the only thing that showed it. A test hunting for zeros of a non-negative quantity has to look for minima; there is no sign to change.

The shadow of a ball, under a lamp 2.40 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 2.40 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.5418 · discriminant -1.14e+0
Fig. 12 The convex case for comparison: a ball’s shadow outline is the image of a circle on the ball, and no lamp puts a corner in it.

And a number that was a fact about the sampling

The second thing the two routes turned up is subtler, and it is why this collection has a gate about it.

The sharpest turn in a polyline is not the sharpest turn of a curve. It depends on how finely the curve was sampled, and near a cusp the samples crowd — the shadow is barely moving there — so the angle between consecutive samples is decided by where the samples happen to fall.

Measured at four thousand samples along the wire, the sequence of sharpest turns against the lamp’s distance from the tangent surface is not even monotone: about a hundred and sixty-one degrees at three millimetres off and a hundred and sixty-nine at eight. Measured at sixteen thousand it falls cleanly the whole way. Nothing about the shadow changed. The quantity being reported was partly a quantity about the sampler.

That is not a rounding worry. It is the difference between a measurement and a reading, and this site had quoted the reading. The figure above is drawn at the finer sampling and says so, and the collection’s convergence gate now requires any quantity taken off a grid or a polyline to be shown converging, with the ladder in the resolution given rather than assumed.

The outline, the shadow, and the outline againA point light is a centre of projection, so the map from the occluder's plane to the floor is a plane projectivity and has an inverse. Running each shadow point back through the lamp returns the outline to 4e-16 m — the recovered curve is drawn over the original and cannot be seen apart from it.the outline, its shadow, and the outline recovered from itcorrect from 20 cm, at 160 mm widerecovered to 4e-16 m
Fig. 13 A shadow run backwards to the outline that cast it. The inversion is available whenever the caster is known to be flat and at a known height; a space curve has no such height.
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. 14 The simplest shadow this collection has, for scale: a post’s shadow length against the sun’s elevation. Nothing in it can turn a corner, because a straight caster’s shadow is straight.

Not a crossing

A cusp and a self-intersection are different things and both are common in these shadows, so it is worth separating them once.

A self-intersection happens when two different points of the wire cast onto the same point of the floor. It is a fact about two places at once, it needs no tangency, and it is entirely generic — the shadow of almost any bent wire crosses itself somewhere, because a curve in space has more room to avoid itself than its shadow does. A crossing is smooth: both branches run through it at a definite angle and neither of them stops.

A cusp happens at one point of the wire. Both sides of the crossing are the same piece of the wire, the shadow’s velocity vanishes there, and the two arcs leave the cusp in the same direction rather than at an angle.

The mechanical way to tell them apart on a drawing is to follow the shadow with a finger. At a crossing the finger goes straight through and comes out the other side; at a cusp it has to turn round. In the arithmetic they are just as different: the crossing is a statement about two parameters s and s′ with the same image, and the cusp is a statement about a derivative at one parameter.

Nothing in this essay is about crossings, and the helix’s shadow has several.

The same wire, lamp 12 cm awayThe lamp has been moved 12 cm off the wire's tangent surface. No tangent reaches it — the closest approach is 6.0e-4 — and the sharpest turn in the shadow drops to 59.6°.correct from 19 cm, at 160 mm wide46° across
Fig. 15 Twelve centimetres off, drawn again beside the manuals’ repertoire. Posts, boxes and balls have no tangent surface a lamp can be on; a bent wire does.

Why the drawing manuals do not mention it

A drawing manual that teaches shadow construction teaches it on posts, boxes, cylinders and the occasional sphere, and none of those has a tangent developable a lamp can plausibly be on. A post’s edges are straight lines, and a straight line’s tangent lines are the line itself; being on it means the lamp is in the post. A box is made of flat faces and straight edges, and the same applies. A sphere has no distinguished curve on it until a lamp is chosen, and its silhouette circle is planar.

So the whole familiar repertoire is made of objects for which the cusp is unreachable, and the manuals are not wrong to leave it out. What they leave out with it is the reason: not shadows do not do that but the objects in the repertoire have no tangent surface a lamp can stand on.

The moment a bent wire, a spiral, a handrail or a cable enters the picture, the situation changes, and a draughtsman who has learned the repertoire has no rule that covers it. That is the shape of nearly every result in the wrong field of this site — a rule stated as general which is a rule about the case it was worked out on — arriving here from the other side, because in this instance nobody ever stated the rule at all.

The shadow's edge and the drawn outlineTwo circles on the same ball. One is where the surface turns away from the lamp — it is the curve whose shadow is the edge of the cast shadow, and at 2.6 m it lies 80.0° from the lamp's direction rather than the 90° of a great circle. The other is where the surface turns away from the eye, at 84.0°. They are 88.9° apart and they coincide only when the lamp is at the eye, which is the arrangement in which no shadow is visible.88.9° between the two circlescorrect from 23 cm, at 160 mm widelamp 2.6 m · shadow circle at 80.0°
Fig. 16 The next essay’s subject, placed here because it is the same habit of mind: a feature plainly visible in a shadow is a feature of an arrangement rather than of the thing casting it.
The same wire, lamp 5 cm awayThe lamp has been moved 5 cm off the wire's tangent surface. No tangent reaches it — the closest approach is 2.3e-4 — and the sharpest turn in the shadow drops to 103.9°.correct from 19 cm, at 160 mm wide46° across
Fig. 17 Five centimetres off. The corner has become a bend of about a hundred degrees, which is still unmistakable and is no longer a cusp.
The same wire, lamp 2 cm awayThe lamp has been moved 2 cm off the wire's tangent surface. No tangent reaches it — the closest approach is 8.9e-5 — and the sharpest turn in the shadow drops to 151.3°.correct from 19 cm, at 160 mm wide46° across
Fig. 18 Two centimetres off the tangent surface, which is the closest position at which most readers would still call the shadow smooth.

Where the corner goes on the wire

One last thing, because it is the sort of question the drawing prompts and the answer is not the obvious one.

The cusp appears at a definite point of the shadow. It does not correspond to a special point of the wire. The point of the wire whose shadow is the cusp is the point whose tangent happens to run through the lamp, and moving the lamp moves that point along the wire continuously. Mark the wire with a pen at the place its shadow has the corner, move the lamp a hand’s breadth, and the mark is no longer where the corner is.

This is the same shape of statement as the next essay’s, and it is worth naming here because the two are so easily run together. The edge of a shadow is drawn on the object is about a solid’s silhouette-from-the-lamp, which is also a curve that lives on the object and also slides when the lamp moves. Both are cases of the same habit of mind: a feature that is plainly visible in the shadow is treated as a feature of the thing casting it, and in neither case is it one.

A cusp in a shadow is a fact about a wire, a lamp and a floor, jointly. Take away any one of the three and there is nothing to point at.

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.

ConicContour generatorCuspDegeneracyForeshorteningnecessary, not sufficientPoint lightProjective mapShadow projectionTangent developable