Introduction

Learning engagement has received significant attention in recent years due to its impact on a student’s academic achievement and overall success in school1. High levels of engagement are associated with active participation in classroom discussions, strong interest and motivation to learn, and exceptional academic achievements2. Conversely, low levels of engagement are linked to reduced academic expectations, increased likelihood of experiencing negative emotions such as anxiety and boredom, disruptive behaviors, and even school dropout3. Therefore, enhancing students’ learning engagement is a critical issue that demands attention in current education reform.

Learning engagement can be defined as the extent to which students actively participate in activities related to learning, encompassing behavioral, emotional, and cognitive engagement4,5. Behavioral engagement refers to students’ active involvement in learning activities, displaying high levels of focus, involvement, and adherence to school rules4. Emotional engagement refers to students’ positive emotional responses to learning, whereas cognitive engagement refers to a self-regulated approach to learning, involving the use of metacognitive strategies to monitor and regulate one’s own learning process6.

Teacher support has been consistently identified as a significant facilitator of students’ learning engagement, supported by a substantial body of research7,8,9. Teacher support refers to the attitudes and behaviors exhibited by teachers towards students’ academic lives, encompassing two dimensions: emotional support and academic support10. Academic support covers students’ perceptions of their teachers’ commitment to their learning and their readiness to offer tangible assistance when needed, while emotional support involves teachers’ care, trust, encouragement, respect, and equality towards their students11. The two concepts, academic support and emotional support, are closely interrelated and can be considered as a unified measure12. Teacher support plays a crucial role in fostering positive teacher-student relationships, which are fundamental for students to develop their social interactions and academic capacities within the classroom context13. This, in turn, motivates students to actively participate in classroom activities and promotes their concentration on academic tasks, ultimately enhancing students’ engagement14.

Academic self-efficacy, psychological resilience, and positive academic emotion are three psychological constructs extensively studied in connection with learning engagement15,16,17,18,19,20. They have been found to exhibit a positive correlation with learning engagement. For example, Shao and Kang suggested that students with a high level of academic self-efficacy possess a strong belief in their ability to do well in learning, which motivates them to establish ambitious goals, persist in the face of challenges, and invest effort in their academic pursuits, ultimately leading to the increased levels of engagement in the learning process21. Romano et al. proposed that psychological resilience positively influences learning engagement, as individuals with higher levels of psychological resilience are better equipped to adapt to challenges and difficulties encountered during the learning process, leading to increased engagement and improved learning outcomes22. Sadoughi and Hejazi indicated that positive academic emotions have a positive impact on students’ learning engagement by enhance students’ interest, attention, and focus on the learning tasks, resulting in increased effort, persistence, and active involvement in the learning process8. The findings underscore the significance of incorporating academic self-efficacy, psychological resilience, and positive academic emotion into the understanding of learning engagement.

Despite scholars recognizing the influence of these factors on learning engagement, there exists a research gap regarding the specific mechanisms through which teacher support is connected to learning engagement through the mediating roles of academic self-efficacy and psychological resilience, along with the moderating role of positive academic emotion. To address this research gap, this study aims to investigate the interactive effects of teacher support, academic self-efficacy, psychological resilience, positive academic emotion on learning engagement, thereby providing a holistic understanding of the relationship between these factors. Furthermore, this study endeavors to explore the chain mediating roles of academic self-efficacy and psychological resilience, as well as the moderating role of positive academic emotion, in the association between teacher support and learning engagement among secondary school students. This study is significant as it addresses a gap in the existing literature and provides insights and guidance for educators and policymakers seeking to enhance students’ learning engagement.

