Q.
If the coefficients of x and x2 in the expansion of (1+x)p(1−x)q,p,q≤15, are −3 and −5 respectively, then the coefficient of x3 is equal to ________.
Since coefficient of x is −3 ⇒pC1−qC1=−3 ⇒p−q=−3.....(1)
Comparing coefficients of x2 −pC1qC1+pC2+qC2=−5.......(2) −pq+2p(p−1)+2q(q−1)=−5
Solving (1) and (2) p=8,q=11
Coefficient of x3 is −qC3+pC3+pC1qC2−pC2qC1 =−11C3+8C3+8C111C2−8C211C1 =23