The displacement method finds a focal length from two sharp images, f=4DD2−d2. In a liquid a lens has the power (nmnl−1)(R11−R21). With different media on its two sides, vn3−un1=P.
This is the first lesson of Ray Optics: Lens and Mirror Systems in Depth, free for everyone to read.
Where is the centre of a lens?
You want to measure the focal length of a lens on an optical bench. The thin lens formula needs the distance from the object to the lens, and from the lens to the screen. But a real lens has a thickness. Its optical centre is somewhere inside the glass, and you cannot see where. Any ruler reading of u and v then carries a small error.
There is a neat way round the problem. Fix the object and the screen. Slide only the lens between them. The distance the lens slides can be read exactly, even if you do not know where its centre is. This is the displacement method, also called Bessel's method.
Two positions, one sharp image
In this derivation we use the real-is-positive convention of A-Level and IB. The object distance x and the image distance y are both positive for a real image, and x1+y1=f1. The object and the screen are a fixed distance D apart, so y=D−x. Put this in the lens formula:
x1+D−x1=f1
Clear the fractions. This gives a quadratic equation for the position of the lens:
x2−Dx+Df=0⇒x=2D±D2−4Df
There are two roots. So there are two lens positions that give a sharp image. Call the distance between them d. It is the difference of the two roots:
d=D2−4Df
We want f, so we square this and solve: d2=D2−4Df gives
f=4DD2−d2
This is the result of the displacement method. Notice what we need: only D and d. Both are distances between marks on the bench, so the unknown position of the lens centre does not matter.
Two ray diagrams one above the other, drawn to the same scale with 1 division equal to 10 cm. Each has a convex lens with its two foci marked F, a blue object arrow on the axis and a grey screen on the right, 90 cm from the object. In the top diagram the lens is 30 cm from the object and a red inverted image 10 cm tall forms on the screen, 60 cm from the lens, with magnification minus 2.00. In the bottom diagram the lens is 60 cm from the object and a smaller red inverted image forms 30 cm from the lens, with magnification minus 0.50. Three rays are drawn in each: one parallel to the axis, one through the centre of the lens and one through the first focus.
The two positions are x1=2D−d and x2=2D+d. Look at the picture. In the first position the object is at x1 and the image is at D−x1=x2. In the second position the two distances swap. Because they swap, the two magnifications are also linked:
m1=x1x2m2=x2x1m1m2=1
One image is enlarged and the other is reduced, and the product of the magnifications is exactly 1. If the two image heights are h1 and h2 and the object height is h, then h1=m1h and h2=m2h. So h1h2=h2 and
h=h1h2
What if D is less than 4f? Then D2−4Df is negative and the square root does not exist. There is no position of the lens that gives a sharp image on the screen. At D=4f the two positions meet, d=0, and the image is the same size as the object. So the condition for the experiment is D>4f.
A worked example: the bench
An object and a screen are 90cm apart. A lens gives a sharp image at two positions, 30cm apart. Find f, the two positions and the two magnifications.
The focal length.f=4DD2−d2=4×90cm(90cm)2−(30cm)2=360cm7200cm2=20cm.
The positions.x1=290cm−30cm=30cm and x2=290cm+30cm=60cm from the object.
The magnifications.m1=30cm60cm=2 and m2=60cm30cm=0.5. Their product is 1.
Check with the lens formula. At the first position 30cm1+60cm1=60cm3=20cm1. It agrees.
A second example: the slit
A slit is lit and its images are caught on a screen. The two sharp images are 9.0mm and 4.0mm tall. How tall is the slit? The two magnifications are m and 1/m, so h=9.0mm×4.0mm=36mm=6.0mm. The slit is 6.0mm tall. The larger image is 1.5 times the slit, and the smaller image is 1.51=0.67 of it.
A third example finds how far the lens must move. Take D=120cm and a lens of f=25cm. We want d, so d=D2−4Df=14400−12000cm=49.0cm. The positions are 35.5cm and 84.5cm. Check: 35.51+84.51=0.0400cm−1=25cm1.
Start with D=100cm and f=18cm. How far does the lens move? Now make f larger, up to 20cm. Why do the two positions come closer? Then make D larger and watch them part.
Practise with new numbers
A lens in a liquid
The lens maker's formula you know is for a lens in air: f1=(n−1)(R11−R21). Why does it have n−1? Because the bending of light at a surface depends on the difference of the two indices, and the lens is glass on one side and air on the other.
Put the same lens in water. Now the glass is next to water, which is a much weaker contrast. We expect the lens to bend light less. To see exactly how much, take a thin lens of index nl in a liquid of index nm. Each surface of a lens gives the term Rn2−n1 for vn2−un1. Add the two surfaces, with the liquid on both sides:
vnm−unm=R1nl−nm+R2nm−nl
Divide by nm:
fm1=(nmnl−1)(R11−R21)
Compare this with the same lens in air. The ratio of the two focal lengths is
fairfm=nmnl−1nl−1
There are three cases, and they are worth remembering.
If nm<nl, the bracket is positive. A convex lens stays converging, but its focal length is longer than in air.
If nm=nl, the bracket is zero. The focal length is infinite. The lens does nothing. A glass rod in a liquid of the same index seems to disappear.
If nm>nl, the bracket is negative. A convex lens now spreads the light out. It behaves as a diverging lens.
Three panels with the same scale, 1 division equal to 10 cm, each showing four parallel orange rays that meet the same biconvex glass lens. In air the rays cross the axis at the focus F, 20.0 cm from the lens. In water, the panel tinted light blue, they meet at F, 78.2 cm from the lens. In dense oil, the panel tinted light brown, they spread out slightly after the lens, and dashed lines run back to a virtual focus 135 cm to the left, off the picture.
An example. A glass lens of nl=1.50 has fair=20cm. In water, nm=1.33, so nmnl−1=1.331.50−1=0.1278. The focal length is fm=20cm×0.12780.50=78.2cm. The lens is about four times weaker. In a dense oil of nm=1.62 the bracket is 1.621.50−1=−0.0741, so fm=20cm×−0.07410.50=−135cm. The lens now diverges.
An air bubble that acts as a lens. Inside a block of glass there is a cavity of air in the shape of a biconvex lens. Its two faces have radii of 6.0cm. Here the "lens" is air and the medium is glass, so nl=1.00 and nm=1.50. The first bracket is 1.501.00−1=−31. The second bracket is 6.0cm1+6.0cm1=3.0cm1. So f1=−31×3.0cm1 and f=−9.0cm. A cavity that looks like a convex lens spreads light out.
What about a mirror? The focal length of a mirror is f=R/2 in air, in water and in any other medium. It depends only on the shape of the surface, because light is reflected and never crosses the surface. Only a lens changes its focal length when the medium changes.
Put nl=1.50 and move the red point from air to water. Where does the power reach zero? What happens beyond it? Then make nl larger and see where the zero moves.
Different media on the two sides
Sometimes the two sides of the lens have different media. The window of a fish tank is an example. The eye is another: air is in front and a watery fluid is behind. The surface formula still works for each face, vn2−un1=Rn2−n1. Take a thin lens of glass index ng with the index n1 on its left and n3 on its right. The first surface makes an image at v′, which is the object for the second surface:
v′ng−un1=R1ng−n1vn3−v′ng=R2n3−ng
The lens is thin, so v′ is the same distance for both. Add the two equations and v′ cancels:
vn3−un1=R1ng−n1+R2n3−ng=P
All distances use the New Cartesian convention. The quantity P is the power of the lens between these two media. The two focal lengths are now different. A beam coming from far on the left has u=−∞, so it focuses at f2=Pn3. For the beam to leave parallel we need vn3=0, so the object sits at f1=−Pn1. The ratio of the two focal lengths is the ratio of the two indices:
∣f1∣f2=n1n3
The magnification also changes. The ray through the centre of the lens crosses two nearly parallel faces. For small angles, nθ stays the same, so n1θ1=n3θ3. With θ1=∣u∣h and θ3=v∣h′∣ this gives
m=hh′=n3un1v
An example. A thin biconvex lens of ng=1.50 has R1=+20cm and R2=−20cm. Air is on its left and water of n3=1.33 is on its right. An object is 60cm in front of it, in the air.
The power.P=20cm1.50−1.00+−20cm1.33−1.50=0.0250cm−1+0.0085cm−1=0.0335cm−1.
The image. We want v, so vn3=u1+P=−60cm1+0.0335cm−1=0.01683cm−1. Then v=0.01683cm−11.33=79.0cm.
The magnification.m=n3un1v=1.33×(−60cm)1.00×79.0cm=−0.990. The image is real and inverted, and almost the size of the object.
Check with the focal lengths.f1=−0.0335cm−11.00=−29.9cm and f2=0.0335cm−11.33=39.7cm. The ratio is 29.9cm39.7cm=1.33. It is the ratio of the indices, as it must be.
Try it in Python
The program below takes four runs of the displacement method, each with a different screen distance. It finds the focal length from every run, and the two positions and magnifications.
The second program puts the lens of the worked example in five liquids and prints its focal length in each.
Common mistakes
Using D smaller than 4f. The square root of a negative number means there is no sharp image at all. Check D>4f before you start.
Averaging the two image heights. The object height is the square root of the product, h1h2, because the two magnifications are m and 1/m.
Using the air formula in a liquid. Replace nl by nmnl. A lens that converges in air can diverge in a liquid of larger index.
Changing a mirror's focal length in water. A mirror keeps f=R/2 in every medium. Only lenses change.
Forgetting the n3 in vn3. After finding the right side, multiply by n3 to get v. The image distance v is not just 1/(…).
Remember these
Displacement method: D>4f, d=D2−4Df, f=4DD2−d2, m1m2=1 and h=h1h2.
Lens in a medium: fm1=(nmnl−1)(R11−R21), so fairfm=nl/nm−1nl−1.
A lens with nm=nl has no effect. With nm>nl a convex lens diverges.
Different media: vn3−un1=R1ng−n1+R2n3−ng, and m=n3un1v.
The two focal lengths of such a lens are f1=−Pn1 and f2=Pn3.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
A student has a lit slit and a screen 60cm apart. Her only lens has f=18cm. Can she find a sharp image by sliding the lens?
With D=100cm a lens gives sharp images with its centre at 25cm and at 75cm from the slit. Find f and the larger magnification.
The two sharp images of an arrow are 5.0mm and 20mm tall. How tall is the arrow?
A glass lens of n=1.50 is dipped in a liquid of the same refractive index. Why can you hardly see the lens?
A cavity of air in a block of glass of n=1.60 has two equal faces, each of radius 15cm, and it is biconvex in shape. What is its focal length, and does it converge or diverge?
References
NCERT Physics Part II (Class 12), Chapter 9, the sections on refraction at spherical surfaces and the lens maker's formula.
OpenStax University Physics Volume 3, Chapter 2, the sections on refraction at a spherical interface and on thin lenses.
OpenStax College Physics 2e, Chapter 25, the section on image formation by lenses.
Liked this lesson? There is more
Ray Optics: Lens and Mirror Systems in Depth is a Standard course. It adds 2 more lessons, practice and tests on top of the free chapter.
12Problems2Python Labs1Question Set1Mock Test
Silvered lenses, split lenses and layered media: A lens with a silvered face is a mirror of power 2Plens+Pmirror
, because the light crosses the lens twice. A lens cut across keeps its power in two pieces, and a lens cut along its axis keeps its focal length. Layers of thickness
t
and index
n
seem
nt
thick.
Prisms in depth and ray-tracing traps: A prism deviates light by δ=i+e−A. The deviation is least when the ray passes symmetrically, and then n=sin2Asin2A+δm. Light can leave the second face only if A<2C.