Optimal. Leaf size=29 \[ \frac{\text{PolyLog}\left (2,-\frac{b x}{a}\right )}{b}+\frac{\log (x) \log \left (\frac{b x}{a}+1\right )}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0202085, antiderivative size = 29, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {2317, 2391} \[ \frac{\text{PolyLog}\left (2,-\frac{b x}{a}\right )}{b}+\frac{\log (x) \log \left (\frac{b x}{a}+1\right )}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2317
Rule 2391
Rubi steps
\begin{align*} \int \frac{\log (x)}{a+b x} \, dx &=\frac{\log (x) \log \left (1+\frac{b x}{a}\right )}{b}-\frac{\int \frac{\log \left (1+\frac{b x}{a}\right )}{x} \, dx}{b}\\ &=\frac{\log (x) \log \left (1+\frac{b x}{a}\right )}{b}+\frac{\text{Li}_2\left (-\frac{b x}{a}\right )}{b}\\ \end{align*}
Mathematica [A] time = 0.0024513, size = 30, normalized size = 1.03 \[ \frac{\text{PolyLog}\left (2,-\frac{b x}{a}\right )}{b}+\frac{\log (x) \log \left (\frac{a+b x}{a}\right )}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.007, size = 32, normalized size = 1.1 \begin{align*}{\frac{1}{b}{\it dilog} \left ({\frac{bx+a}{a}} \right ) }+{\frac{\ln \left ( x \right ) }{b}\ln \left ({\frac{bx+a}{a}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.958278, size = 34, normalized size = 1.17 \begin{align*} \frac{\log \left (\frac{b x}{a} + 1\right ) \log \left (x\right ) +{\rm Li}_2\left (-\frac{b x}{a}\right )}{b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\log \left (x\right )}{b x + a}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] time = 7.30554, size = 151, normalized size = 5.21 \begin{align*} \begin{cases} \frac{\log{\left (\frac{a}{b} \right )} \log{\left (\frac{a}{b} + x \right )}}{b} + \frac{i \pi \log{\left (\frac{a}{b} + x \right )}}{b} - \frac{\operatorname{Li}_{2}\left (\frac{b \left (\frac{a}{b} + x\right )}{a}\right )}{b} & \text{for}\: \left |{\frac{a}{b} + x}\right | < 1 \\- \frac{\log{\left (\frac{a}{b} \right )} \log{\left (\frac{1}{\frac{a}{b} + x} \right )}}{b} - \frac{i \pi \log{\left (\frac{1}{\frac{a}{b} + x} \right )}}{b} - \frac{\operatorname{Li}_{2}\left (\frac{b \left (\frac{a}{b} + x\right )}{a}\right )}{b} & \text{for}\: \frac{1}{\left |{\frac{a}{b} + x}\right |} < 1 \\- \frac{{G_{2, 2}^{2, 0}\left (\begin{matrix} & 1, 1 \\0, 0 & \end{matrix} \middle |{\frac{a}{b} + x} \right )} \log{\left (\frac{a}{b} \right )}}{b} - \frac{i \pi{G_{2, 2}^{2, 0}\left (\begin{matrix} & 1, 1 \\0, 0 & \end{matrix} \middle |{\frac{a}{b} + x} \right )}}{b} + \frac{{G_{2, 2}^{0, 2}\left (\begin{matrix} 1, 1 & \\ & 0, 0 \end{matrix} \middle |{\frac{a}{b} + x} \right )} \log{\left (\frac{a}{b} \right )}}{b} + \frac{i \pi{G_{2, 2}^{0, 2}\left (\begin{matrix} 1, 1 & \\ & 0, 0 \end{matrix} \middle |{\frac{a}{b} + x} \right )}}{b} - \frac{\operatorname{Li}_{2}\left (\frac{b \left (\frac{a}{b} + x\right )}{a}\right )}{b} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\log \left (x\right )}{b x + a}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]