How do you tell if an image is upright or inverted?
Explanation:
Since,
In the case of real and inverted images, the image is on the same side of the mirror as the object and the image distance is positive.
And In the case of virtual and upright images, the image of the object is behind the mirror and the image distance is negative.
Hence, this is how we justify whether the image is upright or inverted.