The roles of teacher–student relationship quality and self-concept of ability in adolescents’ achievement emotions: temperament as a moderator

This study examined to what extent teacher–student conflict and closeness, on the one hand, and students’ self-concepts of ability in literacy and mathematics, on the other, are related to students’ achievement emotions (enjoyment, anxiety and boredom) in mathematics and literacy among Finnish early adolescents (N = 854). We also investigated the extent to which these associations are moderated by student temperament (surgency/extraversion, negative affectivity and effortful control). The results showed, after accounting for relevant covariates, that in both school subjects, teacher–student conflict was negatively related to enjoyment and positively to anxiety and boredom, whereas teacher–student closeness was positively related to enjoyment and negatively to boredom. Self-concepts of ability in both school subjects were positively related to enjoyment and negatively to anxiety, whereas the self-concept of ability was only negatively related to boredom in mathematics. Student temperament also moderated some of the associations in the literacy domain. Lower levels of conflict in the teacher–student relationship were related to higher levels of enjoyment in literacy, particularly among students who had lower levels of surgency/extraversion. Also, a closer relationship with the teacher or a lower self-concept of ability in literacy was related to higher levels of anxiety, particularly among students who had low effortful control. In the mathematics domain, the associations between the self-concept of ability and achievement emotions were somewhat stronger than in literacy, and the domain-specific associations were not dependent on student temperament.


Introduction
Students experience a variety of emotions related to learning activities (Raccanello et al. 2013). In previous literature, positive emotions (e.g. enjoyment) have been found to be beneficial for motivation and facilitative of the use of flexible learning strategies, thus enhancing achievement (e.g. Pekrun et al. 2002), whereas negative emotions (e.g. boredom) have been found to have adverse effects on motivation, cognitive resources and learning strategies, and thereby have a negative impact on performance (e.g. Goetz and Hall 2014). According to Pekrun's (2006) control-value theory of achievement emotions, antecedents of achievement emotions include characteristics of students, such as the self-concept of ability, on the one hand, and instructional and social factors, on the other. In previous empirical research (for an overview, see Pekrun and Perry 2014), the role of students' self-concept of ability in achievement emotions has been well established, whereas the role of the quality of teacher-student relationships is less studied. It has also been suggested that student temperament, that is, individual differences in responding to external and internal stimuli and in regulating these reactions (Rothbart and Bates 2006), might impact adolescents' developmental plasticity and susceptibility to environmental influence (Belsky and Pluess 2009). However, it is not known what role adolescent temperament plays in the associations of the self-concept of ability and the teacher-student relationship with achievement emotions. Consequently, this study aimed to investigate the roles of the self-concept of ability and the teacher-student relationship in the evolvement of early adolescents' achievement emotions and to discover whether these associations differ depending on adolescent temperament.

Self-concept of ability as an antecedent of achievement emotions
Achievement emotions refer to emotions that relate to achievement outcomes or to emotions that occur during achievement-related activities (Pekrun and Perry 2014). The present study examined frequently experienced achievement emotions (Goetz and Hall 2014), namely, enjoyment, boredom and anxiety, among early adolescents. Because previous research has shown that achievement emotions are domain-specific (e.g. Goetz et al. 2007;Raccanello et al. 2013), in the present study, achievement emotions were assessed separately in two central academic subjects, namely, mathematics and Finnish language.
According to the control-value theory of achievement emotions (Pekrun and Perry 2014), students' control and value appraisals are central to the emergence of achievement emotions. The self-concept of ability forms a basis for experiences of subjective control over achievement activities and outcomes. In previous research, self-concepts of ability in different subject domains have been found to be positively related to enjoyment and negatively to boredom and anxiety (Bieg et al. 2013;Goetz et al. 2006Goetz et al. , 2010. However, the majority of the studies investigating the relations between the self-concept of ability and achievement emotions have been conducted on older students, and less is known about these associations in primary school students (see also Pekrun and Perry 2014). Consequently, the first aim of the present study is to investigate the domain-specific relations of maths and literacy self-concepts of ability and achievement emotions in sixth-grade adolescents.

Teacher-student relationship quality and achievement emotions
According to the control-value theory of achievement emotions, not only are individual characteristics potential sources of emotions but instructional and social antecedents are also important antecedents of achievement emotions (Pekrun and Perry 2014). The present study focuses on teacher-student relationship quality, applying an attachment-based teacher-student relationship model (see also Verschueren 2015). In this model, closeness and conflict are considered as key dimensions of the teacher-student relationship. Closeness is characterised by high levels of affection and open communication between the teacher and the student, whereas conflict refers to perceived negativity within the teacher-student relationship (Jerome et al. 2009;. Teacher-student relationships are developmentally significant for students' socioemotional adjustment and achievement in school (e.g. Bergin and Bergin 2009;Hamre and Pianta 2001;Pakarinen et al. 2018). There are several theoretical reasons as to why teacher-student relationship quality can be assumed to also be related to adolescents' achievement emotions. For example, close and supportive teacher-student relationships can boost adolescents' sense of social relatedness and belonging within the classroom, which, in turn, may promote positive and hinder negative emotions towards learning (Meyer 2014;Sakiz et al. 2012;Skinner et al. 2014). Although teacher-student relationship quality has been found to be important in terms of academic outcomes, such as higher school engagement and academic performance (for a meta-analysis, see Roorda et al. 2011), less is known about the role of the teacher-student relationship quality in the arousal of early adolescents' subject-specific achievement emotions. Previous empirical studies have suggested that high teacher support tends to be related with lower negative and higher positive achievement emotions (for a meta-analysis, see Lei et al. 2018). However, less is known about the role that teacher-student relationships have on single achievement emotions, such as enjoyment, boredom and anxiety. There is nevertheless some evidence to suggest that high-quality teaching is related to more enjoyment and less boredom and anxiety in mathematics and Latin among students in grades 5-10 Goetz et al. 2006). Similarly, there is some evidence among students in grades 8-11 that suggests that a teacher's supportive presentation style is related to higher learning enjoyment and decreased boredom but not related to anxiety, whereas a teacher's excessive lesson demands are related to higher anxiety and boredom and lesser enjoyment . Teacher punishment behaviour, in turn, has been found to be related to higher levels of anxiety and boredom ). However, less is known thus far about how early adolescent-perceived closeness and conflict in the teacher-student relationship are related to achievement emotions. Therefore, the second aim of the present study is to find out to what extent the closeness and conflict of teacher-student relationships are related to adolescents' boredom, enjoyment and anxiety with regard to literacy and mathematics.

