The image is inverted when:
The magnification is positive
The magnification is negative
The orientation of the image has nothing to do with the sign of the magnification
Can not comment
The magnification is negative
The image is inverted when the magnification is negative.