TECHNIQUE: Mirror & Lens Sign-Convention Discipline (+ the Two-Ray Diagram)

Here is a scene every JEE and NEET aspirant knows. The mirror formula is memorised, the lens formula too, the numbers go in, the calculator is punched — and out comes an image on the wrong side of the glass, or a magnification that says "erect" when the picture is plainly upside down. The physics was right, the arithmetic was clean, and the answer is wrong, because one distance went in without its minus sign. On the competitive papers, a dropped sign is the single most reliable way to lose a guaranteed mark in ray optics. This article is not new physics. It is a technique — one short, unbreakable procedure that makes the signs of any mirror or lens problem impossible to get wrong, and fast. The whole of it rests on one origin rule: put the origin at the pole (mirror) or optical centre (lens), let the incident light point in the positive direction, and every distance measured against that light — where a real object sits — is negative. From that single rule the two formulas fall out, and the only thing to remember beyond it is which magnification wears a minus sign: the mirror uses 1/v+1/u=1/f1/v + 1/u = 1/f with m=−v/um = -v/u, the lens uses 1/v−1/u=1/f1/v - 1/u = 1/f with m=+v/um = +v/u. We drill it the honest way. First the origin rule and the two formulas, side by side. Then the two-ray diagram craft — which two rays to draw for a mirror, which two for a lens, and the dashed-line discipline that finds virtual images — because a quick ray sketch is the check that catches a sign slip before it costs you. Each worked example is signed at every step, mirror and lens, so that by the end a full sign assignment takes you under a minute with zero doubt, and you can read "real or virtual, erect or inverted" straight off the answer.

Key takeaways
  • One origin rule kills every optics sign error: origin at the pole or optical centre, incident light positive, distances against it negative — so a real object is always u<0u < 0.
  • Then two formulas: mirror 1v+1u=1f\dfrac{1}{v} + \dfrac{1}{u} = \dfrac{1}{f}, m=−vum = -\dfrac{v}{u}; lens 1v−1u=1f\dfrac{1}{v} - \dfrac{1}{u} = \dfrac{1}{f}, m=+vum = +\dfrac{v}{u}. Same origin, two sign patterns.
  • The one sign that flips the answer: a mirror uses m=−v/um = -v/u, a lens uses m=+v/um = +v/u. Carry one into the other and every orientation you state is wrong.
  • Read the signs back: v<0v < 0 real for a mirror (front) but v>0v > 0 real for a lens (far side); m<0m < 0 inverted, m>0m > 0 erect, everywhere.
  • The two-ray craft: mirror — parallel → through F, and through C → back on itself; lens — parallel → through F′, and through the optical centre → straight. Virtual images are found by extending rays backward as dashed lines.
  • Anchors: concave f=−15f = -15, u=−20→v=−60u = -20 \to v = -60, m=−3m = -3; convex f=+15f = +15, u=−20→v=+8.57u = -20 \to v = +8.57, m=+0.43m = +0.43; converging lens f=+20f = +20, u=−30→v=+60u = -30 \to v = +60, m=−2m = -2.
  • Key idea: one origin rule fixes every sign, two formulas differ only in the sign of 1/u1/u and of mm, and a two-ray sketch checks the answer before it costs a mark.
The core insight

Every optics sign error dies to one discipline: place the origin at the pole or optical centre with the incident light positive, so a real object is u<0u<0; then apply the correct formula — mirror 1/v+1/u=1/f1/v + 1/u = 1/f with m=−v/um = -v/u, lens 1/v−1/u=1/f1/v - 1/u = 1/f with m=+v/um = +v/u — and read the signs of vv and mm back into the image's nature, checking against a two-ray diagram.

Where this lives today

The habit of getting a signed coordinate right is not confined to exam halls. An optical engineer designing a camera or microscope lays every lens and mirror on a signed axis and lets ray-tracing software propagate distances with exactly these conventions; a flipped sign there sends a multi-element design's image to the wrong plane. A surveyor or CAD system places every feature by signed coordinates from an origin — Descartes' axes, industrialised. The New Cartesian discipline you drill for a two-mark mirror problem is the same reflex that keeps a telescope's focal plane where the detector is, that positions the elements of a phone's tiny camera stack to within microns, and that lets an autofocus motor solve the imaging equation dozens of times a second without ever putting the image behind the sensor. Signs are not bookkeeping; they are the difference between an instrument that works and one that images into empty air.

