Algebra problem (problem from Swedish 12th grade ‘Student Exam’ from 1932) The following problem is taken from a Swedish 12th grade ‘Student Exam’ from 1932.

The sum of two numbers are $a$, the sum of the 3rd powers is $10a^3$. Calculate the sum of the 4th powers, expressed in $a$.

Is there a shorter/simpler solution than the one presented below? It feels there is some ‘trick’ to it. The solution presented below is more a ‘straight forward’ one.

Solution
We have
\begin{gather*}
\left\{
\begin{aligned}
x+y&=a\\
x^3+y^3&=10a^3
\end{aligned}
\right.
\quad\Leftrightarrow\quad
x^3+(a-x)^3=10a^3
\quad\Leftrightarrow\quad
x^2-ax-3a^2=0
\end{gather*}
which has the solutions
$$
x_{1,2}=\tfrac{1}{2}(1\pm\sqrt{13}\,)a
\qquad \Rightarrow \qquad
y_{1,2}=\tfrac{1}{2}(1\mp\sqrt{13}\,)a.
$$
Since
$$
(1+z)^4+(1-z)^4=2(1+6z^2+z^4)
$$
we have
\begin{align*}
x_1^4+y_1^4
&
=\bigl(\tfrac{1}{2}(1+\sqrt{13}\,)a\bigr)^{\!4}+\bigl(\tfrac{1}{2}(1-\sqrt{13}\,)a\bigr)^{\!4}
=\tfrac{a^4}{16}\cdot2\bigl(1+6z^2+z^4\bigr)\big|_{z=\sqrt{13}}
\\&=\tfrac{a^4}{8}(1+6\cdot13+13^2)
=\tfrac{a^4}{8}\cdot248
=31a^4
\end{align*}
and, as above,
$$
x_2^4+y_2^4
=\bigl(\tfrac{1}{2}(1-\sqrt{13}\,)a\bigr)^{\!4}+\bigl(\tfrac{1}{2}(1+\sqrt{13}\,)a\bigr)^{\!4}
=31a^4.
$$
Hence, the answer is $31a^4$.

The original exam


Since $x+y=a$,
$$10a^3=x^3+y^3=(x+y)^3-3xy(x+y)=a^3-3axy\,,$$
and $xy=-3a^2$.
$$\begin{align*}
x^4+y^4&=(x+y)^4-2xy\left(2x^2+3xy+2y^2\right)\\
&=(x+y)^4-2xy\left(2(x+y)^2-xy\right)\\
&=a^4+6a^2\left(2a^2+3a^2\right)\\
&=a^4+30a^4\\
&=31a^4\,.
\end{align*}$$
