Optimal. Leaf size=104 \[ \frac {2 \sqrt {e (c+d x)} \left (a+b \cosh ^{-1}(c+d x)\right )}{d e}-\frac {4 b \sqrt {1-c-d x} \sqrt {e (c+d x)} E\left (\left .\text {ArcSin}\left (\frac {\sqrt {1+c+d x}}{\sqrt {2}}\right )\right |2\right )}{d e \sqrt {-c-d x} \sqrt {-1+c+d x}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 104, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.174, Rules used = {5996, 5883,
115, 114} \begin {gather*} \frac {2 \sqrt {e (c+d x)} \left (a+b \cosh ^{-1}(c+d x)\right )}{d e}-\frac {4 b \sqrt {-c-d x+1} \sqrt {e (c+d x)} E\left (\left .\text {ArcSin}\left (\frac {\sqrt {c+d x+1}}{\sqrt {2}}\right )\right |2\right )}{d e \sqrt {-c-d x} \sqrt {c+d x-1}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 114
Rule 115
Rule 5883
Rule 5996
Rubi steps
\begin {align*} \int \frac {a+b \cosh ^{-1}(c+d x)}{\sqrt {c e+d e x}} \, dx &=\frac {\text {Subst}\left (\int \frac {a+b \cosh ^{-1}(x)}{\sqrt {e x}} \, dx,x,c+d x\right )}{d}\\ &=\frac {2 \sqrt {e (c+d x)} \left (a+b \cosh ^{-1}(c+d x)\right )}{d e}-\frac {(2 b) \text {Subst}\left (\int \frac {\sqrt {e x}}{\sqrt {-1+x} \sqrt {1+x}} \, dx,x,c+d x\right )}{d e}\\ &=\frac {2 \sqrt {e (c+d x)} \left (a+b \cosh ^{-1}(c+d x)\right )}{d e}-\frac {\left (\sqrt {2} b \sqrt {1-c-d x} \sqrt {e (c+d x)}\right ) \text {Subst}\left (\int \frac {\sqrt {-x}}{\sqrt {\frac {1}{2}-\frac {x}{2}} \sqrt {1+x}} \, dx,x,c+d x\right )}{d e \sqrt {-c-d x} \sqrt {-1+c+d x}}\\ &=\frac {2 \sqrt {e (c+d x)} \left (a+b \cosh ^{-1}(c+d x)\right )}{d e}-\frac {4 b \sqrt {1-c-d x} \sqrt {e (c+d x)} E\left (\left .\sin ^{-1}\left (\frac {\sqrt {1+c+d x}}{\sqrt {2}}\right )\right |2\right )}{d e \sqrt {-c-d x} \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.14, size = 94, normalized size = 0.90 \begin {gather*} \frac {2 \sqrt {e (c+d x)} \left (3 \left (a+b \cosh ^{-1}(c+d x)\right )-\frac {2 b (c+d x) \sqrt {1-(c+d x)^2} \, _2F_1\left (\frac {1}{2},\frac {3}{4};\frac {7}{4};(c+d x)^2\right )}{\sqrt {-1+c+d x} \sqrt {1+c+d x}}\right )}{3 d e} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 0.06, size = 138, normalized size = 1.33
method | result | size |
derivativedivides | \(\frac {2 \sqrt {d e x +c e}\, a +2 b \left (\sqrt {d e x +c e}\, \mathrm {arccosh}\left (\frac {d e x +c e}{e}\right )-\frac {2 \left (\EllipticF \left (\sqrt {d e x +c e}\, \sqrt {-\frac {1}{e}}, i\right )-\EllipticE \left (\sqrt {d e x +c e}\, \sqrt {-\frac {1}{e}}, i\right )\right ) \sqrt {\frac {-d e x -c e +e}{e}}}{\sqrt {-\frac {1}{e}}\, \sqrt {-\frac {-d e x -c e +e}{e}}}\right )}{d e}\) | \(138\) |
default | \(\frac {2 \sqrt {d e x +c e}\, a +2 b \left (\sqrt {d e x +c e}\, \mathrm {arccosh}\left (\frac {d e x +c e}{e}\right )-\frac {2 \left (\EllipticF \left (\sqrt {d e x +c e}\, \sqrt {-\frac {1}{e}}, i\right )-\EllipticE \left (\sqrt {d e x +c e}\, \sqrt {-\frac {1}{e}}, i\right )\right ) \sqrt {\frac {-d e x -c e +e}{e}}}{\sqrt {-\frac {1}{e}}\, \sqrt {-\frac {-d e x -c e +e}{e}}}\right )}{d e}\) | \(138\) |
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.10, size = 128, normalized size = 1.23 \begin {gather*} \frac {2 \, {\left (\sqrt {{\left (d x + c\right )} \cosh \left (1\right ) + {\left (d x + c\right )} \sinh \left (1\right )} b d \log \left (d x + c + \sqrt {d^{2} x^{2} + 2 \, c d x + c^{2} - 1}\right ) + \sqrt {{\left (d x + c\right )} \cosh \left (1\right ) + {\left (d x + c\right )} \sinh \left (1\right )} a d + 2 \, \sqrt {d^{3} \cosh \left (1\right ) + d^{3} \sinh \left (1\right )} b {\rm weierstrassZeta}\left (\frac {4}{d^{2}}, 0, {\rm weierstrassPInverse}\left (\frac {4}{d^{2}}, 0, \frac {d x + c}{d}\right )\right )\right )}}{d^{2} \cosh \left (1\right ) + d^{2} \sinh \left (1\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 {a + b \operatorname {acosh}{\left (c + d x \right )}}{\sqrt {e \left (c + d x\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 \frac {a+b\,\mathrm {acosh}\left (c+d\,x\right )}{\sqrt {c\,e+d\,e\,x}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________