Question: How to circularly shift variables?

 

abc
bca

if starting position is at first position,

i have to write a very long substitution, and need a temporary variable t and t2

subs(t2=c,subs(t=a,subs(a=b,subs(b=t2,subs(c=t,a*b*c+a*b)))));

if starting position is at second position, it will be

abc
acb

is there any simple method to do this circular shift of variables for a polynomial

 

 

 

Please Wait...