Optimal. Leaf size=297 \[ \frac {b^2 \left (a+b \cosh ^{-1}(c+d x)\right )}{d e^4 (c+d x)}+\frac {b \sqrt {-1+c+d x} \sqrt {1+c+d x} \left (a+b \cosh ^{-1}(c+d x)\right )^2}{2 d e^4 (c+d x)^2}-\frac {\left (a+b \cosh ^{-1}(c+d x)\right )^3}{3 d e^4 (c+d x)^3}+\frac {b \left (a+b \cosh ^{-1}(c+d x)\right )^2 \text {ArcTan}\left (e^{\cosh ^{-1}(c+d x)}\right )}{d e^4}-\frac {b^3 \text {ArcTan}\left (\sqrt {-1+c+d x} \sqrt {1+c+d x}\right )}{d e^4}-\frac {i b^2 \left (a+b \cosh ^{-1}(c+d x)\right ) \text {PolyLog}\left (2,-i e^{\cosh ^{-1}(c+d x)}\right )}{d e^4}+\frac {i b^2 \left (a+b \cosh ^{-1}(c+d x)\right ) \text {PolyLog}\left (2,i e^{\cosh ^{-1}(c+d x)}\right )}{d e^4}+\frac {i b^3 \text {PolyLog}\left (3,-i e^{\cosh ^{-1}(c+d x)}\right )}{d e^4}-\frac {i b^3 \text {PolyLog}\left (3,i e^{\cosh ^{-1}(c+d x)}\right )}{d e^4} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.40, antiderivative size = 297, normalized size of antiderivative = 1.00, number of steps
used = 15, number of rules used = 11, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.478, Rules used = {5996, 12,
5883, 5933, 5947, 4265, 2611, 2320, 6724, 94, 209} \begin {gather*} \frac {b \text {ArcTan}\left (e^{\cosh ^{-1}(c+d x)}\right ) \left (a+b \cosh ^{-1}(c+d x)\right )^2}{d e^4}-\frac {i b^2 \text {Li}_2\left (-i e^{\cosh ^{-1}(c+d x)}\right ) \left (a+b \cosh ^{-1}(c+d x)\right )}{d e^4}+\frac {i b^2 \text {Li}_2\left (i e^{\cosh ^{-1}(c+d x)}\right ) \left (a+b \cosh ^{-1}(c+d x)\right )}{d e^4}+\frac {b^2 \left (a+b \cosh ^{-1}(c+d x)\right )}{d e^4 (c+d x)}+\frac {b \sqrt {c+d x-1} \sqrt {c+d x+1} \left (a+b \cosh ^{-1}(c+d x)\right )^2}{2 d e^4 (c+d x)^2}-\frac {\left (a+b \cosh ^{-1}(c+d x)\right )^3}{3 d e^4 (c+d x)^3}-\frac {b^3 \text {ArcTan}\left (\sqrt {c+d x-1} \sqrt {c+d x+1}\right )}{d e^4}+\frac {i b^3 \text {Li}_3\left (-i e^{\cosh ^{-1}(c+d x)}\right )}{d e^4}-\frac {i b^3 \text {Li}_3\left (i e^{\cosh ^{-1}(c+d x)}\right )}{d e^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 94
Rule 209
Rule 2320
Rule 2611
Rule 4265
Rule 5883
Rule 5933
Rule 5947
Rule 5996
Rule 6724
Rubi steps
\begin {align*} \int \frac {\left (a+b \cosh ^{-1}(c+d x)\right )^3}{(c e+d e x)^4} \, dx &=\frac {\text {Subst}\left (\int \frac {\left (a+b \cosh ^{-1}(x)\right )^3}{e^4 x^4} \, dx,x,c+d x\right )}{d}\\ &=\frac {\text {Subst}\left (\int \frac {\left (a+b \cosh ^{-1}(x)\right )^3}{x^4} \, dx,x,c+d x\right )}{d e^4}\\ &=-\frac {\left (a+b \cosh ^{-1}(c+d x)\right )^3}{3 d e^4 (c+d x)^3}+\frac {b \text {Subst}\left (\int \frac {\left (a+b \cosh ^{-1}(x)\right )^2}{\sqrt {-1+x} x^3 \sqrt {1+x}} \, dx,x,c+d x\right )}{d e^4}\\ &=\frac {b \sqrt {-1+c+d x} \sqrt {1+c+d x} \left (a+b \cosh ^{-1}(c+d x)\right )^2}{2 d e^4 (c+d x)^2}-\frac {\left (a+b \cosh ^{-1}(c+d x)\right )^3}{3 d e^4 (c+d x)^3}+\frac {b \text {Subst}\left (\int \frac {\left (a+b \cosh ^{-1}(x)\right )^2}{\sqrt {-1+x} x \sqrt {1+x}} \, dx,x,c+d x\right )}{2 d e^4}-\frac {b^2 \text {Subst}\left (\int \frac {a+b \cosh ^{-1}(x)}{x^2} \, dx,x,c+d x\right )}{d e^4}\\ &=\frac {b^2 \left (a+b \cosh ^{-1}(c+d x)\right )}{d e^4 (c+d x)}+\frac {b \sqrt {-1+c+d x} \sqrt {1+c+d x} \left (a+b \cosh ^{-1}(c+d x)\right )^2}{2 d e^4 (c+d x)^2}-\frac {\left (a+b \cosh ^{-1}(c+d x)\right )^3}{3 d e^4 (c+d x)^3}+\frac {b \text {Subst}\left (\int (a+b x)^2 \text {sech}(x) \, dx,x,\cosh ^{-1}(c+d x)\right )}{2 d e^4}-\frac {b^3 \text {Subst}\left (\int \frac {1}{\sqrt {-1+x} x \sqrt {1+x}} \, dx,x,c+d x\right )}{d e^4}\\ &=\frac {b^2 \left (a+b \cosh ^{-1}(c+d x)\right )}{d e^4 (c+d x)}+\frac {b \sqrt {-1+c+d x} \sqrt {1+c+d x} \left (a+b \cosh ^{-1}(c+d x)\right )^2}{2 d e^4 (c+d x)^2}-\frac {\left (a+b \cosh ^{-1}(c+d x)\right )^3}{3 d e^4 (c+d x)^3}+\frac {b \left (a+b \cosh ^{-1}(c+d x)\right )^2 \tan ^{-1}\left (e^{\cosh ^{-1}(c+d x)}\right )}{d e^4}-\frac {\left (i b^2\right ) \text {Subst}\left (\int (a+b x) \log \left (1-i e^x\right ) \, dx,x,\cosh ^{-1}(c+d x)\right )}{d e^4}+\frac {\left (i b^2\right ) \text {Subst}\left (\int (a+b x) \log \left (1+i e^x\right ) \, dx,x,\cosh ^{-1}(c+d x)\right )}{d e^4}-\frac {b^3 \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\sqrt {-1+c+d x} \sqrt {1+c+d x}\right )}{d e^4}\\ &=\frac {b^2 \left (a+b \cosh ^{-1}(c+d x)\right )}{d e^4 (c+d x)}+\frac {b \sqrt {-1+c+d x} \sqrt {1+c+d x} \left (a+b \cosh ^{-1}(c+d x)\right )^2}{2 d e^4 (c+d x)^2}-\frac {\left (a+b \cosh ^{-1}(c+d x)\right )^3}{3 d e^4 (c+d x)^3}+\frac {b \left (a+b \cosh ^{-1}(c+d x)\right )^2 \tan ^{-1}\left (e^{\cosh ^{-1}(c+d x)}\right )}{d e^4}-\frac {b^3 \tan ^{-1}\left (\sqrt {-1+c+d x} \sqrt {1+c+d x}\right )}{d e^4}-\frac {i b^2 \left (a+b \cosh ^{-1}(c+d x)\right ) \text {Li}_2\left (-i e^{\cosh ^{-1}(c+d x)}\right )}{d e^4}+\frac {i b^2 \left (a+b \cosh ^{-1}(c+d x)\right ) \text {Li}_2\left (i e^{\cosh ^{-1}(c+d x)}\right )}{d e^4}+\frac {\left (i b^3\right ) \text {Subst}\left (\int \text {Li}_2\left (-i e^x\right ) \, dx,x,\cosh ^{-1}(c+d x)\right )}{d e^4}-\frac {\left (i b^3\right ) \text {Subst}\left (\int \text {Li}_2\left (i e^x\right ) \, dx,x,\cosh ^{-1}(c+d x)\right )}{d e^4}\\ &=\frac {b^2 \left (a+b \cosh ^{-1}(c+d x)\right )}{d e^4 (c+d x)}+\frac {b \sqrt {-1+c+d x} \sqrt {1+c+d x} \left (a+b \cosh ^{-1}(c+d x)\right )^2}{2 d e^4 (c+d x)^2}-\frac {\left (a+b \cosh ^{-1}(c+d x)\right )^3}{3 d e^4 (c+d x)^3}+\frac {b \left (a+b \cosh ^{-1}(c+d x)\right )^2 \tan ^{-1}\left (e^{\cosh ^{-1}(c+d x)}\right )}{d e^4}-\frac {b^3 \tan ^{-1}\left (\sqrt {-1+c+d x} \sqrt {1+c+d x}\right )}{d e^4}-\frac {i b^2 \left (a+b \cosh ^{-1}(c+d x)\right ) \text {Li}_2\left (-i e^{\cosh ^{-1}(c+d x)}\right )}{d e^4}+\frac {i b^2 \left (a+b \cosh ^{-1}(c+d x)\right ) \text {Li}_2\left (i e^{\cosh ^{-1}(c+d x)}\right )}{d e^4}+\frac {\left (i b^3\right ) \text {Subst}\left (\int \frac {\text {Li}_2(-i x)}{x} \, dx,x,e^{\cosh ^{-1}(c+d x)}\right )}{d e^4}-\frac {\left (i b^3\right ) \text {Subst}\left (\int \frac {\text {Li}_2(i x)}{x} \, dx,x,e^{\cosh ^{-1}(c+d x)}\right )}{d e^4}\\ &=\frac {b^2 \left (a+b \cosh ^{-1}(c+d x)\right )}{d e^4 (c+d x)}+\frac {b \sqrt {-1+c+d x} \sqrt {1+c+d x} \left (a+b \cosh ^{-1}(c+d x)\right )^2}{2 d e^4 (c+d x)^2}-\frac {\left (a+b \cosh ^{-1}(c+d x)\right )^3}{3 d e^4 (c+d x)^3}+\frac {b \left (a+b \cosh ^{-1}(c+d x)\right )^2 \tan ^{-1}\left (e^{\cosh ^{-1}(c+d x)}\right )}{d e^4}-\frac {b^3 \tan ^{-1}\left (\sqrt {-1+c+d x} \sqrt {1+c+d x}\right )}{d e^4}-\frac {i b^2 \left (a+b \cosh ^{-1}(c+d x)\right ) \text {Li}_2\left (-i e^{\cosh ^{-1}(c+d x)}\right )}{d e^4}+\frac {i b^2 \left (a+b \cosh ^{-1}(c+d x)\right ) \text {Li}_2\left (i e^{\cosh ^{-1}(c+d x)}\right )}{d e^4}+\frac {i b^3 \text {Li}_3\left (-i e^{\cosh ^{-1}(c+d x)}\right )}{d e^4}-\frac {i b^3 \text {Li}_3\left (i e^{\cosh ^{-1}(c+d x)}\right )}{d e^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Both result and optimal contain complex but leaf count is larger than twice
the leaf count of optimal. \(601\) vs. \(2(297)=594\).
time = 1.35, size = 601, normalized size = 2.02 \begin {gather*} \frac {-\frac {2 a^3}{(c+d x)^3}+\frac {3 a^2 b \sqrt {-1+c+d x} \sqrt {1+c+d x}}{(c+d x)^2}-\frac {6 a^2 b \cosh ^{-1}(c+d x)}{(c+d x)^3}-3 a^2 b \text {ArcTan}\left (\frac {1}{\sqrt {-1+c+d x} \sqrt {1+c+d x}}\right )+6 a b^2 \left (\frac {1}{c+d x}+\frac {\sqrt {\frac {-1+c+d x}{1+c+d x}} (1+c+d x) \cosh ^{-1}(c+d x)}{(c+d x)^2}-\frac {\cosh ^{-1}(c+d x)^2}{(c+d x)^3}-i \cosh ^{-1}(c+d x) \log \left (1-i e^{-\cosh ^{-1}(c+d x)}\right )+i \cosh ^{-1}(c+d x) \log \left (1+i e^{-\cosh ^{-1}(c+d x)}\right )-i \text {PolyLog}\left (2,-i e^{-\cosh ^{-1}(c+d x)}\right )+i \text {PolyLog}\left (2,i e^{-\cosh ^{-1}(c+d x)}\right )\right )+6 b^3 \left (\frac {\cosh ^{-1}(c+d x)}{c+d x}+\frac {\sqrt {\frac {-1+c+d x}{1+c+d x}} (1+c+d x) \cosh ^{-1}(c+d x)^2}{2 (c+d x)^2}-\frac {\cosh ^{-1}(c+d x)^3}{3 (c+d x)^3}-2 \text {ArcTan}\left (c+d x+\sqrt {\frac {-1+c+d x}{1+c+d x}} (1+c+d x)\right )+\cosh ^{-1}(c+d x)^2 \text {ArcTan}\left (c+d x+\sqrt {\frac {-1+c+d x}{1+c+d x}} (1+c+d x)\right )-i \cosh ^{-1}(c+d x) \text {PolyLog}\left (2,-i \left (c+d x+\sqrt {\frac {-1+c+d x}{1+c+d x}} (1+c+d x)\right )\right )+i \cosh ^{-1}(c+d x) \text {PolyLog}\left (2,i \left (c+d x+\sqrt {\frac {-1+c+d x}{1+c+d x}} (1+c+d x)\right )\right )+i \text {PolyLog}\left (3,-i \left (c+d x+\sqrt {\frac {-1+c+d x}{1+c+d x}} (1+c+d x)\right )\right )-i \text {PolyLog}\left (3,i \left (c+d x+\sqrt {\frac {-1+c+d x}{1+c+d x}} (1+c+d x)\right )\right )\right )}{6 d e^4} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.21, size = 0, normalized size = 0.00 \[\int \frac {\left (a +b \,\mathrm {arccosh}\left (d x +c \right )\right )^{3}}{\left (d e x +c e \right )^{4}}\, dx\]
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*} \frac {\int \frac {a^{3}}{c^{4} + 4 c^{3} d x + 6 c^{2} d^{2} x^{2} + 4 c d^{3} x^{3} + d^{4} x^{4}}\, dx + \int \frac {b^{3} \operatorname {acosh}^{3}{\left (c + d x \right )}}{c^{4} + 4 c^{3} d x + 6 c^{2} d^{2} x^{2} + 4 c d^{3} x^{3} + d^{4} x^{4}}\, dx + \int \frac {3 a b^{2} \operatorname {acosh}^{2}{\left (c + d x \right )}}{c^{4} + 4 c^{3} d x + 6 c^{2} d^{2} x^{2} + 4 c d^{3} x^{3} + d^{4} x^{4}}\, dx + \int \frac {3 a^{2} b \operatorname {acosh}{\left (c + d x \right )}}{c^{4} + 4 c^{3} d x + 6 c^{2} d^{2} x^{2} + 4 c d^{3} x^{3} + d^{4} x^{4}}\, dx}{e^{4}} \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 (a+b\,\mathrm {acosh}\left (c+d\,x\right )\right )}^3}{{\left (c\,e+d\,e\,x\right )}^4} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________