A pinhole camera is a plane with a hole in it and a sensor behind. Light from a scene point travels in a straight line through the hole and lands somewhere on the sensor. That is the entire physical model, and everything else is bookkeeping about coordinates.
Put the hole at the origin of the camera frame, with pointing into the scene. Put the image plane at in front of the hole rather than behind it — the real image is inverted, the virtual one is not, and since flipping twice is tedious, everyone uses the virtual plane and never mentions it again. Similar triangles then give
Now write it in homogeneous coordinates. With and the image point known only up to scale:
The matrix is linear. The division has not vanished — it hides in , and it reappears the moment you insist on a Euclidean answer. That is the trade homogeneous coordinates offer: the algebra becomes linear, and the nonlinearity is quarantined in one normalisation step at the end.
You double the focal length and halve the distance to every object. Do the images differ?
Show answer
In the pinhole model, the projected positions of points at exactly the doubled distance are identical — is unchanged when both and double. But the images are not the same: relative depths within the scene are not scaled the same way, so perspective changes. Faces photographed with a long lens from far away look flat; the same face at 20 cm with a wide lens does not. This is the "lens compression" effect, and it is a statement about ratios, not about lenses.