Temperament as a moderator
According to the diatheses stress and differential susceptibility models (Belsky and Pluess 2009), individuals with different temperaments vary in their developmental plasticity and susceptibility to environmental influence. Temperament can be defined as early occurring individual differences in reactivity towards environmental and internal stimuli and in selfregulation modulating this reactivity (Rothbart and Bates 2006). Temperament develops via a complex interplay among genes and biological and environmental factors , and, thus, it is influenced by experience and maturation (Rothbart and Derryberry 1981). In the present study, we applied Rothbart's temperament model, which has consistently identified three broad dimensions of temperament (Rothbart 2011;Rothbart and Bates 2006;Rothbart and Hwang 2005). Effortful control refers to the ability to control behaviour and regulate emotions, including attentional, inhibitory and activation control. Negative affectivity refers to individual differences in proneness to distress and negative emotions and rate of recovery. Surgency/extraversion relates to individual differences in approach behaviour and positive affect.
The goodness-of-fit model (Thomas and Chess 1977) posits that goodness of fit (i.e. adaptive outcome) will result if the child's or adolescent's temperament fits well with the demands and expectations of the environment. However, the most typical environment that has been studied in relation to temperament characteristics is the parent-child relationship, along with parenting behaviours (e.g. Rothbart and Bates 2006). As far as we know, no previous studies have investigated whether student temperament moderates the associations between the teacher-student relationship and achievement emotions. However, there are a few studies on other student outcomes. For example, previous research has suggested that children and adolescents with low levels of effortful control may particularly benefit from positive relationships with teachers as demonstrated by decreased problem behaviours (Wang et al. 2013) and increased academic achievement (Rudasill et al. 2010). There is also some evidence suggesting that children with high effortful control are less influenced by a negative teaching style in terms of general anxiety symptoms compared to children with weaker effortful control (LaBillois and Lagacé-Séguin 2009).
Similarly, as temperament may make some adolescents more susceptible to teacher effects, it may play a role in how self-concept affects emotions. Temperament can influence how students interpret their experiences (Lonigan et al. 2004;Shiner and Caspi 2012). For example, previous research has shown that effortful control plays a role in modulating the affective consequences of threat-relevant stimuli (Lonigan et al. 2004). Thus, higher effortful control may provide protection from the detrimental effects of a low selfconcept on achievement emotions by allowing the shifting of attention from threatening stimuli and internal feelings of inadequate ability to more positive information that enables efficient coping, whereas weak effortful control may make students susceptible to focusing on their internal distress, thus exacerbating the effects of a low self-concept on achievement emotions (see also Derryberry and Rothbart 1997;Rothbart and Jones 1998). However, to our knowledge, research on the interactions of the self-concept of ability and temperament on achievement emotions is lacking. Therefore, the present study also investigated the extent to which adolescent temperament moderates the associations between teacherstudent relationship quality and self-concepts of ability with achievement emotions in literacy and mathematics.

