Algebrite icon indicating copy to clipboard operation
Algebrite copied to clipboard

roots(numerator(...)) better than roots(...) ?

Open thunderkid opened this issue 4 years ago • 0 comments

Running this: roots(-1+a/(2+b),a) gives this ugly thing: b/((b/(2+b)+2/(2+b))*(b/((2+b)*(b/(2+b)+2/(2+b)))+2/((2+b)*(b/(2+b)+2/(2+b)))))+2/((b/(2+b)+2/(2+b))*(b/((2+b)*(b/(2+b)+2/(2+b)))+2/((2+b)*(b/(2+b)+2/(2+b))))) instead of just giving 2+b. Even after running this through simplify it doesn't get to the proper answer. However if you run roots(numerator(-1+a/(2+b)), a) then you indeed get 2+b. Some quick experiments with other expressions don't seem to suffer from using the roots(numerator... pattern. Am I missing something or would it be better to have roots always do this internally?

thunderkid avatar Jun 01 '20 07:06 thunderkid