Optimal. Leaf size=44 \[ -\frac {2 a \sqrt {a+2^x b}}{b^2 \log (2)}+\frac {2 \left (a+2^x b\right )^{3/2}}{3 b^2 \log (2)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 44, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {2280, 45}
\begin {gather*} \frac {2 \left (a+b 2^x\right )^{3/2}}{3 b^2 \log (2)}-\frac {2 a \sqrt {a+b 2^x}}{b^2 \log (2)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 2280
Rubi steps
\begin {align*} \int \frac {2^{2 x}}{\sqrt {a+2^x b}} \, dx &=\frac {\text {Subst}\left (\int \frac {x}{\sqrt {a+b x}} \, dx,x,2^x\right )}{\log (2)}\\ &=\frac {\text {Subst}\left (\int \left (-\frac {a}{b \sqrt {a+b x}}+\frac {\sqrt {a+b x}}{b}\right ) \, dx,x,2^x\right )}{\log (2)}\\ &=-\frac {2 a \sqrt {a+2^x b}}{b^2 \log (2)}+\frac {2 \left (a+2^x b\right )^{3/2}}{3 b^2 \log (2)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 29, normalized size = 0.66 \begin {gather*} \frac {2 \left (-2 a+2^x b\right ) \sqrt {a+2^x b}}{b^2 \log (8)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.01, size = 29, normalized size = 0.66
method | result | size |
risch | \(-\frac {2 \left (-2^{x} b +2 a \right ) \sqrt {a +2^{x} b}}{3 b^{2} \ln \left (2\right )}\) | \(29\) |
meijerg | error in int/gbinthm/express: unable to compute coeff\ | N/A |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 38, normalized size = 0.86 \begin {gather*} \frac {2 \, {\left (2^{x} b + a\right )}^{\frac {3}{2}}}{3 \, b^{2} \log \left (2\right )} - \frac {2 \, \sqrt {2^{x} b + a} a}{b^{2} \log \left (2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 27, normalized size = 0.61 \begin {gather*} \frac {2 \, \sqrt {2^{x} b + a} {\left (2^{x} b - 2 \, a\right )}}{3 \, b^{2} \log \left (2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.35, size = 58, normalized size = 1.32 \begin {gather*} \begin {cases} \frac {2 \cdot 2^{x} \sqrt {2^{x} b + a}}{3 b \log {\left (2 \right )}} - \frac {4 a \sqrt {2^{x} b + a}}{3 b^{2} \log {\left (2 \right )}} & \text {for}\: b \neq 0 \\\frac {2^{2 x}}{2 \sqrt {a} \log {\left (2 \right )}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 2.99, size = 31, normalized size = 0.70 \begin {gather*} \frac {2 \, {\left ({\left (2^{x} b + a\right )}^{\frac {3}{2}} - 3 \, \sqrt {2^{x} b + a} a\right )}}{3 \, b^{2} \log \left (2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.62, size = 28, normalized size = 0.64 \begin {gather*} -\frac {2\,\sqrt {a+2^x\,b}\,\left (2\,a-2^x\,b\right )}{3\,b^2\,\ln \left (2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________