Research questions and hypotheses
The aim of the present study was to examine the role of teacher-student conflict and closeness and students' self-concepts of ability in students' achievement emotions in mathematics and literacy. Student temperament was considered as a possible moderator in these associations. The following research questions were investigated: (1) a) To what extent are adolescents' self-concepts of ability in literacy and mathematics associated with adolescents' achievement emotions (i.e. enjoyment, anxiety and boredom) towards literacy and mathematics? and (b) Do these associations differ depending on adolescent temperament?
H1a: Based on earlier research (e.g. Goetz et al. 2010), we expected to find positive relationships between self-concepts of ability and learning enjoyment and negative relationships between self-concepts of ability and learning anxiety and boredom. H1b: Due to the scarce previous research regarding temperament and achievement emotions, we did not set specific hypotheses regarding the moderating role of temperament.
(2) a) To what extent are closeness and conflict in the teacher-student relationship associated with adolescents' achievement emotions (i.e. enjoyment, anxiety and boredom) towards literacy and mathematics? and b) Do these associations differ depending on adolescent temperament?
H2a: We expected that closeness would be positively related to enjoyment and negatively to boredom (cf. Frenzel et al. 2007;Goetz et al. 2006Goetz et al. , 2013; see also Lei et al. 2018). H2b: In contrast, conflict was expected to be related to higher boredom and anxiety (cf. Frenzel et al. 2007;Goetz et al. 2013) and lower enjoyment of literacy and mathematics (cf. Goetz et al. 2013).
H2c: No specific hypotheses were set for the role of teacher-student closeness in anxiety because the related previous results have been contradictory (cf. Arbeau et al. 2010;Elmelid et al. 2015;Frenzel et al. 2007;Goetz et al. 2006Goetz et al. , 2013; see also Lei et al. 2018).
H2d: Due to the lack of previous research, we did not set specific hypotheses regarding the moderating role of temperament.
Adolescents' gender, subject-specific attainment values and academic skills were controlled for in all the analyses to predict academic subject-specific achievement emotions. Gender differences in achievement emotions have been reported (Pekrun et al. 2011;Soric et al. 2013), suggesting that male students have a tendency to report higher levels of negative achievement emotions and lower levels of positive achievement emotions than female students, with the exception of anxiety, in which female students report higher levels than or equal levels to male students. Also, attainment values and skills are assumed to have an impact on achievement emotions through the control-value theory of achievement emotions (Pekrun 2006(Pekrun , 2014. In the present study, these were controlled for in aiming to reveal unique associations between self-concepts of ability, teacher-child relationships and achievement emotions.

Participants and procedure
A total of 854 primary school students (464 girls, 390 boys) from two municipalities in central Finland participated in the study. Parental written consent and child assent were required for student participation. The teachers of the participating classrooms also gave their written consent for the data collection to be conducted during their lessons, and the research plan was approved by the local ethics committee. The students came from 57 sixth-grade classes (class size: M = 21, SD = 5.3). The mean age of the participating students at the beginning of the study was 12.29 years (SD = 0.40). The sample was fairly representative of the general Finnish population; however, compared to the same-age Finnish population, the parents in the sample were slightly more educated (Official Statistics of Finland 2016a), single-parent households were underrepresented, and two-parent households were overrepresented (Official Statistics of Finland 2016b).
The collection of data on the student participants was conducted during normal school days. The questionnaires were administered by trained test administrators. Temperament evaluations of the adolescents were collected via questionnaires sent to the parents. The data were gathered in autumn 2014.

Measures
Self-concept of ability The adolescents' self-concepts of ability in maths and literacy were assessed using a scale adapted from Eccles and Wigfield (1995) and Spinath and Steinmayr (2008). The questionnaire included three items for both maths and literacy (e.g. How good are you at maths calculation problems/reading precisely and fast?) assessed on a 5-point Likert scale (1 = very poor to 5 = very good; see also Pesu et al. 2018). The Cronbach's alpha reliability for the self-concept of maths ability was 0.85, and for the self-concept of literacy ability, it was 0.70.
Teacher-student relationship The quality of the adolescents' relationship with their classroom teachers was assessed using a short Finnish version of the Student-Teacher Relationship Scale (STRS, short form; Pianta 2001; see also Jerome et al. 2009). The scale was designed to measure adolescents' experience of closeness (five items, e.g. I have a close and warm relationship with my teacher) and conflict (six items, e.g. I often fight with my teacher) with their classroom teacher on a 5-point Likert scale ranging from 1 (I disagree) to 5 (I agree). The Cronbach's alpha for closeness was 0.82, and for conflict, it was 0.76. Achievement emotions Adolescents' enjoyment, boredom and anxiety towards mathematics and literacy were assessed using a Finnish version of the Achievement Emotions Questionnaire (AEQ; Pekrun et al. 2011; for validity of the Finnish version, see Sainio et al. 2020). The questionnaire included three items for enjoyment (e.g. I enjoy acquiring new knowledge) and anxiety (e.g. I get tense and nervous while studying) and two items for boredom (e.g. I get bored while studying), regarding both maths and literacy. The students were asked to rate the degree to which they experience these emotions towards literacy and maths using a 5-point Likert scale ranging from 1 (disagree) to 5 (agree). The Cronbach's alpha reliability for the emotions towards maths ranged from 0.65 to 0.76, while those towards literacy ranged from 0.63 to 0.76.

Student temperament
The adolescents' temperament was reported by parents using the Finnish version of the Early Adolescent Temperament Questionnaire (Revised; EATQ-R; Capaldi and Rothbart 1992;Ellis and Rothbart 2001; for the validity of the Finnish sample, see Kiuru et al. 2020). The 56 statements of the questionnaire were designed to measure broader dimensions of temperament, namely, effortful control (e.g. It is easy for me to really concentrate on homework problems; I have a hard time finishing things on time (reversed)), negative affectivity (e.g. I get sad more than other people realise; I get irritated when I have to stop doing something that I am enjoying) and surgency/extraversion (e.g. I would not be afraid to try a risky sport, like deep-sea diving; I am shy (reversed)). Mean scores for effortful control (α = 0.80), negative affectivity (α = 0.84) and surgency/extraversion (α = 0.74) were calculated.
Control variables Gender was coded as 0 = girl and 1 = boy. Attainment values in maths and literacy were assessed by two questions (e.g. How important is it for you to be good at reading and reading comprehension/maths calculation problems?) on a 5-point Likert scale ranging from 1 (not important at all) to 5 (very important) and adapted from Eccles et al. (1983). The Cronbach's alpha value for literacy attainment was 0.82, and for mathematics, it was 0.84. Literacy skills were assessed using three subtests, of which two subtests (the error-finding test and the word-chain test) were from Dyslexia Screening Methods for Adolescents and Adults by Holopainen et al. (2004; see also Kiuru et al. 2011). The third test was the short version of Salzburg's reading fluency test (Landerl et al. 1997). A summed score of the three subtests was created by calculating the mean of the standardised test scores. The Cronbach's alpha reliability for literacy skills was 0.87. Mathematics performance was measured using the three-minute basic arithmetic test (Aunola and Räsänen 2007; see also Räsänen et al. 2009). The test-retest reliability for this task was found to be 0.86 (Räsänen et al. 2009).

