A group of students were surveyed to find out if they like walking pets and/or mowing lawns during the holidays. The results of the survey are shown below:

- 25 students like walking pets
- 4 students like walking pets but do not like mowing lawns
- 23 students like mowing lawns
- 7 students do not like walking pets

Four students created the tables below to represent the data. WP represents walking pets and ML represents mowing lawns.

Sam
\begin{tabular}{|l|c|c|c|}
\hline & Like WP & Do Not Like WP & Total \\
\hline Like ML & 2 & 21 & 23 \\
\hline Do Not Like ML & 5 & 4 & 9 \\
\hline
\end{tabular}

Brenda
\begin{tabular}{|c|c|c|c|}
\hline & Like WP & Do Not Like WP & Total \\
\hline Like ML & 21 & 2 & 23 \\
\hline Do Not Like ML & 4 & 5 & 9 \\
\hline Total & 25 & 7 & 32 \\
\hline
\end{tabular}



Answer :

Let's analyze the data and the survey results to determine the correctness of the tables provided by Sam and Brenda.

1. Total number of students surveyed:
- 25 students like walking pets.
- 7 students do not like walking pets.
- Therefore, the total number of students surveyed is:
[tex]\[ 25 + 7 = 32 \][/tex]

2. Students who like both walking pets and mowing lawns:
- 4 students like walking pets but do not like mowing lawns.
- Since there are 25 students who like walking pets, the number of students who like both walking pets and mowing lawns is:
[tex]\[ 25 - 4 = 21 \][/tex]

3. Students who like mowing lawns but do not like walking pets:
- There are 23 students who like mowing lawns.
- We already determined that 21 students like both, so the number of students who like mowing lawns but do not like walking pets is:
[tex]\[ 23 - 21 = 2 \][/tex]

4. Total number of students in Sam's table:
- According to Sam's table:
- Students who like both: 21
- Students who like mowing lawns but do not like walking pets: 2
- Students who do not like walking pets: 7
- Adding these together, we get the total number of students in Sam's table:
[tex]\[ 21 + 2 + 7 = 30 \][/tex]

5. Total number of students in Brenda's table:
- According to Brenda's table:
- Students who like both: 21
- Students who like walking pets but not mowing lawns: 4
- Students who do not like walking pets: 7
- Adding these together, we get the total number of students in Brenda's table:
[tex]\[ 21 + 4 + 7 = 32 \][/tex]

To conclude, the calculations match the results:
- Total number of students surveyed: 32
- Students who like both walking pets and mowing lawns: 21
- Students who like mowing lawns but do not like walking pets: 2
- Total in Sam's table: 30 (which highlights an inconsistency)
- Total in Brenda's table: 32

So, Brenda's table correctly reflects the survey data, while Sam's table does not.