Evaluar $$\int \frac {dx}{x^2-x+1}$$
Método 1
$$\int \frac {dx}{x^2-x+1}=\frac {4}{3}\int \frac {dx}{1+\frac {4(x-1/2)^2}{3}}$$
Poner $u=x-1/2$
Por lo tanto $$\frac 43\int \frac {dx}{1+\frac {4(x-1/2)^2}{3}} =\frac 43\int \frac {du}{1+\frac {4u^2}{3}}$$
Y entonces yo podría usar a $$\int \frac {dx}{1+x^2}=\arctan x$$
Método 2
Deje $$I=\int \frac {dx}{x^2-x+1}$$
Poner $x=\frac 1y$
Por lo tanto $dx=\frac {-dy}{y^2}$
Por lo tanto $$I=\int \frac {\frac {-dy}{y^2}}{\frac {1}{y^2}-\frac 1y+1}=-\int \frac {dy}{y^2-y+1}=-\int \frac {dx}{x^2-x+1}=-I$$
Por lo tanto $$I=-I\Rightarrow I=0$$
¿Por qué tengo dos respuestas diferentes? Supongo que me estoy perdiendo algún tipo de vínculo en el método 2.