The Mirror Formula & Sign Convention
Ray diagrams are beautiful, and slow. Draw one carefully and you can see that a concave mirror throws a small, upside-down image of a distant tree onto a wall — but pin down exactly how far and exactly how tall, from a diagram, and you are fighting your ruler. Exams do not have time for rulers. They have time for one equation, applied in fifteen seconds, that turns "the object is 20 cm from a mirror of focal length 15 cm" into "the image is a real, inverted, three-times-magnified picture 60 cm in front". That equation is the mirror formula, and this article both proves it and drills it.
Three symbols — the object distance , the image distance , the focal length — and a companion for size, the magnification . Feed in any two and it hands you the third, together with the image's nature: real or virtual, upright or inverted, bigger or smaller. It is the single most examined relation in ray optics, and it is worth every minute you spend on it. But the formula is only as trustworthy as your signs. The mirror formula is written in the New Cartesian sign convention, and every quantity you put in carries a plus or a minus that is not decoration — it is the physics. A real object is always . A concave mirror has ; a convex one has . Drop a single minus and the image lands on the wrong side of the mirror, real turns virtual, and a correct method earns zero. This page derives honestly, from similar triangles on a paraxial ray diagram; derives the magnification the same way; then works the exact cases every board reuses — concave and convex, object outside and inside the focus — with the signs shown at every step.
- The mirror formula relates object distance , image distance and focal length for a spherical mirror; give it any two and it returns the third.
- Magnification gives the image's size and orientation: is real and inverted, is virtual and erect, is magnified.
- It is written in the New Cartesian convention: real object ; concave ; convex — the signs are the physics, not bookkeeping.
- Worked anchors (concave cm): object at cm, (real, inverted); at , , ; inside , , (virtual, erect).
- A convex mirror (, ) always gives cm, — virtual, erect, diminished, every time.
- Key idea: one equation, with , locates and classifies every mirror image — but only if each of , and is entered with its New Cartesian sign.
The mirror formula , with magnification , is derived from similar triangles on a paraxial ray diagram and locates and classifies any spherical-mirror image — provided every distance carries its New Cartesian sign, so that a real object is negative and a concave focal length is negative.
Where this lives today
The mirror formula is the design equation for anything that focuses light with a curved reflector. An astronomer choosing a telescope mirror uses and equation (1) to fix where the eyepiece or camera must sit; a headlamp or searchlight engineer places the filament at so the reflected beam comes out parallel (); a solar cooker designer puts the pot at the focus of a concave dish so distant sunlight () concentrates at . The wide-angle convex mirror on a car or at a blind junction is equation (1) with , guaranteeing the shrunken, upright, always-virtual image that fits a whole road into a glance. In a dentist's or make-up mirror the object sits inside the focus, and the formula's jump to , is exactly the enlarged, upright view that makes the tool useful. Even the autofocus and image-stabilisation in a phone camera rest on the same paraxial imaging relations, scaled and computerised. One equation, entered with its signs, quietly sizes and places every reflected image in the built world.
The physical picture
A ray diagram and the mirror formula are the same statement told two ways. The diagram shows two rays from a point on the object crossing at the image; the formula is the algebra of exactly those crossings, distilled so you never have to draw them again. What makes the distillation possible is the paraxial approximation from the last article — that all the rays we use stay close to the axis — because only then do the reflection points sit effectively at the pole and the geometry becomes clean similar triangles. Set up the standard picture for a concave mirror: an upright object of height standing a distance in front of the mirror, and the image it forms, of height , at distance . Trace two rays from the top of the object. One runs parallel to the axis and reflects through the focus . The other runs straight to the pole and reflects off it, obeying the law of reflection about the axis. Where the two reflected rays cross is the top of the image, and dropping a perpendicular to the axis completes it. The formula falls out of comparing the triangles those rays make — which is exactly what the derivation below does.
The two working equations
Everything numerical about a spherical mirror is in two lines. The first locates the image:
where: is the object distance, the image distance and the focal length, all measured from the pole with New Cartesian signs. Read it as a rule for combining "closeness": the reciprocal distances of object and image add up to the reciprocal focal length. Rearranged for the usual unknown, , so once you know and , the image distance drops straight out — and its sign tells you the side: means a real image in front of the mirror, means a virtual image behind it. The second equation gives the size and orientation:
where: is the object height, the image height, and the magnification. The minus sign is part of the definition in this convention, and it does real work: it makes come out negative for a real, inverted image (where and have the same sign) and positive for a virtual, erect image (where they differ). So the sign of reports the orientation for free — negative is inverted, positive is erect — and its size reports the scaling: magnified, diminished, same size. The next article is devoted to ; here it is the tool that lets each worked example end with the image's full nature, which is what boards actually mark.
The sign convention, in one picture
Before a single number goes into equation (1), it must be dressed in its New Cartesian sign. The convention is the one stated in full in the previous article; the diagram below is the whole of it at a glance. The pole is the origin. The incident light sets the positive direction, so everything in front of the mirror — where a real object sits and where the light actually is — counts as negative, and everything behind the mirror counts as positive. Heights above the axis are positive, below it negative.
With the convention fixed, the mirror formula and magnification become universal: the same two equations handle concave and convex, real and virtual, without ever being rewritten. All that changes between cases is the signs you feed in — a real object at , a concave mirror at , a convex mirror at .
The mirror formula is not a fact to memorise but a two-triangle consequence of the law of reflection, and doing the derivation once fixes both the formula and the reason the signs behave. The goal is to prove for a concave mirror forming a real image, using only similar triangles on a paraxial ray diagram, and then to show the New Cartesian signs make the same line hold for every other case. We work first with plain positive lengths and attach signs at the end.
Step 1. Set up the diagram. An object of height stands with its foot on the axis a distance from the pole ; its image , height , forms a distance from . From the top send two rays: one parallel to the axis, striking the mirror near the pole at a point (at height , since paraxial) and reflecting through the focus ; and one straight to the pole , reflecting about the axis. They cross at , the top of the image.
Step 2. Use the pole ray. The incident ray and reflected ray make equal angles with the axis, so right triangles and are similar (equal angles at and , equal vertical angles at ). Corresponding sides are therefore in proportion: , that is .
Step 3. Use the parallel ray. Its reflection passes through . The little triangle (with , the object height, since sits at the object's height near the pole) is similar to triangle (equal vertical angles at , both right-angled). So , and since , this is , because .
Step 4. Equate and simplify. Steps 2 and 3 both equal , so . Cross-multiplying, , hence . Divide every term by : . Finally attach New Cartesian signs — a real object and a concave mirror's real image and focus are all on the negative side — and the identical relation holds with every symbol signed, now valid for convex mirrors and virtual images too. A quick test: concave , gives , so cm — real, in front, as the diagram promised. Verified: the anchor cm from , , and the full formula on every worked case, are recomputed in verify_hs2-mirror-formula.py.
Go deeper · Derivation B · 1 minThe magnification is minus v over u
The magnification formula comes from the very same diagram, and the minus sign — the part students most often drop — is exactly what encodes whether the image is upright or upside-down. The goal is to derive from the pole-ray triangles and to see why the sign is not optional. This is the companion the next article builds a whole discussion on.
Step 1. Return to the pole-ray triangles and from the formula derivation. Their similarity already gave in plain lengths — the image is scaled from the object by the ratio of the distances.
Step 2. Now put the signs back with the New Cartesian convention. For a real image the object is erect () but the image is inverted, hanging below the axis, so ; meanwhile both and . The magnitude relation must be written so that a negative results, which forces a minus sign: .
Step 3. Check the sign does the right job in every case. Real image ( same sign): , so — inverted, correct. Virtual image (, ): , so — erect, correct. So the one formula reports orientation automatically, and dropping its minus sign silently flips every image you classify.
Step 4. Read off the meaning of the number. With : the sign gives orientation (negative inverted, positive erect), and the magnitude gives scale ( magnified, diminished, same size). For concave , : , a real image three times the object's height and inverted — the same case the formula derivation located at cm. Verified: for that case and the sign behaviour across real and virtual images are recomputed in verify_hs2-mirror-formula.py.
Limiting cases
| Case | Result | Meaning |
|---|---|---|
| a very distant object images at the focus (the Sun on a screen) | ||
| (object at focus) | reflected rays leave parallel — no image forms | |
| concave, object inside | , | image jumps behind the mirror: virtual, erect, magnified |
| convex, any real object | , | always virtual, erect, diminished |
| object and image at | , same size, inverted, at the centre of curvature | |
| (flat mirror) | , | recovers the plane-mirror result of two articles ago |
Worked examples
Board level — one concave mirror, three object positions (CBSE and NEET pattern)
A concave mirror has focal length 15 cm. Find the image distance, the magnification and the full nature of the image when a 4 cm tall object is placed (a) 20 cm, (b) 30 cm, and (c) 10 cm in front of the mirror.
Step 1. Fix the signs once: concave, so ; real object throughout, so is negative in every part. Use and .
Step 2. Part (a), : , so . Then . Nature: real and in front, inverted, magnified — a real, inverted, magnified image, 12 cm tall, 60 cm from the mirror.
Step 3. Part (b), (the object is now at the centre of curvature, since ): , so and : real, inverted, same size, sitting on the object at .
Step 4. Part (c), (now inside the focus): , so and : the image has jumped behind the mirror — virtual, erect, magnified. This is the make-up mirror. Notice how the single sign of flipped the whole story as the object crossed the focus.
Board level — the convex mirror always behaves (CBSE and ICSE pattern)
An object is placed 20 cm in front of a convex mirror of focal length 15 cm. Find the image distance, magnification and nature.
Step 1. Signs: convex, so ; real object, .
Step 2. , so .
Step 3. . Nature: virtual and behind, erect, diminished — virtual, erect, diminished, as a convex mirror gives for every real object. The image is only about of the object's height and tucked behind the glass, which is why a convex wing mirror packs a wide scene into a small pane.
Competitive level — invert the problem: find the mirror from the image (JEE pattern)
An object placed 20 cm in front of a concave mirror produces a real image magnified three times. Find the mirror's focal length and radius of curvature.
Step 1. Translate the words into signed quantities. Real object: . "Real image, magnified three times" means the image is inverted, so (real is inverted, hence the minus), not . This single sign choice is the whole question.
Step 2. Get from the magnification: ... rearranged, , so — a real image in front, consistent with the sign.
Step 3. Now use the mirror formula: , so — concave, as the negative sign confirms. The radius is .
Step 4. Sanity check by running it forward: , gives and , exactly the data we started from. The loop closes, so the answer is secure. Timing note: about 75 seconds once you decide the sign of . The trap that eats the time — and the marks — is writing for a real image; a real image is inverted, so its magnification is negative. Decide the sign of from the word "real" before you compute anything.
Exam traps
Dropping the minus signs. The number-one lost mark in mirror optics. A real object is ; a concave mirror is . Feeding in positive values for a real object in front of a concave mirror throws the image onto the wrong side and inverts its reality. Write the sign before the digit.
Mixing sign conventions. New Cartesian (concave ) and the older real-is-positive convention (concave ) give different-looking working, and blending them mid-problem is fatal. CBSE, ICSE, JEE, NEET and AP Physics 2 mark to New Cartesian; use it, declare it, and never switch mid-solution.
Forgetting . When a question gives only the radius of curvature, you must halve it (with its sign) before using the formula: means , not . Putting where belongs doubles your focal length and wrecks the answer.
Not stating the nature. Boards award explicit marks for "real or virtual, erect or inverted, magnified or diminished". Reading it off the signs ( for side, for orientation and size) costs seconds and earns those marks; leaving the answer as a bare number throws them away.
Board scope. The mirror formula is examined by CBSE, ICSE, JEE Main, JEE Advanced, NEET, AP Physics 2 (Unit 13) and A-Level, and appears in IGCSE 0625 at the qualitative-to-basic level. IB has no geometric optics at SL or HL, so if you are an IB candidate the mirror equation is not on your paper — treat this as enrichment. Everyone else needs it cold, with signs.
Origins · 1 minIsaac Barrow and how this was discovered
Barrow was the first Lucasian Professor of Mathematics at Cambridge — the chair he would hand to his brilliant student Isaac Newton in 1669 — and a formidable geometer of optics. His Lectiones Opticae (Optical Lectures, 1669), which the young Newton helped prepare for the press, gave a purely geometric method for finding where a mirror or lens places the image of a point: follow the rays, intersect them, and read off the image. That construction is the ancestor of the mirror and lens equations, turning the ray diagram into something you can calculate. Barrow worked before the modern algebraic formula and its signs existed, but the idea that an image has a definite, constructible location on the axis — the idea this whole article computes — is his. He later left mathematics for theology, satisfied to have launched Newton.
Going further
Texts. NCERT Science Class 10, Ch. 10 ("Light — Reflection and Refraction"), the mirror formula and magnification · NCERT Physics Class 12, Ch. 9 ("Ray Optics"), reflection by spherical mirrors with sign convention · H. C. Verma, Concepts of Physics Vol. 1, "Geometrical Optics" · Cambridge A-Level 9702 curved-mirror imaging.
Provenance. Standard geometric optics. Recompute (concave cm): , ; , ; , ; convex , , ; the inverse problem , , ; and the image height cm. Limits: ; .
Prerequisites. Spherical Mirrors: Concave and Convex — the anatomy, and the sign convention this article computes with. Leads to. Magnification by Mirrors, which builds the full nature table on ; and the mirror-numericals drill that follows.
Go deeper (UG). The mirror equation is one line of the general paraxial (Gaussian) imaging theory, extended to lenses, mirror-lens systems and aberrations, in Plane and Spherical Mirrors in the university optics track. It is enrichment only; every result on this page follows from similar triangles and the sign convention, and no exam here will ask for the matrix or aberration methods.
Why is there a minus sign in m = -v/u?
Because the magnification must report orientation, not just scale, and the minus sign is what makes it do so. In the New Cartesian convention a real, inverted image has object and image distances of the same sign (both negative), so comes out negative — correctly flagging the image as inverted. A virtual, erect image has them of opposite sign, so is positive — correctly flagging erect. If you drop the minus, every real image would come out with a positive magnification and you would call an upside-down image upright. The sign is not decoration; it is the part of the formula that knows which way up the image is.
How do I know if the image is real or virtual without drawing?
Read the sign of after you compute it. In the New Cartesian convention a negative image distance () means the image is in front of the mirror, where the reflected rays actually cross — it is real and could be caught on a screen. A positive image distance () means the image is behind the mirror, where the rays only appear to meet — it is virtual. So you never need the diagram to classify: solve for , look at its sign. A concave mirror gives (real) for objects beyond the focus and (virtual) for objects inside it; a convex mirror gives (virtual) always.
The question gives me the radius of curvature, not the focal length. What do I do?
Halve it, keeping the sign: . If the mirror is concave and , then ; if it is convex and , then . Only then put into the mirror formula. A very common slip is to use the radius directly in place of the focal length, which doubles and moves the image to the wrong place. Whenever a problem quotes , your first written line should be "" with the sign attached, so the halving never gets forgotten under time pressure.
Can I use the same formula for both concave and convex mirrors?
Yes — that is the whole point of a sign convention. The single equation , with , handles concave mirrors, convex mirrors, real images and virtual images without ever being rewritten. What changes between cases is only the signs of the numbers you substitute: concave takes , convex takes , a real object takes , and the formula then returns a whose sign tells you the image's side and an whose sign tells you its orientation. One formula, many cases, all distinguished by signs — which is exactly why getting the signs right matters so much.
What happens when the object is exactly at the focus?
The formula gives , so : no image forms at any finite distance. Physically, a point source placed at the focus of a concave mirror reflects into a beam of rays all parallel to each other — they never reconverge, so there is no image to catch. This is the exact reverse of a distant object imaging at the focus, and it is the principle of a searchlight or a car headlamp, where the bulb sits at the focus precisely so the light leaves as a parallel beam. Mathematically it is the boundary between the real-image regime (object beyond ) and the virtual-image regime (object inside ).
Why do real objects always have a negative distance?
Because of where they sit relative to the incoming light. The New Cartesian convention measures distances from the pole and takes the direction of the incident light as positive. A real object is always in front of the mirror, on the same side as the light travelling towards it — which is the direction opposite to how we count positive for the reflected side, so its distance comes out negative. It is not that objects are "special"; it is simply that "in front of the mirror" is the negative side in this convention. The only way to get a positive object distance is a virtual object — converging light headed towards a point behind the mirror — which you will not meet until multi-mirror or lens-mirror systems well beyond this chapter.