I am trying to solve a system equations for rational, constant coefficients:
ord = 3;
vars = {a, b, c, d, e};
Do[tt[nn] = Total[vars^nn], {nn, 1, ord}];
mm = (Expand[tt[1]^ord] /. mm_^nn_ -> 0)/ord! // Expand; (*Sum of products of all unique sets of 3*)
expr = cc[1]*tt[1]^3 + cc[2]*tt[2]*tt[1] + cc[3]*tt[3] - mm;
aa = Solve[{expr == 0}, {cc[1], cc[2], cc[3]}]
(*{{cc[3] -> -((-a b c - a b d - a c d - b c d - a b e - a c e - b c e - a d e - b d e - c d e)/(a^3 + b^3 + c^3 + d^3 + e^3)) - ((a + b + c + d + e)^3 cc[1])/(a^3 + b^3 + c^3 + d^3 + e^3) - ((a + b + c + d + e) (a^2 + b^2 + c^2 + d^2 + e^2) cc[2])/(a^3 + b^3 + c^3 + d^3 + e^3)}} *)
This is the correct result for an under-determined system like this one, with 1 eqn and 3 unknowns. However, if we require that the cc[]'s be rational constants, i.e. independent of {a, b, c, d, e}, then the only solution (which I calculated by hand) is:
bb = {cc[1] -> 1/6, cc[2] -> -1/2, cc[3] -> 1/3};
expr /. bb // Expand
(* 0 *)
How can I get such solns from MMa? How does one impose the condition that the soln coefficients must be rational constants?
Ultimately, I need to do this with arbitrarily large vars lists and larger values of ord where ord < Length[vars].