Answer:
8 boys
Explanation:
Given
Let
The initial number of boys
Amount paid by each
Required
Number of boys that paid
After four boys left, the amount paid by each is:
![A = (192)/(n - 4)](https://img.qammunity.org/2022/formulas/mathematics/high-school/f9e5fofjnzno7xz480rhxk93nynz2thmlt.png)
Before the four boys left, the amount each would have paid is:
i.e. $8 less
Make A the subject
![A= (192)/(n) + 8](https://img.qammunity.org/2022/formulas/mathematics/high-school/b3ahpj0r58taji0kniwt9dfpazyw0gxw05.png)
Equate both expressions
![A = A](https://img.qammunity.org/2022/formulas/mathematics/high-school/ce5m3q2cxmozsf8hjvu1nje6fzgf1xpld5.png)
This gives:
![(192)/(n - 4) =(192)/(n) + 8](https://img.qammunity.org/2022/formulas/mathematics/high-school/oklqcxgdh8a7nb2il7hwf09xlb8sgt9io3.png)
Take LCM
![(192)/(n - 4) =(192+ 8n)/(n)](https://img.qammunity.org/2022/formulas/mathematics/high-school/agk9kk7p79o17v23knlv3tysvqow2ge8lg.png)
Cross multiply
![192n = (192 + 8n)(n -4)](https://img.qammunity.org/2022/formulas/mathematics/high-school/4l6tkta8d7w6t7kg1oe9dfv0ui4uckvy0m.png)
Open brackets
![192n = 192n - 768 + 8n^2 - 32n](https://img.qammunity.org/2022/formulas/mathematics/high-school/o82ww134dgoh5pjkcaarh6ozynyyh11xgd.png)
Subtract 192n from both sides
![0 = - 768 + 8n^2 - 32n](https://img.qammunity.org/2022/formulas/mathematics/high-school/j4tsimx1dbrkxjtnn4fgd00svppgbcdglg.png)
Rearrange
![8n^2 - 32n - 768 = 0](https://img.qammunity.org/2022/formulas/mathematics/high-school/8zpc61sf1zpobe4rvhcz19phrttu63dyta.png)
Divide through by 8
![n^2 - 4n - 96 = 0](https://img.qammunity.org/2022/formulas/mathematics/high-school/1etnwwco0b48rviucd9x8cuf5h5figno6m.png)
Expand
![n^2 + 8n - 12n - 96 = 0](https://img.qammunity.org/2022/formulas/mathematics/high-school/u7oa63su60dgdcibcv8q5fkkc6bocd5giu.png)
Factorize
![n(n + 8) - 12(n + 8) = 0](https://img.qammunity.org/2022/formulas/mathematics/high-school/9ftedt609i359ds4khnndekgm0xv025vto.png)
Factor out n + 8
![(n - 12) (n + 8) = 0](https://img.qammunity.org/2022/formulas/mathematics/high-school/nptyed9sjkcockbvjqkja4vquw940lmnyp.png)
Split
or
![n + 8= 0](https://img.qammunity.org/2022/formulas/mathematics/high-school/qd7w8781nj4e9ubjjnrtx32rh8fkuqkb40.png)
Solve for n
or
![n = -8](https://img.qammunity.org/2022/formulas/mathematics/high-school/fksh89xzp4ogxt2xg8j7w90gqwn4138bs7.png)
n cannot be negative
So:
![n = 12](https://img.qammunity.org/2022/formulas/mathematics/college/knq6628pa2hsikkhe10c5v3py7cp6vb032.png)
The number of boys that stayed and paid are:
![Boys = n -4](https://img.qammunity.org/2022/formulas/mathematics/high-school/3ddkn4migvvajzvehe4s7xe8l5qcp49asn.png)
![Boys = 12-4](https://img.qammunity.org/2022/formulas/mathematics/high-school/doc7u4ot00cj8aouhxklgiogc015srpxac.png)
![Boys = 8](https://img.qammunity.org/2022/formulas/mathematics/high-school/2ph7gatclajmer1cyogmzy7xi60vgcucg0.png)