Browse physics topics

Ray Optics & Refraction

Lens Formula & Sizing

Master the mathematical relationship governing refraction through thin lenses. Toggle between an optics bench lab, a camera focusing cutaway, and a magnifying glass desk scene to visualize how focal length, object position, and screen placement dictate image focus.

Thin Lens Formula Laboratory

Drag visual elements or use controls. Observe ray paths, image inversion, and focus blur values.

Ready

Live Telemetry

1/f = 1/v - 1/u ⇒ 1/20.0 = 1/60.0 - 1/(-30.0)
Focal Length (f)
+20.0 cm
Object Distance (u)
-30.0 cm
Image Distance (v)
+60.0 cm
Magnification (m)
-2.00 ×
Focus Blur
0.0 px (Sharp)
Image Type
Real & Inverted

Understanding the Lens Formula

The behavior of light passing through curved optical boundaries is governed by refraction. When dealing with thin glass components (where the thickness of the lens is negligible compared to its radius of curvature), we model image formation using the Thin Lens Formula.

This mathematical expression establishes a rigid coordinate relationship between the position of a physical object, the refracting strength of the glass, and the position where a sharp image is formed.

Cartesian Sign Convention

To use the lens formula correctly, we must apply the Cartesian sign convention strictly. Without it, calculations yield incorrect image positions and types:

Measurement Parameter Direction / Side Sign Value
Object Distance (u) Left side (against incident rays) Negative (−)
Real Image Distance (v) Right side (with incident rays) Positive (+)
Virtual Image Distance (v) Left side (opposite to refracted rays) Negative (−)
Convex Focal Length (f) Converges rays to real point on right Positive (+)
Concave Focal Length (f) Diverges rays from virtual point on left Negative (−)
Upright Image Height (hi) Above principal axis Positive (+)
Inverted Image Height (hi) Below principal axis Negative (−)

Mathematical Formula Boxes

The mathematical rules describing focus position and image sizing:

Thin Lens Formula

1/f = 1/v − 1/u

Magnification Formula

m = hi / ho = v / u

Where:
f is focal length in meters or centimeters
u is distance from optical center to object
v is distance from optical center to image
m is magnification factor (dimensionless)

Image Characteristics

Depending on the object position relative to the focal point, the characteristics change:

Object Position (u) Image Position (v) Magnification Size Image Nature
Convex Lens (f > 0)
Beyond 2F (u < -2f) Between F and 2F (f < v < 2f) Diminished (|m| < 1) Real & Inverted
Exactly at 2F (u = -2f) Exactly at 2F (v = 2f) Same Size (|m| = 1) Real & Inverted
Between F and 2F (-2f < u < -f) Beyond 2F (v > 2f) Magnified (|m| > 1) Real & Inverted
Exactly at F (u = -f) At Infinity (v = ∞) Infinite (|m| = ∞) Highly Blurry
Inside F (-f < u < 0) Behind Object (v < 0) Magnified (m > +1) Virtual & Upright
Concave Lens (f < 0)
Anywhere (u < 0) Inside F on Left (-f < v < 0) Diminished (0 < m < +1) Virtual & Upright

Common Mistakes to Avoid

Students frequently struggle with these calculation and conceptual traps:

  • Forgetting the Minus Sign in Object Distance (u): In standard problems, the real object is always in front (left) of the lens. You must enter it as negative (e.g., u = −30 cm, not 30 cm) in the formula.
  • Algebraic Sign Error: When rewriting 1/f = 1/v − 1/u to solve for 1/v, make sure to add 1/u to both sides: 1/v = 1/f + 1/u. Take care when substituting a negative value for u.
  • Failing to Take the Reciprocal: After computing 1/v = 1/60, do not write "image distance = 1/60 cm". You must invert the fraction to get the final answer: v = 60 cm.
  • Expecting a Real Image from a Concave Lens: Concave lenses diverge light rays. A single concave lens can never create a real image of a real object, regardless of where the object is placed.

Step-by-Step Solved Problems

Apply the thin lens equation to sample problems. Review how sign conventions dictate arithmetic signs.

Example 1 Problem Statement

A candle is placed at a distance of 30 cm from a convex lens of focal length 20 cm. Find the position of the image and the magnification. Describe the nature of the image.

View Step-by-Step Calculation Solution
  1. Identify the given values with sign conventions: Object distance u = -30 cm (negative because it is on the left), Focal length f = +20 cm (positive for a convex lens).
  2. Recall the lens formula: 1/f = 1/v - 1/u.
  3. Substitute the values into the lens formula: 1/20 = 1/v - 1/(-30) ⇒ 1/20 = 1/v + 1/30.
  4. Solve for 1/v: 1/v = 1/20 - 1/30 = (3 - 2) / 60 = 1/60.
  5. Find v by taking the reciprocal: v = +60 cm. The positive sign indicates the image is formed 60 cm to the right of the lens.
  6. Calculate linear magnification: m = v / u = 60 / (-30) = -2.
  7. State the nature: Since v is positive, the image is real. Since m is negative, the image is inverted. The magnitude of m is 2, so the image is magnified (twice the object size).