The setup: one origin, two formulas

A distance like "20 cm" is useless in optics until you say which way, and the New Cartesian sign convention — the one CBSE, ICSE, JEE and NEET all mark to — fixes that once and for all. The whole convention is one rule:

The origin is the pole PP (for a mirror) or the optical centre OO (for a lens). The incident light travels in the positive xx direction. Any distance measured against the incident light is negative; heights above the axis are positive, below negative. Two consequences become instinct. A real object sits on the incoming-light side, so its distance is measured against the light and u<0u < 0 — real objects always have negative object distance. And a concave mirror's focus lies in front (where the light is), so f<0f < 0; a convex mirror's lies behind, so f>0f > 0; a converging lens has f>0f > 0, a diverging lens f<0f < 0. With the origin rule fixed, the two working relations are:

mirror:1v+1u=1f,m=−vu(1)\text{mirror:}\quad \frac{1}{v} + \frac{1}{u} = \frac{1}{f}, \quad m = -\frac{v}{u} \qquad (1)
lens:1v−1u=1f,m=+vu(2)\text{lens:}\quad \frac{1}{v} - \frac{1}{u} = \frac{1}{f}, \quad m = +\frac{v}{u} \qquad (2)

where: uu is the object distance, vv the image distance, ff the focal length and mm the magnification, all signed by the one origin rule. The two formulas share the origin and differ in just two places — the sign of the 1/u1/u term and the sign in the magnification. Everything on this page is about placing those signs without a slip, and then reading them back: for a mirror v<0v < 0 is a real image in front, for a lens v>0v > 0 is a real image on the far side; and m<0m < 0 is inverted, m>0m > 0 erect, for both. The three moves never change from problem to problem.

Move 1 — draw the axis and sign the object. Mark the origin, the incident light's positive direction, and the real object at u<0u < 0. Sign ff from the element type.

Move 2 — write the correct formula. Mirror or lens? Use (1) or (2). The only decision is which sign the 1/u1/u and the mm wear.

Move 3 — substitute, solve, and read back. Put in the signed numbers, solve for vv, compute mm, then translate the signs into "real or virtual, erect or inverted, magnified or diminished" — and check against a quick two-ray sketch.

Figure
The one origin rule and the two formulas side by side: distances measured against the incident light are negative so a real object sits at u less than zero, and from that single origin the mirror formula uses plus one over u with m equal to minus v over u while the lens formula uses minus one over u with m equal to plus v over u
One origin rule, two formulas origin: pole / optical centre incident light → positive against the light — NEGATIVE along the light — POSITIVE real object u negative MIRROR 1/v + 1/u = 1/f m = − v/u real image: v negative (in front) LENS 1/v − 1/u = 1/f m = + v/u real image: v positive (far side)

The two-ray craft: which rays, and the dashed-line rule

The fastest check on a sign is a ray sketch, and you only ever need two rays — chosen because you already know where each one goes. The craft differs slightly between a mirror and a lens, and getting the pairing right is the folded skill that saves marks. For a mirror, draw (i) a ray from the object's tip parallel to the axis, which reflects through the focus F, and (ii) a ray through the centre of curvature C, which strikes the mirror head-on and reflects straight back on itself. Where the two reflected rays cross is the image tip. For a lens, draw (i) a ray parallel to the axis, which refracts through the far focus F′, and (ii) a ray through the optical centre, which passes straight through undeviated. Where the two emergent rays cross is the image tip. The dashed-line discipline is what handles virtual images. If the two rays actually cross, the image is real and you draw solid rays to the crossing. If they diverge after the element, they never meet in front — so you extend them backward as dashed lines to the point they appear to come from, and that apparent crossing is the virtual image. A concave mirror with the object inside the focus, or a converging lens used as a magnifier, both need those dashed backward extensions; forgetting them is how students "lose" a virtual image they have actually computed. The sign of vv and the dashed-ray sketch must agree — that agreement is the check.

