a math class has a total of 38 students. The number of females is 16 less than the number of males. How many males and how many females are in class?

Respuesta :

Write the system of equations.

let x be number of male students

let y be number of female students

the number of students can be modeled by the equation

[tex]x+y=38[/tex]

the number of female students can be modeled by the equation

[tex]y=x-16[/tex]

insert the second equation into the first equation

[tex]\begin{gathered} x+(x-16)=38 \\ 2x-16=38 \end{gathered}[/tex]

solve the equation for x

[tex]\begin{gathered} 2x=38+16 \\ 2x=54 \\ x=\frac{54}{2} \\ x=27 \end{gathered}[/tex]

use the number of x into the second equation to find y

[tex]\begin{gathered} y=x-16 \\ y=27-16 \\ y=11 \end{gathered}[/tex]

prove that the results is correct with the first equation

[tex]\begin{gathered} x+y=38 \\ 27+11=38 \\ 38=38 \end{gathered}[/tex]