Expresión del cuadrado perfecto
Expresemos el cuadrado perfecto del trinomio cuadrático
$$\left(x^{4} + x^{2}\right) + 2$$
Para eso usemos la fórmula
$$a x^{4} + b x^{2} + c = a \left(m + x^{2}\right)^{2} + n$$
donde
$$m = \frac{b}{2 a}$$
$$n = \frac{4 a c - b^{2}}{4 a}$$
En nuestro caso
$$a = 1$$
$$b = 1$$
$$c = 2$$
Entonces
$$m = \frac{1}{2}$$
$$n = \frac{7}{4}$$
Pues,
$$\left(x^{2} + \frac{1}{2}\right)^{2} + \frac{7}{4}$$
/ / / ___\\ / / ___\\\ / / / ___\\ / / ___\\\ / / / ___\\ / / ___\\\ / / / ___\\ / / ___\\\
| 4 ___ |atan\\/ 7 /| 4 ___ |atan\\/ 7 /|| | 4 ___ |atan\\/ 7 /| 4 ___ |atan\\/ 7 /|| | 4 ___ |atan\\/ 7 /| 4 ___ |atan\\/ 7 /|| | 4 ___ |atan\\/ 7 /| 4 ___ |atan\\/ 7 /||
|x + \/ 2 *sin|-----------| + I*\/ 2 *cos|-----------||*|x + \/ 2 *sin|-----------| - I*\/ 2 *cos|-----------||*|x + - \/ 2 *sin|-----------| + I*\/ 2 *cos|-----------||*|x + - \/ 2 *sin|-----------| - I*\/ 2 *cos|-----------||
\ \ 2 / \ 2 // \ \ 2 / \ 2 // \ \ 2 / \ 2 // \ \ 2 / \ 2 //
$$\left(x + \left(\sqrt[4]{2} \sin{\left(\frac{\operatorname{atan}{\left(\sqrt{7} \right)}}{2} \right)} - \sqrt[4]{2} i \cos{\left(\frac{\operatorname{atan}{\left(\sqrt{7} \right)}}{2} \right)}\right)\right) \left(x + \left(\sqrt[4]{2} \sin{\left(\frac{\operatorname{atan}{\left(\sqrt{7} \right)}}{2} \right)} + \sqrt[4]{2} i \cos{\left(\frac{\operatorname{atan}{\left(\sqrt{7} \right)}}{2} \right)}\right)\right) \left(x + \left(- \sqrt[4]{2} \sin{\left(\frac{\operatorname{atan}{\left(\sqrt{7} \right)}}{2} \right)} + \sqrt[4]{2} i \cos{\left(\frac{\operatorname{atan}{\left(\sqrt{7} \right)}}{2} \right)}\right)\right) \left(x + \left(- \sqrt[4]{2} \sin{\left(\frac{\operatorname{atan}{\left(\sqrt{7} \right)}}{2} \right)} - \sqrt[4]{2} i \cos{\left(\frac{\operatorname{atan}{\left(\sqrt{7} \right)}}{2} \right)}\right)\right)$$
(((x + 2^(1/4)*sin(atan(sqrt(7))/2) + i*2^(1/4)*cos(atan(sqrt(7))/2))*(x + 2^(1/4)*sin(atan(sqrt(7))/2) - i*2^(1/4)*cos(atan(sqrt(7))/2)))*(x - 2^(1/4)*sin(atan(sqrt(7))/2) + i*2^(1/4)*cos(atan(sqrt(7))/2)))*(x - 2^(1/4)*sin(atan(sqrt(7))/2) - i*2^(1/4)*cos(atan(sqrt(7))/2))