There are some students in the two examination halls A and B. To make the number of students equal in each hall, 10 students are sent from A to B. But if 20 students are sent from B to A, the number of students in A becomes double the number of students in B. Find the number of students in the two halls.
Solution:
According to question:
Let x and y are the number of students in class A and B.
x – 10 = y + 10
x – y = 20 … (1)
Second condition is
(x + 20) = 2(y – 20)
x + 20 = 2y – 40
x – 2y = – 60 … (2)
Subtract (1) and (2) we get
y = 20 + 60
y = 80
Put y = 80 in (1)
x – 80 = 20
x = 20 + 80
x = 100
Hence in hall A there are 100 students and in hall B there are 80 students.