TITLE: Algebra problem (problem from Swedish 12th grade ‘Student Exam’ from 1932)
QUESTION [9 upvotes]: 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

REPLY [2 votes]: This answer provides some motivation for a high school student learning the binomial theorem and problem solving techniques; we also get a 'feeling' for homogeneous polynomials.
Employing the binomial theorem we naturally write out (including the quadratic),
$\tag 1 x  + y \color\red{ = a} $
$\tag 2 x^2 + y^2 = (x+y)^2- (2xy) $
$\tag 3 x^3 + y^3 = (x+y)^3 - (3 x^2 y + 3 x y^2) \color\red {= 10a^3}$
$\tag 4 x^4 + y^4 = (x+y)^4 - (4 x^3 y + 6 x^2 y^2 + 4 x y^3) $
Using $\text{(1)}$,
$\tag 1 x  + y \color\red{ = a} $
$\tag 2 x^2 + y^2 = \color\red {(a)^2} - (2xy) $
$\tag 3 x^3 + y^3 = \color\red {(a)^3} - (3 x^2 y + 3 x y^2) \color\red {= 10a^3}$
$\tag 4 x^4 + y^4 = \color\red {(a)^4} - (4 x^3 y + 6 x^2 y^2 + 4 x y^3) $
It looks likes we have a good shot at writing $xy$ in terms of $a^2$ and from $\text{(3)}$,
$\quad \text{(3)} \implies -3xy(x+y) = 9a^3 \land \text{(1)} \implies xy = -3a^2$
Checkpoint,
$\tag 1 x  + y \color\red{ = a} $
$\tag 2 x^2 + y^2 = \color\red {7a^2}$
$\tag 2 xy = \color\red{ -3\, a^2}$
$\tag 3 x^3 + y^3  \color\red {= 10a^3}$
$\tag 4 x^4 + y^4 = \color\red {a^4} - (4 x^3 y + 6 x^2 y^2 + 4 x y^3) $
Always hopeful, we tackle the remaining part,
$\quad - (4 x^3 y + 6 x^2 y^2 + 4 x y^3) =$
$\quad -2xy(2x^2+3xy+2y^2) =$
$\quad -2xy\bigr(2(x^2+y^2) + 3xy\bigr) =$
$\quad 6a^2\bigr(14a^2 -9a^2\bigr) = 30a^4$
and so
$\tag{ANS} x^4 + y^4 = 31a^4$

Bonus Section
Keep going?
$\quad x^5 + y^5 = (x+y)^5 -(5 x^4y + 10 x^3 y^2 + 10 x^2 y^3 + 5 x y^4 ) = $
$\quad \quad \quad \quad \quad \quad a^5 -xy(5 x^3 + 10 x^2 y^1 + 10 x^1 y^2 + 5  y^3 ) =$
$\quad \quad \quad \quad \quad \quad  a^5 +3a^2(50 a^3 + 10 x^2 y^1 + 10 x^1 y^2  ) =$
$\quad \quad \quad \quad \quad \quad  a^5 +3a^2\bigr(50 a^3 + 10 xy(x + y )\bigr) =$
$\quad \quad \quad \quad \quad \quad  a^5 +3a^2(50 a^3 -30a^3) =$
$\quad \quad \quad \quad \quad \quad  61a^5$
More?
$\quad x^6 + y^6 = \,?$