Optimal. Leaf size=191 \[ -\frac {e^2 \sqrt {-1+c+d x} (c+d x)^2 \sqrt {1+c+d x}}{b d \left (a+b \cosh ^{-1}(c+d x)\right )}+\frac {e^2 \cosh \left (\frac {a}{b}\right ) \text {Chi}\left (\frac {a+b \cosh ^{-1}(c+d x)}{b}\right )}{4 b^2 d}+\frac {3 e^2 \cosh \left (\frac {3 a}{b}\right ) \text {Chi}\left (\frac {3 \left (a+b \cosh ^{-1}(c+d x)\right )}{b}\right )}{4 b^2 d}-\frac {e^2 \sinh \left (\frac {a}{b}\right ) \text {Shi}\left (\frac {a+b \cosh ^{-1}(c+d x)}{b}\right )}{4 b^2 d}-\frac {3 e^2 \sinh \left (\frac {3 a}{b}\right ) \text {Shi}\left (\frac {3 \left (a+b \cosh ^{-1}(c+d x)\right )}{b}\right )}{4 b^2 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.19, antiderivative size = 191, normalized size of antiderivative = 1.00, number of steps
used = 10, number of rules used = 6, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.261, Rules used = {5996, 12,
5885, 3384, 3379, 3382} \begin {gather*} \frac {e^2 \cosh \left (\frac {a}{b}\right ) \text {Chi}\left (\frac {a+b \cosh ^{-1}(c+d x)}{b}\right )}{4 b^2 d}+\frac {3 e^2 \cosh \left (\frac {3 a}{b}\right ) \text {Chi}\left (\frac {3 \left (a+b \cosh ^{-1}(c+d x)\right )}{b}\right )}{4 b^2 d}-\frac {e^2 \sinh \left (\frac {a}{b}\right ) \text {Shi}\left (\frac {a+b \cosh ^{-1}(c+d x)}{b}\right )}{4 b^2 d}-\frac {3 e^2 \sinh \left (\frac {3 a}{b}\right ) \text {Shi}\left (\frac {3 \left (a+b \cosh ^{-1}(c+d x)\right )}{b}\right )}{4 b^2 d}-\frac {e^2 \sqrt {c+d x-1} (c+d x)^2 \sqrt {c+d x+1}}{b d \left (a+b \cosh ^{-1}(c+d x)\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 3379
Rule 3382
Rule 3384
Rule 5885
Rule 5996
Rubi steps
\begin {align*} \int \frac {(c e+d e x)^2}{\left (a+b \cosh ^{-1}(c+d x)\right )^2} \, dx &=\frac {\text {Subst}\left (\int \frac {e^2 x^2}{\left (a+b \cosh ^{-1}(x)\right )^2} \, dx,x,c+d x\right )}{d}\\ &=\frac {e^2 \text {Subst}\left (\int \frac {x^2}{\left (a+b \cosh ^{-1}(x)\right )^2} \, dx,x,c+d x\right )}{d}\\ &=-\frac {e^2 \sqrt {-1+c+d x} (c+d x)^2 \sqrt {1+c+d x}}{b d \left (a+b \cosh ^{-1}(c+d x)\right )}-\frac {e^2 \text {Subst}\left (\int \left (-\frac {\cosh (x)}{4 (a+b x)}-\frac {3 \cosh (3 x)}{4 (a+b x)}\right ) \, dx,x,\cosh ^{-1}(c+d x)\right )}{b d}\\ &=-\frac {e^2 \sqrt {-1+c+d x} (c+d x)^2 \sqrt {1+c+d x}}{b d \left (a+b \cosh ^{-1}(c+d x)\right )}+\frac {e^2 \text {Subst}\left (\int \frac {\cosh (x)}{a+b x} \, dx,x,\cosh ^{-1}(c+d x)\right )}{4 b d}+\frac {\left (3 e^2\right ) \text {Subst}\left (\int \frac {\cosh (3 x)}{a+b x} \, dx,x,\cosh ^{-1}(c+d x)\right )}{4 b d}\\ &=-\frac {e^2 \sqrt {-1+c+d x} (c+d x)^2 \sqrt {1+c+d x}}{b d \left (a+b \cosh ^{-1}(c+d x)\right )}+\frac {\left (e^2 \cosh \left (\frac {a}{b}\right )\right ) \text {Subst}\left (\int \frac {\cosh \left (\frac {a}{b}+x\right )}{a+b x} \, dx,x,\cosh ^{-1}(c+d x)\right )}{4 b d}+\frac {\left (3 e^2 \cosh \left (\frac {3 a}{b}\right )\right ) \text {Subst}\left (\int \frac {\cosh \left (\frac {3 a}{b}+3 x\right )}{a+b x} \, dx,x,\cosh ^{-1}(c+d x)\right )}{4 b d}-\frac {\left (e^2 \sinh \left (\frac {a}{b}\right )\right ) \text {Subst}\left (\int \frac {\sinh \left (\frac {a}{b}+x\right )}{a+b x} \, dx,x,\cosh ^{-1}(c+d x)\right )}{4 b d}-\frac {\left (3 e^2 \sinh \left (\frac {3 a}{b}\right )\right ) \text {Subst}\left (\int \frac {\sinh \left (\frac {3 a}{b}+3 x\right )}{a+b x} \, dx,x,\cosh ^{-1}(c+d x)\right )}{4 b d}\\ &=-\frac {e^2 \sqrt {-1+c+d x} (c+d x)^2 \sqrt {1+c+d x}}{b d \left (a+b \cosh ^{-1}(c+d x)\right )}+\frac {e^2 \cosh \left (\frac {a}{b}\right ) \text {Chi}\left (\frac {a}{b}+\cosh ^{-1}(c+d x)\right )}{4 b^2 d}+\frac {3 e^2 \cosh \left (\frac {3 a}{b}\right ) \text {Chi}\left (\frac {3 a}{b}+3 \cosh ^{-1}(c+d x)\right )}{4 b^2 d}-\frac {e^2 \sinh \left (\frac {a}{b}\right ) \text {Shi}\left (\frac {a}{b}+\cosh ^{-1}(c+d x)\right )}{4 b^2 d}-\frac {3 e^2 \sinh \left (\frac {3 a}{b}\right ) \text {Shi}\left (\frac {3 a}{b}+3 \cosh ^{-1}(c+d x)\right )}{4 b^2 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 1.34, size = 150, normalized size = 0.79 \begin {gather*} \frac {e^2 \left (-\frac {4 b (c+d x)^2 \sqrt {\frac {-1+c+d x}{1+c+d x}} (1+c+d x)}{a+b \cosh ^{-1}(c+d x)}+\cosh \left (\frac {a}{b}\right ) \text {Chi}\left (\frac {a}{b}+\cosh ^{-1}(c+d x)\right )+3 \cosh \left (\frac {3 a}{b}\right ) \text {Chi}\left (3 \left (\frac {a}{b}+\cosh ^{-1}(c+d x)\right )\right )-\sinh \left (\frac {a}{b}\right ) \text {Shi}\left (\frac {a}{b}+\cosh ^{-1}(c+d x)\right )-3 \sinh \left (\frac {3 a}{b}\right ) \text {Shi}\left (3 \left (\frac {a}{b}+\cosh ^{-1}(c+d x)\right )\right )\right )}{4 b^2 d} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(373\) vs.
\(2(179)=358\).
time = 71.38, size = 374, normalized size = 1.96
method | result | size |
derivativedivides | \(\frac {\frac {\left (-4 \sqrt {d x +c +1}\, \sqrt {d x +c -1}\, \left (d x +c \right )^{2}+\sqrt {d x +c -1}\, \sqrt {d x +c +1}+4 \left (d x +c \right )^{3}-3 d x -3 c \right ) e^{2}}{8 b \left (a +b \,\mathrm {arccosh}\left (d x +c \right )\right )}-\frac {3 e^{2} {\mathrm e}^{\frac {3 a}{b}} \expIntegral \left (1, 3 \,\mathrm {arccosh}\left (d x +c \right )+\frac {3 a}{b}\right )}{8 b^{2}}+\frac {\left (-\sqrt {d x +c -1}\, \sqrt {d x +c +1}+d x +c \right ) e^{2}}{8 b \left (a +b \,\mathrm {arccosh}\left (d x +c \right )\right )}-\frac {e^{2} {\mathrm e}^{\frac {a}{b}} \expIntegral \left (1, \mathrm {arccosh}\left (d x +c \right )+\frac {a}{b}\right )}{8 b^{2}}-\frac {e^{2} \left (d x +c +\sqrt {d x +c -1}\, \sqrt {d x +c +1}\right )}{8 b \left (a +b \,\mathrm {arccosh}\left (d x +c \right )\right )}-\frac {e^{2} {\mathrm e}^{-\frac {a}{b}} \expIntegral \left (1, -\mathrm {arccosh}\left (d x +c \right )-\frac {a}{b}\right )}{8 b^{2}}-\frac {e^{2} \left (4 \left (d x +c \right )^{3}-3 d x -3 c +4 \sqrt {d x +c +1}\, \sqrt {d x +c -1}\, \left (d x +c \right )^{2}-\sqrt {d x +c -1}\, \sqrt {d x +c +1}\right )}{8 b \left (a +b \,\mathrm {arccosh}\left (d x +c \right )\right )}-\frac {3 e^{2} {\mathrm e}^{-\frac {3 a}{b}} \expIntegral \left (1, -3 \,\mathrm {arccosh}\left (d x +c \right )-\frac {3 a}{b}\right )}{8 b^{2}}}{d}\) | \(374\) |
default | \(\frac {\frac {\left (-4 \sqrt {d x +c +1}\, \sqrt {d x +c -1}\, \left (d x +c \right )^{2}+\sqrt {d x +c -1}\, \sqrt {d x +c +1}+4 \left (d x +c \right )^{3}-3 d x -3 c \right ) e^{2}}{8 b \left (a +b \,\mathrm {arccosh}\left (d x +c \right )\right )}-\frac {3 e^{2} {\mathrm e}^{\frac {3 a}{b}} \expIntegral \left (1, 3 \,\mathrm {arccosh}\left (d x +c \right )+\frac {3 a}{b}\right )}{8 b^{2}}+\frac {\left (-\sqrt {d x +c -1}\, \sqrt {d x +c +1}+d x +c \right ) e^{2}}{8 b \left (a +b \,\mathrm {arccosh}\left (d x +c \right )\right )}-\frac {e^{2} {\mathrm e}^{\frac {a}{b}} \expIntegral \left (1, \mathrm {arccosh}\left (d x +c \right )+\frac {a}{b}\right )}{8 b^{2}}-\frac {e^{2} \left (d x +c +\sqrt {d x +c -1}\, \sqrt {d x +c +1}\right )}{8 b \left (a +b \,\mathrm {arccosh}\left (d x +c \right )\right )}-\frac {e^{2} {\mathrm e}^{-\frac {a}{b}} \expIntegral \left (1, -\mathrm {arccosh}\left (d x +c \right )-\frac {a}{b}\right )}{8 b^{2}}-\frac {e^{2} \left (4 \left (d x +c \right )^{3}-3 d x -3 c +4 \sqrt {d x +c +1}\, \sqrt {d x +c -1}\, \left (d x +c \right )^{2}-\sqrt {d x +c -1}\, \sqrt {d x +c +1}\right )}{8 b \left (a +b \,\mathrm {arccosh}\left (d x +c \right )\right )}-\frac {3 e^{2} {\mathrm e}^{-\frac {3 a}{b}} \expIntegral \left (1, -3 \,\mathrm {arccosh}\left (d x +c \right )-\frac {3 a}{b}\right )}{8 b^{2}}}{d}\) | \(374\) |
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 [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]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} e^{2} \left (\int \frac {c^{2}}{a^{2} + 2 a b \operatorname {acosh}{\left (c + d x \right )} + b^{2} \operatorname {acosh}^{2}{\left (c + d x \right )}}\, dx + \int \frac {d^{2} x^{2}}{a^{2} + 2 a b \operatorname {acosh}{\left (c + d x \right )} + b^{2} \operatorname {acosh}^{2}{\left (c + d x \right )}}\, dx + \int \frac {2 c d x}{a^{2} + 2 a b \operatorname {acosh}{\left (c + d x \right )} + b^{2} \operatorname {acosh}^{2}{\left (c + d x \right )}}\, dx\right ) \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 {{\left (c\,e+d\,e\,x\right )}^2}{{\left (a+b\,\mathrm {acosh}\left (c+d\,x\right )\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________