Theory:

The mirror equation is an expression that relates the object's distance ($$u$$), the image's distance ($$v$$), and the focal length ($$f$$) of a spherical mirror.
It is expressed as:
$\frac{1}{f}=\frac{1}{u}+\frac{1}{v}$
Linear Magnification($$m$$):
Magnification produced by a spherical mirror provides how many times the image of an object is magnified with respect to the object size.
Magnification can be defined as the ratio of the height of the image (${h}_{i}$) to the height of the object (${h}_{o}$).
It is expressed as,

$m=\frac{{h}_{i}}{{h}_{o}}$

The magnification can be related to object distance ($$u$$) and the image distance ($$v$$).

$m=-\frac{v}{u}$

(or)

$m=\frac{{h}_{i}}{{h}_{o}}=-\frac{v}{u}$
Important!
The presence of a negative sign in the magnification value indicates that the image is real. The presence of a positive sign in the magnification value indicates that the image is virtual.
($$m>1$$ $$-$$ The image formed is enlarged, $$m<1$$ $$-$$ The image formed is diminished)