The Self-determination Theory (SDT) and Emotion Regulation Theory (ERT) provide a conceptual framework guiding the construction of a moderated mediating model in this study. SDT, proposed by American psychologists Deci and Ryan, elucidates the motivational processes underpinning self-determined behaviors in humans23. According to SDT, human behaviors are motivated by the satisfaction of psychological needs, including autonomy, competence, and relatedness, which are influenced by social partners such as parents, teachers, and peers23. Empirical evidence suggests that teacher support can enhance students’ sense of choice and control over their learning by providing opportunities for students to align their inner resources with their classroom activity24, contributing to the satisfaction of autonomy needs. Additionally, support from teachers, such as clarifying learning objectives and promoting deep learning25, can facilitate students’ achievement of competence needs. Furthermore, teacher support can foster a sense of belonging and meaningful connection among students26, promoting the fulfillment of relatedness needs. Within the SDT framework, teacher support plays a crucial role in promoting students’ psychological needs for autonomy, competence, and relatedness, thereby enhancing their engagement in the learning process27. When students’ psychological needs are met through teacher support, their motivation and autonomous learning are enhanced, thereby improving their academic self-efficacy and psychological resilience28. This, in turn, influences their learning engagement, making students more likely to engage in learning activities21. Furthermore, ERT, proposed by Gross, elucidates the moderating role of positive academic emotions. The theory emphasizes how emotions impact individual psychology and behavior29, as well as how individuals manage and modulate their emotional experiences through various strategies30. Within this theoretical framework, positive academic emotions act as a crucial emotional regulatory resource, fostering a positive evaluation of one’s abilities, enhancing academic self-efficacy, and aiding individuals in coping with challenges and difficulties31, thereby improving psychological resilience. Specifically, when students experience positive academic emotions, they are more likely to hold positive beliefs about their academic capabilities, which in turn strengthens their psychological resilience and equips them to better handle academic challenges. Thus, positive academic emotions are posited to moderate the relationship between academic self-efficacy and psychological resilience. By employing emotion regulation strategies, students can more effectively manage their emotional responses, which may lead to enhanced academic engagement. The theoretical model is presented in Fig. 1.

Fig. 1
figure 1

The proposed theoretical model.

Teacher support and learning engagement

Teacher support positively influences on students’ engagement in learning7. Hagenauer et al. suggested that students are more likely to proactively involve themselves in learning activities when they receive support from their teachers32. Wong et al. demonstrated that teacher support enhances students’ interest, pleasure, investment in the learning process33. Emotional support from teachers has been shown to foster positive interest and motivation, leading to increased effort and dedication to studies11. Similarly, academic support from teachers influences students’ engagement by helping them clarify learning objectives, adjust their learning plans, and promote deep learning25. These findings highlight the crucial role of teacher support in fostering students’ learning engagement. Based on this, the following hypothesis is proposed:

H1: Teacher support is positively correlated with secondary school students’ learning engagement.

The mediating role of academic self-efficacy

Bandura defines self-efficacy as an individual’s judgement of their overall ability to achieve a goal when initiating an educational program34. In the academic context, self-efficacy is often referred to as academic self-efficacy35.

Teacher support significantly impacts students’ academic self-efficacy14. Greater perceived support from teachers is associated with improved attitudes towards learning and stronger belief students’ abilities11. Emotional support from teachers has been linked to a greater sense of academic self-efficacy by reducing psychological stress and boosting students’ confidence in overcoming difficulties36. Additionally, students who receive more academic support from teachers tend to achieve higher grades, leading to a higher sense of academic self-efficacy37. In conclusion, teacher support is positively correlated with secondary school students’ academic self-efficacy.

Academic self-efficacy has a significant impact on students’ engagement in learning19. Research has indicated that students with higher academic self-efficacy are more engaged in the classroom, while those with lower academic self-efficacy tend to participate less and show more indifference in the classroom20. This phenomenon can be attributed to the fact that higher academic self-efficacy fosters confidence, persistence, and positive attitudes, enhancing students’ engagement, while lower academic self-efficacy can lead to reduced motivation and participation in classroom activities. Additionally, Syed Sahil and Awang Hashim found that teacher support is significantly related to learning engagement through academic self-efficacy among 450 adolescents from 11 secondary schools in Malaysia38. Although this study was conducted over a decade ago with Malaysian secondary school students, and may not be directly applicable to the current population of Chinese participants, it still offers some valuable insights. These findings collectively suggest that teacher support may influence students’ engagement in learning through the mediation effect of academic self-efficacy. Therefore, the following hypothesis is formulated:

The mediating role of psychological resilience

Psychological resilience refers to an individual’s ability to respond and adapt positively to major setbacks, adversity, threats, and other challenges39. Teacher support has been found to play a significant role in shaping psychological resilience40. Liao et al. argue that teachers’ emotionally supportive behaviors, such as caring and encouragement, can help students cope with frustrations positively and increase their psychological resilience41. Similarly, Permatasari et al. emphasize that students who perceive more teacher support tend to become more psychologically resilient42. Therefore, existing evidence suggests that teacher support can strengthen students’ psychological resilience.

