I was given this question as a practise assignment and I am unsure of my answer.
The coefficient of $x^2$ in the expansion of $(x+\frac{1}{ax})^8$ is 7. Find the possible value of $a$.
I did $(x+\frac{1}{ax})^8$ = $(x (1+\frac{1}{ax^2}))^8$
Given my answer, does that mean that $a=7$?
Edit: Thank you for everyone's help! I think I understand it a little bit now. I will have to review this question again and practise more.
hint
$$(x+\frac{1}{ax})^2=x^2+\frac{1}{a^2x^2}+\frac{2}{a}$$
So, you just need to find the coefficient of $ X $ in the expansion
$$(X+\frac{1}{a^2X}+\frac{2}{a})^4$$