Sub topic 4
Real and virtual images
This chapter assumes you know the ray model of light and the law of reflection. It also assumes you can read a simple ray sketch. You do not need the mirror or lens equations yet. The code at the end previews them so you can classify images by sign.
What an image is
A point on an object sends out rays in many directions. An optical element, such as a mirror or lens, changes the direction of those rays. If the rays leaving the element all pass through one point, or all appear to come from one point, that point is an image of the object point. Collect these points for every part of the object and you have the image.
Two things can happen after the rays leave the element.
- The rays converge. They actually cross at a point, and the image there is a real image.
- The rays diverge. They spread apart, but your eye or a camera traces them backward to a point they seem to come from, and the image there is a virtual image.
The words describe the rays, not whether you can see the image. Both kinds are visible.
Comparing the two
| Property | Real image | Virtual image |
|---|---|---|
| Rays | Actually pass through the image point | Only appear to come from the image point |
| Projects onto a screen | Yes, if the screen is at the image position | No |
| Light energy at the image point | Yes | No light is there |
| Seen directly by the eye | Yes, when the eye is beyond the image and the rays enter the pupil | Yes |
| Typical orientation from one mirror or lens | Inverted | Upright |
| Which side of a mirror | In front, on the object's side | Behind the mirror |
| Which side of a lens | Opposite the object | Same side as the object |
The orientation row describes a single mirror or a single thin lens. It is not a general rule. A second lens can invert a virtual image or turn a real one upright, which the later chapter on lens combinations covers.
Where each device forms each kind
A plane mirror always makes a virtual, upright image. It sits as far behind the mirror as the object sits in front. Reflected rays leave the mirror still diverging, so they never meet.
The other cases depend on the focal length f and the object distance d_o.
- Concave mirror and converging lens. If do is greater than f, the image is real and inverted. If do is less than f, the image is virtual, upright, and enlarged. This is how a magnifying glass works. If d_o equals f, the rays leave parallel and the image is at infinity.
- Convex mirror and diverging lens. The image is always virtual, upright, and reduced, for any real object position.
Moving an object across the focal point switches a concave mirror or converging lens from real to virtual images. The image distance runs off to infinity at the switch, then reappears on the other side.
Common errors
"Virtual means it isn't really there, so I can't see it." You see virtual images constantly. Your reflection in a bathroom mirror is one. Your eye focuses the diverging rays onto your retina, which makes a real image there. Cameras do the same, so a camera can photograph a virtual image.
"A real image must be projected onto a screen to exist." A real image exists in space whether or not a screen is present. The screen only scatters light toward you so you can see it from the side. Without a screen, you see the real image by looking back into the converging rays, at a distance beyond the image point.
"Real means inverted and virtual means upright, always." This holds for a single mirror or thin lens. Real versus virtual is about rays. Upright versus inverted is about orientation. They are separate questions that happen to line up for one element.
"Covering half the lens removes half the image." Every point of the lens sends light to every point of the image. If you cover half the lens, the whole image stays. It becomes dimmer, because fewer rays contribute.
Confusing the image position with the screen position. A screen shows a sharp real image only at the image distance. Move it nearer or farther and the image blurs, even though the real image has not moved.
Classifying images by sign
Later chapters build the full sign convention. For now, this chapter uses a real-is-positive convention. A positive image distance di means a real image on the output side. A negative di means a virtual image. The magnification m is negative for an inverted image and positive for an upright one. The thin-lens and mirror equation is 1/f = 1/do + 1/di, and m = -di / do.
The program below applies these rules and prints a label for each case.
def image(f, d_o):
"""Thin lens or spherical mirror, real-is-positive convention.
f: focal length (converging lens or concave mirror > 0)
d_o: object distance (> 0 for a real object)
Returns (d_i, m), or None when the object is at the focal point.
"""
if d_o == f:
return None # rays leave parallel, image at infinity
d_i = 1 / (1 / f - 1 / d_o)
m = -d_i / d_o
return d_i, m
def describe(f, d_o):
result = image(f, d_o)
if result is None:
return f"f={f}, d_o={d_o}: image at infinity"
d_i, m = result
kind = "real" if d_i > 0 else "virtual"
orientation = "inverted" if m < 0 else "upright"
return f"f={f}, d_o={d_o}: d_i={d_i:.2f}, m={m:.2f}, {kind}, {orientation}"
for f, d_o in [(10, 30), (10, 20), (10, 5), (-10, 30), (10, 10)]:
print(describe(f, d_o))The output is:
f=10, d_o=30: d_i=15.00, m=-0.50, real, inverted
f=10, d_o=20: d_i=20.00, m=-1.00, real, inverted
f=10, d_o=5: d_i=-10.00, m=2.00, virtual, upright
f=-10, d_o=30: d_i=-7.50, m=0.25, virtual, upright
f=10, d_o=10: image at infinityRead the rows in order. With f = 10, the object starts beyond twice the focal length and gives a small, real, inverted image. At do = 20 the image is the same size as the object. Inside the focal length, di turns negative and the image becomes virtual and enlarged. The negative focal length is a diverging lens or convex mirror, and it gives a virtual image for every object position.
A quick test at the bench
You can tell real from virtual without any numbers.
- Place a white card where you expect the image and look at it. A sharp picture on the card means a real image.
- If no card position works, look into the lens or mirror directly. A picture you can see but cannot catch on a card is virtual.
- Move your head sideways. A virtual image behind a mirror appears to shift against the background like any object at that depth. This is parallax, and it shows the image has a definite location.
Exercise
A concave mirror has f = +15 cm. An object stands 10 cm in front of it. Find d_i and m, and state whether the image is real or virtual and upright or inverted.
Show answer
di = 1 / (1/15 - 1/10) = 1 / (-1/30) = -30 cm, so m = -(-30)/10 = +3. The negative di means the image is virtual, 30 cm behind the mirror. The positive m means it is upright and three times the object's size. The object is inside the focal length, which gives this case.
Exercise
A student holds a screen in front of a plane mirror and cannot find any position where the reflected image shows on it. Explain why, and say what the student must do to see the image.
Show answer
A plane mirror makes a virtual image behind the mirror. The reflected rays diverge and never cross, so no light is concentrated at the image position and no screen can catch it. The student sees the image by looking into the mirror, where the eye focuses the diverging rays onto the retina.