Optimal. Leaf size=69 \[ \frac{\left (b \sqrt{\frac{a^2 x^2}{b^2}+c}+a x\right )^{3/2}}{3 a}-\frac{b^2 c}{a \sqrt{b \sqrt{\frac{a^2 x^2}{b^2}+c}+a x}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0570967, antiderivative size = 69, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.077, Rules used = {2117, 14} \[ \frac{\left (b \sqrt{\frac{a^2 x^2}{b^2}+c}+a x\right )^{3/2}}{3 a}-\frac{b^2 c}{a \sqrt{b \sqrt{\frac{a^2 x^2}{b^2}+c}+a x}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2117
Rule 14
Rubi steps
\begin{align*} \int \sqrt{a x+b \sqrt{c+\frac{a^2 x^2}{b^2}}} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{b^2 c+x^2}{x^{3/2}} \, dx,x,a x+b \sqrt{c+\frac{a^2 x^2}{b^2}}\right )}{2 a}\\ &=\frac{\operatorname{Subst}\left (\int \left (\frac{b^2 c}{x^{3/2}}+\sqrt{x}\right ) \, dx,x,a x+b \sqrt{c+\frac{a^2 x^2}{b^2}}\right )}{2 a}\\ &=-\frac{b^2 c}{a \sqrt{a x+b \sqrt{c+\frac{a^2 x^2}{b^2}}}}+\frac{\left (a x+b \sqrt{c+\frac{a^2 x^2}{b^2}}\right )^{3/2}}{3 a}\\ \end{align*}
Mathematica [A] time = 0.0574548, size = 67, normalized size = 0.97 \[ \frac{2 \left (a b x \sqrt{\frac{a^2 x^2}{b^2}+c}+a^2 x^2+b^2 (-c)\right )}{3 a \sqrt{b \sqrt{\frac{a^2 x^2}{b^2}+c}+a x}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.017, size = 0, normalized size = 0. \begin{align*} \int \sqrt{ax+b\sqrt{c+{\frac{{a}^{2}{x}^{2}}{{b}^{2}}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{a x + \sqrt{\frac{a^{2} x^{2}}{b^{2}} + c} b}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.99495, size = 120, normalized size = 1.74 \begin{align*} \frac{2 \,{\left (2 \, a x - b \sqrt{\frac{a^{2} x^{2} + b^{2} c}{b^{2}}}\right )} \sqrt{a x + b \sqrt{\frac{a^{2} x^{2} + b^{2} c}{b^{2}}}}}{3 \, a} \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 x + b \sqrt{\frac{a^{2} x^{2}}{b^{2}} + c}}\, 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 \sqrt{a x + \sqrt{\frac{a^{2} x^{2}}{b^{2}} + c} b}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]