Analysis strategy
Structural equation modelling was used to answer the research questions. The analyses were carried out according to the following steps. First, we investigated the descriptive statistics. Second, we built measurement models separately for each construct and school subject in question. Third, we integrated these separate measurement models into the final measurement models. In these measurement models, latent factors were allowed to correlate with each other.
Fourth, structural equation models were constructed separately for each school subject. In these models, latent factors of adolescents' subject-specific emotions (i.e. enjoyment, anxiety and boredom) were predicted by latent factors of subject-specific self-concepts of ability as well as by latent factors of closeness and conflict in the teacher-student relationship. The predictors, namely, the latent factors of the self-concept of ability, closeness in the studentteacher relationship and conflict in the teacher-student relationship, were allowed to correlate. In addition, the residuals of the outcome variables, namely, the latent factors of achievement emotions, were allowed to correlate. We also controlled for the effects of subject-specific attainment values, gender and academic skill level on the particular school subject.
Finally, to investigate the role of temperament characteristics (i.e. effortful control, negative affectivity and surgency/extraversion) in the examined associations, we added the following interaction terms: self-concept of ability × particular temperament characteristic, and conflict and closeness in student-teacher relationship × temperament characteristic to the models. The main effects of the temperament characteristics were also included in these models. Follow-up analyses on the significant interaction terms were carried out by calculating and visualising simple slopes separately for adolescents with low (− 1 SD) and high (+ 1 SD) levels of the particular temperament dimension. We also used the computational tool developed by Preacher et al. (2006) to calculate the statistical significance of these simple slopes.
The statistical analyses were performed using the Mplus statistical package (Version 7.3) and applying the complex approach (Muthén andMuthén 1998-2015). This method estimates the models at the level of the whole sample, but corrects possible distortions of standard errors in the estimation caused by the clustering of observations (classroom differences). The proportion of missing data for the main study variables ranged from 1.5 to 21.4% (M = 6.51; SD = 7.96). Little's (1988) MCAR test indicated that data were not missing completely at random: χ 2 (334) = 632.61, p < 0.001. Thus, in the analyses, full-information maximum likelihood procedures were used to deal with the missing data. Since not all the study variables were normally distributed, we used maximum likelihood robust (MLR) estimation. The MLR estimator produces robust standard errors by means of a sandwich estimator and a χ 2 test statistic for non-normal outcomes. Model fit was investigated using the root mean square error of approximation (RMSEA), the comparative fit index (CFI), the Tucker-Lewis index (TLI) and the standardised root mean square residual (SRMR). A model typically fits the data well when the p value associated with the χ 2 test is non-significant. RMSEA values below 0.06 and SRMR values below 0.08 indicate a relatively good fit between the hypothesised model and the observed data (see also Hu and Bentler 1999). Because the χ 2 test is sensitive to sample size, the use of relative goodness-of-fit indices is also recommended in the case of large sample sizes (Bentler and Bonett 1980). Consequently, the following two relative goodness-of-fit indices were also used to evaluate model fit: the CFI and the TLI. CFI and TLI values close to 0.95 indicate a relatively good fit to the data (see also Hu and Bentler 1999).

Measurement models
Measurement models were built separately for each school subject using confirmatory factor analysis, which enabled us to take measurement error into account. In these models, latent factors were allowed to correlate. The final measurement models including all latent factors were shown to fit the data well for both school subjects: χ 2 (265) = 603.60-641.90, p < 0.001, RMSEA = 0.04, CFI = 0.94, TLI = 0.93 and SRMR = 0.04. The factor loadings of the latent factors in the final models ranged from 0.43 to 0.88. The fact that the models fit the data well and that the factor loadings were high suggest good construct validity and item reliability.

Structural equation models
We next built a separate structural equation model (SEM) for each school subject to predict the adolescents' achievement emotions by using their self-concept of ability and closeness and conflict in the teacher-student relationship. The effects of the adolescents' attainment values, gender and academic skills were controlled for in all the analyses. The final models containing only statistically significant paths fit the data well: for mathematics, χ 2 (272) = 645.87, p < 0.001, RMSEA = 0.04, CFI = 0.94, TLI = 0.93 and SRMR = 0.04; and for literacy, χ 2 (272) = 611.01, p < 0.001, RMSEA = 0.04, CFI = 0.94, TLI = 0.93 and SRMR = 0.05. The final model for mathematics is shown in Fig. 1 and that for literacy in Fig. 2.

