It's obvious from the previous comments that some people are unfamiliar with basic terms necessary to understand the problems related. Let me elaborate on some of them:
EROI (EROEI) - energy return on energy investment. It's a ratio that describes how many joules of energy you get per joule invested into the production. The higher, the better. Early oil fields had as much as 100:1. Current conventional oil is (roughly) estimated at 10:1. Nuclear energy is estimated 4:1, oil shales are even worse. Bioethanol is actually about 0.9:1, so it's not an energy source at all (just a form of unfavorable conversion of fossil fuels into ethanol). Depends of course on many factors - these are only examples, the concept itself is important.
Net Energy gain - The amount of energy supply left after subtracting production, transportation, refining and other energy costs (let's keep money out of the equation). It's the only thing that matters - growth in net energy gain most often means cheaper everything and economic growth, and vice versa. Note that when moving to resources with lower EROI (from oil to shales, or coal), you actually have to produce more to sustain the same net energy gain - that's the biggest challenge today, together with production decline of depleted oil fields.
Exergy - crucial term, the energy in a system available for useful work. Unlike energy, which is always constant in a closed system (law of energy conservation), the exergy decreases with any process that involves temperature change. Note that this process is irreversible - if it was reversible, perpetuum mobile would be possible and laws of thermodynamics would not be valid. Example - you have a galon of warm water and galon of cold water. This system has an inherent exergy that can be used to generate mechanical work. However, once the water is mixed and the temperature equals, the exergy of the system will be zero, while the energy will still remain the same. This principle directly implies that energy cannot be "recycled", that the amount of exergy we can extract from Earth resources is finite, and in effect, that perpetual growth both in population and industrial production is a physical impossibility.
http://en.wikipedia.org/wiki/Exergy