If the image formed by a mirror for all positions of the object placed in front of it is always erect and diminished

If the image formed by a mirror for all positions of the object placed in front of it is always erect and diminished, what type of mirror is it? Draw a ray diagram to justify your answer. Where and why do we generally use this type of mirror?

The image formed by a convex mirror is always erect and diminished; therefore, the given mirror is a convex mirror.

image

The ray diagram drawn above shows the image formation by a convex mirror.
We generally use the convex mirror as a rear-view mirror in vehicles because it produces an erect and diminished image due to which it gives a larger area of view of traffic behind the vehicle.