A two-element optical model can have an 80 millimeter effective focal length while bringing parallel rays to focus only 40 millimeters beyond its last lens. Using the first number as the second distance would place the modeled sensor at the wrong plane. The distinction concerns where distances are referenced, even before aberrations or mechanical packaging enter a robot-camera calculation.
Specify a paraxial construction
Consider two ideal thin lenses in air, with light traveling left to right. The first focal length is f1 = 0.100 m, the second is f2 = 0.200 m, and their separation is d = 0.050 m. Both focal lengths are positive. Use small angles in radians and measure ray height from a shared optical axis.
Represent a ray by the column [y, theta], with height first and angle second. A thin lens maps the state through L(f) = [[1, 0], [-1/f, 1]]. Free propagation through distance d uses T(d) = [[1, d], [0, 1]]. Matrix order matters: the last physical operation multiplies on the left, so the complete system is M = L(f2) T(d) L(f1).
University of Hawaii at Hilo's optics equation sheet gives the separated thin-lens effective-power relation. MIT's optics lecture explains principal planes, surface-referenced focal lengths, and cascaded lens matrices. Those primary references provide the model conventions. The unequal lens pair, numerical ray traces, order reversal, and separation comparisons below are independently calculated.
Read the coefficients with their units
Multiplication gives M = [[A, B], [C, D]], where A = 1 - d/f1, B = d, C = -(1/f1 + 1/f2 - d/(f1 f2)), and D = 1 - d/f2. The first and last coefficients are dimensionless, B has units of length, and C has inverse-length units for the chosen state convention.
For this example, A = 0.5, B = 0.050 m, C = -12.5 per meter, and D = 0.75. The determinant AD - BC is 0.375 - (-0.625) = 1. This supplies an algebraic check for the lossless paraxial maps in the same input and output medium; it is not a throughput or image-quality measurement.
The system's effective focal length is F = -1/C = 0.080 m. Equivalently, 1/F = 1/f1 + 1/f2 - d/(f1 f2). Simply adding the individual lens powers would omit the 2.5 per meter separation correction and yield a different system power.
Trace a ray to find the physical output reference
Send in a parallel ray at y = 0.001 m and theta = 0. The system output is yout = A y = 0.0005 m and thetaout = C y = -0.0125 rad. After another distance z in air, its height is yout + z thetaout. Setting that expression to zero gives z = 0.040 m.
This is the back focal distance from the second thin-lens plane for an object at infinity. In terms of the matrix it is -A/C. It differs from effective focal length, which is referenced to the image-side principal plane. Both quantities describe the same ray system; their different starting planes account for their different values.
For an additional check, propagate the same output ray by the effective focal length, 0.080 m. Its height becomes 0.0005 - 0.001 = -0.0005 m rather than zero. The model itself therefore shows why substituting F for the last-lens-to-focus distance fails in this case. The error is not removed by expressing both numbers in millimeters.
Reverse the elements without changing the spacing
Put the 0.200 m lens first and the 0.100 m lens second, retaining the 0.050 m separation. The new coefficients are A = 0.75, B = 0.050 m, C = -12.5 per meter, and D = 0.5. Effective focal length remains 0.080 m because the power formula is symmetric in f1 and f2.
Back focal distance now becomes 0.060 m. The same 1 millimeter parallel input ray emerges at 0.75 millimeters with an angle of -0.0125 rad, so its zero-height crossing is 60 millimeters beyond the output lens. Equal effective power does not require equal output ray height or equal last-element focus location.
This reversal comparison is especially useful when an optical model stores only a single effective focal-length field. That field cannot reconstruct the entire ABCD matrix or recover the output reference plane. The missing information is structural, rather than rounding precision that a longer focal-length number could restore.
Spacing can change the kind of output focus
Return to the original lens order and increase separation to 0.150 m. The coefficients become A = -0.5, B = 0.150 m, C = -7.5 per meter, and D = 0.25. Effective focal length is positive, about 0.133333 m, but back focal distance is negative, about -0.066667 m.
A parallel ray entering at 1 millimeter now exits at -0.5 millimeters with a negative angle of -0.0075 rad. As it travels farther right, its height becomes more negative. Its straight-line backward extension crosses the axis upstream of the output plane. A positive effective focal length alone therefore does not guarantee a real downstream back focus.
At separation d = f1 + f2 = 0.300 m, C becomes zero. The matrix has A = -2, B = 0.300 m, and D = -0.5. Parallel input rays remain parallel on output, and no finite F or back focal distance follows from division by C. This is the afocal case. It should be represented as such rather than forced into a finite distance field.
These results describe monochromatic paraxial rays through ideal elements in one surrounding medium. They do not establish detector coverage, finite-object imaging distance, aperture clipping, chromatic performance, or a real camera's mechanical back-focus specification. The transferable lesson for robot optical models is to retain the reference plane alongside the focal quantity and to check the actual output ray when a location is needed.
Concept illustration: an existing site-library robot-and-optical-inspection scene supplies imaging context. It does not depict this lens pair, its principal planes, or a measured focal position.
Sources checked October 24, 2026: UH Hilo, PHYS331 Equations and Constants, https://hilo.hawaii.edu/kilohana/documents/kilohana/phys331_fall16_eqn.pdf ; MIT, Optics Lecture 5 transcript, https://ocw.mit.edu/courses/2-71-optics-spring-2009/0783da3aa46b10365378d762a37bc716_JmK0vSLULP8.pdf .