Optimal. Leaf size=245 \[ -\frac {d^2 \text {Chi}\left (\frac {a}{b}+\cosh ^{-1}(c x)\right ) \sinh \left (\frac {a}{b}\right )}{b c}-\frac {e^2 \text {Chi}\left (\frac {a}{b}+\cosh ^{-1}(c x)\right ) \sinh \left (\frac {a}{b}\right )}{4 b c^3}-\frac {d e \text {Chi}\left (\frac {2 a}{b}+2 \cosh ^{-1}(c x)\right ) \sinh \left (\frac {2 a}{b}\right )}{b c^2}-\frac {e^2 \text {Chi}\left (\frac {3 a}{b}+3 \cosh ^{-1}(c x)\right ) \sinh \left (\frac {3 a}{b}\right )}{4 b c^3}+\frac {d^2 \cosh \left (\frac {a}{b}\right ) \text {Shi}\left (\frac {a}{b}+\cosh ^{-1}(c x)\right )}{b c}+\frac {e^2 \cosh \left (\frac {a}{b}\right ) \text {Shi}\left (\frac {a}{b}+\cosh ^{-1}(c x)\right )}{4 b c^3}+\frac {d e \cosh \left (\frac {2 a}{b}\right ) \text {Shi}\left (\frac {2 a}{b}+2 \cosh ^{-1}(c x)\right )}{b c^2}+\frac {e^2 \cosh \left (\frac {3 a}{b}\right ) \text {Shi}\left (\frac {3 a}{b}+3 \cosh ^{-1}(c x)\right )}{4 b c^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.52, antiderivative size = 245, normalized size of antiderivative = 1.00, number of steps
used = 17, number of rules used = 6, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {5965, 6874,
3384, 3379, 3382, 5556} \begin {gather*} -\frac {e^2 \sinh \left (\frac {a}{b}\right ) \text {Chi}\left (\frac {a}{b}+\cosh ^{-1}(c x)\right )}{4 b c^3}-\frac {e^2 \sinh \left (\frac {3 a}{b}\right ) \text {Chi}\left (\frac {3 a}{b}+3 \cosh ^{-1}(c x)\right )}{4 b c^3}+\frac {e^2 \cosh \left (\frac {a}{b}\right ) \text {Shi}\left (\frac {a}{b}+\cosh ^{-1}(c x)\right )}{4 b c^3}+\frac {e^2 \cosh \left (\frac {3 a}{b}\right ) \text {Shi}\left (\frac {3 a}{b}+3 \cosh ^{-1}(c x)\right )}{4 b c^3}-\frac {d e \sinh \left (\frac {2 a}{b}\right ) \text {Chi}\left (\frac {2 a}{b}+2 \cosh ^{-1}(c x)\right )}{b c^2}+\frac {d e \cosh \left (\frac {2 a}{b}\right ) \text {Shi}\left (\frac {2 a}{b}+2 \cosh ^{-1}(c x)\right )}{b c^2}-\frac {d^2 \sinh \left (\frac {a}{b}\right ) \text {Chi}\left (\frac {a}{b}+\cosh ^{-1}(c x)\right )}{b c}+\frac {d^2 \cosh \left (\frac {a}{b}\right ) \text {Shi}\left (\frac {a}{b}+\cosh ^{-1}(c x)\right )}{b c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3379
Rule 3382
Rule 3384
Rule 5556
Rule 5965
Rule 6874
Rubi steps
\begin {align*} \int \frac {(d+e x)^2}{a+b \cosh ^{-1}(c x)} \, dx &=\frac {\text {Subst}\left (\int \frac {(c d+e \cosh (x))^2 \sinh (x)}{a+b x} \, dx,x,\cosh ^{-1}(c x)\right )}{c^3}\\ &=\frac {\text {Subst}\left (\int \left (\frac {c^2 d^2 \sinh (x)}{a+b x}+\frac {e^2 \cosh ^2(x) \sinh (x)}{a+b x}+\frac {c d e \sinh (2 x)}{a+b x}\right ) \, dx,x,\cosh ^{-1}(c x)\right )}{c^3}\\ &=\frac {d^2 \text {Subst}\left (\int \frac {\sinh (x)}{a+b x} \, dx,x,\cosh ^{-1}(c x)\right )}{c}+\frac {(d e) \text {Subst}\left (\int \frac {\sinh (2 x)}{a+b x} \, dx,x,\cosh ^{-1}(c x)\right )}{c^2}+\frac {e^2 \text {Subst}\left (\int \frac {\cosh ^2(x) \sinh (x)}{a+b x} \, dx,x,\cosh ^{-1}(c x)\right )}{c^3}\\ &=\frac {e^2 \text {Subst}\left (\int \left (\frac {\sinh (x)}{4 (a+b x)}+\frac {\sinh (3 x)}{4 (a+b x)}\right ) \, dx,x,\cosh ^{-1}(c x)\right )}{c^3}+\frac {\left (d^2 \cosh \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 x)\right )}{c}+\frac {\left (d e \cosh \left (\frac {2 a}{b}\right )\right ) \text {Subst}\left (\int \frac {\sinh \left (\frac {2 a}{b}+2 x\right )}{a+b x} \, dx,x,\cosh ^{-1}(c x)\right )}{c^2}-\frac {\left (d^2 \sinh \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 x)\right )}{c}-\frac {\left (d e \sinh \left (\frac {2 a}{b}\right )\right ) \text {Subst}\left (\int \frac {\cosh \left (\frac {2 a}{b}+2 x\right )}{a+b x} \, dx,x,\cosh ^{-1}(c x)\right )}{c^2}\\ &=-\frac {d^2 \text {Chi}\left (\frac {a}{b}+\cosh ^{-1}(c x)\right ) \sinh \left (\frac {a}{b}\right )}{b c}-\frac {d e \text {Chi}\left (\frac {2 a}{b}+2 \cosh ^{-1}(c x)\right ) \sinh \left (\frac {2 a}{b}\right )}{b c^2}+\frac {d^2 \cosh \left (\frac {a}{b}\right ) \text {Shi}\left (\frac {a}{b}+\cosh ^{-1}(c x)\right )}{b c}+\frac {d e \cosh \left (\frac {2 a}{b}\right ) \text {Shi}\left (\frac {2 a}{b}+2 \cosh ^{-1}(c x)\right )}{b c^2}+\frac {e^2 \text {Subst}\left (\int \frac {\sinh (x)}{a+b x} \, dx,x,\cosh ^{-1}(c x)\right )}{4 c^3}+\frac {e^2 \text {Subst}\left (\int \frac {\sinh (3 x)}{a+b x} \, dx,x,\cosh ^{-1}(c x)\right )}{4 c^3}\\ &=-\frac {d^2 \text {Chi}\left (\frac {a}{b}+\cosh ^{-1}(c x)\right ) \sinh \left (\frac {a}{b}\right )}{b c}-\frac {d e \text {Chi}\left (\frac {2 a}{b}+2 \cosh ^{-1}(c x)\right ) \sinh \left (\frac {2 a}{b}\right )}{b c^2}+\frac {d^2 \cosh \left (\frac {a}{b}\right ) \text {Shi}\left (\frac {a}{b}+\cosh ^{-1}(c x)\right )}{b c}+\frac {d e \cosh \left (\frac {2 a}{b}\right ) \text {Shi}\left (\frac {2 a}{b}+2 \cosh ^{-1}(c x)\right )}{b c^2}+\frac {\left (e^2 \cosh \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 x)\right )}{4 c^3}+\frac {\left (e^2 \cosh \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 x)\right )}{4 c^3}-\frac {\left (e^2 \sinh \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 x)\right )}{4 c^3}-\frac {\left (e^2 \sinh \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 x)\right )}{4 c^3}\\ &=-\frac {d^2 \text {Chi}\left (\frac {a}{b}+\cosh ^{-1}(c x)\right ) \sinh \left (\frac {a}{b}\right )}{b c}-\frac {e^2 \text {Chi}\left (\frac {a}{b}+\cosh ^{-1}(c x)\right ) \sinh \left (\frac {a}{b}\right )}{4 b c^3}-\frac {d e \text {Chi}\left (\frac {2 a}{b}+2 \cosh ^{-1}(c x)\right ) \sinh \left (\frac {2 a}{b}\right )}{b c^2}-\frac {e^2 \text {Chi}\left (\frac {3 a}{b}+3 \cosh ^{-1}(c x)\right ) \sinh \left (\frac {3 a}{b}\right )}{4 b c^3}+\frac {d^2 \cosh \left (\frac {a}{b}\right ) \text {Shi}\left (\frac {a}{b}+\cosh ^{-1}(c x)\right )}{b c}+\frac {e^2 \cosh \left (\frac {a}{b}\right ) \text {Shi}\left (\frac {a}{b}+\cosh ^{-1}(c x)\right )}{4 b c^3}+\frac {d e \cosh \left (\frac {2 a}{b}\right ) \text {Shi}\left (\frac {2 a}{b}+2 \cosh ^{-1}(c x)\right )}{b c^2}+\frac {e^2 \cosh \left (\frac {3 a}{b}\right ) \text {Shi}\left (\frac {3 a}{b}+3 \cosh ^{-1}(c x)\right )}{4 b c^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.24, size = 187, normalized size = 0.76 \begin {gather*} \frac {-\left (\left (4 c^2 d^2+e^2\right ) \text {Chi}\left (\frac {a}{b}+\cosh ^{-1}(c x)\right ) \sinh \left (\frac {a}{b}\right )\right )-4 c d e \text {Chi}\left (2 \left (\frac {a}{b}+\cosh ^{-1}(c x)\right )\right ) \sinh \left (\frac {2 a}{b}\right )-e^2 \text {Chi}\left (3 \left (\frac {a}{b}+\cosh ^{-1}(c x)\right )\right ) \sinh \left (\frac {3 a}{b}\right )+4 c^2 d^2 \cosh \left (\frac {a}{b}\right ) \text {Shi}\left (\frac {a}{b}+\cosh ^{-1}(c x)\right )+e^2 \cosh \left (\frac {a}{b}\right ) \text {Shi}\left (\frac {a}{b}+\cosh ^{-1}(c x)\right )+4 c d e \cosh \left (\frac {2 a}{b}\right ) \text {Shi}\left (2 \left (\frac {a}{b}+\cosh ^{-1}(c x)\right )\right )+e^2 \cosh \left (\frac {3 a}{b}\right ) \text {Shi}\left (3 \left (\frac {a}{b}+\cosh ^{-1}(c x)\right )\right )}{4 b c^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 9.18, size = 254, normalized size = 1.04
method | result | size |
derivativedivides | \(\frac {-\frac {e^{2} {\mathrm e}^{-\frac {3 a}{b}} \expIntegral \left (1, -3 \,\mathrm {arccosh}\left (c x \right )-\frac {3 a}{b}\right )}{8 c^{2} b}+\frac {e^{2} {\mathrm e}^{\frac {3 a}{b}} \expIntegral \left (1, 3 \,\mathrm {arccosh}\left (c x \right )+\frac {3 a}{b}\right )}{8 c^{2} b}+\frac {{\mathrm e}^{\frac {a}{b}} \expIntegral \left (1, \mathrm {arccosh}\left (c x \right )+\frac {a}{b}\right ) d^{2}}{2 b}+\frac {{\mathrm e}^{\frac {a}{b}} \expIntegral \left (1, \mathrm {arccosh}\left (c x \right )+\frac {a}{b}\right ) e^{2}}{8 c^{2} b}-\frac {{\mathrm e}^{-\frac {a}{b}} \expIntegral \left (1, -\mathrm {arccosh}\left (c x \right )-\frac {a}{b}\right ) d^{2}}{2 b}-\frac {{\mathrm e}^{-\frac {a}{b}} \expIntegral \left (1, -\mathrm {arccosh}\left (c x \right )-\frac {a}{b}\right ) e^{2}}{8 c^{2} b}-\frac {d e \,{\mathrm e}^{-\frac {2 a}{b}} \expIntegral \left (1, -2 \,\mathrm {arccosh}\left (c x \right )-\frac {2 a}{b}\right )}{2 c b}+\frac {d e \,{\mathrm e}^{\frac {2 a}{b}} \expIntegral \left (1, 2 \,\mathrm {arccosh}\left (c x \right )+\frac {2 a}{b}\right )}{2 c b}}{c}\) | \(254\) |
default | \(\frac {-\frac {e^{2} {\mathrm e}^{-\frac {3 a}{b}} \expIntegral \left (1, -3 \,\mathrm {arccosh}\left (c x \right )-\frac {3 a}{b}\right )}{8 c^{2} b}+\frac {e^{2} {\mathrm e}^{\frac {3 a}{b}} \expIntegral \left (1, 3 \,\mathrm {arccosh}\left (c x \right )+\frac {3 a}{b}\right )}{8 c^{2} b}+\frac {{\mathrm e}^{\frac {a}{b}} \expIntegral \left (1, \mathrm {arccosh}\left (c x \right )+\frac {a}{b}\right ) d^{2}}{2 b}+\frac {{\mathrm e}^{\frac {a}{b}} \expIntegral \left (1, \mathrm {arccosh}\left (c x \right )+\frac {a}{b}\right ) e^{2}}{8 c^{2} b}-\frac {{\mathrm e}^{-\frac {a}{b}} \expIntegral \left (1, -\mathrm {arccosh}\left (c x \right )-\frac {a}{b}\right ) d^{2}}{2 b}-\frac {{\mathrm e}^{-\frac {a}{b}} \expIntegral \left (1, -\mathrm {arccosh}\left (c x \right )-\frac {a}{b}\right ) e^{2}}{8 c^{2} b}-\frac {d e \,{\mathrm e}^{-\frac {2 a}{b}} \expIntegral \left (1, -2 \,\mathrm {arccosh}\left (c x \right )-\frac {2 a}{b}\right )}{2 c b}+\frac {d e \,{\mathrm e}^{\frac {2 a}{b}} \expIntegral \left (1, 2 \,\mathrm {arccosh}\left (c x \right )+\frac {2 a}{b}\right )}{2 c b}}{c}\) | \(254\) |
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*} \int \frac {\left (d + e x\right )^{2}}{a + b \operatorname {acosh}{\left (c 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.00 \begin {gather*} \int \frac {{\left (d+e\,x\right )}^2}{a+b\,\mathrm {acosh}\left (c\,x\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________