South Bay Area has quite a few prosperous cities (Palo Alto, Mountain View, Los Altos, Cupertino, Saratoga) where the demographics are politically liberal in candidate preference and their public schools are outstanding. Maybe they're not as good as the private schools you're talking about, but the cities in South Bay tend to be brimming with optimism for their young generations.
In one well known city with a strong middle class, one might expect half of the students to be on the fastest math track available and half of the math faculty in the local high school to be Calculus teachers. The surrounding cities are not too much different.
I wonder what makes your city different? Would you mind specifying what region you're talking about?