If the coefficients of x and x2 in \[(1+x)^{\mathrm{p}}(1-x)^{\mathrm{q}}\] are 4 and -5 respectively, then 2p+3q is equal to :
Solutions · 1
Official solution
We have, coefficient of x in (1+x)p(1−x)q=4 and
coefficient of x2 in (1+x)p(1−x)q=−5
\[
(1+x)p(1−x)q=(1+px+2p(p−1)x2+…)(1−qx+2q(q−1)x2+…)=1+(p−q)x+(2p(p−1)+2q(q−1)−pq)x2+……
\]
Coefficient of x in (1+x)p(1−x)q=−q+p⇒p−q=4 ...........(i)
\[
\text { Coefficient of } x^2 \text { in }(1+x)^p(1-x)^q=\frac{q(q-1)}{2}-p q+\frac{p(p-1)}{2}
\]
\[
⇒2q2−q−2pq+p2−p=−5⇒2p2+q2−2pq−(p+q)=−5⇒(p−q)2−(p+q)=−10⇒(4)2−(p+q)=−10[∵ From Eq. (i) ]⇒p+q=26...........(ii)
\]
Form Eqs. (i) and (ii), we get p=15,q=11∴2p+3q=2×15+3×11=30+33=63