Question: Problem w/ algsubs

Hello,

I'm getting an error from algsubs that I don't understand...

 

This works fine....

EqD16a := (-w[j]+w[c]+3*w[c]*alpha)*(-w[j]+w)^2/(alpha*(-w[j]+w[c])^3);

 

EqD16b:=algsubs(w=beta*w[j],EqD16a);

 

This fails...

EqD15a := (-w[j]+w)*(-2*w[c]*alpha+2*w[c]-2*w+3*w*alpha-w[j]*alpha)/(alpha*(-w[j]+w[c])^2);
EqD15b:=algsubs(w=beta*w[j],EqD15a);
Error, (in collect/series) invalid expression for series

 

I don't understand why the second fails?

Please Wait...