Psychological resilience has been found to influence students’ learning engagement17. Romano et al. propose that psychological resilience is a positive predictive factor for learning engagement22. Furthermore, Furrer et al. qualitatively explored this relationship among 11-14-year-olds, revealing that increased teacher support is linked to heightened psychological resilience, subsequently enhancing learning engagement15. Building on this qualitative research, the current study hypothesizes not only a significant positive correlation between psychological resilience and learning engagement, but also that psychological resilience may mediate the relationship between teacher support and learning engagement among secondary school students in a quantitative research setting.

Academic self-efficacy can help students regain self-confidence and adapt positively to adversity, further fostering their psychological resilience. It is believed that academic self-efficacy contributes to psychological resilience and learning engagement43. Specifically, students with a strong sense of self-efficacy are better able to accomplish learning tasks and achieve their desired goals through their resilient qualities. Grounded on the above empirical studies, it is believed that teacher support may be positively associated with secondary school students’ learning engagement via academic self-efficacy and psychological resilience. Accordingly, the hypotheses are developed as follows:

The moderating role of positive academic emotion

Academic emotion encompasses the full range of emotional responses that students experience in connection with their academic endeavors, including feelings such as enjoyment, relief, anxiety, and depression44. Academic emotion is typically categorized into four dimensions: positive high arousal, positive low arousal, negative high arousal, negative low arousal45. Positive academic emotion specifically refers to the favorable emotional experiences that students may encounter within the academic context46. In this survey, we have specifically chosen the subscales related to positive dimensions to assess students’ positive academic emotions in line with the research requirements.

According to the Emotion Regulation Theory, individuals with high positive academic emotions tend to employ positive emotion regulation strategies to cope with learning tasks, leading to higher confidence in learning and higher academic self-efficacy47, which in turn fosters stronger psychological resilience43. Conversely, individuals with low positive academic emotions tend to use negative emotion regulation strategies, resulting in decreased confidence and lower psychological resilience48. Zuo et al. found a significant association between positive academic emotions and academic self-efficacy, indicating that individuals with high positive academic emotions are more likely to maintain an optimistic attitude and actively cope with challenges, leading to higher academic self-efficacy49. Additionally, individuals with high positive academic emotions exhibit greater resilience in facing learning difficulties and completing tasks50,51. Therefore, this study proposes the following hypothesis:

H5: Positive academic emotion moderates the association between academic self-efficacy and psychological resilience in such a way that the association will be stronger when positive academic emotion is higher.

Materials and methods

Sampling and procedure

This study adhered to the ethical principles outlined in the Declaration of Helsinki and was granted approval by the Ethics Committee at Weifang Engineering Vocational College (approval no: 2024-0086). A stratified random sampling method was employed to select a diverse sample of 750 students, aged 13 to 15 years, from four public secondary schools in Eastern China for participation in a survey conducted in April 2024. The selected schools varied in terms of student demographics, academic performance, and socio-economic backgrounds, ensuring a representative cross-section of the regional student population. Before the survey, the informed consent was obtained from the principals, the students, and their parents respectively. During the survey, the protection of personal privacy was ensured, and the questionnaires were distributed and explained to the participants. After the questionnaires were completed anonymously and collected on the spot. The data from the questionnaires were then sorted and analyzed. Ultimately, 665 valid samples with a response rate of 88.67% were obtained for analysis.

Research instruments

Teacher support scale

Teacher support was measured by the Teacher Support Scale developed by Johnson et al.52, adapted by Patrick et al.10. This scale consists of 8 items, categorized into two dimensions: emotional support (e.g., “My teacher really understands how I feel about things.”) and academic support (e.g., “My teacher wants me to do my best in school.”). Responses were recorded using a 5-point Likert scale, with scores ranging from 1(almost never) to 5(often), where higher average scores indicate greater levels of teacher support. The reliability and validity of this scale have been confirmed in Liu ’s empirical research conducted among 869 basic education students in China14.

Academic self-efficacy scale

Academic self-efficacy was assessed using the efficacy subscale of the Maslach Burnout Inventory-Student Survey (MBI-SS)53. This unidimensional scale comprises 6 items (e.g., “I feel stimulated when I achieve my study goals.”). Participants rated all items on a 7-point Likert scale ranging from 0 (never) to 6 (always), with higher average scores indicating higher levels of academic self-efficacy. The reliability and validity of this scale have been confirmed in Liu et al.’s empirical research on 1487 Chinese students aged 11 to 17 years54.

Psychological resilience scale

Psychological resilience was evaluated using the 10-item Connor-Davidson Resilience Scale, developed by Campbell-Sills55 based on the scale created by Connor and Davidson56. This scale comprises 10 items with a unidimensional structure (e.g., “I can achieve goals despite obstacles.”). Participants rated each item on a five-point scale ranging from 0 (not true at all) to 4 (true nearly all the time). Average scores are computed, with higher scores indicating greater psychological resilience. The scale has exhibited robust reliability and validity among adolescents, as evidenced by She et al.’s empirical study involving 24,499 secondary school students in Hong Kong, China57.

Positive academic emotion scale

Positive academic emotions were assessed using the positive emotion subscale of the Academic Emotion Scale, a Chinese version developed by Dong and Yu44. Originally, the positive emotion scale included two subscales: positive-high arousal emotions (e.g. pride, enjoyment, hope), positive-low arousal emotions (e.g. contentment, calmness, relief). For the purpose of this study, we selected enjoyment and relief to assess students’ positive academic emotions. Enjoyment was measured by seven items (e.g. “I feel happy that I can get al.l the questions right.”), and relief was measured by five items (e.g. “I can easily complete the learning tasks.”). Responses were rated on a 5-point scale ranging from 1 (completely disagree) to 5 (completely agree), with higher average scores indicating greater levels of positive academic emotions. The reliability and validity of the 12-item scale selected for this study were confirmed in Liu’s empirical research conducted among 869 basic education students in China14.

Learning engagement scale

Learning engagement was measured using the Learning Engagement Scale revised by Skinner et al.58. This scale consists of 10 items, with 5 items assessing behavioral engagement (e.g., “When I’m in class, I listen very carefully”) and 5 items assessing emotional engagement (e.g., “I enjoy learning new things in class.”). Responses were rated on a 5-point scale, with 1 indicating “completely disagree” and 5 indicating “completely agree”, where higher average scores indicate greater levels of learning engagement. The scale has demonstrated good reliability and validity in Wu and Sun’s research on 4226 students, including primary school students, middle school students, and college students59.

Statistical analysis

Data were analyzed using SPSS 24.0, AMOS 24.0, and PROCESS 3.5. First, the Harman single-factor test was conducted to assess common method bias. Second, descriptive analysis was performed to examine sample characteristics. Third, structural equation modeling (SEM) analysis was carried out to investigate the model, including the confirmatory factor analysis (CFA) to evaluate the validity and reliability of the measurement model, and the goodness-of-fit index analysis to assess the structural model. Fourth, the significance of the mediating effects was determined using the bootstrapping approach with 5,000 bootstrap samples. Finally, a multiple regression analysis was conducted to test the moderating role of positive academic emotion.

Results

Common method variance

Harman’s one-factor test was conducted to examine common method variance (CMV)60. This test involved performing an exploratory factor analysis on all items from the five scales, using an unrotated principal component analysis method in SPSS 24.0. The results revealed that 6 factors had eigenvalues greater than 1, explaining 74.361% of the total variance. Additionally, the first extracted factor explained only 25.832% of the total variable, falling below the critical criterion of 40%61, indicating that there was no serious common method variance.

Sample characteristics

The sample consisted of 665 participants with an average age of 14 years (SD = 0.790, range = 13–15 years). The gender distribution was nearly equal, with 348 males (52.3%) and 317 females (47.7%). Participants were spread across different grades, with 206 (31.0%) in 7th grade, 251(37.7%) in 8th grade, and 208 (31.3%) in 9th grade. Participants from only-child families accounted for a smaller group at 15.9% (106 participants). In terms of the median monthly household income of the students, the percentages were as follows: less than 3000 Yuan (16.7%), 3000–5000 Yuan (43.5%), 5000–10,000 Yuan (29.0%), and 10,000 Yuan and more (10.8%).

