Why does this alternative to the Quadratic Formula not always work? $x=\frac1a\left(-b+\sqrt{\frac12(b^2-2ac\pm b\sqrt{b^2-4ac})}\right)$

algebra-precalculusquadratics

I was playing with quadratic formula a while ago and I was able to accidentally arrive at:
$$x=\frac{1}{a}\left(-b+\sqrt{\frac{(b^2-2ac)±b\sqrt{b^2-4ac}}{2}}\right) \tag{1}$$
However, I have not been able to solve it from scratch but I simplified it in some way to arrive back at the general quadratic equation. Here we go:
$$x=\frac{1}{a}\left(-b+\sqrt{\frac{(b^2-2ac)±b\sqrt{b^2-4ac}}{2}}\right)$$
$$2(ax+b)^2=b^2-2ac±b\sqrt{b^2-4ac}$$
$$2a^2x^2+4abx+b^2+2ac=±b\sqrt{b^2-4ac}$$
From the original quadratic formula, we know that
$$2ax+b=±\sqrt{b^2-4ac}$$
So
$$2a^2x^2+4abx+b^2+2ac=b(2ax+b)$$
$$2a^2x^2+2abx+2ac=0 \tag{2}$$
Dividing (2) by $a$ as $a≠0$, we have
$$ax^2+bx+c=0$$
Looks practically perfect, right?
I gave this to one of the maths experts in my environment for verification. Unfortunately, he was able to give a quadratic equation for which (1) could not solve and that is:
$$x^2-4x+4=0$$
After a thorough re-check through a series of examples, if we let $x_1$ and $x_2$ be the values of (1), i realized that the formula could find only one root if and only if
$$|x_1|=|x_2|$$

Question: what could be wrong with (1)?
I am not claiming to have discovered a new quadratic formula, I am just curious about why (1) doesn't work generally.

Best Answer

Your formula finds a zero of the polynomial $$ (a^2 x^2 + 3 a b x + a c + 2 b^2) (a x^2 + b x + c) $$ So it could be a zero of $a x^2 + b x + c$, but it also could be a zero of $a^2 x^2 + 3 a b x + a c + 2 b^2$.