B8 · Lesson 14 · Lenses and imaging
Focal length, f-numbers and the smallest spot a lens can make
A phone camera puts a whole scene onto a sensor smaller than a fingernail, with each pixel about a micrometer across. A chip-making scanner uses lenses to print transistors a few dozen nanometers wide. Both depend on two things: geometry, which says where a lens forms its image, and diffraction (lesson 10), which says how sharp that image can be. Refraction at curved glass surfaces (lesson 13) bends every ray from one point of an object back to one point of the image.
- An object 20 mm tall stands a distance to the left of a thin lens of focal length . Three rays from its tip: one parallel to the axis, one through the lens center, one through the front focal point.
- Where the three rays cross is the image. Move the object toward the lens and watch the image grow and move away.
- Bring the object inside the focal length. The rays no longer meet on the right: the image becomes virtual, as in a magnifying glass.
Predict
A camera lens with a 50 mm focal length photographs a person 2 m away. Where must the sensor sit?
About 51 mm. From , mm. For distant objects the image sits at the focal length; focusing on something closer moves the lens slightly away from the sensor, which is what the focus motor does.
Name it
The thin lens equation
A thin lens of focal length brings light from an object at distance to a focus at distance behind it:
The magnification is negative for a real, upside-down image. Light from very far away focuses at . With the object inside the focal length, comes out negative: a virtual image on the object's side, upright and enlarged, as in a magnifier. Diverging lenses have negative . The power is measured in diopters (1/m), and thin lenses in contact add their powers.
Where the focal length comes from
For a thin lens of index in air with surface radii and (positive when the center of curvature lies beyond the surface, to the right):
Cameras
The f-number is the focal length over the aperture diameter. The light reaching each point of the sensor goes as , so each "stop" ( = 1.4, 2, 2.8, 4, ...) is a factor of in and halves the light. The field of view across a sensor of width is .
The diffraction limit
Even a perfect lens focuses a point to a spot, the Airy disk, whose dark ring has diameter
At f/2.8 in green light that's 3.8 µm, a few phone pixels; at f/16, 21 µm. Microscopes and lithography quote the numerical aperture NA of the cone of light instead: the smallest printable feature in lithography is about , with around 0.3 in production. With 193 nm light and water immersion (NA 1.35) that's about 43 nm.
Worked example
A 50 mm lens photographs a person 1.8 m tall standing 2 m away. Where is the image and how big is it?
Show the solution
- Image distance. In millimeters,
- Magnification.
- Image height. upside down. That's taller than even the 36 mm long side of a full-frame 36 × 24 mm sensor turned on end, so from 2 m the whole person won't fit in the frame.
Answer the image forms 51.3 mm behind the lens, 46 mm tall and upside down.
Worked example
A glass lens ( = 1.5) has both surfaces curved with radius 100 mm, bulging outward. What is its focal length?
Show the solution
- Signs of the radii. Bulging outward on both sides: mm and mm.
- Lensmaker's equation. In millimeters,
- Focal length and power. So = 100 mm, a power of 10 diopters.
Answer the focal length is 100 mm, a power of 10 diopters.
Worked example
Reading glasses of +2.5 diopters are held close to the eye. Where does a page 25 cm away appear?
Show the solution
- Focal length.
- Image distance. From : so m.
- What the sign means. The negative sign means a virtual image on the page's side of the lens, 67 cm away.
- Why it helps. An eye that can no longer focus closer than about 60 cm sees the page comfortably through the lens. Optometrists work in diopters because the powers of lenses in contact simply add.
Answer the page appears 67 cm away, as a virtual image on the page's side of the lens.
Check
A lens of focal length 50 mm images an object 300 mm away. Where is the image?
Write units the way you normally would: 1.5 mm, 1500 µm and 0.0015 m are the same answer.
Check
An object sits 150 mm from a lens of focal length 50 mm. What is the magnification?
Check
A lens of index 1.5 bulges outward on both sides, with radii 50 mm and 200 mm. What is its focal length?
Write units the way you normally would: 1.5 mm, 1500 µm and 0.0015 m are the same answer.
Check
A 26 mm lens is set to f/1.8. How wide is its aperture?
Write units the way you normally would: 1.5 mm, 1500 µm and 0.0015 m are the same answer.
Check
How wide is the diffraction-limited spot (to the first dark ring) at f/1.8 for 550 nm light?
Write units the way you normally would: 1.5 µm, 1500 nm and 0.0015 mm are the same answer.
Check
A sensor 6 mm wide sits behind a 4 mm lens focused far away. What horizontal field of view does it see?
Check
An object sits 150 mm from a thin lens with focal length 50 mm.
(a)
Where is the image?
Write units the way you normally would: 1.5 mm, 1500 µm and 0.0015 m are the same answer.
(b)
How large is the image relative to the object?
Check
An object sits u focal lengths from a thin lens of focal length f.
Step 1
Where is the image?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What is the magnification's size?
Explain why
Why does closing down a camera's aperture make the image sharper at first, then softer again?
Real lenses have aberrations: rays through the edge of the lens focus at slightly different places than rays through the middle. Closing the aperture blocks the edge rays, so the blur from aberrations shrinks. But a smaller aperture also widens the diffraction spot, whose diameter grows in proportion to the f-number. At wide apertures aberrations dominate and stopping down helps; past some f-number, diffraction dominates and the image softens. Lenses are usually sharpest a couple of stops down from wide open.
Practice
Keep practicing
10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.