[Math] How to find coefficient of multiple binomial expansions quickly

algebra-precalculusbinomial theorembinomial-coefficientsdiscrete mathematics

Find the coefficient of $(x^{-2})$ in the expansion of $(x-1)^3(\frac1{x}+2x)^6$

How can this be done quickly without expanding the two brackets?

I tried writing the general formula in terms of $r$ for both brackets and equated $-2$ to the sum of the powers of $x$ in terms of $r$.
$${3 \choose r} (x^{3-r}) (-1)^r {6 \choose r} \left(\frac1{x}^6-r\right)(2x)^r$$

I understand that there are multiple ways of getting $x^{-2}$, but shouldn't this be accounted for in the general formula method? (multiple $x^{-2}$ terms can be simplified to one number which should obey the general term formula).

I'd really appreciate your help;)

Best Answer

To convert to a more familiar form, multiply and divide by $x^6$:

$$(x-1)^3 (1+2x^2)^6 x^{-6}$$

Now you're looking for the coefficient of $x^4$ in $(x-1)^3 (1+2x^2)^6$. You can get $x^4$ out of this product either by multiplying $x^2$ with $x^2$ or $1$ with $x^4$. Each of those coefficients should be easy to calculate, then you just add them.