Hello, I am trying to solve a system of equations
eqn = Table[(x[i] - a[i])*Sum[x[k], {k, 1, n}] + b[i]*x[i] == 0, {i, 1, n}]
in a fast way for the x[i] (coefficients a[i] and b[i] are known). I found that for n = 2, 3, 4, 5, 6 Mathematica can eliminate n-1 equations by
eqn1 = Eliminate[eqn, Table[x[i], {i, 1, n - 1}]]
and obtain a single equation, e.g. for x[n], in the form
c[0] + c[1] x + c[2] x^2 + ... + c[n+1] x^(n+1) == 0
with coefficients c[i]. It seems that there is some pattern in how these coefficients look, e.g. for c[1] and c[n+1] I found
c[1] == a[n]^(n - 1)*Product[b[i], {i, 1, n}]*(1 - Sum[a[i]/b[i], {i, 1, n}])
c[n+1] == Product[b[n] - b[i], {i, 1, n - 1}]
Are there similar (simple) rules for the other c[i]? That would allow to reduce solving the equation system to solving a single polynomial equation.
Thanks for your input, Max
Attachments: