Hello people in mapleprimes,

To the following expression, I want to apply applyop so that I want to change its denominator expanded ,

but I don't know how to do it.

So, I am writing now hoping someone teach me it.

m:= 2*p/(p^2+1)^2;

op(m) brings the result of 2, p, 1/(p^2+1)^2,

And, op(1,m) is 2, op(2,m) is p and op(3,m) is 1/(p^2+1)^2, and

op([3,1],m) is p^2+1 and op([3,2],m) is -2.

So, the tree is `*`{2,p, 1/(p^2+1)^2}, and the tree of 1/(p^2+1)^2 is `^`{p^2+1,-2}.

And, the command expand can't play that rule on 1/{(p^2+1)^2} as its original rule is

to expand the mere numerator. And, anyway, 1/{(p^2+1)^2} is interpleted by maple as (p^2+1)^(-2),

which is not 1 devided by (p^2+1)^2, the latter of which is seen to be expanded to be p^4+2*p^2+1, but

the interpletation by maple of it is not so, and if applyop(`denom`,expand,m) works, even it is good.

But, it doesn't follow the syntax of maple. Then, can't use applyop in this case?

Best wishes.

taro