Optimal. Leaf size=127 \[ -\frac {4 b \sqrt {-1+c+d x} \sqrt {e (c+d x)} \sqrt {1+c+d x}}{9 d}+\frac {2 (e (c+d x))^{3/2} \left (a+b \cosh ^{-1}(c+d x)\right )}{3 d e}-\frac {4 b \sqrt {e} \sqrt {1-c-d x} F\left (\left .\text {ArcSin}\left (\frac {\sqrt {e (c+d x)}}{\sqrt {e}}\right )\right |-1\right )}{9 d \sqrt {-1+c+d x}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 127, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.261, Rules used = {5996, 5883,
104, 12, 118, 117} \begin {gather*} \frac {2 (e (c+d x))^{3/2} \left (a+b \cosh ^{-1}(c+d x)\right )}{3 d e}-\frac {4 b \sqrt {e} \sqrt {-c-d x+1} F\left (\left .\text {ArcSin}\left (\frac {\sqrt {e (c+d x)}}{\sqrt {e}}\right )\right |-1\right )}{9 d \sqrt {c+d x-1}}-\frac {4 b \sqrt {c+d x-1} \sqrt {c+d x+1} \sqrt {e (c+d x)}}{9 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 104
Rule 117
Rule 118
Rule 5883
Rule 5996
Rubi steps
\begin {align*} \int \sqrt {c e+d e x} \left (a+b \cosh ^{-1}(c+d x)\right ) \, dx &=\frac {\text {Subst}\left (\int \sqrt {e x} \left (a+b \cosh ^{-1}(x)\right ) \, dx,x,c+d x\right )}{d}\\ &=\frac {2 (e (c+d x))^{3/2} \left (a+b \cosh ^{-1}(c+d x)\right )}{3 d e}-\frac {(2 b) \text {Subst}\left (\int \frac {(e x)^{3/2}}{\sqrt {-1+x} \sqrt {1+x}} \, dx,x,c+d x\right )}{3 d e}\\ &=-\frac {4 b \sqrt {-1+c+d x} \sqrt {e (c+d x)} \sqrt {1+c+d x}}{9 d}+\frac {2 (e (c+d x))^{3/2} \left (a+b \cosh ^{-1}(c+d x)\right )}{3 d e}-\frac {(4 b) \text {Subst}\left (\int \frac {e^2}{2 \sqrt {-1+x} \sqrt {e x} \sqrt {1+x}} \, dx,x,c+d x\right )}{9 d e}\\ &=-\frac {4 b \sqrt {-1+c+d x} \sqrt {e (c+d x)} \sqrt {1+c+d x}}{9 d}+\frac {2 (e (c+d x))^{3/2} \left (a+b \cosh ^{-1}(c+d x)\right )}{3 d e}-\frac {(2 b e) \text {Subst}\left (\int \frac {1}{\sqrt {-1+x} \sqrt {e x} \sqrt {1+x}} \, dx,x,c+d x\right )}{9 d}\\ &=-\frac {4 b \sqrt {-1+c+d x} \sqrt {e (c+d x)} \sqrt {1+c+d x}}{9 d}+\frac {2 (e (c+d x))^{3/2} \left (a+b \cosh ^{-1}(c+d x)\right )}{3 d e}-\frac {\left (2 b e \sqrt {1-c-d x}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-x} \sqrt {e x} \sqrt {1+x}} \, dx,x,c+d x\right )}{9 d \sqrt {-1+c+d x}}\\ &=-\frac {4 b \sqrt {-1+c+d x} \sqrt {e (c+d x)} \sqrt {1+c+d x}}{9 d}+\frac {2 (e (c+d x))^{3/2} \left (a+b \cosh ^{-1}(c+d x)\right )}{3 d e}-\frac {4 b \sqrt {e} \sqrt {1-c-d x} F\left (\left .\sin ^{-1}\left (\frac {\sqrt {e (c+d x)}}{\sqrt {e}}\right )\right |-1\right )}{9 d \sqrt {-1+c+d x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in
optimal.
time = 0.33, size = 131, normalized size = 1.03 \begin {gather*} \frac {\sqrt {e (c+d x)} \left (\frac {2}{3} (c+d x)^{3/2} \left (a+b \cosh ^{-1}(c+d x)\right )-\frac {4 b \left (-1+c^2+2 c d x+d^2 x^2+\sqrt {1-(c+d x)^2} \, _2F_1\left (\frac {1}{4},\frac {1}{2};\frac {5}{4};(c+d x)^2\right )\right )}{9 \sqrt {\frac {-1+c+d x}{c+d x}} \sqrt {1+c+d x}}\right )}{d \sqrt {c+d x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.05, size = 194, normalized size = 1.53
method | result | size |
derivativedivides | \(\frac {\frac {2 a \left (d e x +c e \right )^{\frac {3}{2}}}{3}+2 b \left (\frac {\left (d e x +c e \right )^{\frac {3}{2}} \mathrm {arccosh}\left (\frac {d e x +c e}{e}\right )}{3}-\frac {2 \left (\sqrt {-\frac {1}{e}}\, \left (d e x +c e \right )^{\frac {5}{2}}+\sqrt {\frac {d e x +c e +e}{e}}\, \sqrt {\frac {-d e x -c e +e}{e}}\, \EllipticF \left (\sqrt {d e x +c e}\, \sqrt {-\frac {1}{e}}, i\right ) e^{2}-\sqrt {-\frac {1}{e}}\, e^{2} \sqrt {d e x +c e}\right )}{9 e \sqrt {-\frac {1}{e}}\, \sqrt {\frac {d e x +c e +e}{e}}\, \sqrt {-\frac {-d e x -c e +e}{e}}}\right )}{d e}\) | \(194\) |
default | \(\frac {\frac {2 a \left (d e x +c e \right )^{\frac {3}{2}}}{3}+2 b \left (\frac {\left (d e x +c e \right )^{\frac {3}{2}} \mathrm {arccosh}\left (\frac {d e x +c e}{e}\right )}{3}-\frac {2 \left (\sqrt {-\frac {1}{e}}\, \left (d e x +c e \right )^{\frac {5}{2}}+\sqrt {\frac {d e x +c e +e}{e}}\, \sqrt {\frac {-d e x -c e +e}{e}}\, \EllipticF \left (\sqrt {d e x +c e}\, \sqrt {-\frac {1}{e}}, i\right ) e^{2}-\sqrt {-\frac {1}{e}}\, e^{2} \sqrt {d e x +c e}\right )}{9 e \sqrt {-\frac {1}{e}}\, \sqrt {\frac {d e x +c e +e}{e}}\, \sqrt {-\frac {-d e x -c e +e}{e}}}\right )}{d e}\) | \(194\) |
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 [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.12, size = 159, normalized size = 1.25 \begin {gather*} \frac {2 \, {\left (3 \, {\left (b d^{3} x + b c d^{2}\right )} \sqrt {{\left (d x + c\right )} \cosh \left (1\right ) + {\left (d x + c\right )} \sinh \left (1\right )} \log \left (d x + c + \sqrt {d^{2} x^{2} + 2 \, c d x + c^{2} - 1}\right ) - 2 \, \sqrt {d^{3} \cosh \left (1\right ) + d^{3} \sinh \left (1\right )} b {\rm weierstrassPInverse}\left (\frac {4}{d^{2}}, 0, \frac {d x + c}{d}\right ) + {\left (3 \, a d^{3} x + 3 \, a c d^{2} - 2 \, \sqrt {d^{2} x^{2} + 2 \, c d x + c^{2} - 1} b d^{2}\right )} \sqrt {{\left (d x + c\right )} \cosh \left (1\right ) + {\left (d x + c\right )} \sinh \left (1\right )}\right )}}{9 \, d^{3}} \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 \sqrt {e \left (c + d x\right )} \left (a + b \operatorname {acosh}{\left (c + d x \right )}\right )\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \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 \sqrt {c\,e+d\,e\,x}\,\left (a+b\,\mathrm {acosh}\left (c+d\,x\right )\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________