1
\$\begingroup\$

Using the interactive optics tool from the physics classroom website, I observe the following:

lens simulation tool

If the object distance is 3f, the image distance is 1½f.

If the object distance is 2f, the image distance is 2f.

If the object distance is 1½f, the image distance is 3f.

Now, I assume this is valid for all convex lenses. Is it also true for modern camera lenses?

What I want to know is: what is the formula that defines the relationship between them?

\$\endgroup\$
8
  • \$\begingroup\$ IMHO the ratio between object and image distances depends on the diopters of the lens \$\endgroup\$ Commented Dec 9 at 10:29
  • \$\begingroup\$ Is that an opinion or a fact @RomeoNinov? \$\endgroup\$
    – timvrhn
    Commented Dec 9 at 10:41
  • \$\begingroup\$ @timvrhn, do you know what mean the abbreviation IMHO? Also this is what my common sense tell me. \$\endgroup\$ Commented Dec 9 at 10:53
  • 1
    \$\begingroup\$ Sometimes the same words mean different things when used in different disciplines. How does photography (as opposed to physics) define "focal-plane"? \$\endgroup\$
    – Michael C
    Commented Dec 9 at 22:41
  • 1
    \$\begingroup\$ @RomeoNinov the ratio of the image distance to the object distance is defined as the magnification: \$M = i/o\$. Of course, that depends on \$f\$ as well: \$M = (i-f)/f\$. \$\endgroup\$
    – scottbb
    Commented Dec 13 at 1:31

2 Answers 2

2
\$\begingroup\$

Conjugate Distances: F is the focal length of the lens u is the lens to object distance v is lens to projected image distance

1/F = 1/u + 1/v (called the lens maker formula)

Suppose a 100mm is mounted and subject is 2 meters (2000mm distance) 1/100 = 1/2000 + 1/v 0.010 = 0.0005 + 1/v Solve for v 0.010 – 0.0005 = 0.0095 thus v= 1/0.0095 1/0.0095 = 105.263mm Explanation: The focal length F is a measurement made when the camera is working a subject located at a far distance such as a distant mountain (object at infinity ∞).

When working objects that are near to the camera, you must focus the camera by racking the lens further away from the camera sensor. In other words, it will end up being situated at a lengthier distance than the focal length F. In this case, the distance lens to sensor will be located 105.3mm from the camera sensor. If the subject were at infinity, this lens would be located 100mm from the camera sensor.

\$\endgroup\$
2
  • \$\begingroup\$ Thank you so much. It works with the image above: 1/20 = 1/60 + 1/30 and it’s pretty cool to have a name like that for the formula. \$\endgroup\$
    – Bram
    Commented Dec 10 at 4:42
  • \$\begingroup\$ Alan, that's the thin lens formula. The lens maker's formula uses the refractive index and the surface powers (i.e., reciprocal surface radii) of the lens. \$\endgroup\$
    – scottbb
    Commented Dec 12 at 2:16
1
\$\begingroup\$

What I want to know is: what is the formula that defines the relationship between them?

The formula is the thin lens formula,

$$ {1\over f} = {1\over o} + {1\over i} $$

where \$o\$ is the object distance, \$i\$ is the image distance, and \$f\$ is the focal length of the lens.

In the mathematics of optics, the optical power of a lens is the inverse of the lens's focal length: \$P = 1/f\$. This power is often measured in diopters, in unit of \$[\mathrm{meter}^{-1}]\$. So you could alternately phrase the thin lens formula as "the optical power of a thins is the sum of the surface powers of the lens".

Playing with the interactive optics tool, you noted how \$o\$ and \$i\$ are related when \$i\$ is \$3f\$, \$2f\$, and \${3\over2}f\$. But what happens when \$i = f\$? Well, the tool won't allow the object side to move out of frame, but if you notice that as \$i\$ approaches \$f\$, \$o\$ gets large very quickly.

In fact, let's take the limit of the thin lens formula as \$o\$ approaches infinity:

$$\require{cancel}\begin{align}\lim_{o\to\infty}{1\over f} &= \cancelto{0}{1\over o} + {1\over i} \\ &= {1\over i}\end{align}$$

Therefore, when focusing at infinity, the image distance \$i = f\$. This is actually the definition of focal length of a lens: the distance at which a lens focuses a "pencil" of collimated light (i.e., parallel rays) to a point.

Now, I assume this is valid for all convex lenses. Is it also true for modern camera lenses?

It's true, "ish", for all convex lenses, including modern (and older) camera lenses. Realize that the thin-lens formula is an approximation. It assumes a lens is "sufficiently thin", meaning the lens thickness is very small compared to its surface powers (the radii of curvature of the surfaces). And it also assumes we're talking about rays in the paraxial approximation, meaning rays that are almost parallel to the optical axis, so that it allows us to simplify trigonometry so that \$\sin\theta \approx \theta\$ (and \$\tan\theta\approx\theta\$), for sufficiently small \$\theta\$. (This is similar to how we solve the simple pendulum problem in physics by assuming the pendulum deviation \$\theta\$ is small enough that \$\sin\theta\approx\theta\$)

For non-macro distances, meaning the object is far enough away that the image magnification is much less than 1, say at least 10 focal lengths away, the thin lens formula works well for complex (multi-element) lenses. But the problem is figuring out, where to measure \$o\$ and \$i\$ from?

In photography, at non-macro distances the details of the object distance and image distance don't really matter to us. Whatever the image distance is, we don't care, as long as the object we're focusing on is in focus. Is it what it is.

At macro distances, we don't care about the image distance per se; rather, we are concerned about the transverse magnification. The magnification is simply the ratio of the height of the image to the real world object height, which can be deduced from similar triangles from \$i\$ and \$o:\$

$$\begin{align} M &= {h_i \over h_o} \\ &= {i\over o} \end{align}$$

Using algebra on the thin lens formula,

$$\begin{align}M &= {i-f \over f} \\ &= {f\over o-f}\end{align}$$

Macro distances, that is where the object is very close to the lens and \$M \ge 1\$, usually involve setting the lens magnification using the focal dial, and then precisely moving the entire camera+lens forward or backward to achieve the correct plane of focus (and usually a bit of repetitive fiddling between the two).

Additionally, another problem is that the stated focal lengths of camera lenses are nominal, not precise. For most prime lenses, you can rely on the focal length to calculate the angle of view when the lens is focused at infinity, using the pinhole projection formula (for non-fisheye and non-wide-angle lenses):

$$ AOV = 2\arctan{d\over 2f} $$

Here, \$d\$ is the size of the sensor in the dimension you're measuring the angle of view. For vertical AOV, \$d\$ is the sensor's height / vertical measurement. For horizontal AOV, \$d\$ is the sensor's width / horizontal measurement.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.