This question is inspired by this interesting answer which left me somewhat uncomfortable for the following reasons:
Suppose we have the following notched metal shape:
Following the linked answer, we could decompose this picture into 4 rectangles (Rectangle 1 is the left side, Rectangle 2 is the right side, Rectangle 3 is the empty notch, and Rectangle 4 is the the rectangle directly above the notch) and predict that the gap will increase to length $d$ after some temperature increase.
We could repeat this experiment, modifying the shape slightly by making the notch taller:
and imagine doing this until there was an infinitesimally thin "bridge" connecting the two sides. In each step the (horizontal) length of the gap increases after the temperature increase. In fact it can be proven that the resulting length is the same for all the notched configurations*.
However once we get to this picture, the result is that the gap will decrease in length upon temperature increase.
This is known and even factored into the design of railroad tracks so that end-to-end tracks won't expand into each other and buckle.
My question How could an infinitesimally thin bridge be fully responsible for the expansion of the (possibly enormous) gulf between left and right sides? If we had many such shapes lying parallel, all with bridges of varying thickness, and a final one with no bridge, could it really happen that upon increasing the temperature, the gaps in all of them expand, except for the final one which contracts?
(Edit in response to a comment+answer; let’s ask what happens if the metal is on top of a frictionless surface and the metal is not fixed to anything. The frictionless setting might help to avoid issues of the bridge needing to overcome the inertia of the sides)
(* to see why the notched gap ends up the same length $d$ no matter how thin the bridge is, consider that $d = M\times \text{originalSideLength}(R_4)$ where $M$ is a constant depending only on the expansivity of the material and the beginning and ending temperatures).