Question: How do I rewrite a expressions in terms of other expressions?

How do I rewrite a expression in terms of other expressions? (Using just algebraic transformations.)

I'm look for something like algsubs. algsubs does not work for some non-trivial cases: I get the error "cannot compute degree of pattern in...". Playing a bit with these expresions (replacing denominators, and some subexpressions), I can transform in various steps, applying algsubs, to get the desire result, but I don't know how do this automatically.

 

Some tips or suggestions?

Thanks for advance.

Please Wait...