Figure
The two-ray construction for a mirror and for a lens: for a concave mirror with the object inside the focus the parallel ray reflects through F and the ray to C returns on itself, and their backward dashed extensions meet behind the mirror at a virtual erect magnified image, while for a converging lens the parallel ray bends through the far focus and the central ray goes straight
Mirror — object inside F (virtual) Lens — real image C F P object virtual image F F′ object real image dashed backward rays locate a virtual image; solid crossing rays a real one
Derivation AThe one origin rule, and why the two formulas differ by a sign

The goal is to show that a single origin rule generates both working formulas, and to prove that the mirror's m=−v/um = -v/u and the lens's m=+v/um = +v/u each report a real image as inverted — so the two different signs are not arbitrary but forced by where each element's real image forms. This is what lets you trust the sign you read back, and it takes only the geometry of where the light goes.

Step 1. Fix the origin rule. Measure every distance from the pole or optical centre, with the incident light positive. A real object is on the incoming side, against the light, so u<0u < 0 for both a mirror and a lens — the same starting sign.

Step 2. Locate where a real image forms for each. A mirror sends light back, so a real image forms in front of it, on the same (negative) side as the object: real image v<0v < 0, same sign as uu. A lens passes light through, so a real image forms on the far side: real image v>0v > 0, opposite sign to uu.

Step 3. Demand that magnification report "inverted" for each real image. A real image is inverted, so m<0m < 0. For the mirror, uu and vv have the same sign, so v/u>0v/u > 0; to make m<0m < 0 the formula must carry a minus: m=−v/um = -v/u. For the lens, uu and vv have opposite signs, so v/u<0v/u < 0 already; no minus is needed, and m=+v/um = +v/u. The different signs are exactly what each geometry requires.

Step 4. Check the formulas match. The mirror relation 1/v+1/u=1/f1/v + 1/u = 1/f and the lens relation 1/v−1/u=1/f1/v - 1/u = 1/f differ only in the 1/u1/u sign, which mirrors the same "same side / far side" fact. Test: concave f=−15f = -15, u=−20→1/v=−1/15+1/20=−1/60u = -20 \to 1/v = -1/15 + 1/20 = -1/60, v=−60v = -60 (real, front, same side, m=−3m = -3 inverted); converging lens f=+20f = +20, u=−30→1/v=1/20−1/30=1/60u = -30 \to 1/v = 1/20 - 1/30 = 1/60, v=+60v = +60 (real, far side, m=−2m = -2 inverted). Both real, both inverted, each with its own sign pattern — as the rule promised. Verified: concave v=−60v = -60, m=−3m = -3 and converging-lens v=+60v = +60, m=−2m = -2, with the sign patterns of both formulas, are recomputed in verify_hs2-optics-sign-convention.py.

Go deeper · Derivation B · 1 minThe two-ray construction and the dashed-ray virtual image
Derivation BThe two-ray construction and the dashed-ray virtual image

The goal is to show the two-ray craft in action and prove it agrees with the signed formula, using the concave mirror with the object inside its focus — the case that most often loses a virtual image. We construct the image with rays, find it virtual and erect behind the mirror, and confirm the formula gives exactly the same v=+30 cmv = +30\ \mathrm{cm}, m=+3m = +3. The lesson is that the dashed backward extension and the sign of vv are two views of one fact.

Step 1. Set up the mirror case: concave f=−15 cmf = -15\ \mathrm{cm}, object at u=−10 cmu = -10\ \mathrm{cm} (inside the focus, since ∣u∣<∣f∣|u| < |f|). Draw the two rays: one from the object's tip parallel to the axis, reflecting through F; one aimed through C, reflecting back on itself.

Step 2. Observe that after reflection these two rays diverge — they spread apart in front of the mirror and never cross there. So there is no real image. Extend both reflected rays backward as dashed lines behind the mirror; the dashed lines meet at a point behind the glass. That apparent crossing is a virtual image, and because it is above the axis, it is erect.

Step 3. Now the formula, to confirm the sketch. 1v=1f−1u=−115−1−10=−115+110=−2+330=130\dfrac{1}{v} = \dfrac{1}{f} - \dfrac{1}{u} = -\dfrac{1}{15} - \dfrac{1}{-10} = -\dfrac{1}{15} + \dfrac{1}{10} = \dfrac{-2 + 3}{30} = \dfrac{1}{30}, so v=+30 cmv = +30\ \mathrm{cm} — positive, meaning behind the mirror, exactly where the dashed lines met: virtual, as drawn.

