A phone camera has to put a sharp image exactly on a sensor a few millimetres behind its lens, whether you are photographing a friend across the table or a mountain across a lake. A projector has to throw a slide's image several metres onto a screen. Designers do not get there by drawing ray diagrams; they use the thin lens equation. The good news: it is the same equation you used for mirrors, with the same sign rules.
Sign convention for lenses
| Quantity | Positive (+) | Negative (−) |
|---|---|---|
| Focal length | Converging (convex) lens | Diverging (concave) lens |
| Object distance | Real object (every case in this course) | Not used in this course |
| Image distance | Real image, on the far side of the lens | Virtual image, on the object's side |
| Magnification and | Upright image | Inverted image |
- Decide the sign of : converging is positive, diverging is negative.
- Rearrange first: (or ).
- Combine the fractions, then flip the result.
- Interpret : positive is a real image on the far side; negative is a virtual image on the object's side.
- Calculate and , then state SALT.
- Check against a quick sketch: a diverging lens must give negative and .
Keep units consistent
The equation works in any length unit, as long as every distance uses the same one. If the focal length is in millimetres and the object distance is in metres, convert first. Magnification has no units.
Focusing a camera
For a very distant object, is almost zero, so : the image forms at the focal point. For a closer object, is larger, so is smaller and the image forms farther from the lens. That is why a camera focuses on nearby subjects by moving the lens slightly away from the sensor.
Loading interactive…