I want to get my output in the form that I would write by hand. I have tried with TraditionalForm
, but it did not work.
I've looked at several answers in this SE group, but I can't find any that help me.
a^(2/3) - a^(1/3) b^(1/3) + b^(2/3)
Power[a^2, (3)^-1] - Power[ab, (3)^-1] + Power[b^2, (3)^-1]
a^(3/4) - Sqrt[a] b^(1/4) + a^(1/4) Sqrt[b] - b^(3/4)
Power[a^3, (4)^-1] - Power[a^2 b, (4)^-1] + Power[ab^2, (4)^-1] - Power[b^3, (4)^-1]
a^(4/5) - a^(3/5) b^(1/5) + a^(2/5) b^(2/5) - a^(1/5) b^(3/5) + b^(4/5)
Power[a^4, (5)^-1] - Power[a^3 b, (5)^-1] + Power[a^2 b^2, (5)^-1] - Power[ab^3, (5)^-1] + Power[b^4, (5)^-1]
TraditionalForm
; however, do not include the wrapper in the definitions. For example,(expr1 = a^(2/3) - a^(1/3) b^(1/3) + b^(2/3)) // TraditionalForm
$\endgroup$ – Bob Hanlon Nov 22 '20 at 21:58