There are 120 students in a test, and their average score is 70. The average score of the passed students is 78, and the average score of the failed students is 30. Find the number of failed students.

AlgebraWord ProblemAverageLinear Equations
2025/7/8

1. Problem Description

There are 120 students in a test, and their average score is
7

0. The average score of the passed students is 78, and the average score of the failed students is

3

0. Find the number of failed students.

2. Solution Steps

Let nn be the total number of students.
Let npn_p be the number of passed students, and nfn_f be the number of failed students.
Let aa be the average score of all students.
Let apa_p be the average score of passed students, and afa_f be the average score of failed students.
We are given:
n=120n = 120
a=70a = 70
ap=78a_p = 78
af=30a_f = 30
We know that n=np+nfn = n_p + n_f, so np=nnf=120nfn_p = n - n_f = 120 - n_f.
The sum of the scores of all students is na=12070=8400n \cdot a = 120 \cdot 70 = 8400.
The sum of scores of passed students is npap=(120nf)78n_p \cdot a_p = (120 - n_f) \cdot 78.
The sum of scores of failed students is nfaf=nf30n_f \cdot a_f = n_f \cdot 30.
The sum of scores of all students equals the sum of scores of passed students and failed students.
na=npap+nfafn \cdot a = n_p \cdot a_p + n_f \cdot a_f
8400=(120nf)78+nf308400 = (120 - n_f) \cdot 78 + n_f \cdot 30
8400=1207878nf+30nf8400 = 120 \cdot 78 - 78 n_f + 30 n_f
8400=936048nf8400 = 9360 - 48 n_f
48nf=9360840048 n_f = 9360 - 8400
48nf=96048 n_f = 960
nf=96048n_f = \frac{960}{48}
nf=20n_f = 20

3. Final Answer

The number of failed students is 20.