The mirror equation is given by:
[tex]\frac{1}{d_o}+\frac{1}{d_i}=\frac{1}{f}[/tex]Where d0 is the distance to the object, di is the distance of the image and f is the focal length. In this case we have that:
• The distance of the object is 5 cm
,• The focal length is 8 cm.
Plugging these and solving for di we have that:
[tex]\begin{gathered} \frac{1}{5}+\frac{1}{d_i}=\frac{1}{8} \\ \frac{1}{d_i}=\frac{1}{8}-\frac{1}{5} \\ \frac{1}{d_i}=\frac{5-8}{40} \\ \frac{1}{d_i}=-\frac{3}{40} \\ d_i=-\frac{40}{3} \\ d_i=-13.33 \end{gathered}[/tex]Therefore, the image distance is -13.33 cm. Note: the minus sign indicates that the image is behind the mirror, that is, the image is virtual.