The following sign convention is used for measuring various distances in the ray diagrams of spherical mirrors: