I keep finding these two conflicting forms of the lensmaker's equation. I understand that (n2-n1)/n1 is the same as (n-1) if referring to a lens in air, but I can not make sense of why the reciprical of R2 is subtracted in one and added in the other. The second equation makes more sense to me, since if the radii of curvature were equal in both sides than the top one would evaluate to 0 which isnt true about lenses. So is the top one just wrong?
$\frac{1}{f} = \left( \frac{n_2 - n_1}{n_1} \right) \left( \frac{1}{R_1} - \frac{1}{R_2} \right)$
$\frac{1}{f} = (n - 1) \left( \frac{1}{R_1} + \frac{1}{R_2} \right)$
I did ask generative AI and it hinted at sign conventions for concave or convex interfaces but I didn't fully understand.
Thanks!