Lens Math — The Equation That Predicts Images
Agent, you already know qualitatively where a lens forms an image. Now you must calculate it within the ideal thin-lens model. Two equations unlock everything: the Lens Equation — 1/f = 1/do + 1/di — relates focal length, object distance, and image distance. The Magnification Equation — M = −di/do = hi/ho — gives the image's size and orientation. For a real object(dₒ>0) in this paraxial thin-lens model, sign conventions give: converging f > 0, diverging f < 0; real image di > 0 (inverted, M < 0); virtual image di < 0 (upright, M > 0). Master the math, predict the image.
Wonder · The Mystery
🔍 The Lens Math Puzzle 🔬
You already know qualitatively where the image is — converging lenses can form real or virtual images depending on object position, while a diverging lens with a real object forms a virtual image. But how do you CALCULATE exactly where and how big?
Place an object 45 cm in front of a converging lens with f = 15 cm. Where exactly does the image form? How tall is it? Is it upright or inverted? There must be one equation that gives you the answer in a single line of math.
The Mystery: What math relates do, di, and f — and how does it also tell you the image's size and orientation? Why does a single equation work for both converging AND diverging lenses?
Predict · Commit to Your Answer
🎯 Converging Lens: f=15 cm, do=45 cm. What is di?
A converging lens has focal length f = 15 cm. An object sits at do = 45 cm. Use the lens equation to predict where the image forms.
Step 1: Pick your answer.
STOP! Before revealing — why did you pick that?
Correct Answer: B) di = 22.5 cm — image is real, between F and 2F.
Did you pick the right WHY? You should have chosen: "Using the lens equation 1/f = 1/do + 1/di: 1/15 = 1/45 + 1/di, so 1/di = 1/15 − 1/45 = 2/45, giving di = 22.5 cm."
The Simple Truth: The lens equation 1/f = 1/do + 1/di is a recipe. Plug in f = 15 cm and do = 45 cm. Subtract: 1/di = 1/15 − 1/45 = 3/45 − 1/45 = 2/45. Flip: di = 45/2 = 22.5 cm. Positive di means a REAL image on the opposite side of the lens. Magnification M = −di/do = −22.5/45 = −0.5 — inverted and half-size!
Play · The Visual Simulator
🕹️ The Lens Math Lab 🔬
What you will DO and OBSERVE
- • DO: Choose the lens type (Converging or Diverging), then set the focal length, object distance, and object height. Press Play to watch the ray diagram update.
- • OBSERVE: The image position, orientation, and size change as you move the sliders. Watch the lens equation 1/f = 1/do + 1/di update with live numbers — and verify it balances!
- • DISCOVER: When the image forms (real or virtual), the Aha banner lights up — and you'll see exactly how the equation predicts the image!
Live Readouts
Lens Equation (live)
1/f = 1/do + 1/di → 1/15 = 1/45 + 1/22.50
Move the sliders — watch the equation balance!
Record and compare two trials
Hold lens type, focal-length magnitude and object height fixed. Record two completed trials at different object distances. Compare signed image distance, magnification and image height. Check the reciprocal balance, then explore dₒ=f and a diverging lens separately.
Ideal paraxial thin lens in air, lens index greater than air, and real object dₒ>0. Distances use the real-positive convention: f>0 converging, f<0 diverging; dᵢ>0 real transmitted-side image, dᵢ<0 virtual object-side image. Signed M=−dᵢ/dₒ and hᵢ=Mhₒ. Exactly at positive f=dₒ, no finite image, magnification or image height exists. The diagram rescales distances without clamping positions, and enlarges the transverse-height scale; readouts give actual model quantities. Slender objects keep near-axis rays sensible. Aberrations and diffraction are omitted. Markers move90 drawing pixels per model second, with two model seconds per playback second; Step advances0.10 playback seconds. Dashed extensions carry no light; time and brightness are illustrative.
Discover · The Golden Rules
💡 The Four Lens Math Rules 🔑
You've played with the Lens Math Lab. Now flip each card to reveal the four golden rules of lens mathematics.
Rule #1
The Lens Equation
Click to flip
1/f = 1/do + 1/di
Relates focal length f, object distance do, and image distance di. Rearrange: 1/di = 1/f − 1/do, then flip to get di. Works for converging AND diverging lenses — signs do the magic.
Rule #2
The Magnification Equation
Click to flip
M = −di/do = hi/ho
M tells you size AND orientation. M < 0 = inverted (real image). M > 0 = upright (virtual image). |M| > 1 = magnified. |M| < 1 = reduced. hi = M × ho.
Rule #3
Sign Conventions
Click to flip
f, di, M Signs
f > 0 = converging (convex). f < 0 = diverging (concave). di > 0 = real image (opposite side). di < 0 = virtual (same side as object). M > 0 = upright. M < 0 = inverted.
Rule #4
Converging Lens — LOST Table
Click to flip
Special Cases
do > 2F: real, inverted, reduced. do = 2F: real, inverted, same size (M=−1). F < do < 2F: real, inverted, magnified. do = F: refracted rays are parallel; image at infinity (di→∞). do < F: virtual, upright, magnified.
All four rules unlocked!
Misconception Attack · Destroy the Myths
🚨 Myth Buster 💀
Pick TRUE or FALSE for each myth. The truth will be revealed instantly.
💀 Myth #1: "A negative image distance di means a REAL image — the minus sign just shows direction."
Correct — the answer is FALSE.
A negative di means a VIRTUAL image, not a real one. The minus sign tells you the image is on the same side as the object — the emerging rays only appear to originate there; they do not actually converge at the virtual image. Real images form on the opposite side (di > 0) where light really converges. For the real-object cases considered here, virtual images are upright and real images are inverted.
💀 Myth #2: "Magnification M is always positive for lenses — only mirrors can give negative M."
Correct — the answer is FALSE.
M is negative whenever a real, inverted image forms. Look at the equation: M = −di/do. For a converging lens with do > f, di is positive, so M = −(positive)/(positive) = negative — meaning the image is upside-down. Only virtual images (di < 0) give M > 0 (upright). The minus sign in M = −di/do is exactly what encodes inversion for real images.
Myths destroyed! You're inoculated against the two biggest lens-math traps.
The Second "Aha!" · Instructor Drill
📊 The Lens Math Drill 🔬
Your instructor has 4 rapid-fire questions about lens math. The live lens diagram on the left updates as you answer. Get all 4 right to unlock the practice round.
Live Lens Diagram
Current Question Scenario
Waiting for Q1...
Instructor Q1 — Concept
What three quantities does the lens equation 1/f = 1/do + 1/di relate?
Instructor Q2 — Concept
If the magnification M is negative, what does that tell you about the image?
Instructor Q3 — Numeric
Converging lens with f = 20 cm, do = 60 cm. Find di (in cm).
Instructor Q4 — Numeric
Given do = 30 cm and di = 60 cm. Find the magnification M.
4/4 — Lens Math Mastered!
You now know: the lens equation, magnification, sign conventions, and how to solve for any unknown. Time to practice!
7 · PRACTICE — Apply learning independently
Challenge 1: Locate an image
A real object is39.0cm in front of a converging thin lens of focal length13.0cm. Determine the signed image distance using this mission’s convention.
Worked solution — viewing is separate from solving
1/dᵢ=1/13.0−1/39.0=2/39.0cm⁻¹, so dᵢ=+19.5cm. It is a real transmitted-side image.
Challenge 2: Infer a lens and object height
A real object23.0cm in front of a thin lens produces an inverted image9.0mm high on a screen69.0cm beyond the lens. Determine the focal length, signed magnification and original object height magnitude.
Worked solution — viewing is separate from solving
1/f=1/23.0+1/69.0=4/69.0, so f=+17.25cm, about17.3cm. M=−69/23=−3.00. The inverted image has hᵢ=−9.0mm, so hₒ=hᵢ/M=+3.0mm.
Challenge 3: Audit a diverging-lens report
A diverging thin lens has focal-length magnitude18.0cm. A real object27.0cm in front is4.0cm high. A report uses f=+18cm, obtains dᵢ=+54cm and M=−2, then calls the image virtual and upright. Determine the correct signed f,dᵢ,M and hᵢ, then evaluate the report’s calculations and interpretation.
Your explanation is recorded for self-comparison or teacher review; automatic checks only assess the entered results and evidence of effort.
Worked solution — viewing is separate from solving
Correct f=−18.0cm. dᵢ=f dₒ/(dₒ−f)=−18×27/(27+18)=−10.8cm. M=−dᵢ/dₒ=+0.400 and hᵢ=+1.60cm. The image is virtual, upright and reduced. The report uses the wrong focal-length sign; its+54 and−2 would instead describe a real inverted image for a converging lens, contradicting its own words. The report is invalid.
Challenge · Think Like a Physicist
🧠 Solve a Lens Problem Step-by-Step 🔬
Sequence the Reason: How Do You Solve a Lens Problem?
A lens problem gives you some values and asks for others. Click each step in the correct order — from identifying what you know, through the math, to interpreting the final signs.
Build the solution in order:
Available steps (shuffled — pick one, then click a slot):
How to Solve Any Lens Problem — The Physicist's Recipe
The Recipe:
First, identify what you know (f, do) and what you must find (di? M? hi?). Write the lens equation 1/f = 1/do + 1/di and substitute the known values. Solve for the unknown — usually di.
If asked for size, apply M = −di/do. If asked for image height, hi = M × ho.
Finally, check signs: di > 0 means a REAL image (inverted, M < 0). di < 0 means a VIRTUAL image (upright, M > 0). The signs ARE the physics — never ignore them.
Same recipe works for converging AND diverging lenses — only the sign of f changes.
Teach · The Feynman Technique
👨🏫 The Lens Math Puzzle 🗣️
Your friend asks: "How do you calculate where a lens forms an image and how big it is?"
Task: Explain the lens equation and the magnification equation in simple terms. Mention what each variable means, how the signs tell you real vs virtual and inverted vs upright.
Type Your Explanation (≥ 3 sentences)
Final reward below
Hidden exam secrets inside — crest's private notebook.
~ crest's Secret Notebook ~
🔬 Lens Math — 1/f = 1/do + 1/di and M = −di/do
These equations describe the ideal paraxial thin-lens cases in this mission; they do not describe every optical system. Here dₒ>0 describes a real object, and the lens is ideal, thin and paraxial in air. The lens equation predicts WHERE the image forms. The magnification equation predicts HOW BIG and which way up. Sign conventions do the rest!
1. The Lens Equation
- ★ 1/f = 1/do + 1/di — three variables, plug in two, solve for the third.
- ★ Rearrange: 1/di = 1/f − 1/do, then flip to get di.
- ★ Works for converging (f>0) AND diverging (f<0) — signs do the magic.
- ★ If do = f for a converging lens → 1/di = 0 → refracted rays are parallel; the ideal image is at infinity.
2. The Magnification Equation
- ★ M = −di/do = hi/ho
- ★ M < 0 → inverted (real image, di > 0)
- ★ M > 0 → upright (virtual image, di < 0)
- ★ |M| > 1 → magnified; |M| < 1 → reduced; |M| = 1 → same size
- ★ hi = M × ho — gives image height (sign = orientation)
3. Sign Conventions Table
- ★ f > 0 → converging (convex) lens
- ★ f < 0 → diverging (concave) lens
- ★ di > 0 → real image (opposite side, light really converges)
- ★ di < 0 → virtual image (same side as object, light only appears)
4. Sample Problems (Converging Lens LOST Table)
- ★ do > 2F: real, inverted, reduced (e.g., camera)
- ★ do = 2F: real, inverted, same size (M = −1)
- ★ F < do < 2F: real, inverted, magnified (e.g., projector)
- ★ do = F: rays emerge parallel; image at infinity (di→∞)
- ★ do < F: virtual, upright, magnified (e.g., magnifying glass)
🚨 crest EXAM SECRETS 🚨
🔑 EXAM TIP: Always carry the minus sign in M = −di/do
★ The Trap: Students forget the minus sign and lose the orientation info.
★ Golden Rule:M = −di/do. For real images (di>0), M is negative → inverted. For virtual (di<0), M is positive → upright.
★ Reason: The minus sign is what ENCODES inversion. Don't drop it!
⚠️ COMMON MISTAKE: "Diverging lenses can't form real images — wrong equation?"
★ Same equation works! Just plug in f < 0.
★ 1/dᵢ=1/f−1/dₒ with signed f<0 and dₒ>0. Both terms give a negative reciprocal, so dᵢ<0 and the image is virtual, upright and reduced.
★ For a real object in this model, a diverging lens gives a virtual, upright, reduced image. Virtual-object situations lie outside this mission.
🧠 MEMORY TRICK: "Flip the Fraction, Mind the Sign"
★ 1/di = 1/f − 1/do. Find common denominator, subtract, then FLIP.
★ Sign of di → real (+) or virtual (−). Sign of M → inverted (−) or upright (+).
↪ Lens Equation + Magnification = Predict Any Image! ↩
⭐ crest ⭐
🏆
Mission 14.23 Complete!
You are now a Master of Lens Math
All 10 levels cleared · PHYSICS CREST