document.write( "Question 25721: On the first day of school, the percentage of boys in a particular class is 60%. During the school year, six girls move away, and are replaced in the class by six boys; this makes the class roster 75% boys. Find the number of boys and girls in the class on the first day of school. \n" ); document.write( "
Algebra.Com's Answer #13832 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let b = number of boys on the 1st day of school
\n" ); document.write( "let g = number of girls on the 1st day of school
\n" ); document.write( "so, b + g equal number of boys + number of girls
\n" ); document.write( "60% of (b + g) is boys on the 1st day
\n" ); document.write( "later on, 6 girls leave and 6 boys are added
\n" ); document.write( "That means (b + g) does not change, but boys are now 75% of (b + g)
\n" ); document.write( "so, on the 1st day,
\n" ); document.write( "(a).....b/(b + g) = .60
\n" ); document.write( "and later on,
\n" ); document.write( "(b).....(b + 6)/(b + g) = .75
\n" ); document.write( "solve the first equation for b
\n" ); document.write( "b = .6b + .6g
\n" ); document.write( ".4b = .6g
\n" ); document.write( "b = (3/2)g
\n" ); document.write( "now solve the second equation for g
\n" ); document.write( ".75(b + g) = b + 6
\n" ); document.write( ".75b + .75g = b + 6
\n" ); document.write( ".75g = .25b + 6
\n" ); document.write( "express as fractions
\n" ); document.write( "(3/4)g = (1/4)b + 6
\n" ); document.write( "3g = b + 24
\n" ); document.write( "g = (1/3)b + 8
\n" ); document.write( "substitute b = (3/2)g (from before)
\n" ); document.write( "g = (1/3)(3/2)g + 8
\n" ); document.write( "g = (1/2)g + 8
\n" ); document.write( "2g = g + 16
\n" ); document.write( "g = 16
\n" ); document.write( "now substitute this value in either of the two equations (a) or (b)
\n" ); document.write( "b/(b + 16) = 3/5
\n" ); document.write( "b = (3/5)(b + 16)
\n" ); document.write( "(5/3)b = b + 16
\n" ); document.write( "(2/3)b = 16
\n" ); document.write( "b = (3/2)16
\n" ); document.write( "b = 24
\n" ); document.write( "so, there are 16 girls and 24 boys on the first day of school
\n" ); document.write( "If I add 6 boys and subtract 6 girls like the problems says
\n" ); document.write( "are the boys 75% of (boys + girls)?
\n" ); document.write( "(24 + 6) /((24 + 6) +(16 - 6)) = .75
\n" ); document.write( "30/(30 + 10) = 30/40 = .75
\n" ); document.write( "answer checks\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );