A Byte of PhysicsLogo

Optical instruments

An optical instrument is an ordered system that maps light from an object to an eye, film, sensor, or intermediate image plane. A camera, microscope, and telescope differ in geometry and intended output, but each needs the same explicit contract: optical elements, distances, aperture, wavelength context, and a named observation plane.

Think like a programmer

Model an instrument as a pipeline of element functions. Each element accepts a ray bundle or paraxial matrix plus its coordinate frame and returns a new bundle. Keep the sensor plane and focus criterion outside the renderer. Test a composed system with known single-lens and afocal special cases before you add a realistic-looking enclosure or depth-of-field effect.

Model checklist

Inputs
Lens or mirror focal lengths, element spacing, object distance, aperture diameter D, wavelength λ, and sensor-plane position.
State
Ray origins and directions, intermediate image planes, and the selected focus plane.
Rule
Trace or transform rays through ordered elements; use the aperture and wavelength to estimate a resolution floor.
Output
Image position, signed magnification, focus error, and a resolution estimate.
Check
A one-element pipeline agrees with the thin-lens test fixture; moving the sensor to the calculated image plane minimizes paraxial focus error.

For a single thin lens, image scale is

\[m=\frac{h_{\mathrm{i}}}{h_{\mathrm{o}}}=-\frac{d_{\mathrm{i}}}{d_{\mathrm{o}}}\]

For multiple elements, preserve the intermediate image as data; do not collapse all distances into a misleading single “zoom” number. The image from one element becomes the object condition for the next. A negative magnification predicts inversion in the chosen coordinate system, which is a useful visual and numerical check.

Even perfectly traced rays do not imply unlimited detail. For a circular aperture, an approximate diffraction scale is

\[\theta_{\min}\approx1.22\frac{\lambda}{D}\]

At a fixed wavelength, doubling aperture diameter halves the angular separation estimate. This is why a larger telescope aperture changes potential resolution, while a larger screen image alone may only enlarge an already blurred feature. Pixel size, aberrations, turbulence, and detector noise add other limits.

const image = thinLensImageDistance(objectDistanceCm, focalLengthCm);
const magnification = image === null ? null : -image / objectDistanceCm;
const angularResolutionRadians = 1.22 * wavelengthMetres / apertureMetres;

The null focal-plane branch must continue through a pipeline as “parallel output,” not an arbitrary large image distance. Tests should verify that one lens reproduces its direct analytic calculation, that a sensor at the predicted real-image distance receives converging rays, and that reducing D makes the diffraction estimate larger.

Try this experiment

Prediction: Increasing focal length can change image scale for a stated geometry, but increasing aperture is what improves the ideal diffraction-limited angular resolution.

Hold wavelength at 550 nm. Compare apertures of 10 mm and 20 mm, predict their resolution ratio, then compute it. Separately use a thin-lens calculation to explain why a sensor plane positioned at the wrong distance produces defocus even when aperture is large.

Where this model breaks

Paraxial ray tracing omits lens thickness, aberrations, coatings, dispersion, vignetting, diffraction patterns, polarization, field curvature, scattering, atmospheric turbulence, detector response, eye accommodation, and image processing. The Rayleigh estimate is a useful ideal boundary, not a guarantee that a consumer camera resolves that feature.

Summary

Build optical instruments as composable mappings with named planes and diagnostics. Validate each element against known focus and magnification cases, then add aperture- and wavelength-dependent resolution limits before claiming an instrument can distinguish detail.

Glossary

Self-check

  1. Why should a multi-element model retain intermediate image planes?
  2. What happens to the Rayleigh estimate when aperture doubles?
  3. Why can a large aperture still produce a defocused image?

Sources

Model contract

Treat the lesson as a small function before treating it as a fact to memorize. Give every value a unit, keep only the state needed for the next step, and make the output easy to inspect.

\[\text{observable output} = f(\text{inputs},\,\text{state})\]
Inputs
Quantities you set or measure, with units and useful bounds.
State
Values the program must retain to reproduce the next result.
Rule
The relationship or update that turns inputs and state into a result.
Check
A known limit, unit check, invariant, or measured result that can expose a bad model.

Implement the idea as a model

For Optical Instruments, write down the quantities you can control, the values your program must retain, and the result a reader could inspect. In Geometric and Wave Optics, the useful program is not the drawing: it is the smallest explicit model that makes a prediction you can test.

Guided experiment

Prediction: changing one declared input while holding the others fixed should change only the outputs that the model connects to that input. Choose one input, predict the direction of change, then check a limiting case such as zero, a symmetric arrangement, or a familiar low-speed or small-change approximation.

Where this model breaks

This lesson is a teaching model, not a complete simulator. Before using it outside the stated question, check which interactions, scales, uncertainties, boundary conditions, and measurement limits it leaves out.

Summary

Treat Optical Instruments as a contract: named inputs and units enter a rule, the rule produces an observable result, and a known limit or invariant checks whether the implementation deserves trust.

Glossary

  • Input: a measured value or chosen parameter supplied to a model.
  • State: the smallest set of values needed to continue or reproduce a model.
  • Validation: comparing an output with a known result, limit, invariant, or measurement.

Self-check

  1. Which values are inputs, and which values must remain state?
  2. What observable result would tell you the model is behaving as expected?
  3. Which assumption would you test first before applying the model to a real system?

Model review: turn Optical Instruments into a test

Compose optical elements into replayable instrument pipelines with focus and resolution checks.

  1. Name the inputs and units that the geometric and wave optics model needs.
  2. Separate the state you must keep from values you can calculate when needed.
  3. Write one rule that maps the current state and inputs to an observable result.
  4. Choose a limiting case, unit check, invariant, or known result before trusting an output.
  5. State one assumption you would change before using this simplified model for a real decision.

Share to: