On this concept: Formula

Not sure which lesson to do first? Find your level and get a plan →

Physics · Optics & Light · Grade 9-12

Lenses

Lenses are transparent optical devices that form images by refraction — a converging lens brings parallel rays together to a focus, while a diverging lens spreads them apart.

1f=1do+1di

Quick Answer

Lenses are transparent optical devices that form images by refraction — a converging lens brings parallel rays together to a focus, while a diverging lens spreads them apart. Use the thin-lens equation 1f=1do+1di and m=−di/do to find where an image forms and how big it is. A converging lens (f>0) makes a real, inverted image on the far side when the object is beyond F, and an enlarged virtual image when it is inside F. A diverging lens (f<0) always gives a smaller, upright, virtual image.

Why This Matters

Cameras, eyes, glasses, projectors and microscopes all form their images with lenses. With the thin-lens equation you can work out how far a camera lens must sit from its sensor, why a magnifying glass only magnifies when held close, and what lens corrects someone's eyesight; optometrists state lens strength in diopters, 1/f with f in meters. Give a diverging lens a positive f and the equation invents a real image that does not exist.

Intuitive Explanation

A lens is a piece of glass shaped so that refraction happens on purpose. A converging (convex) lens is thicker in the middle. A ray hitting near its edge meets steeply sloped surfaces and bends a lot; a ray through the center meets nearly parallel faces and hardly bends. Shaped correctly, all the parallel rays from the Sun bend to one point, the focal point, a distance f behind the lens. That is how a magnifying glass can scorch paper.

Light from a nearby object arrives spreading out, so it focuses farther away than f, and the thin-lens equation tracks exactly how much farther. A camera aimed at a scene several meters away forms an image just beyond f, real and upside down, right on the sensor. Bring an object inside f and the lens can no longer bring its rays together; they leave still spreading, and your eye traces them back to a larger, upright image on the object's side. That is the magnifying-glass view.

A diverging (concave) lens is thinner in the middle. It spreads parallel rays so that they seem to come from a focal point on the incoming side, so its f is negative and its images are always virtual and smaller. Lenses share their equation with curved mirrors but not their physics: a lens refracts light through it, so its real images form on the opposite side from the object, while a mirror reflects light back to the same side.

Think of it like this. A converging lens behaves like a stack of small prisms, each tipped a bit more the farther it sits from the center: rays at the edge bend most, the central ray goes straight, and all of them meet at the focal point. Flip every prism and you get a diverging lens. Lighthouse lenses are built in exactly these steps; an ordinary lens smooths them into one curve.

Core idea. Curved glass bends light by different amounts at different heights, so a converging lens brings rays to a focus and a diverging lens spreads them; the thin-lens equation says where the image lands.


When to Use

Use lenses when light passes through a curved piece of glass or plastic (camera, eye, glasses, projector, magnifying glass, microscope) and you need the image distance, its size, or whether it is real or virtual. A given focal length, or a power in diopters, is a signal. If the light reflects back off a curved surface, use Mirrors; if it crosses a single flat boundary and you only need the bend angle, use Refraction; if you must draw the rays, use a Ray Diagram.

Tip. Ask: Does the light pass through a curved piece of glass or plastic that bends it to a focus or spreads it out?

How to Recognize It

Before choosing lenses, check that the light passes through a curved transparent piece and that you need the image it makes or the lens's focal length.

  1. Does the light go through the curved piece rather than bouncing off it?

    Yes means a lens. Light that bounces back from a curved surface is the case of Mirrors, which uses the same equation with the real image on the other side.

  2. Is the lens thicker in the middle than at the edges?

    Thicker in the middle means converging, f>0, in air. Thinner in the middle means diverging, f<0, which gives only virtual, smaller images.

  3. Are you given the object distance and focal length and asked where the image lands?

    Yes means the thin-lens equation. If you are given the angle of one ray at one flat surface, that is Refraction with Snell's law.

  4. Does the problem give a lens's power in diopters, as on a glasses prescription?

    Power is 1/f with f in metres, so a +2.5 D lens has f=0.40 m. Describing the image only, as real or virtual and larger or smaller, leads to Image Formation.

Lenses vs Mirrors vs Refraction vs Image Formation

A lens uses refraction to make an image, and the same equation also works for mirrors. Ask whether the light passes through a curved piece, bounces off one, bends at a single flat surface, or whether you only need to describe the image.

Lenses