Measurement model

The measurement model was evaluated for reliability and validity. Reliability, assessed using Cronbach’s α, demonstrated high values from 0.80 to 0.90, indicating strong reliability62. Convergent validity was assessed through standardized factor loadings, composite reliability (CR), and average variance extracted (AVE), all of which exceeded the recommended threshold of 0.5, indicating satisfactory convergent validity63. Discriminant validity was assessed by comparing the square root of the AVE with the correlation coefficient between constructs, with the square root of AVE exceeding the correlation coefficient, indicating high discriminant validity64,65.

As presented in Table 1, the value of Cronbach’s α ranged from 0.886 to 0.981, indicating high reliability. The standardized factor loadings covered a range between 0.613 and 0.946 (p < .001), while the values of CR and AVE ranged from 0.892 to 0.981 and from 0.553 to 0.815 respectively, indicating sound convergent validity. In Table 2, the square root of AVE for each construct was greater than the correlation coefficient with any other construct, indicating acceptable levels of discriminant validity.

Table 1 Reliability and convergent validity examination.
Table 2 Discriminant validity examination.

Structural model

The structural model was evaluated using goodness-of-fit indices in Amos 24.0, encompassing Chi Square/ DF (X2/df), Normed Fit Index (NFI), Comparative Fit Index (CFI), Tucker-Lewis Index (TLI), Goodness of Fit Index (GFI), Adjusted Goodness of Fit Index (AGFI), and Root Mean Square Error of Approximation (RMSEA). The suggested values for these indices are as follows: X2/df should be between 1 and 3, IFI, CFI, TLI, GFI, and AGFI should be greater than 0.9, and RMSEA should be less than 0.0866. In the study, the value of X2/df was 1.159 (X2 = 1134.39, df = 979), and the values of IFI, CFI, TLI, GFI, AGFI, SRMR, and RMSEA met or exceeded the suggested standards, indicating that the structural model was appropriate for the data.

Analyses of the mediating effects

The study examined the mediating effects of academic self-efficacy and psychological resilience through bootstrap analysis67. A bias-corrected 95% confidence interval was employed, with a non-zero interval indicating that the mediation effect is statistically significant. In AMOS24.0, learning engagement was analyzed as the dependent variable, teacher support as the independent variable, academic self-efficacy and psychological resilience as the mediating variables, with a resampling size of 5000.

As indicated in Table 3, the direct effect of teacher support on learning engagement was significant, with a value of 0.400 (95% bias-corrected CI [0.291, 0.511], P = .003), providing support for H1. The total indirect effect of teacher support on learning engagement was significant with a value of 0.102 (95% bias-corrected CI [0.064, 0.151], P = .001). Specifically, the pathway of teacher support→ academic self-efficacy→ learning engagement had a mediation effect of 0.056 (95% bias-corrected CI [0.033, 0.092], P = .001), the pathway of teacher support→ psychological resilience→ learning engagement had a mediation effect of 0.034 (95% bias-corrected CI [0.014, 0.066], P = .002), and the pathway of teacher support → academic self-efficacy → psychological resilience →learning engagement had a mediation effect of 0.011 (95% bias-corrected CI [0.004, 0.026], P = .001). These results confirm that academic self-efficacy and psychological resilience played a partial mediating role in the relationship between teacher support and learning engagement, thus confirming H2, H3, and H4.

In addition, the effect percentage of teacher support on learning engagement was examined. As indicated in Table 3, the direct effect of teacher support on learning engagement accounted for 79.8%, while the indirect effect of teacher support on learning engagement accounted for 20.2%, smaller than the direct effect. Among the three significant indirect mediators, the indirect effect of academic self-efficacy is the greatest, accounting for 55.1% of the total indirect effect, while the combined indirect effect of academic self-efficacy and psychological resilience is the smallest, representing 11.1% of the total indirect effect.

Table 3 Direct, indirect and total effects of the hypothesized model.

Analyses of the moderating effect

