document.write( "Question 32117: 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 4 more rows . Find the number of students in the class ?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #18636 by Paul(988)\"\" \"About 
You can put this solution on YOUR website!
Let the number of students in each row be x, and the number of rows be y.
\n" ); document.write( "xy = (x + 4)(y – 2)
\n" ); document.write( "xy = (x – 4)(y + 4)
\n" ); document.write( "From xy = (x + 4)(y – 2):
\n" ); document.write( "xy = xy – 2x + 4y – 8
\n" ); document.write( "xy – xy = xy – 2x + 4y – 8 – xy
\n" ); document.write( "0 = -2x + 4y – 8
\n" ); document.write( "0 = x – 2y + 4
\n" ); document.write( "x – 2y + 4 – 4 = 0 – 4
\n" ); document.write( "x – 2y = -4
\n" ); document.write( "From xy = (x – 4)(y + 4):
\n" ); document.write( "xy = xy + 4x – 4y – 16
\n" ); document.write( "xy – xy = xy + 4x – 4y – 16 – xy
\n" ); document.write( "0 = 4x – 4y – 16
\n" ); document.write( "0 = x – y – 4
\n" ); document.write( "x – y – 4 + y + 4 = 0 + y + 4
\n" ); document.write( "x = y + 4
\n" ); document.write( "Substitute x = y + 4 into x – 2y = -4:
\n" ); document.write( "y + 4 – 2y = -4
\n" ); document.write( "-y + 4 = -4
\n" ); document.write( "-y + 4 – 4 = -4 – 4
\n" ); document.write( "-y = -8
\n" ); document.write( "y = 8
\n" ); document.write( "Substitute y = 8 into x = y + 4:
\n" ); document.write( "x = 8 + 4
\n" ); document.write( "x = 12
\n" ); document.write( "xy = (12)(8) = 96
\n" ); document.write( "Hence, the number of students is 96.\r
\n" ); document.write( "\n" ); document.write( "Paul.
\n" ); document.write( " \n" ); document.write( "
\n" );