Explore how lenses and mirrors form images
Converging (convex) lenses bend light rays toward the focal point. The thin lens equation relates object distance d_o, image distance d_i, and focal length f. When d_o > f, a real, inverted image forms; when d_o < f, a virtual, upright image appears (magnifying glass). Diverging (concave) lenses always form virtual, diminished, upright images. Mirrors follow the same mathematics with light traveling on one side.
Plus 148+ other Pro labs covering AP Physics, Biology, Chemistry, Earth Science, and Math — with unlimited simulation time, advanced parameters, and detailed analytics.
Already have an account?
Sign in →Every camera lens, every pair of eyeglasses, every microscope and telescope, and the lens inside your own eye all rely on the same handful of rules. A converging lens bends parallel rays toward a focal point; a diverging lens spreads them as if from a focal point on the other side. A concave mirror collects light to a focus; a convex mirror spreads it out. The thin lens equation 1/f = 1/d_o + 1/d_i ties together where the object sits, where the image lands, and how the lens is shaped, and m = −d_i/d_o tells you how big and which way up the image appears. The simulation lets you slide an object along the axis of a lens or mirror, watch the principal rays trace through, and see how the image flips between real and virtual as the object crosses the focal point.
MisconceptionA converging lens always makes the image bigger.
CorrectOnly when the object sits between the lens and the focal point. If the object is farther than 2f, the lens makes a smaller (and inverted) image — that's how cameras and your eye work. At exactly d_o = 2f the image is the same size as the object.
MisconceptionA virtual image isn't real, so you can't see it or photograph it.
CorrectVirtual images are absolutely visible — that's what you see when you look in a flat mirror or use a magnifying glass. They just can't be projected onto a screen because no actual light rays meet at the image point; rays only appear to diverge from there. Your eye (or a camera) refocuses those diverging rays just fine.
MisconceptionCutting a lens in half gives you half an image.
CorrectYou still get the full image, just dimmer. Each point on the lens collects a complete cone of rays from each object point, so blocking part of the lens reduces brightness but not coverage. This is a great surprise to demo with a paper mask.
MisconceptionIf d_o equals f exactly, the image forms at infinity but is just very far away.
CorrectWhen d_o = f, the rays leave the lens parallel — they never converge to an image at all. The thin lens equation gives 1/d_i = 0, which means there is no image. This is exactly how a flashlight or lighthouse collimates a beam.
A real image forms where actual light rays physically converge — you can put a piece of paper there and see it lit up. A virtual image forms where rays only appear to come from after diverging through a lens or mirror; no light actually reaches that point, but your eye traces the rays back and reconstructs the image. Real images are inverted; virtual images from a single lens or mirror are upright.
When d_o > f, light rays from the top of the object cross over to the bottom of the image (and vice versa) on their way through the lens. Mathematically, the magnification m = −d_i/d_o is negative, where the minus sign encodes the flip. Your eye does the same flip — your retina sees an upside-down world and your brain rotates it.
By convention, converging optics (convex lens, concave mirror) have positive f and diverging optics (concave lens, convex mirror) have negative f. For a thin lens, positive d_i means a real image on the far side of the lens, while negative d_i means a virtual image on the same side as the object. Mirror sign conventions use the reflective side instead, so keep the lens and mirror cases separate when you plug into the equation.
It assumes the lens is much thinner than the focal length, so we can ignore the distance light travels inside the glass, and that all rays stay close to the optical axis (paraxial rays). Real lenses break this near the edges, producing spherical aberration. AP Physics 2 problems live entirely inside the thin-lens approximation.
GO-2.A covers ray diagrams for spherical mirrors and thin lenses. GO-2.B requires applying the thin lens / mirror equation to predict image distance, magnification, and orientation. GO-2.C addresses real vs virtual images and the sign conventions that distinguish them. Every challenge in this simulation maps to one of those three.