Waves and optics
Thin lens equation - formula in LaTeX
The thin lens equation. For a virtual image y is negative, and for a diverging lens the focal length is negative. The three fractions written with \dfrac share the same height, so the equation looks even inline too.
LaTeX code
$$
\dfrac{1}{f} = \dfrac{1}{x} + \dfrac{1}{y}
$$Got this formula in your notes or on a whiteboard? Snap a photo and CamteX turns it into LaTeX. Try it free
What the symbols mean
- focal length of the lens (m)
- distance from the object to the lens (m)
- distance from the image to the lens (m)
A waves and optics formula - common in interference, refraction and quantum physics problems.
Worked example
An object 15 cm in front of a converging lens with a 10 cm focal length. The image forms 30 cm behind the lens and is twice as large, since the magnification p = y/x = 2. Distances can stay in centimetres as long as they all use the same unit.
LaTeX commands in this formula
\dfrac- fraction (display)
How to use this formula in LaTeX?
- Copy the code with the button above -
$$…$$is centered display math. - Paste it into the CamteX editor, Overleaf or any LaTeX document.
- Inside a sentence, use single
$…$instead of double. - The formula needs the
amsmathpackage - CamteX templates include it in the preamble.
Related formulas - Waves and optics
Drawing formulas is faster than typing them.
Draw a formula, table or chart - CamteX AI turns it into ready LaTeX and inserts it into your document.