Given the equation
$$\frac{u^4}{3} - 2u^3 + \frac{23}{3}u^2 - 6u + 8$$
I want to rewrite it in the form $x^2 + 7$.
As it is a quartic, I started by letting $x = au^2 + bu + c$, since squaring this $x$ will give the desired powers for $u$.
Subbing in for $x$
$$(au^2 + bu + c)^2 + 7$$
$$= a^2u^4 + 2abu^3 + (2ac + b^2)u^2 + 2bcu + c^2 + 7$$
Then I let the coefficients in both equations be equal yielding $a^2 = \frac{1}{3}$, $2ab = -2$, $2ac + b^2 = \frac{23}{3}$, and $c^2 + 7 = 8$.
The issue lies here, the system of equations seems to be inconsistent.
Solving for the first 3 gives the values $a = \pm \frac{1}{\sqrt{3}}$, $b = \mp \sqrt{3}$, and $c = \pm \frac{7}{\sqrt{3}}$. However, this value of c disagrees with the last equation above $c^2 + 7 = 8 \implies c = \pm 1$, and likewise for the second last equation.
Is there any way to rewrite the above equation as a square, or is this enough to show it is not possible?
EDIT As a follow up question, how would I rewrite it in the general form $x^2 + D$? What values of D are possible?