The amount each friend paid for food is $8. 50 for the food and $1. 50 for the tip.
<h3>What is division?</h3>
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,

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,

Hence, the amount each friend paid for food is $8. 50 for the food and $1.50 for the tip.
Learn more about Division:
brainly.com/question/369266