He and his colleagues followed 3,425 German students from fifth through ninth grades. At the end of each year, the researchers surveyed the students on math. They asked whether they enjoyed it — or if it angered or worried them. Students also were asked whether they took pride in their math achievements or felt ashamed. The scientists then compared the students’ reported feelings about math to their grades.