Self-concept of ability, temperament and achievement emotions
The descriptive statistics of the study variables are presented in Table 1, and a correlation matrix is shown in Table 2. Our first research question was to investigate the extent to which the adolescents' self-concept of ability is associated with their achievement emotions (i.e. enjoyment, anxiety and boredom) towards literacy and mathematics. The results (see Figs. 1 and 2) showed that after controlling for the effects of attainment values, gender and academic skill level in the particular subject, self-concepts of ability were positively related to the adolescents' enjoyment of both school subjects and negatively related to anxiety experienced towards the school subjects. Furthermore, the self-concept of ability was negatively related to boredom experienced in mathematics but not in literacy (see Fig. 1).
We also investigated the extent to which adolescent temperament moderated the associations of the self-concepts of ability in mathematics and literacy with the adolescents' achievement emotions. This was analysed by adding the interaction terms of self-concept of ability in maths and literacy × temperament dimension to the previous models (see Fig. 3). Also, the main effects of temperament were included in all the models. The results showed that one out of six of the interaction terms tested was statistically significant: the interaction term of selfconcept of ability in literacy × effortful control was a significant predictor of the adolescents' anxiety towards literacy (β = 0.10, SE = 0.05, p = 0.035; Fig. 3). For adolescents with weaker effortful control, a lower self-concept of ability in literacy was related to more anxiety experienced towards literacy (β = − 0.34, SE = 0.06, p < 0.001). For adolescents with a higher level of effortful control, anxiety did not change as a function of the self-concept of ability

Quality of teacher-student relationship, temperament and achievement emotions
Our second research question was formulated to investigate the extent to which closeness and conflict in the teacher-child relationship are associated with adolescents' achievement emotions (i.e. enjoyment, anxiety and boredom) towards literacy and mathematics. The results (see Figs. 1 and 2) showed, after controlling for the effects of attainment values, gender and academic skill level in the particular subject, that conflict with the teacher was negatively related to enjoyment and positively related to anxiety and boredom in both school subjects. Closeness with the teacher, in turn, was positively related to enjoyment and negatively related to boredom in both school subjects. Furthermore, closeness with the teacher was positively related to anxiety, but only in literacy (see Fig. 2). To examine the moderating role of temperament, the interaction terms of quality of teacherstudent relationship with respect to conflict and closeness × temperament dimension were next added to the previous models. Furthermore, the main effects of temperament were included in all the models. The results showed that two out of 12 interaction terms tested were statistically significant.
First, the interaction term conflict with teacher × surgency was statistically significant in predicting the adolescents' feelings of enjoyment towards literacy (β = 0.12, SE = 0.05, p = 0.013; see Fig. 4). For adolescents with low levels of surgency, lower levels of teacher-student conflict were associated with greater enjoyment of literacy (β = − 0.44, SE = 0.06, p < 0.001), whereas for students with higher levels of surgency, enjoyment did not change as a function of teacher-student conflict (β = − 0.20, SE = 0.11, p = 0.06). In turn, the main effect of the adolescents' surgency on literacy enjoyment was not significant (β = − 0.02, SE = 0.03, p = 0.537).
Second, the results showed that the interaction term closeness with teacher × effortful control was statistically significant in predicting the adolescents' feelings of anxiety towards literacy (β = − 0.11, SE = 0.06, p = 0.042; see Fig. 5). For adolescents with weak effortful control, higher levels of teacher-student closeness were associated with more anxiety towards  Table 2 Correlations between the main study variables (mathematics subject above the diagonal and literacy subject below the diagonal) 1.

Self-concept of ability
Effortful control (-1SD) Effortful control (+1SD) Fig. 3 Effortful control as a moderator of the associations between literacy self-concept of ability and anxiety towards literacy learning None of the interaction terms between adolescent temperament characteristics and student-teacher relationship quality had significant effects on mathematics-related achievement emotions.

Discussion
The aim of this study was to investigate the associations of the self-concept of ability and the quality of the teacher-student relationship with adolescents' achievement emotions regarding literacy and mathematics and whether adolescent temperament moderates these associations. The results showed, first, that in both school subjects, high self-concepts were related to higher enjoyment and lower anxiety. A high self-concept was also related to a lower level of boredom in mathematics. Second, in both school subjects, a closer and less conflictual relationship with the teacher was related to higher levels of enjoyment and lower levels of boredom, whereas conflict in the teacher-student relationship was related to higher anxiety levels in both school subjects. Third, the associations of the self-concept of ability with achievement emotions were generally stronger in mathematics than in literacy. In mathematics, domain-specific associations were not dependent on student temperament, whereas three significant interaction effects with temperament were observed when predicting achievement emotions towards literacy. Child's anxiety toward literacy (z-score)

Closeness
Effortful control (-1SD) Effortful control (+1SD) Fig. 5 Effortful control as a moderator of the associations between closeness in teacher-student relationship and anxiety towards literacy learning

