If $$x^2−9x+5=0$$ then what is $$x^4−18x^3+81x^2+42$$
I know I can simply find what x is and plug it in, but given this is a practice question on a problem solving paper I know there is a 'smart' way to do it.
Can someone give a hint to how to approach these questions?
\begin{align} x^2−9x+5=0 &\implies x^2 = 9x - 5 \\ &\implies x^3 = 9x^2 - 5x = 76x - 45\\ &\implies x^4 = 76x^2-45x = 639x - 380 \\ \hline x^4−18x^3+81x^2+42 &= \cdots \end{align}
OR
\begin{array}{r} &&&&&& x^2 &-9x &-5 \\ &&&&--- &--- &--- &--- &--- \\ x^2 &-9x &+5 &\mid &x^4 &-18x^3 &+81x^2 & +0x &+42 \\ &&&&x^4 & -9x^3 & +5x^2 \\ &&&&--- &--- &--- \\ &&&&& -9x^3 &+76x^2 & +0x \\ &&&&& -9x^3 &+81x^2 &-45x \\ &&&&&--- &--- &--- \\ &&&&&& -5x^2 &+45x &+42 \\ &&&&&& -5x^2 &+45x &-25 \\ &&&&&&--- &--- &--- \\ &&&&&&&& 67 \\ \end{array}
So $ x^4−18x^3+81x^2+42 = (x^2−9x-5)(x^2−9x+5) + 67 = \cdots$