There are 4 boys and 5 girls in a room. What is the ratio of the number of boys to the total number of children?

The total number of children is the sum of the number of boys and girls. So we have:

Total number of children = Number of boys + Number of girls
Total number of children = 4 boys + 5 girls
Total number of children = 9 children

The ratio of the number of boys to the total number of children is therefore:

Number of boys : Total number of children
4 : 9

This ratio can be expressed as a fraction representing the boys' proportion of the total group:

Fraction representing the boys' proportion = Number of boys / Total number of children
Fraction representing the boys' proportion = 4 / 9

So the ratio of the number of boys to the total number of children is 4:9.