Meaning
Lenses are curved transparent pieces that refract light to form images.
Key test
Light passes through; converging lenses are thicker in the middle.
Formula
1f=1do+1di (thin lens)
Example
A camera lens with f=50 mm focused on a person 5.0 m away forms the image about 50.5 mm behind it.

Mirrors

Meaning
Mirrors are reflecting surfaces that form images by bouncing light back.
Key test
Light bounces back; a concave mirror converges light like a convex lens.
Formula
f=R2
Example
A dentist's small concave mirror gives an enlarged, upright view of a tooth held inside its focal length.

Refraction

Meaning
Refraction is the bending of a ray at one boundary between two materials.
Key test
One surface and one angle, found with Snell's law.
Formula
n1sin⁡θ1=n2sin⁡θ2 (Snell's law)
Example
A coin at the bottom of a pool looks closer to the surface than it really is.

Image Formation

Meaning
Image formation is describing an image as real or virtual, upright or inverted, and enlarged or reduced.
Key test
Asks what the image is like, using the signs of di and m.
Formula
m=−dido
Example
An image with m=−2 is real, inverted and twice the object's height.

Formula & Notation

1f=1do+1di
Thin lenses satisfy 1/f=1/do+1/di. Magnification is m=−di/do=hi/ho.

How to read it: f is focal length, do is object distance, di is image distance, and m is magnification.

Worked Examples

Example 1 — Where the camera sensor must sit

Easy

A camera lens has focal length 50 mm. It photographs a person 1.8 m tall standing 5.0 m away. How far behind the lens must the sensor be, and how tall is the person's image on it?
Show the steps and the answer
  1. Put everything in millimeters: f=50 mm, do=5000 mm, ho=1800 mm.

    Mixing millimeters and meters in 1f=1do+1di gives nonsense, so pick one unit.

  2. Solve: 1di=150−15000=0.0200−0.0002=0.0198, so di=50.5 mm.

    A distant object focuses just beyond f; the closer the subject, the farther the sensor must be, which is what focusing adjusts.

  3. Magnification: m=−50.55000=−0.0101.

    The image is about one hundredth of the person's size, and the minus sign means it is inverted.

  4. Image height: hi=−0.0101×1800=−18.2 mm.

    That fits on a 24 mm by 36 mm sensor, so the whole person is in the frame.

Answer: The sensor sits 50.5 mm behind the lens; the image is 18.2 mm tall, real and inverted.

Takeaway: For a distant object a converging lens forms a small, real, inverted image just beyond its focal length.

Example 2 — Diverging lens in glasses for nearsightedness

Standard

Glasses for a nearsighted student use a diverging lens with focal length −0.50 m. The student looks at a sign 2.0 m away. Where is the image the lens forms, and how big is it compared with the sign?
Show the steps and the answer
  1. Use the negative focal length: f=−0.50 m.

    A diverging lens is thinner in the middle and spreads rays as if from a focal point on the incoming side, so f<0.

  2. Solve: 1di=−10.50−12.0=−2.0−0.5=−2.5, so di=−0.40 m.

    The negative di puts the image on the same side as the sign: a virtual image.

  3. Magnification: m=−−0.402.0=+0.20.

    The image is upright and one fifth the size of the sign.

  4. Interpret: the image sits 0.40 m in front of the eye.

    A nearsighted eye that blurs things farther than about 0.5 m can focus on an image only 0.40 m away, which is how the glasses help.

Answer: A virtual, upright image 0.40 m from the lens on the sign's side, one fifth the sign's size.

Takeaway: Diverging lenses always give di<0 and 0<m<1; check the lens type before you choose the sign of f.

Example 3 — Find the mistake: a converging lens that shrinks

Application

Jo holds a magnifying glass of focal length 10 cm to project a tree 5.0 m tall and 20 m away onto a sheet of paper. Jo writes: "A converging lens always magnifies, so the tree's image will be bigger than 5.0 m." Find the mistake and find the image.
Show the steps and the answer
  1. Compare the distances: the tree is 20 m away, far beyond f=0.10 m.

    A converging lens magnifies only when the object is inside f; beyond 2f it shrinks the image.

  2. Solve: 1di=10.10−120=10−0.05=9.95, so di=0.1005 m.

    The image lands just beyond the focal point, about 10 cm from the lens, which is where Jo must hold the paper.

  3. Magnification: m=−0.100520=−0.0050, so hi=−0.0050×5.0=−0.025 m.

    The image is a tiny, upside-down copy of the tree, which is what appears on the paper.

Answer: A real, inverted image about 2.5 cm tall, 10 cm behind the lens, not a magnified one.

Takeaway: Whether a converging lens magnifies depends on where the object is: inside f it enlarges, far beyond f it shrinks.

Where You'll See It

  • Magnifying glass focusing sunlight

    A converging (convex) lens bends parallel sunrays to a single hot focal point, which can burn paper. The distance from lens to that point is the focal length.

  • Eyeglasses for nearsighted vs farsighted

    Nearsighted people use diverging lenses to spread rays and farsighted people use converging lenses to bring rays together, so the image lands sharply on the retina.

  • Phone or DSLR camera lens

    A converging lens focuses light from a scene onto the sensor to form a real, inverted image, and moving the lens in and out adjusts focus for near or far subjects.

Common Mistakes

  1. The slip: Lenses form images by reflecting light, like mirrors do.

    Why it's tempting: Lenses and mirrors are taught together and share the same equation form.

    Instead: Lenses work by refraction (light bending as it passes through), while mirrors work by reflection (light bouncing off). Same equation 1f=1do+1di, different physics.

  2. The slip: A converging lens always makes things look bigger.

    Why it's tempting: Up close it acts as a magnifier, which is the most common experience.

    Instead: It depends on where the object is. Inside the focal length the image is upright, virtual and bigger (a magnifying glass); between f and 2f it is real, inverted and still bigger (a projector); beyond 2f it is real, inverted and smaller (a camera).

  3. The slip: A diverging lens and a converging lens just differ in strength.

    Why it's tempting: Both are 'lenses' that bend light, so they feel like variations of one thing.

    Instead: A converging lens (positive f) brings parallel rays together to a real focus; a diverging lens (negative f) spreads them so they only appear to come from a virtual focus.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. An optometrist prescribes a lens of power +2.5 dioptres. What is its focal length, and is it converging or diverging?

    Hint: Power in dioptres is 1/f with f in metres.

  2. An object is 15 cm from a converging lens with f=10 cm. Find the image distance and magnification.

    Hint: Solve 1di=1f−1do.

  3. A magnifying glass with f=6 cm is held 4 cm above a stamp. Find the image distance and magnification, and describe the image.

    Hint: The stamp is inside the focal length. Expect a negative di.

  4. A camera lens has f=50 mm. To focus on a person 2.0 m away, how far from the lens must the sensor be?

    Hint: Write 2.0 m as 2000 mm before using the lens equation.

  5. A laser beam crosses from air into a flat glass block and bends at the surface. Is this a lens problem or a refraction problem?

    Hint: Is there a curved surface, and is an image being formed?

  6. A diverging lens has a focal length of 20 cm, and an object is 20 cm away. A student uses f=+20 cm and says: "1di=0, so there is no image." Correct the student.

    Hint: What sign does a diverging lens's focal length take?

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Why does a lens have a longer focal length under water?

A lens bends light because light changes speed at its surfaces. Between water (n=1.33n = 1.33) and glass (n=1.5n = 1.5) the change of speed is much smaller than between air and glass, so the lens bends light less and its focal length grows, roughly four times longer for ordinary glass. That is also why your eyes see blurry underwater: the cornea loses most of its focusing power when it touches water.

Why do simple lenses make colored fringes around an image?

Glass bends violet light slightly more than red light, so a simple lens brings violet to a focus a little closer than red. Around the edges of an image this shows up as colored fringes, called chromatic aberration. Camera makers cancel it by gluing a converging lens made of one kind of glass to a weaker diverging lens made of another, so that the colors meet at the same point.

Can a lens that converges in air ever act as a diverging lens?

Yes, if the material around it has a higher refractive index than the lens. A glass lens shaped thick in the middle converges light in air, but placed in a liquid with a higher index than the glass, it spreads light out instead. A bubble of air in water, shaped like a convex lens, is a diverging lens for the same reason. The shape alone does not decide; the indices on each side do.

How does a phone camera focus when its lens is so small?

When ff is small, the image distance hardly changes between near and far objects. A phone lens with ff around 4 mm needs to move only about 0.05 mm to switch from a face at 30 cm to a distant view, so a tiny magnetic motor shifts it back and forth. The camera checks how sharp the picture is and stops the lens where it is crispest.

Learning Path

← Before

Refraction
Lenses

You are here

You need Refraction first: light bends toward the normal when it enters a denser material and away from it when it leaves. Lenses shape that bending so parallel rays meet at a focal point, which leads to the thin-lens equation and m=−di/do. Next, Ray Diagram finds the same image by drawing three standard rays, and Image Formation classifies the images that lenses and mirrors produce.

See Also