James Tao, a senior at the Illinois Mathematics and Science Academy in Aurora, won a gold medal competing for Team USA at the International Mathematics Olympiad this summer.