where f, do and di are the focal length, object distance and image distance respectively.
The distance from the lens to the focal point is called the focal length. For converging lenses, the focal length is always positive, while diverging lenses always have negative focal lengths.
⇒
−1
30
=
1
do
+
1
20
1
do
=
−1
30
−
1
20
1
do
=
−2+−3
60
→ \frac{-5}{60}\) = \frac{-1}{12}\)
do=−12cm
The object distance -12cm = 12cm on the other side of the lens.