Does the position of the final image in a multiple lens system found by the thin lens formula always agree with the ray diagrams?

For example, in the figure given below let the object be at O, the eye of the observer at E and the pole of the convex and concave lenses be P and P' respectively. Assume the object is placed such that, on using the lens formula (with only the convex lens) we get the first image to the right of the concave lens and then using the lens formula again (with the concave lens and using the first image as an object for the concave mirror) we get the second image also to the right of the concave lens.

(the assumption above is possible when OP=3cm, PP'=4cm and focal length of both the lenses(f)=2cm)

But on drawing ray diagrams from the object we find that rays first converge after passing through the convex lens then they diverge at the concave lens and never meet the principal axis to the right of the concave lens, hence no image is formed to the right of the concave lens.

This contradicts the results got by using the lens formula. Could someone provide an explanation to this ? The lens equation and the ray tracing does agree. Let's denote the distance from the object and image distances to the first convex lens as $o_1$ and $i_1$ respectively. Let's denote the object and image distances to the second concave lens as $o_2$ and $i_2$. The focal lengths are $f_1=2 \text{ cm}$ and $f_2=-2 \text{ cm}$.

The lens equation reads $\frac{1}{o}+\frac{1}{i}=\frac{1}{f}$.

For the first lens, $\frac{1}{3\text{ cm}}+\frac{1}{i_1}=\frac{1}{2\text{ cm}}$.

Solving for the image distance yields $i_1=6\text{ cm}$.

The image of the first lens becomes the object for the second lens, and since the two lenses are $4\text{ cm}$ apart, we have $o_2 = 4\text{ cm}-i_1 = -2\text{ cm}$.

The lens equation for the second lens reads as $\frac{1}{-2\text{ cm}}+\frac{1}{i_2}=\frac{1}{-2\text{ cm}}$.

Thus $1/i_2 = 0$, and $i_2=\infty$. There is neither a real image (converging rays in front of the second lens) nor a virtual image that is formed (diverging rays). Rather the rays are parallel.

Well, we can see this agrees with the ray tracing diagram (made with OpticalRayTracer software ver. 9.6): • But when you use the lens formula for the concave lens shouldn't it be, $$\frac{1}{2cm}+\frac{1}{i_2}=\frac{1}{-2cm}$$. Hence giving $$i_2=-1$$ ? – Shrish Shankar Sep 23 '17 at 14:23
• Actually both $o_2$ and $f_2$ are equal to $-2\text{ cm}$. This is because the image from the first lens (the object for the second lens) shows up behind the second lens and not in front. – AlbertB Sep 23 '17 at 14:56
• Yet another way to look at is is to look at the equation for the front focal length: link. If you plug the values $f_1=2\text{ cm}$, $f_2=-2\text{ cm}$, $d=4\text{ cm}$ you'll get $ffl = 3\text{ cm}$. So your object O is at the front focal point, and rays that leave the system as parallel lines. – AlbertB Sep 23 '17 at 15:15
• $o_2$ and $f_2$ are equal to -2cm. But isn't the lens formula, $$\frac{1}{v}-\frac{1}{u}=\frac{1}{f}$$ where v is the image distance, u the object distance and f the focal length? – Shrish Shankar Sep 24 '17 at 4:21
• Could you use right and left instead of behind and front of the lens. – Shrish Shankar Sep 24 '17 at 4:30

The first lens will focus the light 6 cm to the right of it (disregarding the second lens for now):

1/3 +1/6 = 1/2

This point will be in the focus $F$ of the second lens 2 cm to the right of it and will become the imaginary source for the second lens. Because this source is in the focus of the second lens, the resulting rays will be parallel according to the lens formula:

1/2 + 0 = 1/2

Where 0 is the infinity reversed representing parallel rays. • I tried the lens formula it doesn't form on the left – Shrish Shankar Sep 23 '17 at 9:42
• @ShrishShankar: Sorry, my mistake :) I've updated the answer. – safesphere Sep 25 '17 at 5:47