Self-concepts of ability, temperament and achievement emotions
Our first aim was to investigate the relations between domain-specific self-concepts of ability and achievement emotions towards literacy and mathematics. Perceived control over learning activity is considered to be one of the main determinants in the control-value theory of achievement emotions (Pekrun 2006), and its role in the emergence of achievement emotions has been corroborated by numerous studies, particularly among high school and university students (for an overview, see Pekrun and Perry 2014). The present study provides a novel understanding of the relations between subject-specific self-concepts of ability and achievement emotions in a younger sample (i.e. sixth-grade adolescents). The findings for enjoyment and anxiety in mathematics and literacy were in line with our H1a and the control-value theory of achievement emotions (Pekrun and Perry 2014). The results for both academic subjects revealed that primary school adolescents' high self-concepts of ability were related to their higher levels of enjoyment and lower levels of anxiety, after controlling for the effects of gender, teacher-student relationship quality, academic skills and attainment values. Our results are similar to earlier findings among high school students (e.g. Goetz et al. 2010). One possible explanation for the results is that a high self-concept of ability is related to students' adaptive beliefs about their abilities to complete a task and about the likelihood of attaining a desired outcome, resulting in positive emotional experiences. A low self-concept of ability, in turn, is not assumed to coincide with such adaptive beliefs; therefore, a lack of belief in one's abilities may result in negative emotions and, in particular, instigate anxiety if the activity is also considered important (Pekrun and Perry 2014).
The results for boredom also partially supported our H1a and the control-value theory of achievement emotions (Pekrun 2006) by showing that a low self-concept of ability was uniquely related to higher levels of boredom in mathematics. This finding is in line with previous results among high school students (Bieg et al. 2013;Goetz et al. 2010). It is possible that when the achievement situation demands exceed students' ability to cope with the situation, they may start to devalue the subject, leading to boredom experiences (Pekrun 2006) characterised by disengagement from school activities. However, a significant association between the self-concept of ability and boredom was not found for literacy after controlling for the effects of gender, teacher-student relationship quality, academic skills and attainment value. The results suggest that in literacy, the self-concept of ability plays a relatively more important role in enjoyment and anxiety than in boredom. These results are in line with some previous studies (Goetz et al. 2010; see also Goetz et al. 2006) showing that the strength of association between self-concept and boredom may be weaker compared to the equivalent relationships with anxiety and enjoyment and stronger in mathematics compared to in verbal domains (e.g. Goetz et al. 2010).
We further aimed to examine the moderating role of adolescent temperament (i.e. surgency/ extraversion, negative affectivity and effortful control) in the associations of self-concepts of literacy and math ability with achievement emotions. To our knowledge, this study is the first to investigate the joint relations of the self-concept of ability and temperament on achievement emotions. The results for mathematics showed generally stronger associations than in literacy. Also, none of the interaction effects were significant, suggesting that the associations between the self-concept of math ability and achievement emotions were not dependent on adolescents' temperament. In turn, for literacy, overall associations between self-concept and achievement emotions were weaker than in maths, and one significant interaction effect (self-concept of ability × effortful control) when predicting anxiety towards literacy was detected. For adolescents with weak temperamental effortful control, a low self-concept of literacy ability was related to higher levels of anxiety towards literacy learning. In other words, adolescents with low effortful control were particularly vulnerable to the detrimental effects of a low selfconcept of ability on anxiety, while they particularly benefitted from a high self-concept of ability. A similar effect was not observed among adolescents with high levels of effortful control. The result supports the control-value theory of achievement emotions (Pekrun and Perry 2014) by showing that a low self-concept of ability is a risk factor for experiencing anxiety in literacy, whereas a high self-concept of ability can act as a buffering factor. Novel to this finding is that the effect was only pronounced for adolescents who had difficulties in selfregulation. This suggests that for adolescents who have weak effortful control, self-concepts might work as a source of emotion regulation; therefore, such adolescents may particularly benefit from shaping their self-appraisals in a more positive direction.

