Assume the distance between the object and screen is x, then object distance (between object and lens) plus image distance (between screen and lens) equals x:
x=i1β+o1β=i2β+o2β (0)
for both cases.
Also, we know that magnification is the image distance divided by object distanceΠ± or image height divided by object height:
m1β=o1βi1ββ, m1β=hoβhi1ββ=hoβ4ββo1βi1ββ=h4β. m2β=o2βi2ββ, m2β=hoβhi2ββ=hoβ16ββo2βi2ββ=h16β.
Divide one by another:
i2βo1βi1βo2ββ=41ββo1βi1ββ=4o2βi2ββ. (1)
Multiply one by another:
o1βo2βi1βi2ββ=h264β. (2)
Moreover, according to thin lens equation, we have
f1β=i1β1β+o1β1β=i2β1β+o2β1β, or i1βo1βi1β+o1ββ=i2βo2βi2β+o2βββo2βi1ββ=o1βi2ββ. (3) Plug equation (1) in (2):
4o22βi22ββ=h264β. (4) Plug equation (3) in (2):
o12βi22ββ=h264β. (5) Since right parts of (4) and (5) are equal, the left pars are equal as well:
4o22βi22ββ=o12βi22βββo1β=2o2β.Now plug this o-equation in (3):
o2βi1ββ=2o2βi2βββi1β=2i2ββ. (6)
Now look at the equation (0) in the very beginning and plug (6) into it:
2i2ββ+2o2β=i2β+o2ββi2β=2o2β. (7)
Finally, it's time to plug (7) in (4):
4o22β(2o2β)2β=h264β, 1=h264ββh=8 cm.