Model 91 in PROCESS68 was used to examine the moderating effect of positive academic emotion on the mediation model. All the variables except for gender were standardized before performing the moderated mediation analysis69. R-squared (R2) is a widely used measure of accuracy in linear models and ANOVA. It represents the percentage of variance in the dependent variable explained by the independent variables70. As shown in Table 4, before adding the interaction effect, the model had an R2 value of 0.049. However, with the inclusion of the interaction effect, the R2 value increased to 0.209. This suggests that the interaction effect significantly contributes to explaining the dependent variable. The interactivity of academic self-efficacy and positive academic emotion had a significant positive moderating effect on psychological resilience (coeff = 0.119, t = 6.097, p = .000), indicating academic emotion moderated the intermediate part of the chain mediator. In other words, positive academic emotion played a moderating role in the effect of academic self-efficacy on psychological resilience.

To visually demonstrate the moderating effect of positive academic emotions, a simple slope test was conducted. As shown in Fig. 2, in the low positive academic emotion group (M-1SD), the positive correlation between academic self-efficacy and psychological resilience is statistically significant (simple slope = 0.097, t = 3.159, p < .001). In contrast, in the high positive academic emotion group (M + 1SD), the positive correlation between academic self-efficacy and psychological resilience is strengthened and statistically significant (simple slope = 0.356, t = 10.247, p < .001). Therefore, H5 was further validated.

Table 4 Moderated mediation analysis when positive academic emotion coping as a moderator.

.

Fig. 2
figure 2

Positive academic emotion as a moderator on the relationship between academic self-efficacy and psychological resilience.

Discussion

This study aimed to examine the moderated mediating mechanisms between teacher support and learning engagement, specifically investigating the indirect effects of teacher support on learning engagement through academic self-efficacy and psychological resilience, moderated by positive academic emotion. The findings are presented as follows.

The results of the study indicated that teacher support was directly and positively related to secondary school students’ learning engagement, which not only confirms the research result of Jin and Wang7 and Sadoughi and Hejazi8. These studies underscore the significance of teacher support in fostering learning engagement. From the perspective of Self-Determination Theory, we can delve deeper into this relationship by examining how teacher support satisfies the three fundamental psychological needs: autonomy, competence, and relatedness. As Sun notes, teacher support is instrumental in fulfilling these needs, which SDT posits as crucial for enhancing intrinsic motivation71. When teachers offer academic and emotional support, they empower students’ autonomy by allowing them to make voluntary learning choices, enhance their sense of competence through challenges and constructive feedback, and fulfill their need for relatedness through care and encouragement, making students feel part of a learning community. Moreover, the study suggests that secondary school students with more support and encouragement from their teachers become less distracted and more actively engaged in the learning process14. This study further demonstrates that teacher support is a predictive factor of learning engagement.

The results of the study revealed academic self-efficacy plays a significant partial mediating role in the relationship between teacher support and secondary school students’ learning engagement. This finding is consistent with previous research indicating a positive relationship between teacher support and academic self-efficacy14,36, as well as a positive association between academic self-efficacy and learning engagement19. These findings support the notion that when students receive high levels of support from their teachers, it enhances their belief in their academic abilities, which in turn leads to increased engagement in their learning activities38. Besides, the finding aligns with the principles of Self-Determination Theory. teacher support is a key factor in fulfilling three needs—autonomy, competence, and relatedness, as it fosters a learning environment where students feel supported, capable, and connected to their teachers72. When teachers provide support, they enhance students’ sense of autonomy by aligning their inner resources with classroom activities, boost their competence through encouragement and feedback, and strengthen their relatedness by fostering a sense of belonging24,25,26. These supportive behaviors are crucial for building students’ academic self-efficacy, which is the belief in one’s ability to succeed in academic tasks. As academic self-efficacy increases, so does students’ engagement in learning activities, as they are more likely to persevere in the face of challenges and invest more effort into their learning. The finding provides more evidence of the role of academic self-efficacy in the relationship between teacher support and learning engagement.

The results of the study demonstrated that psychological resilience is another significant partial mediating role between teacher support and secondary school students’ learning engagement. This finding aligns with Furrer et al.’s perspective, emphasizing the crucial role of psychological resilience in the association between teacher support and learning engagement15. Students with higher psychological resilience are more likely to exhibit flexibility and perseverance when faced with challenges and display self-assurance in resolving difficulties, which are vital in promoting active engagement in learning21. Furthermore, this result is consistent with Fang et al.’s study which indicated that students’ perceived teacher support enhances their ability to meet their fundamental psychological needs, stimulates their autonomous motivation, and improves their psychological resilience, all of which ultimately promote learning engagement73. In summary, this finding provides further evidence of the significant role of psychological resilience in mediating the relationship between teacher support and learning engagement.

