Abstract
This study examined the associations between sedentary behavior (SB) at age 11 and mathematics ability at age 17, and assessed the mediating effect of internalizing and externalizing problems at age 14, using UK Millennium Cohort Study data (N = 3622; 53% male). Self-reported frequency of SB (listening to music, Internet use, reading, and playing games) and parental-reported SB duration (time spent on TV viewing and doing homework) were collected at age 11. Behavioral issues were assessed at age 14 via the Strengths and Difficulties Questionnaire. Mathematics ability was examined at age 17 using the Number Analogies Activity Task. Negative binomial regression and mediation analysis (med4way in Stata) were applied. Among female adolescents, reading, doing homework, and using the Internet were positively associated with mathematics ability. For males, TV viewing was negatively associated with mathematics ability, mediated by internalizing problems. Findings suggest that in children sex-dependent association between SB characteristics and mathematical abilities exists, implying that future initiatives targeting SB may consider leveraging sex-specific interventions.
Data availability
Data are available in a public, open-access repository, https://beta.ukdataservice.ac.uk/datacatalogue/series.
Code availability
Custom-written code is available upon request by contacting the corresponding author, liyezou@whsu.edu.cn (LYZ).
References
Pickavance, J. P. et al. Sensorimotor ability and inhibitory control independently predict attainment in mathematics in children and adolescents. J. Neurophysiol. 127, 1026–1039 (2022).
MacDonald, A. & Carmichael, C. Early mathematical competencies and later achievement: insights from the Longitudinal Study of Australian Children. Math. Ed. Res. J. 30, 429–444 (2018).
Lubinski, D., Benbow, C. P. & Kell, H. J. Life paths and accomplishments of mathematically precocious males and females four decades later. Psychol. Sci. 25, 2217–2232 (2014).
Claessens, A. & Engel, M. How important is where you start? Early mathematics knowledge and later school success. Teach. Coll. Rec. Voice Scholarsh. Educ. 115, 1–29 (2013).
Ten Braak, D., Lenes, R., Purpura, D. J., Schmitt, S. A. & Størksen, I. Why do early mathematics skills predict later mathematics and reading achievement? The role of executive function. J. Exp. Child Psychol. 214, 105306 (2022).
Kuhl, U. et al. Early cortical surface plasticity relates to basic mathematical learning. NeuroImage 204, 116235 (2020).
Hou, M. et al. Human dopaminergic system in the exercise-cognition link. Trends Mol. Med. 30, 708–712 (2024).
Laube, C., Van Den Bos, W. & Fandakova, Y. The relationship between pubertal hormones and brain plasticity: Implications for cognitive training in adolescence. Dev. Cogn. Neurosci. 42, 100753 (2020).
Fandakova, Y. & Hartley, C. A. Mechanisms of learning and plasticity in childhood and adolescence. Dev. Cogn. Neurosci. 42, 100764 (2020).
Zhang, Z. et al. A dual-process framework for understanding how physical activity enhances academic performance through domain-general and domain-specific executive functions. Educ. Psychol. Rev. 37, 68 (2025).
Syväoja, H. J. et al. How physical activity, fitness, and motor skills contribute to math performance: working memory as a mediating factor. Scand. Med Sci. Sports 31, 2310–2321 (2021).
Correa-Burrows, P., Burrows, R., Orellana, Y. & Ivanovic, D. Achievement in mathematics and language is linked to regular physical activity: a population study in Chilean youth. J. Sports Sci. 32, 1631–1638 (2014).
Domazet, S. L. et al. Associations of physical activity, sports participation and active commuting on mathematic performance and inhibitory control in adolescents. PLoS One 11, e0146319 (2016).
Burns, R. D., Li, L. & Brusseau, T. A. The mediating effect of physical activity on the association between cardiorespiratory endurance and mathematics performance. Int. J. Kinesiol. High. Educ. 3, 117–127 (2019).
Chaddock-Heyman, L. et al. The role of aerobic fitness in cortical thickness and mathematics achievement in preadolescent children. PLoS One 10, e0134115 (2015).
Fernández-Méndez, L. M., Contreras, M. J., Mammarella, I. C., Feraco, T. & Meneghetti, C. Mathematical achievement: the role of spatial and motor skills in 6–8 year-old children. PeerJ 8, e10095 (2020).
Zou, L. et al. Sedentary behavior and lifespan brain health. Trends Cogn. Sci. 28, 369–382 (2024).
Lau, T. W. I. et al. Gender differences in externalizing and internalizing problems in Singaporean children and adolescents with attention-deficit/hyperactivity disorder. Child Adolesc. Psychiatry Ment. Health 15, 3 (2021).
Gur, R. C. et al. Sex differences in brain gray and white matter in healthy young adults: correlations with cognitive performance. J. Neurosci. 19, 4065–4072 (1999).
Spiegel, J. A., Goodrich, J. M., Morris, B. M., Osborne, C. M. & Lonigan, C. J. Relations between executive functions and academic outcomes in elementary school children: A meta-analysis. Psychol. Bull. 147, 329–351 (2021).
Li, S., Guo, J., Zheng, K., Shi, M. & Huang, T. Is sedentary behavior associated with executive function in children and adolescents? A systematic review. Front. Public Health 10, 832845 (2022).
Tremblay, M. S. et al. Sedentary behavior research network (SBRN) – Terminology Consensus Project process and outcome. Int. J. Behav. Nutr. Phys. Act. 14, 75 (2017).
Pilcher, J. J., Morris, D. M., Bryant, S. A., Merritt, P. A. & Feigl, H. B. Decreasing sedentary behavior: effects on academic performance, meta-cognition, and sleep. Front. Neurosci. 11, 219 (2017).
Van Oeckel, V. et al. Associations of habitual sedentary time with executive functioning and short-term memory in 7th and 8th grade adolescents. BMC Public Health 24, 495 (2024).
Zhang, Z. et al. A neurobiological taxonomy of sedentary behavior for brain health. Trends Neurosci. 48, 853–864 (2025).
Wilhite, K. et al. Combinations of physical activity, sedentary behavior, and sleep duration and their associations with physical, psychological, and educational outcomes in children and adolescents: a systematic review. Am. J. Epidemiol. 192, 665–679 (2023).
Hunter, S., Leatherdale, S. T. & Carson, V. The 3-year longitudinal impact of sedentary behavior on the academic achievement of secondary school students. J. Sch. Health 88, 660–668 (2018).
Maher, C. et al. The associations between physical activity, sedentary behaviour and academic performance. J. Sci. Med. Sport 19, 1004–1009 (2016).
Cragg, L. & Gilmore, C. Skills underlying mathematics: the role of executive function in the development of mathematics proficiency. Trends Neurosci. Educ. 3, 63–68 (2014).
Schäfer, J., Reuter, T., Leuchter, M. & Karbach, J. Executive functions and problem-solving—The contribution of inhibition, working memory, and cognitive flexibility to science problem-solving performance in elementary school students. J. Exp. Child Psychol. 244, 105962 (2024).
Zou, L. et al. The synergy of embodied cognition and cognitive load theory for optimized learning. Nat. Hum. Behav. 9, 877–885 (2025).
Hallgren, M., Dunstan, D. W. & Owen, N. Passive versus mentally active sedentary behaviors and depression. Exerc. Sport Sci. Rev. 48, 20–27 (2020).
Hallgren, M. et al. Associations of interruptions to leisure-time sedentary behaviour with symptoms of depression and anxiety. Transl. Psychiatry 10, 128 (2020).
Esteban-Cornejo, I. et al. Objectively measured and self-reported leisure-time sedentary behavior and academic performance in youth: The UP&DOWN Study. Prevent. Med. 77, 106–111 (2015).
Haapala, E. A. et al. Associations of physical activity and sedentary behavior with academic skills – a follow-up study among primary school children. PLoS One 9, e107031 (2014).
Cristi-Montero, C. et al. Mentally active but not inactive sedentary behaviors are positively related to adolescents’ cognitive-academic achievements, a cross-sectional study — The Cogni-Action Project. Ment. Health Phys. Act. 25, 100561 (2023).
Wu, X., Bastian, K., Ohinmaa, A. & Veugelers, P. Influence of physical activity, sedentary behavior, and diet quality in childhood on the incidence of internalizing and externalizing disorders during adolescence: a population-based cohort study. Ann. Epidemiol. 28, 86–94 (2018).
Hitcham, L., Jackson, H. & James, R. J. E. The relationship between smartphone use and smartphone addiction: an examination of logged and self-reported behavior in a pre-registered, two-wave sample. Comput. Hum. Behav. 146, 107822 (2023).
Wu, S. S., Willcutt, E. G., Escovar, E. & Menon, V. Mathematics achievement and anxiety and their relation to internalizing and externalizing behaviors. J. Learn Disabil. 47, 503–514 (2014).
Husky, M. M. et al. Self-reported mental health problems and performance in mathematics and reading in children across Europe. Eur. J. Dev. Psychol. 17, 704–726 (2020).
Achenbach, T. M., Ivanova, M. Y., Rescorla, L. A., Turner, L. V. & Althoff, R. R. Internalizing/externalizing problems: review and recommendations for clinical and research applications. J. Am. Acad. Child Adolesc. Psychiatry 55, 647–656 (2016).
Stack, K. F. & Dever, B. V. Using internalizing symptoms to predict math achievement among low-income urban elementary students. Contemp. Sch. Psychol. 24, 89–101 (2020).
Papachristou, E. & Flouri, E. Distinct developmental trajectories of internalising and externalising symptoms in childhood: Links with mental health and risky behaviours in early adolescence. J. Affect. Disord. 276, 1052–1060 (2020).
Paulich, K. N., Ross, J. M., Lessem, J. M. & Hewitt, J. K. Screen time and early adolescent mental health, academic, and social outcomes in 9- and 10- year old children: utilizing the Adolescent Brain Cognitive Development SM (ABCD) Study. PLoS One 16, e0256591 (2021).
Sampasa-Kanyinga, H. et al. Combinations of physical activity, sedentary time, and sleep duration and their associations with depressive symptoms and other mental health problems in children and adolescents: a systematic review. Int. J. Behav. Nutr. Phys. Act. 17, 72 (2020).
Suchert, V., Hanewinkel, R. & Isensee, B. Sedentary behavior and indicators of mental health in school-aged children and adolescents: a systematic review. Prevent. Med. 76, 48–57 (2015).
Asfour, L., Koussa, M., Perrino, T., Stoutenberg, M. & Prado, G. The association of organized and unorganized physical activity and sedentary behavior with internalizing and externalizing symptoms in Hispanic adolescents. Child Adoles Ment. Health 21, 109–114 (2016).
Huang, Y. et al. Sedentary behaviors and risk of depression: a meta-analysis of prospective studies. Transl. Psychiatry 10, 26 (2020).
Rasberry, C. N. et al. The association between school-based physical activity, including physical education, and academic performance: A systematic review of the literature. Prevent. Med. 52, S10–S20 (2011).
Álvarez-Bueno, C. et al. Academic achievement and physical activity: a meta-analysis. Pediatrics 140, e20171498 (2017).
Hinkley, T. et al. Early childhood physical activity, sedentary behaviors and psychosocial well-being: a systematic review. Prevent. Med. 62, 182–192 (2014).
Teychenne, M., Ball, K. & Salmon, J. Sedentary behavior and depression among adults: a review. Int. J. Behav. Med 17, 246–254 (2010).
Carson, V. et al. Physical activity and sedentary behavior across three time-points and associations with social skills in early childhood. BMC Public Health 19, 27 (2019).
Smith, L. & Hamer, M. Sedentary behaviour and psychosocial health across the life course. in Sedentary Behaviour Epidemiology (eds. Leitzmann, M. F., Jochem, C. & Schmid, D.) 311–318 (Springer International Publishing, Cham, 2018). https://doi.org/10.1007/978-3-319-61552-3_12.
Aggio, D., Smith, L., Fisher, A. & Hamer, M. Context-specific associations of physical activity and sedentary behavior with cognition in children. Am. J. Epidemiol. 183, 1075–1082 (2016).
Dunning, D. L. et al. Research review: the effects of mindfulness-based interventions on cognition and mental health in children and adolescents – a meta-analysis of randomized controlled trials. Child Psychol. Psychiatry 60, 244–258 (2019).
Werneck, A. O., Hoare, E., Stubbs, B., Van Sluijs, E. M. F. & Corder, K. Association of mentally-active and mentally-passive sedentary behaviour with depressive symptoms among adolescents. J. Affect. Disord. 294, 143–150 (2021).
Hamer, M., Stamatakis, E. & Mishra, G. D. Television- and screen-based activity and mental well-being in adults. Am. J. Prevent. Med. 38, 375–380 (2010).
Scagnelli, M., Della Beffa, F. & Santulli, F. Reading and comprehension in adulthood: a training programme. J. Cogn. Enhanc. 5, 25–34 (2021).
Shahriza Abdul Karim, N. & Hasan, A. Reading habits and attitude in the digital age: analysis of gender and academic program differences in Malaysia. Electron. Libr. 25, 285–298 (2007).
Liu, Z. & Huang, X. Gender differences in the online reading environment. J. Document. 64, 616–626 (2008).
Jabbar, A. & Warraich, N. F. Gender differences in leisure reading habits: a systematic review of literature. GKMC 72, 572–592 (2023).
McBreen, M. & Savage, R. The impact of motivational reading instruction on the reading achievement and motivation of students: a systematic review and meta-analysis. Educ. Psychol. Rev. 33, 1125–1163 (2021).
Paige, D., Rupley, W. H. & Ziglari, L. Critical thinking in reading comprehension: fine tuning the simple view of reading. Educ. Sci. 14, 225 (2024).
Houdé, O. Inhibition and cognitive development: object, number, categorization, and reasoning. Cogn. Dev. 15, 63–73 (2000).
Houdé, O. & Borst, G. Measuring inhibitory control in children and adults: brain imaging and mental chronometry. Front. Psychol. 5, 1–7 (2014).
Jiang, R., Li, X., Xu, P. & Mao, T. Why students are biased by heuristics: Examining the role of inhibitory control, conflict detection, and working memory in the case of overusing proportionality. Cogn. Dev. 53, 100850 (2020).
Jiang, R., Li, X., Xu, P. & Chen, Y. Inhibiting intuitive rules in a geometry comparison task: do age level and math achievement matter?. J. Exp. Child Psychol. 186, 1–16 (2019).
Li, X., Xu, P., Jiang, R. & Chen, S. The role of inhibition in overcoming arithmetic natural number bias in the Chinese context: evidence from behavioral and ERP experiments. Learn. Instr. 86, 101752 (2023).
Kandola, A., Owen, N., Dunstan, D. W. & Hallgren, M. Prospective relationships of adolescents’ screen-based sedentary behaviour with depressive symptoms: the Millennium Cohort Study. Psychol. Med. 52, 3531–3539 (2022).
Stiglic, N. & Viner, R. M. Effects of screentime on the health and well-being of children and adolescents: a systematic review of reviews. BMJ Open 9, e023191 (2019).
Compernolle, S., De Bourdeaudhuij, I., Cardon, G. & Van Dyck, D. Sex-specific typologies of older adults’ sedentary behaviors and their associations with health-related and socio-demographic factors: a latent profile analysis. BMC Geriatr. 21, 66 (2021).
Vieira, A. P. A. et al. Internalizing problems in individuals with reading, mathematics and unspecified learning difficulties: a systematic review and meta-analysis. Ann. Dyslexia 74, 4–26 (2024).
Lenhart, C. M., Wiemken, A., Hanlon, A., Perkett, M. & Patterson, F. Perceived neighborhood safety related to physical activity but not recreational screen-based sedentary behavior in adolescents. BMC Public Health 17, 722 (2017).
Domina, T. et al. Beyond tracking and detracking: the dimensions of organizational differentiation in schools. Socio. Educ. 92, 293–322 (2019).
Hill, H. C. et al. Mathematical knowledge for teaching and the mathematical quality of instruction: an exploratory study. Cogn. Instr. 26, 430–511 (2008).
Mano, Q. R., Jastrowski Mano, K. E., Denton, C. A., Epstein, J. N. & Tamm, L. Gender moderates association between emotional-behavioral problems and text comprehension in children with both reading difficulties and ADHD: emotional-behavioral problems and reading. Psychol. Schs. 54, 504–518 (2017).
Goubet, K. E. & Chrysikou, E. G. Emotion regulation flexibility: gender differences in context sensitivity and repertoire. Front. Psychol. 10, 935 (2019).
Zhang, W., Qiu, L., Tang, F. & Sun, H.-J. Gender differences in cognitive and affective interpersonal emotion regulation in couples: an fNIRS hyperscanning. Soc. Cogn. Affect. Neurosci. 18, nsad057 (2023).
Zink, J., Belcher, B. R., Imm, K. & Leventhal, A. M. The relationship between screen-based sedentary behaviors and symptoms of depression and anxiety in youth: a systematic review of moderating variables. BMC Public Health 20, 472 (2020).
Forte, C. et al. Differential associations of total and context-specific sedentary time with depressive symptoms among adolescents: results from Ireland’s CSPPA study. Int. J. Behav. Med. 30, 682–692 (2023).
Papachristou, E. & Flouri, E. The codevelopment of internalizing symptoms, externalizing symptoms, and cognitive ability across childhood and adolescence. Dev. Psychopathol. 32, 1375–1389 (2020).
Oh, Y. et al. Examining longitudinal associations between externalizing and internalizing behavior problems at within- and between-child levels. J. Abnorm. Child Psychol. 48, 467–480 (2020).
Prince, S. A. et al. A comparison of self-reported and device measured sedentary behaviour in adults: a systematic review and meta-analysis. Int. J. Behav. Nutr. Phys. Act. 17, 31 (2020).
Nigg, C. R. et al. Assessing physical activity through questionnaires – A consensus of best practices and future directions. Psychol. Sport Exerc. 50, 101715 (2020).
Connelly, R. & Platt, L. Cohort profile: UK millennium cohort study (MCS). Int. J. Epidemiol. 43, 1719–1725 (2014).
Goodman, R., Ford, T., Simmons, H., Gatward, R. & Meltzer, H. Using the strengths and difficulties questionnaire (SDQ) to screen for child psychiatric disorders in a community sample. Br. J. Psychiatry 177, 534–539 (2000).
Flouri, E. et al. Developmental cascades of internalising symptoms, externalising problems and cognitive ability from early childhood to middle adolescence. Eur. psychiatr. 57, 61–69 (2019).
Smith, N. R., Kelly, Y. J. & Nazroo, J. Y. Ethnic differences in cognitive development in the first 7 years: does maternal generational status matter? J. Epidemiol. Commun. Health 70, 506–512 (2016).
Thivel, D. et al. Physical activity, inactivity, and sedentary behaviors: definitions and implications in occupational health. Front Public Health 6, 288 (2018).
Robbins, T. W. et al. Cambridge neuropsychological test automated battery (CANTAB): a factor analytic study of a large sample of normal elderly volunteers. Dement Geriatr. Cogn. Disord. 5, 266–281 (1994).
Kessler, R. C., Andrews, G., Mroczek, D., Ustun, B. & Wittchen, H. The World Health Organization Composite International Diagnostic Interview short-form (CIDI-SF). Int J. Methods Psych. Res 7, 171–185 (1998).
VanderWeele, T. J. A unification of mediation and interaction: a 4-way decomposition. Epidemiology 25, 749–761 (2014).
Discacciati, A., Bellavia, A., Lee, J. J., Mazumdar, M. & Valeri, L. Med4way: a Stata command to investigate mediating and interactive mechanisms using the four-way effect decomposition. Int. J. Epidemiol. 48, 15–20 (2019).
Acknowledgements
We would like to thank all the participating families from the Millennium Cohort Study for their effort and time, and the Center for Longitudinal Studies (CLS), UCL Social Research Institute, for the use of these data, and to the UK Data Service for making them available. Funding: not applicable.
Author information
Authors and Affiliations
Contributions
KQG: Conceptualization; Methodology; Formal analysis; Data curation; Writing – original draft; Visualization; Writing – review & editing. ZHZ: Data curation; Validation; Writing – original draft; Writing – review & editing. ZJL: Methodology; Writing – review & editing. DMP: Writing – review & editing; Supervision. CHH: Writing – review & editing; Supervision. QY: Data curation; Investigation; Writing – review & editing. AFK: Writing – review & editing; Supervision. JK: Writing – review & editing; Project administration. KIE: Writing – review & editing; Supervision. FH: Writing – review & editing; Validation. MH: Writing – review & editing; Validation. MH: Writing – review & editing; Validation. RHJ: Data curation; Writing – review & editing. AOW: Conceptualization; Methodology; Data curation; Writing – review & editing. XX: Supervision; Writing – review & editing. LYZ: Conceptualization; Methodology; Supervision; Writing – review & editing.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
About this article
Cite this article
Guan, K., Zhang, Z., Liu, Z. et al. Longitudinal associations between sedentary behavior types and mathematics ability mediated by externalizing and internalizing problems. npj Sci. Learn. (2026). https://doi.org/10.1038/s41539-026-00424-8
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41539-026-00424-8