Question: Simplyfing a polynomial expression applying some rules.

Hi, I have a polynomial expression like this:

2*a^32*b^3 + 3*c^2*a^3 + 4*a^5*c^2

I would like to apply rules like these ones:

a = a^x and b = b^y,  ∀ x,y ∈ N*

It should result:

2*a*b + 7*c^2*a

I would do this manually, but I intend to use this to really big expressions and it would be quite boring. Any ideas?

 

Thanks in advance and sorry the english,

Pedro Paganela - Engineering Student

 

Please Wait...