The present study explores the relationship between brain signals and the level of concentration in solving mathematical operations by university students. Through the use of Brain-Computer Interface (BCI) technology, brain waves were recorded and analyzed during the execution of mathematical tasks of different levels of difficulty. The results indicate that there is a clear association between fluctuations in brain wave frequencies and focused attention, being more evident in the frontal regions of the brain. Furthermore, an artificial neural network was implemented to predict concentration levels based on the collected brain signals. These findings suggest that concentration plays a critical role in mathematical performance and support the idea that monitoring brain signals can provide valuable information about the cognitive processes involved in intellectually challenging tasks. In educational terms, these results have implications for the design of pedagogical strategies that promote self-regulation and sustained attention in mathematical learning, with the potential to improve academic achievement in this area.