The research tries to know the affective aspects present in the learning of mathematics and how they interact with the cognitive processes, identifying the emotions that the subject experiences during the development of an activity, but not only identifying them but also knowing what these emotions originate. It is also essential for the research, to know the beliefs that the student has about mathematics in their school context, since the beliefs belong to the subjective knowledge that the human being has and contain a great emotional charge. The beliefs that were investigated in the subjects who participated in the research, were classified by categories and were the following: beliefs about themselves, beliefs about mathematics in their school context, beliefs about teachers and their interaction in the classroom and the emotional reactions experienced in their school experience and lastly the explanations that the student gives to the success or failure in mathematics.