Optimal. Leaf size=47 \[ -\frac {\log \left (d \left (b x+c x^2\right )^n\right )}{x}+\frac {c n \log (x)}{b}-\frac {c n \log (b+c x)}{b}-\frac {n}{x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 47, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {2525, 77} \[ -\frac {\log \left (d \left (b x+c x^2\right )^n\right )}{x}+\frac {c n \log (x)}{b}-\frac {c n \log (b+c x)}{b}-\frac {n}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 77
Rule 2525
Rubi steps
\begin {align*} \int \frac {\log \left (d \left (b x+c x^2\right )^n\right )}{x^2} \, dx &=-\frac {\log \left (d \left (b x+c x^2\right )^n\right )}{x}+n \int \frac {b+2 c x}{x^2 (b+c x)} \, dx\\ &=-\frac {\log \left (d \left (b x+c x^2\right )^n\right )}{x}+n \int \left (\frac {1}{x^2}+\frac {c}{b x}-\frac {c^2}{b (b+c x)}\right ) \, dx\\ &=-\frac {n}{x}+\frac {c n \log (x)}{b}-\frac {c n \log (b+c x)}{b}-\frac {\log \left (d \left (b x+c x^2\right )^n\right )}{x}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 45, normalized size = 0.96 \[ -\frac {\log \left (d (x (b+c x))^n\right )}{x}+\frac {c n \log (x)}{b}-\frac {c n \log (b+c x)}{b}-\frac {n}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.47, size = 46, normalized size = 0.98 \[ -\frac {c n x \log \left (c x + b\right ) - c n x \log \relax (x) + b n \log \left (c x^{2} + b x\right ) + b n + b \log \relax (d)}{b x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.18, size = 47, normalized size = 1.00 \[ -\frac {c n \log \left (c x + b\right )}{b} + \frac {c n \log \relax (x)}{b} - \frac {n \log \left (c x^{2} + b x\right )}{x} - \frac {n + \log \relax (d)}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.09, size = 0, normalized size = 0.00 \[ \int \frac {\ln \left (d \left (c \,x^{2}+b x \right )^{n}\right )}{x^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.45, size = 46, normalized size = 0.98 \[ -n {\left (\frac {c \log \left (c x + b\right )}{b} - \frac {c \log \relax (x)}{b} + \frac {1}{x}\right )} - \frac {\log \left ({\left (c x^{2} + b x\right )}^{n} d\right )}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.80, size = 43, normalized size = 0.91 \[ -\frac {\ln \left (d\,{\left (c\,x^2+b\,x\right )}^n\right )}{x}-\frac {n}{x}-\frac {2\,c\,n\,\mathrm {atanh}\left (\frac {2\,c\,x}{b}+1\right )}{b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 3.41, size = 76, normalized size = 1.62 \[ \begin {cases} - \frac {n \log {\left (b x + c x^{2} \right )}}{x} - \frac {n}{x} - \frac {\log {\relax (d )}}{x} - \frac {2 c n \log {\left (b + c x \right )}}{b} + \frac {c n \log {\left (b x + c x^{2} \right )}}{b} & \text {for}\: b \neq 0 \\- \frac {n \log {\relax (c )}}{x} - \frac {2 n \log {\relax (x )}}{x} - \frac {2 n}{x} - \frac {\log {\relax (d )}}{x} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________