The amount each friend paid for food is $8. 50 for the food and $1. 50 for the tip.
The division is one of the most basic mathematical operators. It is used when a number is to be distributed equally in n number of parts.
As it is given that the total of 4 friends went to the lunch, the total amount paid by them is $40, but the food bill was just $34, therefore, the rest of the amount was paid in the tip. If we calculate the tip,
Tip = Total spent - Food bill
Tip = $40 - $34
Tip = $6
Now, as it is that the total amount spend by all on the food is $34, and it is to be divided among the four friends, therefore, the amount paid by each of the friends is,
[tex]\text{Total amount to be paid by each friend}=\dfrac{\text{Total amount spent by all on food}}{\text{Number of friends}}\\\\\text{Total amount to be paid by each friend}=\dfrac{\$34}{4}\\\\\text{Total amount to be paid by each friend}=\$8.5[/tex]
Further, the total amount tip by all is $6, and it is to be divided among the four friends, therefore, the amount paid by each of the friends is,
[tex]\text{Total amount to be paid by each friend}=\dfrac{\text{Total Tip}}{\text{Number of friends}}\\\\\text{Total amount to be paid by each friend}=\dfrac{\$6}{4}\\\\\text{Total amount to be paid by each friend}=\$1.5[/tex]
Hence, the amount each friend paid for food is $8. 50 for the food and $1.50 for the tip.
Learn more about Division:
https://brainly.com/question/369266