The correct option is D −30
(1−x+x2)5
Writing the general term
Tr+1=5Cr(x2−x)r
=(−1)k5CrrCkx2r−2kxk
For coefficient of x3
2r−k=3
Let r=2
Hence 1=k
k=1
Substituting, we get he coefficient as
−5C2.2C1
=−10(2)
=−20 ...(i)
Let r=3
Hence k=3
The coefficient being
(−1)35C33C3
=−10 ...(iii)
Hence the coefficient of x3 will be
sum of i and ii
that is −10+(−20)
=−30