Simplification of expressions with radicals in Maple

484 Views Asked by At

Having for example the expression $$\frac{abc\sqrt2}{d\sqrt{ab}}$$ (which results from a sequence of manipulations), can I force Maple to write it in the form $$\frac{c\sqrt{2ab}}{d}.$$ Many might find this as being the same thing, but I prefer the second to clarify some properties easily when explaining my work.

1

There are 1 best solutions below

0
On BEST ANSWER

You wrote "for example". Does that mean that your example only has the form of your actual problem, and that say a and b are used by you here as placeholders for more involved expressions? If so, then do you know anything about their sign?

expr:=a*b*c*sqrt(2)/(d*sqrt(a*b));

                                         1/2
                                  a b c 2
                          expr := ----------
                                         1/2
                                  d (a b)


radnormal(expr);

                             1/2      1/2
                            2    (a b)    c
                            ---------------
                                   d

combine(simplify(expr)) assuming a>0, b>0;

                             1/2      1/2
                            2    (a b)    c
                            ---------------
                                   d

evala(expr);

                             1/2      1/2
                            2    (a b)    c
                            ---------------
                                   d

evala(Normal(expr));

                             1/2      1/2
                            2    (a b)    c
                            ---------------
                                   d

rationalize(expr);

                             1/2      1/2
                            2    (a b)    c
                            ---------------
                                   d

If radnormal(expr) does not work for you, and if the names you used are indeed unassigned in that example, then what version of Maple are you using?