There is a lot more than just price of gas at hand:
Express Lane/Toll Road charges
Opportunity cost of Time Involved (post brings up that people commuting far distances i.e.- travelling from outlying areas like lancaster, palmdale, san bernardino, riverside are essentially using an extra 8 hour day/week driving that they don't get paid for
This is time that could be spent with family, friends, exercising, doing your hobby or actually working for pay
I focus on selling city of Los Angeles Real Estate in the area from Hyde Park to Mount Washington, specifically these 11 zip codes: 90043, 90047, 90008, 90062, 90016, 90018, 90019, 90004, 90026, 90027, 90065
While I'm a Realtor and I make my money selling property for a living I can honestly say that in terms of quality of life you may be better off renting in the city than buying in the far outskirts. This blog post does a great job of quantifying the cost of commuting.