Sub topic 11
A Consistent Sign Convention
Why signs matter
This chapter assumes basic algebra with reciprocals, simple trigonometry, and the idea that light travels in straight lines in a uniform medium. A sign convention is a fixed rule for assigning positive and negative values to distances and focal lengths. It prevents the same equation from needing separate versions for real and virtual images.
Use the real-is-positive convention:
- The object distance \(d_o\) is positive for a real object.
- The image distance \(d_i\) is positive for a real image.
- The focal length \(f\) is positive for a converging lens or a concave mirror.
- The focal length \(f\) is negative for a diverging lens or a convex mirror.
With this convention, both mirrors and thin lenses use the same equation:
\[ \frac{1}{f}=\frac{1}{do}+\frac{1}{di} \]
A negative \(d_i\) means that the image is virtual. A virtual image is formed where light rays only appear to come from when traced backward. A negative \(f\) identifies an optical element that spreads parallel rays instead of bringing them together.
| Quantity | Positive value | Negative value |
|---|---|---|
| \(d_o\) | Real object | Usually not used for ordinary objects |
| \(d_i\) | Real image | Virtual image |
| \(f\) | Converging element | Diverging element |
Worked example
A converging lens has \(f=10\text{ cm}\). An object is \(30\text{ cm}\) from the lens. Find the image distance.
Substitute the signed values:
\[ \frac{1}{10}=\frac{1}{30}+\frac{1}{d_i} \]
Therefore,
\[ \frac{1}{d_i}=\frac{1}{10}-\frac{1}{30}=\frac{1}{15} \]
So \(d_i=15\text{ cm}\). The positive result means the image is real.
The lateral magnification is
\[ m=-\frac{di}{do} \]
Thus,
\[ m=-\frac{15}{30}=-0.5 \]
The negative sign means the image is inverted. Its magnitude, \(0.5\), means it is half as tall as the object.
def image(f, d_o):
if d_o == f:
return None
d_i = 1 / (1 / f - 1 / d_o)
m = -d_i / d_o
return d_i, m
print(image(10, 30)) # (15.0, -0.5)Common errors
Do not change the equation when an image is virtual. Keep the equation and use the negative value that the calculation produces. Also distinguish the sign of magnification from its size:
- \(m>0\): upright image.
- \(m<0\): inverted image.
- \(|m|>1\): enlarged image.
- \(|m|<1\): reduced image.
Exercise
A diverging lens has \(f=-20\text{ cm}\) and \(d_o=60\text{ cm}\). Is the image real or virtual?
Show answer
Using the thin-lens equation gives \(d_i=-15\text{ cm}\). The negative image distance means the image is virtual.