students of a class are made to stand in rows. if 4 students are extra in a row, there would be two rows less. if 4 students are less in a row, there would be four more rows.find the number of students in the class.

Suppose the number of students in each row is x and the number of rows be y.
Then, total number of students in the class = number of students in each row×number of rows = xy
Now according to the question we have;
When 4 students are extra in a row;
Total number of students = x+4y-2
xy = x+4y-2xy = xy-2x+4y-82x-4y = -8x-2y = -4 ...(i)
When 4 students are less in a row;
Total number of students = x-4y+4
xy = x-4y+4xy = xy+4x-4y-164x-4y = 16x-y = 4 ...(ii)
Subtracting (ii) from (i) we get;
x-2y-x+y = -4-4-y = -8y = 8
Putting the value of y in either of (i) or (ii) we get;
x-8 = 4x = 12
Therefore total number of students in the class = 12×8 = 96

  • 33
What are you looking for?