A survey asked 50 students if they play an instrument and if they are in the band.

1. 25 students play an instrument.
2. 20 students are in the band.
3. 30 students are not in the band.

Which table shows these data correctly entered in a two-way frequency table?

A.
\begin{tabular}{|c|c|c|c|}
\hline & Band & \begin{tabular}{c}
Not in \\
band
\end{tabular} & Total \\
\hline \begin{tabular}{c}
Play \\
instrument
\end{tabular} & 20 & 5 & 25 \\
\hline \begin{tabular}{c}
Don't play \\
instrument
\end{tabular} & 0 & 25 & 25 \\
\hline Total & 20 & 30 & 50 \\
\hline
\end{tabular}

B.
\begin{tabular}{|c|c|c|c|}
\hline & Band & \begin{tabular}{c}
Not in \\
band
\end{tabular} & Total \\
\hline \begin{tabular}{c}
Play \\
instrument
\end{tabular} & 20 & 0 & 20 \\
\hline \begin{tabular}{c}
Don't play \\
instrument
\end{tabular} & 5 & 25 & 30 \\
\hline Total & 25 & 25 & 50 \\
\hline
\end{tabular}

C.
\begin{tabular}{|c|c|c|c|}
\hline & Band & \begin{tabular}{c}
Don't play \\
instrument
\end{tabular} & Total \\
\hline \begin{tabular}{c}
Not in \\
band
\end{tabular} & 20 & 5 & 25 \\
\hline \begin{tabular}{c}
Play \\
instrument
\end{tabular} & 0 & 25 & 25 \\
\hline Total & 20 & 30 & 50 \\
\hline
\end{tabular}

D.
\begin{tabular}{|c|c|c|c|}
\hline & \begin{tabular}{c}
Band and \\
play \\
instrument
\end{tabular} & \begin{tabular}{c}
Not in band \\
and play \\
instrument
\end{tabular} & Total \\
\hline \begin{tabular}{c}
Not in band \\
and don't
\end{tabular} & [tex]$2 n$[/tex] & [tex]$n$[/tex] & [tex]$0 n$[/tex] \\
\hline
\end{tabular}



Answer :

Let's create a two-way frequency table based on the given data:

1. Total number of students: 50
2. Students who play an instrument: 25
3. Students who are in the band: 20
4. Students who are not in the band: 30

Since the total number of students is 50, there are two mutually exclusive groups: those in the band and those not in the band.

Considering the students who play an instrument:
- Those who play an instrument and are in the band: Let's denote this number as [tex]\( x \)[/tex].
- Those who play an instrument but are not in the band: [tex]\( 25 - x \)[/tex].

Considering students who do not play an instrument:
- Total students not in the band: 30
- Thus, those who do not play an instrument and are not in the band: [tex]\( 30 - (25 - x) = 5 + x \)[/tex].

The key is finding [tex]\( x \)[/tex]:
- Students who are in the band: 20
- Those who play an instrument and are in the band [tex]\( x \)[/tex] + those who do not play an instrument and are in the band [tex]\( 20 - x \)[/tex].

We solve:
[tex]\[ x + (20 - x) = 20 \][/tex]
[tex]\[ 0 + 20 = 20 \][/tex]

Thus:
- Students who play an instrument and are in the band: 20
- Students who play an instrument but are not in the band must be [tex]\( 25 - 20 = 5 \)[/tex].

Now we fill out the two-way table:

[tex]\[ \begin{array}{|c|c|c|c|} \hline & \text{Band} & \text{Not in band} & \text{Total} \\ \hline \text{Play instrument} & 20 & 5 & 25 \\ \hline \text{Don't play instrument} & 0 & 25 & 25 \\ \hline \text{Total} & 20 & 30 & 50 \\ \hline \end{array} \][/tex]

Thus, the table that shows these data correctly entered in a two-way frequency table is:

Answer: A