Factorize x4 + 1 over .
You have to provide the square root required for extending the
rationals. In order to do that with the help of Xcas,
first check complex in the cas
configuration and input :
solve(x^
4+1,x)
Output :
[sqrt(2)/2+(i)*sqrt(2)/2,sqrt(2)/2+(i)*(-(sqrt(2)/2)),
-sqrt(2)/2+(i)*sqrt(2)/2,-sqrt(2)/2+(i)*(-(sqrt(2)/2))]
The roots depends on . Uncheck complex mode in the Cas configuration
and input :
factor(x^
4+1,sqrt(2))
Output :
(x^
2+sqrt(2)*x+1)*(x^
2+(-(sqrt(2)))*x+1)
To factorize over , check complex in the
cas configuration and input cFactor(x^
4+1,sqrt(2))
(cf cFactor).