This should be very simple, even silly If I ask this mathematica
Expand [(x + 1) (x + 2) (x + 3)]
Mathematica delivers me well
6 + 11 x + 6 x ^ 2 + x ^ 3
as achieving this result
x ^ 3 + 6 x 2 + 11 x +6
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.
Sign up to join this communityThis works nicely:
PolynomialForm[(x + 1) (x + 2) (x + 3) // Expand, TraditionalOrder -> True]
x^3 + 6 x^2 + 11 x + 6
The problem with PolynomialForm[]
is that it is merely a wrapper, like MatrixForm[]
for matrices. So, this makes things display pretty, but it should not be given as input for further calculations. You can copy the output, however.
Plus[ ]
isOrderless
... $\endgroup$expr = (x + 1) (x + 2) (x + 3); expr // Expand // TraditionalForm
$\endgroup$