Ethanol yields 25% more energy than the energy invested in its production, whereas biodiesel yields 93% more. Compared with ethanol, biodiesel releases just 1.0%, 8.3%, and 13% of the agricultural nitrogen, phosphorus, and pesticide pollutants, respectively, per net energy gain. Relative to the fossil fuels they displace, greenhouse gas emissions are reduced 12% by the production and combustion of ethanol and 41% by biodiesel. Biodiesel also releases less air pollutants per net energy gain than ethanol. These advantages of biodiesel over ethanol come from lower agricultural inputs and more efficient conversion of feedstocks to fuel. Neither biofuel can replace much petroleum without impacting food supplies. Even dedicating all U.S. corn and soybean production to biofuels would meet only 12% of gasoline demand and 6% of diesel demand.
In English, soy is better primarily because, as a legume, it is on the soil enriching side of the nitrogen cycle, rather than the soil depleting side. This is important because when we really need biofuels, oil based fertilizers may even more expensive than they are now.
Hat Tip to Science News.