document.write( "Question 1090635: The ratio of the number of boys to the number of girls in a class of 42 pupils was 4:3 when some boys left the class the number of girls was the same as the number of boys. how many boys left the class \n" ); document.write( "
Algebra.Com's Answer #705085 by ikleyn(52782)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "
\r\n" );
document.write( "Let x = be the number of boys in the class, and y be the number of girls.\r\n" );
document.write( "\r\n" );
document.write( "Then you have two equations:\r\n" );
document.write( "\r\n" );
document.write( "\"x%2Fy\" = \"4%2F3\",\r\n" );
document.write( "\r\n" );
document.write( "x + y = 42.\r\n" );
document.write( "\r\n" );
document.write( "Express x via y from the first equation: x = \"4y%2F3\", and substitute it into the second equation. \r\n" );
document.write( "You will get a single equation for the unknown y:\r\n" );
document.write( "\r\n" );
document.write( "\"4y%2F3\" + y = 42.\r\n" );
document.write( "\r\n" );
document.write( "Multiply both sides by 4 and simplify.\r\n" );
document.write( "\r\n" );
document.write( "4y + 3y = 42*3 = 126,\r\n" );
document.write( "\r\n" );
document.write( "7y = 126, \r\n" );
document.write( "\r\n" );
document.write( "y = \"126%2F7\" = 18.\r\n" );
document.write( "\r\n" );
document.write( "Now x = \"4y%2F3\" = \"%284%2A18%29%2F3\" = 24.\r\n" );
document.write( "\r\n" );
document.write( "Answer. There are 24 boys and 18 girls in the class.\r\n" );
document.write( "

\n" ); document.write( "
\n" ); document.write( "
\n" );