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:
1f=1u+1v
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 (hi) to the height of the object (ho).
It is expressed as,
 
m=hiho
 
The magnification can be related to object distance (\(u\)) and the image distance (\(v\)).
 
m=vu
 
(or)
 
m=hiho=vu
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)