Optimal. Leaf size=29 \[ \frac {\operatorname {PolyLog}\left (2,-\frac {b x}{a}\right )}{b}+\frac {\log (x) \log \left (\frac {b x}{a}+1\right )}{b} \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 29, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, 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.00, size = 30, normalized size = 1.03 \[ \frac {\operatorname {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]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\log (x)}{a+b x} \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.99, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {\log \relax (x)}{b x + a}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\log \relax (x)}{b x + a}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.31, size = 32, normalized size = 1.10
method | result | size |
default | \(\frac {\dilog \left (\frac {b x +a}{a}\right )}{b}+\frac {\ln \relax (x ) \ln \left (\frac {b x +a}{a}\right )}{b}\) | \(32\) |
risch | \(\frac {\dilog \left (\frac {b x +a}{a}\right )}{b}+\frac {\ln \relax (x ) \ln \left (\frac {b x +a}{a}\right )}{b}\) | \(32\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.43, size = 25, normalized size = 0.86 \[ \frac {\log \left (\frac {b x}{a} + 1\right ) \log \relax (x) + {\rm Li}_2\left (-\frac {b x}{a}\right )}{b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.03 \[ \int \frac {\ln \relax (x)}{a+b\,x} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [C] time = 6.44, size = 151, normalized size = 5.21 \[ \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} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________