Diverging lenses form reduced, erect, virtual images. Using the common form of the lens equation, f, P and i are negative quantities.
For a lens of focal length f = -30 cm
corresponding to lens power P = -3.33 diopters
an object distance of o = 20 cm
will produce an image at i = -12 cm
The linear magnification will be M = 0.6
If a negative focal length is entered to agree with the illustration, then the image is a virtual image on the same side of the lens as the object and will give a negative image distance. If a calculation yields a positive focal length, then the lens is a converging lens rather than the diverging lens in the illustration. The lens equation can be used to calculate the image distance for either real or virtual images and for either positive on negative lenses. The linear magnification relationship allows you to predict the size of the image.