U and V in Physics: Where They Actually Show Up

Most people encountering the letters U and V in physics do so in two completely different contexts, and neither one is immediately obvious until you've made the same mistake twice. The first is the lens and mirror formula, where U is object distance and V is image distance. The second is thermodynamics, where U is internal energy and V is volume. Both appear constantly, both trip people up, and both have quirks that don't get explained well in introductory courses. The optics version starts with the standard formula, usually written as 1/f = 1/v + 1/u depending on which sign convention your textbook follows. The mirror formula and thin lens formula look identical in form but behave differently because of the signs. With the Cartesian sign convention, distances measured in the direction of incident light are positive, and distances measured against it are negative. So for a concave mirror with a focal length of 20 cm and an object placed 30 cm in front, you plug in u = 30 and f = 20. That gives you 1/v = 1/20 - 1/30, which works out to v = 60 cm. The image is real, inverted, and twice the size of the object. The magnification is m = -v/u = -2. But here's where things get uncomfortable quickly. If you use a convex mirror with the same focal length magnitude, f becomes -20. The object distance stays +30. Now 1/v = -1/20 - 1/30, and v comes out to -12 cm. Negative image distance means the image is virtual and forms behind the mirror. Magnification is positive, around +0.4, so it's upright and reduced. Students routinely miss the sign change on f and get a positive v for a convex mirror, which is physically impossible for a single mirror. I caught this in a lab session once when someone measured a convex mirror and got an image distance of +15 cm using a screen. No screen will ever catch a virtual image. We spent twenty minutes debugging what turned out to be a sign error in their calculation before they admitted they'd used the concave mirror formula by habit.

The thin lens version follows the same pattern but the sign convention works differently. For a converging lens, a real object placed beyond the focal point gives a real, inverted image on the opposite side. Move the object inside the focal length and the image flips to virtual, upright, and on the same side as the object. This is the magnifying glass effect, and it's the one scenario where v is negative in the thin lens formula under the standard convention. That's counter-intuitive if you've only ever seen positive numbers in optics problems. I learned this the hard way during an undergraduate lab when I designed a simple projection system and kept getting blurry images because I assumed the lens formula would work the same way for virtual images. It does, but only if you respect the sign. Plugging a negative v into the magnification formula gave me the right answer on the second attempt. The first attempt assumed magnitude only and gave me a real image that didn't exist.

The Thermodynamics Version

Internal energy U and volume V belong to the first law of thermodynamics: U = Q - W, where W is the work done by the system. For a reversible process with pressure P and volume change dV, the work term becomes the integral of P dV. This is where the U-V relationship actually matters in calculations. On a P-V diagram, the area under the curve is the work. On a U-V diagram, things get messier because internal energy isn't a function of volume alone for real gases. For an ideal gas, U depends only on temperature. So if you're holding temperature constant and changing volume, U is zero. That means Q equals W exactly, and the heat you put into the system equals the work it does expanding. This is the isothermal case, and it's deceptively simple. The problem is that people routinely apply the ideal gas assumption to situations where it fails. I was consulting on a heat exchanger design once where someone used U = 0 for a rapid compression of steam. Steam at those pressures isn't even close to ideal. The actual internal energy change was about thirty percent higher than the ideal calculation predicted, and the temperature rise was noticeably different from what the formula gave. Switching to steam tables fixed it in ten minutes, but the initial model had been running for weeks with the wrong numbers.

Get the Full Details

The Enigmatic World of Physics: Unraveling the Universe’s Mysteries ...
The Enigmatic World of Physics: Unraveling the Universe’s Mysteries ...

Where the Two Versions Intersect

There's one place where U and V from both domains show up together, and it's not a coincidence. In thermodynamics, the Maxwell relations connect partial derivatives involving U, V, temperature T, and entropy S. One of them states that the partial derivative of U with respect to volume at constant temperature equals T times the partial derivative of pressure with respect to temperature at constant volume, minus P. For an ideal gas this simplifies to zero, which is just another way of saying internal energy doesn't care about volume. For real gases, it doesn't, and the difference is measurable. This is useful when you're doing experiments that involve both pressure and volume changes simultaneously. The Joule expansion experiment, for example, measures exactly this: the temperature change when a gas expands into a vacuum at constant internal energy. The result is small for air at room temperature but significant for hydrogen and helium, which behave almost ideally, and much larger for CO2 and refrigerants. If you're working with any of those in a lab setting, assuming U = 0 when volume changes is a quick route to wrong answers.

Practical Pitfalls That Waste Time

The most common mistake in optics is treating u and v as always positive. They aren't. The sign convention is arbitrary but consistent within each textbook, and mixing conventions between problems is the fastest way to get garbage results. I've seen students use one convention for the mirror formula and another for the lens formula in the same assignment and then wonder why their numbers don't match reality. The workaround is simple: write down your convention at the top of the page before you start calculating. Three seconds of notation prevents twenty minutes of debugging. In thermodynamics, the most common mistake is confusing the system convention with the surroundings convention. Some textbooks write the first law as U = Q + W, where W is work done on the system. Others write U = Q - W, where W is work done by the system. Both are correct. Mixing them in a single calculation is how people get negative entropy production and other physically impossible results. I recommend picking one and sticking with it for an entire problem set. Alternating between them mid-calculation is a reliable way to introduce sign errors that are nearly impossible to track down afterward. Another thermodynamics issue that barely gets mentioned is the difference between molar volume and total volume in equations of state. The van der Waals equation uses V_m, the molar volume, not the total volume V. If you substitute total volume into the equation without converting, your pressure prediction will be wrong by roughly the number of moles in your system. I caught this in a graduate seminar when someone plotted a P-V diagram for CO2 and the critical point was off by a factor of about five. The equation was correct. The volume unit was wrong. Converting from liters to liters per mole fixed everything immediately.

When Neither Approach Works

There are scenarios where treating U and V as independent variables breaks down entirely. In phase transitions, both U and V change discontinuously while temperature and pressure remain constant. The lens formula also breaks down near the focal point, where the image distance goes to infinity and the paraxial approximation fails. Spherical aberration becomes significant, and the simple 1/f = 1/v + 1/u relationship no longer predicts where rays actually converge. Real optical systems use aspheric surfaces or compound lenses to correct for this, but the basic formula still appears in every introductory course, which means every student will eventually encounter it in a situation where it's technically inadequate. The same is true for thermodynamics. Near the critical point of a substance, the ideal gas law and the simple U(T) relationship both fail. Density fluctuations become large, and the compressibility factor deviates significantly from unity. Equations of state like Peng-Robinson or Redlich-Kwong are needed, and even those have limited accuracy in the critical region. If you're doing work near a critical point, the standard formulas won't save you. You need experimental data or a more sophisticated model. Neither of these limitations is dramatic for typical homework problems. They're dramatic when you're designing something that needs to work in the real world. That's the distinction that separates a student who memorizes formulas from someone who actually uses them.

The Fascinating World of Physics: Unraveling the Mysteries of the ...
The Fascinating World of Physics: Unraveling the Mysteries of the ...