Step 4. Magnification: m=−vu=−+30−10=+3m = -\dfrac{v}{u} = -\dfrac{+30}{-10} = +3 — positive (erect) and greater than one (magnified), the make-up-mirror image. The ray sketch said "virtual, erect, magnified, behind the mirror"; the signs said v>0v > 0, m>0m > 0, ∣m∣>1|m| > 1 — the same verdict, reached two ways. That agreement is your check: whenever the dashed-ray picture and the sign of vv disagree, a sign is wrong. Verified: the concave inside-focus case f=−15f = -15, u=−10→v=+30u = -10 \to v = +30, m=+3m = +3 is recomputed in verify_hs2-optics-sign-convention.py.

Signs at a glance

quantitymirrorlens
real objectu<0u < 0u<0u < 0
converging elementconcave f<0f < 0f>0f > 0
diverging elementconvex f>0f > 0f<0f < 0
real imagev<0v < 0 (in front)v>0v > 0 (far side)
virtual imagev>0v > 0 (behind)v<0v < 0 (near side)
magnificationm=−v/um = -v/um=+v/um = +v/u
inverted / erectm<0m < 0 / m>0m > 0m<0m < 0 / m>0m > 0

Worked examples

1 · Board level — the concave mirror, rote versus disciplined (CBSE and NEET pattern)

A concave mirror of focal length 15 cm15\ \mathrm{cm} has a real object 20 cm20\ \mathrm{cm} in front. Find the image distance, the magnification and the nature.

The rote attempt (wrong). A student writes u=20u = 20, f=15f = 15 (no minus signs) and gets 1v=115−120=160\dfrac{1}{v} = \dfrac{1}{15} - \dfrac{1}{20} = \dfrac{1}{60}, so v=+60 cmv = +60\ \mathrm{cm} — an image behind a concave mirror, which is impossible for a real object beyond the focus. The unsigned data produced an unphysical answer.

Step 1 (the discipline). Sign by the origin rule: concave, so f=−15 cmf = -15\ \mathrm{cm}; real object, so u=−20 cmu = -20\ \mathrm{cm}. Use the mirror formula, m=−v/um = -v/u.

Step 2. 1v=1f−1u=−115+120=−4+360=−160\dfrac{1}{v} = \dfrac{1}{f} - \dfrac{1}{u} = -\dfrac{1}{15} + \dfrac{1}{20} = \dfrac{-4 + 3}{60} = -\dfrac{1}{60}, so v=−60 cmv = \boxed{-60\ \mathrm{cm}}.

Step 3. m=−vu=−−60−20=−3m = -\dfrac{v}{u} = -\dfrac{-60}{-20} = \boxed{-3}.

Step 4 (read back). v<0v < 0: real, in front. m<0m < 0: inverted. ∣m∣>1|m| > 1: magnified. A real, inverted, magnified image 60 cm60\ \mathrm{cm} in front — and vv negative for a mirror is what "real" looks like, the opposite of the rote answer. The signs turned a plausible-looking mistake into an obvious contradiction.

2 · Board level — the convex mirror always behaves (CBSE and ICSE pattern)

A convex mirror of focal length 15 cm15\ \mathrm{cm} has a real object 20 cm20\ \mathrm{cm} in front. Find the image and its nature.

Step 1. Signs: convex, so f=+15 cmf = +15\ \mathrm{cm}; real object, u=−20 cmu = -20\ \mathrm{cm}; mirror formula, m=−v/um = -v/u.

Step 2. 1v=115+120=4+360=760\dfrac{1}{v} = \dfrac{1}{15} + \dfrac{1}{20} = \dfrac{4 + 3}{60} = \dfrac{7}{60}, so v=607=+8.57 cmv = \dfrac{60}{7} = \boxed{+8.57\ \mathrm{cm}}.

Step 3. m=−vu=−8.57−20=+0.43m = -\dfrac{v}{u} = -\dfrac{8.57}{-20} = \boxed{+0.43}.

