Optimal. Leaf size=174 \[ \frac {8 \sqrt {c-\frac {c}{a x}} x^2}{\sqrt {1-a x} \sqrt {1+a x}}-\frac {47 \sqrt {c-\frac {c}{a x}} x \sqrt {1+a x}}{4 a \sqrt {1-a x}}+\frac {\sqrt {c-\frac {c}{a x}} x^2 \sqrt {1+a x}}{2 \sqrt {1-a x}}+\frac {47 \sqrt {c-\frac {c}{a x}} \sqrt {x} \sinh ^{-1}\left (\sqrt {a} \sqrt {x}\right )}{4 a^{3/2} \sqrt {1-a x}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.14, antiderivative size = 174, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 7, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.280, Rules used = {6269, 6264, 91,
81, 52, 56, 221} \begin {gather*} \frac {47 \sqrt {x} \sqrt {c-\frac {c}{a x}} \sinh ^{-1}\left (\sqrt {a} \sqrt {x}\right )}{4 a^{3/2} \sqrt {1-a x}}+\frac {x^2 \sqrt {a x+1} \sqrt {c-\frac {c}{a x}}}{2 \sqrt {1-a x}}+\frac {8 x^2 \sqrt {c-\frac {c}{a x}}}{\sqrt {1-a x} \sqrt {a x+1}}-\frac {47 x \sqrt {a x+1} \sqrt {c-\frac {c}{a x}}}{4 a \sqrt {1-a x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 52
Rule 56
Rule 81
Rule 91
Rule 221
Rule 6264
Rule 6269
Rubi steps
\begin {align*} \int e^{-3 \tanh ^{-1}(a x)} \sqrt {c-\frac {c}{a x}} x \, dx &=\frac {\left (\sqrt {c-\frac {c}{a x}} \sqrt {x}\right ) \int e^{-3 \tanh ^{-1}(a x)} \sqrt {x} \sqrt {1-a x} \, dx}{\sqrt {1-a x}}\\ &=\frac {\left (\sqrt {c-\frac {c}{a x}} \sqrt {x}\right ) \int \frac {\sqrt {x} (1-a x)^2}{(1+a x)^{3/2}} \, dx}{\sqrt {1-a x}}\\ &=\frac {8 \sqrt {c-\frac {c}{a x}} x^2}{\sqrt {1-a x} \sqrt {1+a x}}-\frac {\left (2 \sqrt {c-\frac {c}{a x}} \sqrt {x}\right ) \int \frac {\sqrt {x} \left (\frac {11 a^2}{2}-\frac {a^3 x}{2}\right )}{\sqrt {1+a x}} \, dx}{a^2 \sqrt {1-a x}}\\ &=\frac {8 \sqrt {c-\frac {c}{a x}} x^2}{\sqrt {1-a x} \sqrt {1+a x}}+\frac {\sqrt {c-\frac {c}{a x}} x^2 \sqrt {1+a x}}{2 \sqrt {1-a x}}-\frac {\left (47 \sqrt {c-\frac {c}{a x}} \sqrt {x}\right ) \int \frac {\sqrt {x}}{\sqrt {1+a x}} \, dx}{4 \sqrt {1-a x}}\\ &=\frac {8 \sqrt {c-\frac {c}{a x}} x^2}{\sqrt {1-a x} \sqrt {1+a x}}-\frac {47 \sqrt {c-\frac {c}{a x}} x \sqrt {1+a x}}{4 a \sqrt {1-a x}}+\frac {\sqrt {c-\frac {c}{a x}} x^2 \sqrt {1+a x}}{2 \sqrt {1-a x}}+\frac {\left (47 \sqrt {c-\frac {c}{a x}} \sqrt {x}\right ) \int \frac {1}{\sqrt {x} \sqrt {1+a x}} \, dx}{8 a \sqrt {1-a x}}\\ &=\frac {8 \sqrt {c-\frac {c}{a x}} x^2}{\sqrt {1-a x} \sqrt {1+a x}}-\frac {47 \sqrt {c-\frac {c}{a x}} x \sqrt {1+a x}}{4 a \sqrt {1-a x}}+\frac {\sqrt {c-\frac {c}{a x}} x^2 \sqrt {1+a x}}{2 \sqrt {1-a x}}+\frac {\left (47 \sqrt {c-\frac {c}{a x}} \sqrt {x}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1+a x^2}} \, dx,x,\sqrt {x}\right )}{4 a \sqrt {1-a x}}\\ &=\frac {8 \sqrt {c-\frac {c}{a x}} x^2}{\sqrt {1-a x} \sqrt {1+a x}}-\frac {47 \sqrt {c-\frac {c}{a x}} x \sqrt {1+a x}}{4 a \sqrt {1-a x}}+\frac {\sqrt {c-\frac {c}{a x}} x^2 \sqrt {1+a x}}{2 \sqrt {1-a x}}+\frac {47 \sqrt {c-\frac {c}{a x}} \sqrt {x} \sinh ^{-1}\left (\sqrt {a} \sqrt {x}\right )}{4 a^{3/2} \sqrt {1-a x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 92, normalized size = 0.53 \begin {gather*} \frac {\sqrt {c-\frac {c}{a x}} \sqrt {x} \left (\sqrt {a} \sqrt {x} \left (-47-13 a x+2 a^2 x^2\right )+47 \sqrt {1+a x} \sinh ^{-1}\left (\sqrt {a} \sqrt {x}\right )\right )}{4 a^{3/2} \sqrt {1-a^2 x^2}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 1.10, size = 158, normalized size = 0.91
method | result | size |
default | \(-\frac {\sqrt {\frac {c \left (a x -1\right )}{a x}}\, x \left (4 a^{\frac {5}{2}} x^{2} \sqrt {-\left (a x +1\right ) x}-26 a^{\frac {3}{2}} x \sqrt {-\left (a x +1\right ) x}-47 \arctan \left (\frac {2 a x +1}{2 \sqrt {a}\, \sqrt {-\left (a x +1\right ) x}}\right ) a x -94 \sqrt {a}\, \sqrt {-\left (a x +1\right ) x}-47 \arctan \left (\frac {2 a x +1}{2 \sqrt {a}\, \sqrt {-\left (a x +1\right ) x}}\right )\right ) \sqrt {-a^{2} x^{2}+1}}{8 a^{\frac {3}{2}} \left (a x +1\right ) \sqrt {-\left (a x +1\right ) x}\, \left (a x -1\right )}\) | \(158\) |
risch | \(\frac {\left (2 a x -15\right ) x \left (a x +1\right ) \sqrt {\frac {c \left (a x -1\right )}{a x}}\, \sqrt {\frac {a c x \left (-a^{2} x^{2}+1\right )}{a x -1}}}{4 a \sqrt {-a c x \left (a x +1\right )}\, \sqrt {-a^{2} x^{2}+1}}+\frac {\left (\frac {47 \arctan \left (\frac {\sqrt {a^{2} c}\, \left (x +\frac {1}{2 a}\right )}{\sqrt {-a^{2} c \,x^{2}-c x a}}\right )}{8 a \sqrt {a^{2} c}}+\frac {8 \sqrt {-a^{2} c \left (x +\frac {1}{a}\right )^{2}+\left (x +\frac {1}{a}\right ) a c}}{a^{3} c \left (x +\frac {1}{a}\right )}\right ) \sqrt {\frac {c \left (a x -1\right )}{a x}}\, \sqrt {\frac {a c x \left (-a^{2} x^{2}+1\right )}{a x -1}}}{\sqrt {-a^{2} x^{2}+1}}\) | \(217\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.38, size = 304, normalized size = 1.75 \begin {gather*} \left [\frac {47 \, {\left (a^{2} x^{2} - 1\right )} \sqrt {-c} \log \left (-\frac {8 \, a^{3} c x^{3} - 7 \, a c x + 4 \, {\left (2 \, a^{2} x^{2} + a x\right )} \sqrt {-a^{2} x^{2} + 1} \sqrt {-c} \sqrt {\frac {a c x - c}{a x}} - c}{a x - 1}\right ) - 4 \, {\left (2 \, a^{3} x^{3} - 13 \, a^{2} x^{2} - 47 \, a x\right )} \sqrt {-a^{2} x^{2} + 1} \sqrt {\frac {a c x - c}{a x}}}{16 \, {\left (a^{4} x^{2} - a^{2}\right )}}, -\frac {47 \, {\left (a^{2} x^{2} - 1\right )} \sqrt {c} \arctan \left (\frac {2 \, \sqrt {-a^{2} x^{2} + 1} a \sqrt {c} x \sqrt {\frac {a c x - c}{a x}}}{2 \, a^{2} c x^{2} - a c x - c}\right ) + 2 \, {\left (2 \, a^{3} x^{3} - 13 \, a^{2} x^{2} - 47 \, a x\right )} \sqrt {-a^{2} x^{2} + 1} \sqrt {\frac {a c x - c}{a x}}}{8 \, {\left (a^{4} x^{2} - a^{2}\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x \sqrt {- c \left (-1 + \frac {1}{a x}\right )} \left (- \left (a x - 1\right ) \left (a x + 1\right )\right )^{\frac {3}{2}}}{\left (a x + 1\right )^{3}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x\,\sqrt {c-\frac {c}{a\,x}}\,{\left (1-a^2\,x^2\right )}^{3/2}}{{\left (a\,x+1\right )}^3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________