try factor(x^2-5, a^2-5). The second argument specifies that you are adjoining a root of a^2-5=0 to the algebraic field. Gosse Michel wrote: >Hello > >How can i factor x^2-5 to (x-sqrt(5))(x+sqrt(5)) using the factor >command ? > >best regards > >