maverick280857 said:
Note that I have said nothing about the focal length which depends on the refractive indices of the media on either side of the surface. So I cannot say anything about the focal length of a lens offhand either.
maverick is right that the focal length of a lens depends on the relative indices of refraction of the lens and the surrounding media. (For details, study the Lens-Maker's formula:
http://hyperphysics.phy-astr.gsu.edu/hbase/geoopt/lenmak.html or read Halliday & Resnick.)
But for simple situations--what I assume we are discussing here--where the lens has a higher refractive index than the surrounding media (like a glass lens in air), you can certainly deduce that:
a convex lens converges parallel rays and thus has a positive focal length
a concave lens diverges parallel rays and thus has a negative focal length
The key point to remember is to follow the light. If the lens focuses a beam of parallel light on the side where the light actually goes, then its focal length is positive. (Imagine parallel light coming in from the left, passing through the lens, then continuing to the right. If the focal point is on the right of the lens, then it's a converging lens with positive focal length.)
Same with a mirror, except that the light bounces off a mirror. Again, imagine parallel light coming in from the left, hitting the mirror, then reflecting back to the left. If the focus is on the left (where the light actually goes), then the focal length is positive (it's a
converging mirror).