n testing Maxima to see if it can do some of the integrals that
Rubi can do, I came up with this problem
r: a+log(c*(d+e*x)^n)*b;
s:(f+g*x)^q;
integrate(r*s,x);
Maxima asks
Is q equal to -1?
You can answer yes or no, but in either case, the result
still includes the symbol q. It succeeds in replacing q by -1
in part of the answer, but not the whole answer.
I can see how that might happen -- it does part of it
not caring about q at all.
The answer can be expressed without unresolved integrals
by use of a 2F1 hypergeometric function, according to Mathematica
or Rubi.
Diff: