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.
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.
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 at550 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.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.
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})\]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.
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.
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.
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.
Compose optical elements into replayable instrument pipelines with focus and resolution checks.