Teacher-student relationship, temperament and achievement emotions
Our second aim was to investigate how teacher-student relationship quality is related to adolescents' achievement emotions towards literacy and mathematics. Earlier studies have mainly investigated the characteristics of the classroom learning environment (e.g. instruction quality) and their relationship with students' achievement emotions. Thus far, less has been discovered about the role of teacher-student relationship quality, which can vary from one student to another.
The results for predicting enjoyment and boredom on the basis of the teacher-student relationship quality showed that a high level of closeness with the teacher was related to higher levels of enjoyment and lower levels of boredom in both mathematics and literacy, after controlling for the effects of gender, self-concepts of ability, attainment values and academic skill level in the particular subject. A conflictual relationship with the teacher, in turn, was related to lower levels of enjoyment and higher levels of boredom and anxiety in both school subjects. These results are in line with our H2a and H2b, previous studies showing that highquality teaching is related to increased enjoyment and decreased boredom Goetz et al. 2006Goetz et al. , 2013; see also Lei et al. 2018), and a study showing that teacher affective support is related to higher enjoyment (Sakiz 2012). These results are also in accordance with previous studies showing that a lower quality of instruction is related to higher levels of boredom and anxiety Goetz et al. 2006Goetz et al. , 2013 and lower levels of enjoyment . It is possible that in a warm and supportive teacher-student relationship, adolescents' basic psychological needs for relatedness are fulfilled and teachers are more sensitive and responsive to adolescents' individual learning-related needs. This may enable adolescents to engage in school tasks with enjoyment and curiosity, which is also likely to support better learning outcomes. In contrast, the need for relatedness is unlikely to be fulfilled in a teacher-student relationship characterised by a high level of conflict. As a result, students are likely to experience less enjoyment and more anxiety and boredom towards learning (Skinner et al. 2014).
However, whereas conflict in the teacher-student relationship was found to predict higher levels of anxiety, closeness in the teacher-student relationship was related to higher anxiety in literacy but was not significantly related to anxiety in mathematics. No specific hypotheses were set for the role of teacher-student closeness in anxiety because the previous related results have been contradictory (cf. Arbeau et al. 2010;Elmelid et al. 2015;Frenzel et al. 2007;Goetz et al. 2006Goetz et al. , 2013; see also Lei et al. 2018). These results do not support previous ones showing that closeness with the teacher, higher quality teaching or teacher support is related to less anxiety (e.g. Arbeau et al. 2010;Frenzel et al. 2007; see also Lei et al. 2018). However, these results are in line with some previous studies that have found that positive instructional practices do not necessarily reduce students' anxiety towards learning (see Becker et al. 2014;Goetz et al. 2013; see also Elmelid et al. 2015). It is possible that anxiety is reduced by increasing control and increased by enhancing the value of the topic (Pekrun 2006). Therefore, a close relationship may convey higher value than control to students, thus increasing anxiety or both high control and value and, thus, leading to non-significant relations between closeness and anxiety (see also Goetz et al. 2013). Overall, the results indicate that students' anxiety levels were more strongly influenced by conflict than closeness in the teacher-student relationship, supporting previous research that has shown that negative interactions with teachers may matter more than positive interactions regarding student outcomes (e.g. Jellesma et al. 2015).
Finally, our aim was also to investigate the extent to which adolescent temperament moderates the associations between the quality of the teacher-student relationship and achievement emotions in mathematics and literacy. As far as we know, our study is the first to investigate the joint relations of the teacher-student relationship quality and temperament on achievement emotions. The results for mathematics showed, first, that none of the interaction effects were significant, suggesting that the associations between the quality of the teacherstudent relationship and achievement emotions were not dependent on adolescents' temperament. In turn, for literacy, two significant interaction effects were found.
First, the interaction effect conflict in teacher-student relationship × surgency was statistically significant for predicting enjoyment towards literacy. A high level of conflict in the teacher-student relationship was particularly detrimental for literacy enjoyment among adolescents with low surgency (characterised by shyness and low sensation-seeking). In contrast, a low level of conflict in the teacher-student relationship seemed to protect adolescents with low surgency against diminished feelings of enjoyment towards literacy. For adolescents with high surgency (characterised by low shyness and high sensation-seeking), conflict in the teacherstudent relationship was unrelated to enjoyment towards literacy. One explanation for the finding that adolescents with low levels of surgency enjoyed literacy learning more when there was a low level of conflict in the teacher-student relationship is their temperamental tendency to become overstimulated more easily than adolescents with higher surgency (e.g. Rothbart and Hwang 2005). Therefore, they may prefer low-intensity activities and environments, and they may also be more sensitive to the detrimental effects of conflict than less shy people, thus allowing more enjoyment of the school subject when the relationship with the teacher is less conflictual. This result is in line with the goodness-of-fit model (Thomas and Chess 1977) as it shows that classroom factors are related to achievement emotions not solely in isolation but also in conjunction with temperament. In other words, achievement emotions experienced might depend on the extent of fit between temperament and the demands and expectations of the classroom environment. The results are also in line with the findings for other student outcomes in other age groups. For example, Essex et al. (2011) showed that teacher-child relationship conflict in the first grade was related to heightened levels of mental health problems by the seventh grade, particularly among inhibited children (see also diathesis stress and differential susceptibility models; Belsky and Pluess 2009). Shy and inhibited students have been found to have more difficulties in engaging in peer relationships (for a review, see Coplan and Bullock 2012), to like school less (Valiente et al. 2012) and to have more internalised symptoms (for a review, see Klein et al. 2012). Thus, shyness may be a vulnerability factor for social and emotional problems, and problems in the teacher-student relationship may pose the additional risk of diminishing their enjoyment of learning for these students (see also Belsky and Pluess 2009).
Second, our results showed that the interaction effect closeness in teacher-student relationship × effortful control was statistically significant for predicting anxiety towards literacy. Among adolescents with weak effortful control, a very close relationship with the teacher was related to higher levels of anxiety towards literacy. A similar effect was not found for adolescents with a high level of effortful control. These findings differ from those of some previous studies on other student outcomes, such as problem behaviours (Wang et al. 2013) and academic achievement (Rudasill et al. 2010), which have shown that children and adolescents with low levels of effortful control may particularly benefit from a positive teacher-student relationship. However, none of the previous studies have examined anxiety towards academic subjects as an outcome variable. Our finding, indicating that a high level of closeness with the teacher elevated anxiety towards literacy among adolescents with low levels of effortful control, somewhat resembles one prior study among preschoolers that showed that higher instructional support was related to more conflict with the teacher among pupils with lower effortful control (Rudasill et al. 2016; see also Domínguez et al. 2011). Hence, one possible explanation for our finding is that a close relationship with the teacher may highlight the value of the topic for the student (see Pekrun 2006). Due to this, adolescents with weaker effortful control typically characterised by facing challenges in regulating their behaviour and emotions, in particular, might have exhibited elevated anxiety when they had a close relationship with their teacher.

