Analysis of students’ mathematical reasoning