Final Derived Answer: Image Distance v = +60 cm, Magnification m = -2. The image is real, inverted, and magnified.

Example 2 Problem Statement

A magnifying glass uses a convex lens of focal length 12 cm. If a student wants to see an upright virtual image that is magnified exactly 3 times, where should they place the book page?

View Step-by-Step Calculation Solution
  1. Identify the given values: Focal length f = +12 cm (convex lens). Magnification m = +3 (positive because the image is virtual and upright).
  2. Use the magnification formula for lenses: m = v / u ⇒ +3 = v / uv = 3u.
  3. Recall the lens formula: 1/f = 1/v - 1/u.
  4. Substitute v = 3u and f = 12 into the lens formula: 1/12 = 1/(3u) - 1/u.
  5. Find a common denominator for the right side: 1/12 = 1/(3u) - 3/(3u) = -2 / (3u).
  6. Solve for u: 3u = -24 ⇒ u = -8 cm.
  7. Interpret the result: The negative sign confirms the object is on the left. The book page must be placed 8 cm in front of the lens (which is inside the 12 cm focal length).

Final Derived Answer: Object Distance u = -8 cm. The book page must be placed 8 cm in front of the lens.

Example 3 Problem Statement

A miniature drone is placed 15 cm in front of a concave lens of focal length 10 cm. Determine the position, magnification, and characteristics of the image formed.

View Step-by-Step Calculation Solution
  1. Identify the given values: Object distance u = -15 cm, Focal length f = -10 cm (negative for a concave lens).
  2. Recall the lens formula: 1/f = 1/v - 1/u.
  3. Substitute values: 1/(-10) = 1/v - 1/(-15) ⇒ -1/10 = 1/v + 1/15.
  4. Solve for 1/v: 1/v = -1/10 - 1/15.
  5. Find a common denominator: 1/v = (-3 - 2) / 30 = -5 / 30 = -1/6.
  6. Take the reciprocal to find v: v = -6 cm.
  7. Calculate linear magnification: m = v / u = -6 / (-15) = +0.4.
  8. Determine the image nature: The negative image distance (v = -6 cm) means the image forms on the same side of the lens as the object, so it is virtual. The positive magnification (m = +0.4) confirms the image is upright and diminished (0.4 times the original size).

Final Derived Answer: Image Distance v = -6 cm, Magnification m = +0.4. The image is virtual, upright, and diminished.

Self-Check Questions

Question 1

A toy car is placed 40 cm in front of a convex lens of focal length 20 cm. Find the image distance and magnification.

Show Answer & Explanation

Given: u = -40 cm, f = 20 cm. Using the lens formula: 1/v = 1/f + 1/u = 1/20 + 1/(-40) = (2 - 1)/40 = 1/40. Therefore, the image distance v = +40 cm. The magnification m = v/u = 40/(-40) = -1. The image forms at 40 cm on the opposite side, is real, inverted, and the exact same size as the toy car.

Question 2

Why is the focal length of a concave lens considered negative, while that of a convex lens is positive?

Show Answer & Explanation

Focal length is defined based on where parallel incoming rays converge. In a convex lens, parallel rays refract and converge to a real point on the opposite side of the lens (positive direction). In a concave lens, parallel rays diverge after passing through the lens; they never meet, but their back-extensions converge at a virtual point on the same side as the incident light (negative direction).

Question 3

An object is placed 10 cm in front of a concave lens of focal length 10 cm. Find the image distance and magnification.

Show Answer & Explanation

Given: u = -10 cm, f = -10 cm. Using the lens formula: 1/v = 1/f + 1/u = 1/(-10) + 1/(-10) = -2/10 = -1/5. Thus, v = -5 cm. The magnification m = v/u = -5 / (-10) = +0.5. The image forms 5 cm in front of the lens, is virtual, upright, and half the height of the object.

Question 4

A magnifying glass with a focal length of 10 cm forms a virtual image at the near point of the human eye (25 cm). Calculate the object distance.

Show Answer & Explanation

Given: f = +10 cm, v = -25 cm (virtual image at the near point on the left). Using the lens formula: 1/f = 1/v - 1/u ⇒ 1/10 = -1/25 - 1/u ⇒ 1/u = -1/25 - 1/10 = (-2 - 5)/50 = -7/50. Therefore, u = -50/7 ≈ -7.14 cm. The object must be placed 7.14 cm in front of the magnifying glass.

Question 5

Can a concave lens ever project a real image onto a screen or wall?

Show Answer & Explanation

No. A concave lens diverges light rays. For any real object, the refracted rays never converge to a real point on the exit side of the lens; instead, they spread apart. Since no light rays actually intersect, they can only form a virtual image on the incident side, which cannot be captured on a screen.

Question 6

A camera uses a lens of focal length 5 cm. If it focuses on an object 100 cm away, how far from the lens must the sensor plane be placed?

Show Answer & Explanation

Given: f = +5 cm, u = -100 cm. Using the lens formula: 1/v = 1/f + 1/u = 1/5 + 1/(-100) = (20 - 1)/100 = 19/100. Reciprocal yields: v = 100/19 ≈ 5.26 cm. The camera sensor must be positioned approximately 5.26 cm behind the lens center to capture a sharp image.