Step 4 (read back). v>0v > 0: virtual, behind. m>0m > 0: erect. ∣m∣<1|m| < 1: diminished. A virtual, erect, diminished image behind the glass — what a convex mirror gives for every real object, which is why it is the wide-angle mirror on a car. Note that here v>0v > 0 means virtual (behind), the reverse of a real image's sign; the mirror's "real" is negative, its "virtual" positive.

3 · Competitive level — the one sign that flips: lens versus mirror (JEE pattern)

A converging lens of focal length 20 cm20\ \mathrm{cm} has a real object 30 cm30\ \mathrm{cm} in front. Find the image and its nature, and compare the sign bookkeeping with a mirror of the same arithmetic.

Step 1. Signs: converging lens, f=+20 cmf = +20\ \mathrm{cm}; real object, u=−30 cmu = -30\ \mathrm{cm}. Use the lens formula, m=+v/um = +v/u.

Step 2. 1v=1f+1u=120−130=3−260=160\dfrac{1}{v} = \dfrac{1}{f} + \dfrac{1}{u} = \dfrac{1}{20} - \dfrac{1}{30} = \dfrac{3 - 2}{60} = \dfrac{1}{60}, so v=+60 cmv = \boxed{+60\ \mathrm{cm}} — for a lens, positive vv means a real image on the far side.

Step 3. m=+vu=60−30=−2m = +\dfrac{v}{u} = \dfrac{60}{-30} = \boxed{-2}: real, inverted, magnified.

