A lens sign audit checks each object and image distance against the sign convention, sorting real and virtual sides so the thin-lens equation 1/f = 1/d_o + 1/d_i closes consistently. The arithmetic is exact only for the stated distances, focal lengths, and side/sign conventions in the ideal thin-lens model. Real measurements add alignment, lens aberrations, finite aperture, thickness, screen/readout calibration, sign-convention bookkeeping, finite precision, and measurement uncertainty.
A converging lens uses the signs of image distance and magnification to record side and orientation. Exact arithmetic here means exact results for the stated model inputs; measured inputs still carry uncertainty and significant-figure limits.
highlighted = computed this step
Start with a checked real image
Use a converging lens with focal length 10 metres and object distance 15 metres. The checked ray construction gives image distance 30 metres and magnification -2.
f=10mu=15mv=30mm=−2
Outside the focus keeps the image real
Hold the focal length at 10 metres and keep the object outside the focus. The image distance stays positive while the negative magnification marks an inverted real image.
f10m10m10mu30m20m15mv15m20m30mm2−1−1−2
Crossing inside the focus changes the side
Now compare two outside-focus rows with one inside-focus row. Inside the focus, the image distance becomes negative and the magnification becomes positive.
f10m10m10mu30m15m5mv15m30m−10mm2−1−22
The sign records the image side and orientation
For this lens convention, positive image distance means a real image on the far side. Negative image distance means a virtual image on the object side. The sign of magnification records inverted or upright.