There are a certain number of students in a classroom. The average age of the students is equal to the number of students in the room.
Two professors that are respectively 35 and 45 years old enter the classroom. The average age of the people in the room is again equal to the number of people in the room.
How many students are in the room?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Let the average age of students be x . This means that they are also x in number which means sum of their ages = x × x = x 2 . After teachers enter the room new sum of ages = x 2 + 3 5 + 4 5 = x 2 + 8 0 and now there are x + 2 people. Hence x + 2 x 2 + 8 0 = x + 2 ⟹ x 2 + 8 0 = ( x + 2 ) 2 ⟹ x = 1 9