The mean age of a group of students is 15 years. When the age of a teacher, 45 years old, is added to the age of the students, the mean of their ages become...
The mean age of a group of students is 15 years. When the age of a teacher, 45 years old, is added to the age of the students, the mean of their ages becomes 18 years. Find the number of the students in the group
Answer Details
Let's start by defining some variables:
- n: the number of students in the group
- sum_age_students: the sum of the ages of the students
We know that the mean age of the group of students is 15, so we can write:
mean_age_students = sum_age_students / n = 15
From the problem, we also know that when the age of the teacher is added to the age of the students, the mean of their ages becomes 18. So we can write another equation:
(mean_age_students + 45) = (sum_age_students + 45) / (n + 1) = 18
Now we have two equations with two variables (n and sum_age_students), and we can solve for them simultaneously. Let's start by simplifying the second equation:
sum_age_students + 45 = 18(n + 1)
sum_age_students = 18n + 27
Now we can substitute this expression for sum_age_students in the first equation:
sum_age_students / n = 15
(18n + 27) / n = 15
18n + 27 = 15n
3n = 27
n = 9
Therefore, there are 9 students in the group.