The correct option is B 3n
The problem can be solved by considering the cases m=4 and m=5 etc
Let, m=4
S={1,2,3,4}
n= number of 3 elements subsets
=4C3=4C1=4
∴n=4
The 4 subsets are {1,2,3}, {1,2,4}, {1,3,4} and {2,3,4}
f(1)= number of subsets having 1 as an element =3
f(2)= number of subsets having 2 as an element =3
f(3)=3 and f(4)=3
∴4∑i=1f(i)=3+3+3+3=12
Both choice (a) and choice (b) are matching the answer since
3m=3n=12
Now let us try m=5
S={1,2,3,4,5}
n= number of 3 element subsets =5C3=10
∴n=10
The 10 subsets are {1,2,3}, {1,2,4}, {1,2,5},{1,3,4}, {1,3,5}, {1,4,5},{2,3,5}, {2,4,5}, {3,4,5}
f(1)=f(2)=f(3)=f(4)=f(5)=6
5∑i=1f(i)=6+6+6+6+6=30
Clearly 3m=3×5=15{is not matching ∑f(i)}
But 3n=3×10=30 {is matching ∑f(i)=30}
∴3n is the only correct answer.
Correct choice is (b)
The problem can also be solved in a more general way as follows:
m∑i=1f(i)=f(1)+f(2)+……+f(m)
Since, f(1)=f(2)=……=f(m)=m−1C2
Therefore, m∑i=1f(i)=m×(m−1)C2
=m×(m−1)×(m−2)2
=3×m×(m−1)×(m−2)1×2×3
=3×mC3
Since n= number of three elements subsets of a set of m elements =mC3
Therefore, m∑i=1f(i)=3×mC3=3n