Optimal. Leaf size=69 \[ \frac {\sqrt {\pi } e^{-\frac {a}{b}} (2 A b-B (2 a+b)) \text {erfi}\left (\frac {\sqrt {a+b \log (x)}}{\sqrt {b}}\right )}{2 b^{3/2}}+\frac {B x \sqrt {a+b \log (x)}}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 69, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.235, Rules used = {2294, 2299, 2180, 2204} \[ \frac {\sqrt {\pi } e^{-\frac {a}{b}} (2 A b-B (2 a+b)) \text {Erfi}\left (\frac {\sqrt {a+b \log (x)}}{\sqrt {b}}\right )}{2 b^{3/2}}+\frac {B x \sqrt {a+b \log (x)}}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2180
Rule 2204
Rule 2294
Rule 2299
Rubi steps
\begin {align*} \int \frac {A+B \log (x)}{\sqrt {a+b \log (x)}} \, dx &=\frac {B x \sqrt {a+b \log (x)}}{b}+\frac {(2 A b-(2 a+b) B) \int \frac {1}{\sqrt {a+b \log (x)}} \, dx}{2 b}\\ &=\frac {B x \sqrt {a+b \log (x)}}{b}+\frac {(2 A b-(2 a+b) B) \operatorname {Subst}\left (\int \frac {e^x}{\sqrt {a+b x}} \, dx,x,\log (x)\right )}{2 b}\\ &=\frac {B x \sqrt {a+b \log (x)}}{b}+\frac {(2 A b-(2 a+b) B) \operatorname {Subst}\left (\int e^{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+b \log (x)}\right )}{b^2}\\ &=\frac {(2 A b-(2 a+b) B) e^{-\frac {a}{b}} \sqrt {\pi } \text {erfi}\left (\frac {\sqrt {a+b \log (x)}}{\sqrt {b}}\right )}{2 b^{3/2}}+\frac {B x \sqrt {a+b \log (x)}}{b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.15, size = 80, normalized size = 1.16 \[ \frac {e^{-\frac {a}{b}} (2 A b-B (2 a+b)) \sqrt {-\frac {a+b \log (x)}{b}} \Gamma \left (\frac {1}{2},-\frac {a+b \log (x)}{b}\right )+2 B x (a+b \log (x))}{2 b \sqrt {a+b \log (x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.31, size = 129, normalized size = 1.87 \[ -\frac {\sqrt {\pi } A \operatorname {erf}\left (-\frac {\sqrt {b \log \relax (x) + a} \sqrt {-b}}{b}\right ) e^{\left (-\frac {a}{b}\right )}}{\sqrt {-b}} + \frac {\sqrt {\pi } B \operatorname {erf}\left (-\frac {\sqrt {b \log \relax (x) + a} \sqrt {-b}}{b}\right ) e^{\left (-\frac {a}{b}\right )}}{2 \, \sqrt {-b}} + \frac {\sqrt {\pi } B a \operatorname {erf}\left (-\frac {\sqrt {b \log \relax (x) + a} \sqrt {-b}}{b}\right ) e^{\left (-\frac {a}{b}\right )}}{\sqrt {-b} b} + \frac {\sqrt {b \log \relax (x) + a} B x}{b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.15, size = 0, normalized size = 0.00 \[ \int \frac {B \ln \relax (x )+A}{\sqrt {b \ln \relax (x )+a}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.74, size = 156, normalized size = 2.26 \[ \frac {\frac {2 \, \sqrt {\pi } A \operatorname {erf}\left (\sqrt {b \log \relax (x) + a} \sqrt {-\frac {1}{b}}\right ) e^{\left (-\frac {a}{b}\right )}}{\sqrt {-\frac {1}{b}}} - \frac {2 \, \sqrt {\pi } B a \operatorname {erf}\left (\sqrt {b \log \relax (x) + a} \sqrt {-\frac {1}{b}}\right ) e^{\left (-\frac {a}{b}\right )}}{b \sqrt {-\frac {1}{b}}} - \frac {{\left (\frac {\sqrt {\pi } b \operatorname {erf}\left (\sqrt {b \log \relax (x) + a} \sqrt {-\frac {1}{b}}\right ) e^{\left (-\frac {a}{b}\right )}}{\sqrt {-\frac {1}{b}}} - 2 \, \sqrt {b \log \relax (x) + a} b e^{\left (\frac {b \log \relax (x) + a}{b} - \frac {a}{b}\right )}\right )} B}{b}}{2 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {A+B\,\ln \relax (x)}{\sqrt {a+b\,\ln \relax (x)}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {A + B \log {\relax (x )}}{\sqrt {a + b \log {\relax (x )}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________