If a problem asks to find the coefficient of a variable, say, $x^2$, in a large binomial expansion, is there a way to solve without doing the whole expansion (I do it with Pascal's Triangle / Binomial Theorem). For example, in this problem
The coefficient of $x^2$ in the expansion of $(\frac{1}{x} + 5x)^8$ is equal to the coefficient of $x^4$ in the expansion of $(a+5x)^7$, $a$ is a real number. Find the value of $a$.
I expand it out and get different answers on different tries. Not sure what's the best method to proceed. If anyone could help I would appreciate it so much!
It's easier if you find the coefficient of $x^{10}$ in $(1+5x^2)^8$, which is the same as the coefficient of $x^5$ in $(1+5x)^8$; this is $$ \binom{8}{5}\cdot 5^5=\binom{8}{3}\cdot 5^5 $$ The coefficient of $x^4$ in the expansion of $(a+5x)^7$ is $$ \binom{7}{4}\cdot a^3\cdot 5^4=\binom{7}{3}\cdot a^3\cdot 5^4 $$ Now the equation is easy.