You can put this solution on YOUR website! When 5 new girls joined a class, the percent of girls increased from 40% to 50%.
What is the number of boys in the class
:
originally = .4
g = .4(g+b)
g = .4g + .4b
g - .4g = .4b
.6g = .4b
multiply by 10
6g = 4b
:
When 5 girls are added = .6
g + 5 = .5(g+b+5)
g + 5 = .5g + .5b + 2.5
g - .5g = .5b + 2.5 - 5
.5g = .5b - 2.5
get rid of all those decimals, multiply by 2
g = b - 5
:
In the original equation, replace g with (b-5)
6(b-5) = 4b
6b - 30 = 4b
6b - 4b = 30
2b = 30
b = 15 boys
:
:
Check by finding the girls
originally
6g = 4(15)
6g = 60
g = 10 girls, a total class of 25
:
10/25 = .4, 40%
:
then we had 15 girls which is 50% of the class with 15 boys