Consider the problem
It is know that (r+1)th term, (Tr+1), in the binomial expansion of (a+b)n is given by
Tr+1=nCran−rbr
Assuming that x2 occurs in the (r+1)th term of expansion (1+x)m we obtain
Tr+1=mCr(1)m−r(x)r=mCr(x)r
Now comparing the indices of x in x2 and in Tr+1 we obtain
r=2
Therefore, the coefficient of x2 is mC2
It is given that the coefficient of x2 in the expansion (1+x)m is 6
∴mC2=6⇒m!2!(m−2)!=6⇒m(m−1)(m−2)!2×(m−2)!=6⇒m(m−1)=12⇒m2−m−12=0⇒m2−4m+3m−12=0⇒m(m−4)+3(m−4)=0⇒(m−4)(m−3)=0⇒(m−4)=0or(m+3)=0⇒m=4orm=−3
Thus, the positive value of m for which the coefficient of x2 in the expansion (1+x)m is 6 is 4.