Optimal. Leaf size=30 \[ \frac {\tanh ^{-1}\left (\frac {\sqrt {b} 2^x}{\sqrt {a}}\right )}{\sqrt {a} \sqrt {b} \log (2)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 30, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {2249, 208} \[ \frac {\tanh ^{-1}\left (\frac {\sqrt {b} 2^x}{\sqrt {a}}\right )}{\sqrt {a} \sqrt {b} \log (2)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 208
Rule 2249
Rubi steps
\begin {align*} \int \frac {2^x}{a-4^x b} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {1}{a-b x^2} \, dx,x,2^x\right )}{\log (2)}\\ &=\frac {\tanh ^{-1}\left (\frac {2^x \sqrt {b}}{\sqrt {a}}\right )}{\sqrt {a} \sqrt {b} \log (2)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 30, normalized size = 1.00 \[ \frac {\tanh ^{-1}\left (\frac {\sqrt {b} 2^x}{\sqrt {a}}\right )}{\sqrt {a} \sqrt {b} \log (2)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.43, size = 86, normalized size = 2.87 \[ \left [\frac {\sqrt {a b} \log \left (\frac {2^{2 \, x} b + 2 \, \sqrt {a b} 2^{x} + a}{2^{2 \, x} b - a}\right )}{2 \, a b \log \relax (2)}, -\frac {\sqrt {-a b} \arctan \left (\frac {\sqrt {-a b}}{2^{x} b}\right )}{a b \log \relax (2)}\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 {2^{x}}{4^{x} b - a}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.05, size = 49, normalized size = 1.63 \[ -\frac {\ln \left (-\frac {a}{\sqrt {a b}}+2^{x}\right )}{2 \sqrt {a b}\, \ln \relax (2)}+\frac {\ln \left (\frac {a}{\sqrt {a b}}+2^{x}\right )}{2 \sqrt {a b}\, \ln \relax (2)} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 2.05, size = 45, normalized size = 1.50 \[ -\frac {\log \left (\frac {2^{x + 1} b - 2 \, \sqrt {a b}}{2^{x + 1} b + 2 \, \sqrt {a b}}\right )}{2 \, \sqrt {a b} \log \relax (2)} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.78, size = 22, normalized size = 0.73 \[ \frac {\mathrm {atanh}\left (\frac {2^x\,\sqrt {b}}{\sqrt {a}}\right )}{\sqrt {a}\,\sqrt {b}\,\ln \relax (2)} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.33, size = 29, normalized size = 0.97 \[ \frac {\operatorname {RootSum} {\left (4 z^{2} a b - 1, \left (i \mapsto i \log {\left (2 i a + e^{\frac {x \log {\relax (4 )}}{2}} \right )} \right )\right )}}{\log {\relax (2 )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________