32.9 Problem number 41

\[ \int \frac {(a g+b g x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{(c i+d i x)^2} \, dx \]

Optimal antiderivative \[ -\frac {A g \left (b x +a \right )}{d \,i^{2} \left (d x +c \right )}+\frac {B g \left (b x +a \right )}{d \,i^{2} \left (d x +c \right )}-\frac {B g \left (b x +a \right ) \ln \left (\frac {e \left (b x +a \right )}{d x +c}\right )}{d \,i^{2} \left (d x +c \right )}-\frac {b g \ln \left (\frac {-a d +b c}{b \left (d x +c \right )}\right ) \left (A +B \ln \left (\frac {e \left (b x +a \right )}{d x +c}\right )\right )}{d^{2} i^{2}}-\frac {b B g \polylog \left (2, \frac {d \left (b x +a \right )}{b \left (d x +c \right )}\right )}{d^{2} i^{2}} \]

command

integrate((b*g*x+a*g)*(A+B*log(e*(b*x+a)/(d*x+c)))/(d*i*x+c*i)^2,x, algorithm="giac")

Giac 1.9.0-11 via sagemath 9.6 output

\[ \text {output too large to display} \]

Giac 1.7.0 via sagemath 9.3 output \[ \text {Timed out} \]_______________________________________________________