Use object and image distances to infer which focal length produced the ray geometry. Exact arithmetic here means exact results for the stated model inputs; measured inputs still carry uncertainty and significant-figure limits.

highlighted = computed this step

Use object and image distances to infer focus

Now suppose the object distance is fixed at 30 metres and the image screen is moved. Each screen position implies a different focal length.

1f=1u+1v\frac{1}{f}=\frac{1}{u}+\frac{1}{v}

Rearrange for focal length

Adding the two reciprocals gives the focal reciprocal. Inverting that sum gives the focal length.

f=uvu+vf=\frac{uv}{u+v}

Three image positions imply three lenses

Hold object distance and object height fixed at 4 metres. A farther image position requires a longer focal length, and it also increases the magnitude of the signed magnification.

uvfmhimage30 m20 m12 m2383 m30 m30 m15 m14 m30 m60 m20 m28 m\begin{array}{c|c|c|c|c}u&v&f&m&h_{\text{image}}\\30\ \text{m}&20\ \text{m}&12\ \text{m}&\tfrac{-2}{3}&\tfrac{-8}{3}\ \text{m}\\30\ \text{m}&30\ \text{m}&15\ \text{m}&-1&-4\ \text{m}\\30\ \text{m}&60\ \text{m}&20\ \text{m}&-2&-8\ \text{m}\\\end{array}
Inferring focal lengthThe middle row is the checked ray diagram.FFlensobjectimage

The inferred focus controls the ray bend

For the middle row, object and image distances are equal. The inferred focal length is half that distance, and the image is same-size inverted.

f=15 mm=1himage=4 mf=15\ \text{m}\qquad m=-1\qquad h_{\text{image}}=-4\ \text{m}
Inferring focal lengthThe checked lens focus matches the table row.FFlensobjectimage