I study at below college level. I have been trying to solve certain systems of equations involving $n$ equations of $n$ unknowns. For example, for $2$ unknowns, the problem is \begin{align} a^{\phantom{1}} + b^{\phantom{1}} &= 1 \\ a^2 + b^2 &= 2 \\ a^3 + b^3 &={} ? \end{align} This can be solved with elementary algebra and/or WolframAlpha. You can generalize this to more unknowns: \begin{align} a^{\phantom{1}} + b^{\phantom{1}} + c^{\phantom{1}} &= 1 \\ a^2 + b^2 + c^2 &= 2 \\ a^3 + b^3 + c^3 &= 3 \\ a^4 + b^4 + c^4 &={} ? \end{align} with the same restraint: $n$ unknowns, $n$ equations, in each equation the powers of each variable is the same, and the pattern is clear.
Now, I, off of only the first $3$ cases (including the trivial case $a = 1$, find $a^2$) made a conjecture about the result (the missing value of the final expression). Since this is such a random guess at the value, and so many functions could meet just the first few data points, I want to solve the version with $4$ unknowns, just to see whether the conjecture's true.
However, this is very difficult. The expansions quickly get out of hand and not even WolframAlpha can do it. I want a way to at least get the solving process under control. Usually, one'd generate equations and use those to solve for things like $a \cdot b^3$, but here the issue is that just setting up the equations is a task too difficult. Is there a way to elegantly solve the system? I don't mind trading in time for maybe some more difficult math.
Actually, Mathematica can solve your equations. The code
returns the result $\,x=25/6\,$ with
The key idea for an elegant solution is to use Newton's identities. As Wikipedia states
Thus, we are given the power symmetric polynomials $$ p_1 = a+b+c = 1,\\ p_2 = a^2+b^2+c^2 = 2,\\ p_3 = a^3+b^3+c^3 = 3. $$ Use Newton's identities to find the elementary symmetric polynomials to get $$ e_1 = p_1 = 1, \\ e_2 = (p_1^2-p_2)/2 = -\frac12, \\ e_3 = \left(\frac12 p_1^2 - \frac32 p_1p_2 + p_3\right)/3 = \frac16. $$ There is a recursion for the $\,p_i\,$ given by $$ p_{i+3} = p_{i+2}e_1 -p_{i+1}e_2 +p_{i}e_3. $$ Apply this for $\,i=1\,$ gives the result $$ p_4 = p_3\cdot(1) -p_2\cdot(-1/2) +p_1\cdot(1/6) = \frac{25}6. $$
You need to use the relation between the first $\,n\,$ elementary symmetric functions and the first $\,n\,$ power symmetric functions to solve for $\,p_{n+1}\,$ given $\,p_1,p_2,\dots,p_n.\,$ All of the formulas generalize.
However, in the special case were $\,p_i=i\,$ for $\,i=1,\dots,n\,$ the answer is already given in the OEIS sequence A094094
The entry gives an exponential generating function
and also closed form formulas and summations