Optimal. Leaf size=191 \[ \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 )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.28, antiderivative size = 187, normalized size of antiderivative = 0.98, 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 = {5866, 12, 5666, 3303, 3298, 3301} \[ \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}-\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 )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 3298
Rule 3301
Rule 3303
Rule 5666
Rule 5866
Rubi steps
\begin {align*} \int \frac {(c e+d e x)^2}{\left (a+b \cosh ^{-1}(c+d x)\right )^2} \, dx &=\frac {\operatorname {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 \operatorname {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 \operatorname {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 \operatorname {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 ) \operatorname {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 ) \operatorname {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 ) \operatorname {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 ) \operatorname {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 ) \operatorname {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.96, size = 150, normalized size = 0.79 \[ \frac {e^2 \left (\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 )-\frac {4 b \sqrt {\frac {c+d x-1}{c+d x+1}} (c+d x+1) (c+d x)^2}{a+b \cosh ^{-1}(c+d x)}\right )}{4 b^2 d} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.77, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {d^{2} e^{2} x^{2} + 2 \, c d e^{2} x + c^{2} e^{2}}{b^{2} \operatorname {arcosh}\left (d x + c\right )^{2} + 2 \, a b \operatorname {arcosh}\left (d x + c\right ) + a^{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (d e x + c e\right )}^{2}}{{\left (b \operatorname {arcosh}\left (d x + c\right ) + a\right )}^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.22, size = 374, normalized size = 1.96 \[ \frac {\frac {\left (-4 \left (d x +c \right )^{2} \sqrt {d x +c -1}\, \sqrt {d x +c +1}+\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}} \Ei \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}} \Ei \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}} \Ei \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 \left (d x +c \right )^{2} \sqrt {d x +c -1}\, \sqrt {d x +c +1}-\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}} \Ei \left (1, -3 \,\mathrm {arccosh}\left (d x +c \right )-\frac {3 a}{b}\right )}{8 b^{2}}}{d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\left (c\,e+d\,e\,x\right )}^2}{{\left (a+b\,\mathrm {acosh}\left (c+d\,x\right )\right )}^2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ 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 ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________