The results of the study further showed that both academic self-efficacy and psychological resilience played a chain mediating role between teacher support and secondary school students’ learning engagement, representing one of the most remarkable conclusions drawn from the investigation. The finding is well-supported by the self-determination theory (SDT), as articulated by Deci and Ryan23, which posits that social facilitators, such as teacher support, are instrumental in enhancing internal traits like academic self-efficacy and psychological resilience, thereby fostering a greater propensity for students to engage in learning activities. This finding advances the previous research by shedding light on how teacher support can increase students’ learning engagement7,8,11. While some studies have emphasized the mediating role of academic self-efficacy, and others have focused on psychological resilience, this study bridges the gap by integrating both areas of research and uncovering the latent link between academic self-efficacy and psychological resilience. Additionally, this study identified the proportion of the chain mediating effect of academic self-efficacy and psychological resilience, which, although accounting for only 11.1% of the indirect effect, holds significance in comprehending the overall impact of teacher support on students’ learning engagement.

The results of the study revealed that positive academic emotion moderated the relationship between academic self-efficacy and psychological resilience. This finding can be further illuminated by Emotion Regulation Theory (ERT), which suggests that the ability to regulate emotions is crucial for maintaining a positive emotional state that facilitates goal-directed behavior and stress management30. For students with low levels of positive academic emotion, the relationship between academic self-efficacy and psychological resilience may be more fragile. They might lack the emotional resources necessary to employ effective emotion regulation strategies, which could limit their ability to transform self-efficacy into resilience in the face of academic stressors. This is consistent with findings by Xu, who noted that students with higher levels of positive academic emotions are better equipped to withstand stress and maintain commitment to their goals74. The finding may also help to reconcile inconsistent results regarding the relationship between academic self-efficacy and psychological resilience, as noted by Amitay and Gumpel75 and Mao et al.50. The role of positive academic emotions as a moderator suggests that the strength of the relationship between self-efficacy and resilience is not uniform across all students but is contingent upon their emotional states. This emotional state, as per ERT, is a critical factor in how individuals perceive and respond to challenges, which can either bolster or undermine their resilience. Therefore, positive academic emotion can be viewed as a promising indicator for discriminating whether students with high academic self-efficacy achieve high psychological resilience.

Limitations and future research directions

Limitations should be acknowledged in the study. Firstly, the cross-sectional design utilized precludes making causal inferences about the relationships between variables. Future studies should employ longitudinal or experimental designs to confirm the causal hypotheses. Secondly, the reliance on self-reported measures from secondary school students introduces the possibility of biases, such as social desirability. Collecting data from multiple sources, such as teachers or peers, could help validate the findings. Thirdly, the sample in this study was limited to four secondary schools in eastern China, which, to a certain extent, may restrict the generalizability of the results. Future studies should aim to include more diverse samples to enhance the external validity.

Implications

The findings of this study carry significant implications for educators and researchers. First, the study highlights the crucial role of teacher support in enhancing secondary school students’ learning engagement. Equipping teachers with adequate training to actively provide support and improve students’ learning engagement is crucial. Additionally, implementing supportive behaviors, such as sincere communication and effective learning strategies is vital to meeting students’ basic psychological need and ultimately enhances their engagement in their studies. Second, the study underscores the importance of academic self-efficacy and psychological resilience in mediating the relationship between teacher support and secondary school students’ learning engagement. Effective interventions to improve students’ academic self-efficacy and psychological resilience are crucial for enhancing their learning engagement. For instance, teachers can encourage students to reflect on their academic progress to enhance their sense of autonomy and their confidence in their ability to succeed. Moreover, purposeful activities such as showing motivational movies and conducting life education can help students cope with setbacks and develop psychological resilience76. Third, the study emphasizes the moderating role of positive academic emotion in the indirect relationship between teacher support and secondary school students’ learning engagement. Efforts should be made to enhance students’ positive academic emotions, with teachers leading by example and influencing students with their positive emotional state. Additionally, strengthening communication with students can help them feel cared for and supported, alleviating their worries and problems.