I want to solve an equation with sum in Mathematica, e.g.,
$$\sum _i \frac{a_i}{x}=1$$
But when I input this:
Solve[Sum[Subscript[a, i]/x, i] == 1, x]
Mathematica will tell me:
Solve::nsmet : This system cannot be solved with the methods available to Solve.
If I remove the $x$ from the equation like this:
$$\frac{\sum _i a_i}{x}=1$$
And:
Solve[Sum[Subscript[a, i], i]/x == 1, x]
Then Mathematica can actually solve it. But this seems a bit troublesome and strange to me. So am I using it incorrectly? What should I input in this case, thanks!