Optimal. Leaf size=24 \[ \frac{2^x \sqrt{a+b 2^{-2 x}}}{a \log (2)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0479708, antiderivative size = 24, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.118, Rules used = {2249, 191} \[ \frac{2^x \sqrt{a+b 2^{-2 x}}}{a \log (2)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2249
Rule 191
Rubi steps
\begin{align*} \int \frac{2^x}{\sqrt{a+4^{-x} b}} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{1}{\sqrt{a+\frac{b}{x^2}}} \, dx,x,2^x\right )}{\log (2)}\\ &=\frac{2^x \sqrt{a+2^{-2 x} b}}{a \log (2)}\\ \end{align*}
Mathematica [A] time = 0.0312534, size = 35, normalized size = 1.46 \[ \frac{2^{-x} \left (a 2^{2 x}+b\right )}{a \log (2) \sqrt{a+b 2^{-2 x}}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.029, size = 40, normalized size = 1.7 \begin{align*}{\frac{a \left ({2}^{x} \right ) ^{2}+b}{a{2}^{x}\ln \left ( 2 \right ) }{\frac{1}{\sqrt{{\frac{a \left ({2}^{x} \right ) ^{2}+b}{ \left ({2}^{x} \right ) ^{2}}}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.65125, size = 26, normalized size = 1.08 \begin{align*} \frac{\sqrt{2^{2 \, x} a + b}}{a \log \left (2\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.52985, size = 62, normalized size = 2.58 \begin{align*} \frac{2^{x} \sqrt{\frac{2^{2 \, x} a + b}{2^{2 \, x}}}}{a \log \left (2\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{2^{x}}{\sqrt{a + 4^{- x} b}}\, dx \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{2^{x}}{\sqrt{a + \frac{b}{4^{x}}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]