Differences between the literacy and mathematics domains
Overall, the results of the present study showed that self-concepts of ability and the teacherstudent relationship play a role in students' achievement emotions and that students' temperament, to some extent, moderates these relationships. Interestingly, the pattern of results was slightly different for mathematics and literacy: First, in mathematics, the self-concept of ability was negatively related to boredom, whereas, in literacy, no significant relationship was found. It has been suggested that a stronger relationship in mathematics between self-concept and emotions might reflect the fact that mathematics is more narrowly defined, and thus, have a narrower range of classroom activities compared to those in literacy, therefore restricting the sources of emotions and self-concepts (Goetz et al. 2010). Second, in mathematics, teacher closeness was not significantly related to student anxiety, whereas, in literacy, teacher closeness was related to slightly heightened anxiety. However, this result may at least partially be explained by the interaction effect found in literacy concerning teacher closeness and anxiety.
In mathematics associations between self-concept of ability, teacher-child relationship quality and achievement emotions were not dependent on temperament. Previous research has shown that, in maths development, individual differences increase over time, thus showing a cumulative developmental pattern ). Reading development typically shows the opposite pattern, particularly in later grade levels; that is, individual differences decrease rather than increase over time showing a compensatory trajectory (e.g. Leppänen et al. 2004; see also Parrila et al. 2005). Thus, one possible explanation for these results in mathematics is that whereas individual differences in maths are wider than in reading, there may be more room in maths for stronger influences of motivational and environmental factors that apply to all adolescents regardless of their temperament.
In turn, three of the literacy-related associations were moderated by adolescent temperament (i.e. the associations were not true for all the adolescents but depended on adolescent temperament). More specifically, adolescents with low effortful control were particularly vulnerable to the detrimental effects of a low self-concept of ability on anxiety towards literacy, whereas the self-concept of ability was not related to anxiety for adolescents with high effortful control. In other words, a simultaneous low self-concept and low temperamental effortful control posed a double risk for the development of literacy-related anxiety (see also Belsky and Pluess 2009). Also, for adolescents with low effortful control, a close relationship with the teacher was related to higher levels of anxiety towards literacy, whereas closeness in the teacher-student relationship was not related to anxiety for adolescents with high effortful control. Finally, a high level of conflict in the teacher-student relationship was particularly detrimental for literacy enjoyment among adolescents with low surgency (high shyness and low sensation-seeking), whereas conflict in the teacher-student relationship was not related to lower enjoyment among students with high surgency (low shyness and high sensationseeking). One other possible explanation for these moderation effects, seen only in literacy, also relates to the differing contexts of teaching and learning between maths and literacy (see also Vitiello et al. 2012). Compared to mathematics, literacy is typically seen by teachers as less defined, less sequential and more dynamic, and these features have been shown to have consequences on teachers' curricular practices (Stodolsky and Grossman 1995). However, further studies are needed to explore these differences in more detail.

Limitations and future directions
The present study also has its limitations. First, despite the inclusion of a meaningful set of control variables, this study was correlational in nature; thus, any conclusions on the causal relations between the study constructs cannot be made. Future studies should investigate longitudinal associations between both distal and individual antecedents of achievement emotions and their reciprocal linkages, as suggested by the control-value theory of achievement emotions (see Pekrun and Perry 2014). A longitudinal research design would also allow the testing of mediating mechanisms, between the teacher-student relationship quality, the self-concept of ability and achievement emotions, and how these are further related to academic outcomes.
Second, our sample consisted of 12-year-olds, thus warranting studies with different age groups. Third, it is possible that adolescents' self-reports of emotions, self-concepts and the teacher-child relationship quality may have led to the overestimation of the strengths of the main effects because of the shared method variance. Future studies could, for example, link the self-assessment of emotions to physiological indicators of emotions.

Conclusions and practical implications
This study extends the work of previous studies on the antecedents of achievement emotions by illustrating the importance of both individual and distal factors in the emergence of achievement emotions. More specifically, our findings suggest that in addition to selfconcepts of ability, the teacher-student relationship quality plays an important role in adolescents' achievement emotions in mathematics and literacy. Moreover, our findings indicate that some of the relations (especially in the literacy domain) between the teacher-student relationship quality, the self-concept of ability and emotions were dependent on student temperament. Generally, our results suggest that a higher self-concept of ability is important in promoting positive emotions and lessening negative emotions. Moreover, our study extended previous knowledge by revealing that in literacy, a low self-concept seemed to increase anxiety towards learning for adolescents low in effortful control, whereas a higher self-concept protected against anxiety. Overall, our results suggest that in order to boost students' positive emotions and mitigate their negative emotions towards school, students' self-concepts of ability should be enhanced. In addition, students with low levels of effortful control may particularly benefit from support of their self-concept of ability.
This study contributed to the previous research on teacher-student relationships by demonstrating that teacher-student relationship quality is related to students' emotions and that certain relationship characteristics may be particularly detrimental to students with certain temperament characteristics in terms of achievement emotions towards literacy. Overall, the results suggest that a positive relationship with the teacher may be beneficial for students' achievement emotions. This information is important for educators because teachers' awareness of the associations of the quality of teacher-student relationships with students' achievement emotions may improve the quality of these relationships. A positive relationship with adolescents has the potential to inform teachers about students' needs and, in turn, to enable adolescents to cope constructively with tasks, thus further enhancing their motivation and engagement (Skinner et al. 2014). The results also suggest that a knowledge of students' temperament may provide teachers with further information on how to best meet the students' needs and support their learning and motivation.