Motivation, the teacher–student relationship, the use of resources, and the time spent studying, in addition to the family economic and social context, are some of the factors that affect academic performance and directly influence student failure. This paper evaluates the motivation in mathematics students’ performances by analyzing indicators of the mathematics learning dimensions. A total of 2,018 secondary students were evaluated in this cross-sectional study. Motivation, teaching, resources, and study time were analyzed with a validated 20-item questionnaire. Statistical analysis revealed that student motivation appears to be significantly related to perceptions of teaching practices and the use of resources for study. Students with high motivation have positive perceptions of teaching practices. Gender differences were not observed. In addition, the motivation indicator allowed for grouping students into various motivational profiles.