Optimal. Leaf size=57 \[ \frac{2 \sqrt{b e^{c+d x}-a}}{d}-\frac{2 \sqrt{a} \tan ^{-1}\left (\frac{\sqrt{b e^{c+d x}-a}}{\sqrt{a}}\right )}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0355086, antiderivative size = 57, normalized size of antiderivative = 1., 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 = {2282, 50, 63, 205} \[ \frac{2 \sqrt{b e^{c+d x}-a}}{d}-\frac{2 \sqrt{a} \tan ^{-1}\left (\frac{\sqrt{b e^{c+d x}-a}}{\sqrt{a}}\right )}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2282
Rule 50
Rule 63
Rule 205
Rubi steps
\begin{align*} \int \sqrt{-a+b e^{c+d x}} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{\sqrt{-a+b x}}{x} \, dx,x,e^{c+d x}\right )}{d}\\ &=\frac{2 \sqrt{-a+b e^{c+d x}}}{d}-\frac{a \operatorname{Subst}\left (\int \frac{1}{x \sqrt{-a+b x}} \, dx,x,e^{c+d x}\right )}{d}\\ &=\frac{2 \sqrt{-a+b e^{c+d x}}}{d}-\frac{(2 a) \operatorname{Subst}\left (\int \frac{1}{\frac{a}{b}+\frac{x^2}{b}} \, dx,x,\sqrt{-a+b e^{c+d x}}\right )}{b d}\\ &=\frac{2 \sqrt{-a+b e^{c+d x}}}{d}-\frac{2 \sqrt{a} \tan ^{-1}\left (\frac{\sqrt{-a+b e^{c+d x}}}{\sqrt{a}}\right )}{d}\\ \end{align*}
Mathematica [A] time = 0.0174209, size = 55, normalized size = 0.96 \[ \frac{2 \sqrt{b e^{c+d x}-a}-2 \sqrt{a} \tan ^{-1}\left (\frac{\sqrt{b e^{c+d x}-a}}{\sqrt{a}}\right )}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.155, size = 48, normalized size = 0.8 \begin{align*} -2\,{\frac{\sqrt{a}}{d}\arctan \left ({\frac{\sqrt{-a+b{{\rm e}^{dx+c}}}}{\sqrt{a}}} \right ) }+2\,{\frac{\sqrt{-a+b{{\rm e}^{dx+c}}}}{d}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.786176, size = 277, normalized size = 4.86 \begin{align*} \left [\frac{\sqrt{-a} \log \left ({\left (b e^{\left (d x + c\right )} - 2 \, \sqrt{b e^{\left (d x + c\right )} - a} \sqrt{-a} - 2 \, a\right )} e^{\left (-d x - c\right )}\right ) + 2 \, \sqrt{b e^{\left (d x + c\right )} - a}}{d}, -\frac{2 \,{\left (\sqrt{a} \arctan \left (\frac{\sqrt{b e^{\left (d x + c\right )} - a}}{\sqrt{a}}\right ) - \sqrt{b e^{\left (d x + c\right )} - a}\right )}}{d}\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 \sqrt{- a + b e^{c + d x}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.25716, size = 61, normalized size = 1.07 \begin{align*} -\frac{2 \,{\left (\sqrt{a} \arctan \left (\frac{\sqrt{b e^{\left (d x + c\right )} - a}}{\sqrt{a}}\right ) - \sqrt{b e^{\left (d x + c\right )} - a}\right )}}{d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]