# How to keep 1/sqrt(2) as 1/sqrt(2) ? [the canonical form is not canonical]

Hi all Using sagetex to make computaion, I would like it to keep radical in the denominator (though I remember my 8 th grade course viewing the canonical form today in a pdf file seems odd ) so something like 1/sqrt(2) would not be written as sqrt(2)/2 as it is normally. I saw this related link : https://ask.sagemath.org/question/352... but for me the command 1/sqrt(2).maxima_methods().rootscontract().simplify() gives also a "canonical" result. Cheers,