Question 220420
A class has a boy-girl ratio of 5:3. Three more girls join the class, changing the ratio of 10:7. How many students are now in the class?
By trying and just plugging in numbers I got 30 and 18 plus 3 more, so now the total is 51 - but I'm not sure how to set it up as a problem!
-----
let b = number of boys.
let g = number of girls.
-----
b/g = 5/3
this means that b = 5g/3
-----
add 3 girls and the ratio becomes 10/7
this means that: 
b/(g+3) = 10/7
this means that:
b = (10g + 30)/7
-----
since both these equations equal to b, then they must equal to each other.
you get:
5g/3 = (10g + 30)/7
multiply both sides by 7 and you get:
35g/3 = 10g + 30
multiply both sides by 3 to get:
35g = 30g + 90
subtract 30g from both sides to get:
5g = 90
divide both sides by 5 to get:
g = 18
-----
original ratio led to bg = 5g/3
5*18/3 = 5*6 = 30
original class size is 30 boys and 18 girls.
-----
add 3 girls and the class size is 30 boys and 21 girls.
boy to girl ratio is now 30/21 which equals 10/7
-----