Step 4 (the contrast). The magnitude arithmetic here (∣v∣=60|v| = 60, ratio 22) is the same shape as a mirror problem — but the signs speak a different language. A lens's real image has v>0v > 0 (a mirror's has v<0v < 0), and the magnification is m=+v/um = +v/u (a mirror's is −v/u-v/u). Use the mirror's m=−v/um = -v/u here and you would get m=+2m = +2, wrongly calling this inverted image erect. That single sign is the whole difference, and it is exactly the mark examiners set the trap for. Timing note: about forty-five seconds once the origin rule is a reflex. The only decision is mirror-or-lens, which fixes the sign of 1/u1/u and of mm; everything else is arithmetic. The five-second insurance is reading vv back — a lens real image is positive, a mirror real image negative — before you write the nature.

4 · Competitive level — the dashed-ray virtual image (JEE and NEET pattern)

A concave mirror of focal length 15 cm15\ \mathrm{cm} has a real object only 10 cm10\ \mathrm{cm} in front, inside the focus. Locate the image by rays and by formula, and state its nature.

Step 1. By rays: draw the parallel ray (reflects through F) and the ray through C (returns on itself). After reflection they diverge, so extend both backward as dashed lines behind the mirror — they meet there, giving a virtual, erect image.

Step 2. By formula: f=−15 cmf = -15\ \mathrm{cm}, u=−10 cmu = -10\ \mathrm{cm}, so 1v=−115+110=−2+330=130\dfrac{1}{v} = -\dfrac{1}{15} + \dfrac{1}{10} = \dfrac{-2 + 3}{30} = \dfrac{1}{30}, giving v=+30 cmv = \boxed{+30\ \mathrm{cm}}.

Step 3. m=−vu=−+30−10=+3m = -\dfrac{v}{u} = -\dfrac{+30}{-10} = \boxed{+3}.

Step 4 (read back and check). v>0v > 0: virtual, behind — exactly where the dashed rays met. m>0m > 0, ∣m∣>1|m| > 1: erect and magnified. A virtual, erect, magnified image, the shaving-mirror view. The ray sketch and the sign of vv agree, which is the confirmation; had you forgotten the dashed backward extension you would have "lost" the image the formula clearly locates at +30 cm+30\ \mathrm{cm}. Timing note: under a minute. The discipline is to draw the dashed rays the moment the reflected rays diverge — do not hunt for a real crossing that is not there. The positive vv is your signal that the image is virtual and the rays go backward.

Exam traps

Dropping the minus on a real object. A real object is u<0u < 0, always — the single most lost mark. Write the sign before the number, for both mirrors and lenses.

Swapping the magnification formulas. Mirror m=−v/um = -v/u, lens m=+v/um = +v/u. Carry one into the other and every orientation flips while the distance stays right — a silent, expensive error.

Reading vv's sign with the wrong element in mind. For a mirror, real is v<0v < 0; for a lens, real is v>0v > 0. Check the sign against the element you actually have before naming the nature.

Using RR as ff. f=R/2f = R/2, with the sign. A radius put where a focal length belongs doubles ff and moves the image.

Losing virtual images. When the reflected or refracted rays diverge, extend them backward as dashed lines to find the virtual image; the positive vv (mirror) or negative vv (lens) is your cue it is virtual.

Mixing conventions. New Cartesian (concave f<0f < 0) versus "real-is-positive" (concave f>0f > 0) must never be blended mid-problem. AP Physics 2 texts often use the latter — pick one, declare it, stay in it.

Board scope. This sign-discipline technique is aimed at JEE-Main, JEE-Advanced, NEET and AP Physics 2, where the speed and accuracy of sign assignment decide marks on MCQs. The New Cartesian convention taught here is the one CBSE, ICSE, JEE and NEET mark to; AP Physics 2 examines the same physics but many American textbooks use a "real-is-positive" sign convention, so an AP candidate should apply their board's single rule without switching. IB SL/HL and A-Level 9702 carry no geometric optics of this kind, so for them the technique is enrichment, not exam material.

Origins · 1 minRené Descartes and how this was discovered
RD
René Descartes
1596–1650 · France & Netherlands

Descartes is why the convention is called Cartesian. His invention of coordinate geometry — locating every point by signed distances along fixed axes from a single origin — is the mathematical idea the whole sign convention rests on: measure everything as a signed coordinate from one origin along one axis, and the plus and minus signs take care of the physics by themselves. He also worked directly on optics: his La Dioptrique (1637), published as an essay alongside the geometry, gave one of the first printed statements of the sine law of refraction and applied it to lenses and the eye. Honest scope: the "New Cartesian" rules you drill here are a twentieth-century optics convention, named in Descartes' honour rather than devised by him; his lasting gift is the coordinate framework — signed distances from an origin — that makes such a convention possible at all. Every "u<0u < 0" you write is a small tribute to his axes.

History
1621
— Willebrord Snellius states the law of refraction, unpublished.
1637
— René Descartes publishes the sine law in La Dioptrique and founds coordinate geometry in La Géométrie.
1662
— Pierre de Fermat derives reflection and refraction alike from the principle of least time.
1827
— August Ferdinand Möbius systematises signed lengths and coordinates in Der barycentrische Calcul.
1841
— Carl Friedrich Gauss casts optical imaging in signed focal lengths and cardinal points.

Going further

Texts. NCERT Physics Class 12, Ch. 9 ("Ray Optics and Optical Instruments"), the New Cartesian sign convention for mirrors and lenses · H. C. Verma, Concepts of Physics Vol. 1, "Geometrical Optics" — sign discipline and ray diagrams · D. C. Pandey / Cengage optics problem sets for the JEE and NEET sign-trap MCQs · AP Physics 2 (College Board CED, Unit 13) — note the real-is-positive convention some texts use.

Provenance. Standard geometric optics. Recompute: concave f=−15f = -15, u=−20→v=−60u = -20 \to v = -60, m=−3m = -3; convex f=+15f = +15, u=−20→v=+8.57u = -20 \to v = +8.57, m=+0.43m = +0.43; converging lens f=+20f = +20, u=−30→v=+60u = -30 \to v = +60, m=+v/u=−2m = +v/u = -2 (contrast mirror m=−v/u=+2m = -v/u = +2, wrong here); concave inside focus f=−15f = -15, u=−10→v=+30u = -10 \to v = +30, m=+3m = +3 (virtual, erect); and f=R/2f = R/2 sign consistency.

Prerequisites. The Mirror Formula and Sign Convention and Magnification by Mirrors — the live mirror articles this technique is consistent with, where 1/v+1/u=1/f1/v + 1/u = 1/f and m=−v/um = -v/u are proved. Leads to. Lens and Combination Numericals, which applies this sign discipline to lenses at speed; and Lens–Mirror Systems and the Silvered Lens, which needs both formulas at once.

Go deeper (UG). The sign convention generalises to the ray-transfer (matrix) method, where a signed distance and a signed curvature propagate through any stack of surfaces automatically — developed in Plane and Spherical Mirrors in the university optics track. It is enrichment only; every result here follows from the one origin rule and the two formulas, and no exam on this page asks for the matrix method.

Why does a mirror use m = −v/u but a lens use m = +v/u?

Because a real image forms on a different side for each, and the magnification formula must still report that real image as inverted. A mirror sends light back, so its real image sits in front, on the same (negative) side as the object — uu and vv then have the same sign, and v/uv/u is positive, so the formula needs a minus to make mm negative (inverted): m=−v/um = -v/u. A lens passes light through, so its real image sits on the far (positive) side — uu and vv have opposite signs, v/uv/u is already negative, and no minus is needed: m=+v/um = +v/u. In both cases a negative mm means inverted and a positive mm means erect; the two formulas just reach that result from the geometry each element actually has. Learn them as a matched pair and never carry one into the other's problem.

How do I know instantly whether an image is real or virtual?

Solve for vv and read its sign — but remember the sign means opposite things for a mirror and a lens. For a mirror, a real image is in front where the reflected light actually goes, which is the negative side, so real means v<0v < 0 and virtual means v>0v > 0 (behind). For a lens, a real image is on the far side where the refracted light actually goes, the positive side, so real means v>0v > 0 and virtual means v<0v < 0 (near side). This reversal trips students who read the sign of vv without asking which element they have. Fix it by writing next to your answer "mirror: real is negative" or "lens: real is positive", then classify. The two-ray sketch is the backup: solid crossing rays are a real image, dashed backward rays a virtual one.

What is the single origin rule, in one line?

Measure every distance from one origin — the pole of a mirror or the optical centre of a lens — along the axis, taking the direction the incident light travels as positive; then anything measured against the light is negative. That is the whole convention. From it, a real object (on the incoming side, against the light) is u<0u < 0; a concave mirror's focus (in front) is f<0f < 0; a convex mirror's (behind) is f>0f > 0; a converging lens is f>0f > 0 and a diverging lens f<0f < 0. You never memorise a table of signs — you regenerate each one from where the thing sits relative to the incident light. The origin rule replaces a dozen separate facts with one, which is exactly why it is so hard to get wrong once it is a habit.

Which two rays should I draw — and are they different for a mirror and a lens?

Yes, slightly, and getting the pairing right is the craft. For a mirror, draw a ray parallel to the axis (it reflects through the focus F) and a ray through the centre of curvature C (it hits the mirror head-on and returns straight back on itself); where they cross is the image. For a lens, draw a ray parallel to the axis (it refracts through the far focus F′) and a ray through the optical centre (it goes straight through, undeviated); where they cross is the image. Two rays always suffice because you know in advance where each goes. If the outgoing rays diverge instead of crossing, extend them backward as dashed lines to their apparent meeting point — that is the virtual image. A third ray, if you draw one, is only a check.

My textbook uses a real-is-positive convention. Is that wrong?

Not wrong, just different — and you must never mix it with New Cartesian. Some textbooks, especially American ones used for AP Physics 2, adopt a "real-is-positive" convention in which a concave mirror and a converging lens have positive focal lengths and a real image has a positive distance. The physics is identical; only the labelling of signs differs. The danger is switching conventions mid-problem, which flips signs and wrecks the answer. The safe rule is: decide at the top of your working which convention you are using, state it, and apply it consistently to every quantity. This article teaches New Cartesian because that is what CBSE, ICSE, JEE and NEET mark to; if your board or book uses the other, learn the discipline here and apply your own convention's signs without a single mid-solution change.

Why does forgetting a sign matter so much more than a small arithmetic slip?

Because a sign error doesn't just shrink your answer by a little — it puts the image on the wrong side of the element and reverses its nature, turning a correct method into a zero. A small arithmetic slip might give 59 cm59\ \mathrm{cm} instead of 60 cm60\ \mathrm{cm}, still recognisably right; a dropped minus can turn a real, inverted image in front of a mirror into a virtual, erect one behind it, which is a different physical situation entirely. Boards award explicit marks for stating "real or virtual, erect or inverted", and those marks hinge entirely on the signs of vv and mm. So the signs carry more of the credit than the digits do. That is why the whole technique is built around never dropping one and always reading them back.

Before this

Where this leads