Gas with the higher octane ratings is normally used for higher compression
ratio engines. The higher the octane the less flammable the gas is, it takes
more pressure and heat to ignite it therefore it yields more energy when it
burns. If you are having knocking in the engine going up to 89 or 91 may help.
I can't say that using different grades for city and highway makes a difference,
I also can't say that it doesn't. If you read the manuals for high performance
cars, (corvette, rx8, 350z, wrx, etc.) they require the 91 octane
because their compression ratio is much higher than the average passenger car. The
compression ratio is the pressure of the gas and air mixture before the cylinder
moves up on the compression stroke compared to the pressure of mixture
when the cylinder is at the top of the stroke just before ignitinon. If the fuel
ignites too late or too early you get an inefficient burn and wasted fuel
is exhausted out of the engine.
My father-in-law's truck was running rough and his exhaust contained
blue smoke. He asked the mechanic what the issue might be, he was using
the 91 octane gas and after he switched back to 87 his truck ran fine.
His engine is a 350ci small block Chevy with an 8.1:1 compression ratio,
this is on the low end. High performance cars have up to 11.0:1 ratios.
Go to
www.howstuffworks.com and search their site on ocatane. They have a
good explanation on the chain of carbon molecules in gas and how it relates to
octane and chemical energy.