I'm confused by the evaluation order of polynomials containing division. Consider these two polynomials:
(x^2 + y) z/w (1)
a/b (2)
And their tree form:
TreeForm[(x^2 + y) z/w]
TreeForm[a/b]
I understand that division is x^-1
which has higher evaluation precedence. But why in the tree form, the power of w^-1
(in the first polynomial) is in the first position, while b^-1
(in the second polynomial) is in the second position?