Optimal. Leaf size=56 \[ -\frac {a+b \cosh ^{-1}(c+d x)}{d e^2 (c+d x)}+\frac {b \text {ArcTan}\left (\sqrt {-1+c+d x} \sqrt {1+c+d x}\right )}{d e^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 56, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.238, Rules used = {5996, 12, 5883,
94, 209} \begin {gather*} \frac {b \text {ArcTan}\left (\sqrt {c+d x-1} \sqrt {c+d x+1}\right )}{d e^2}-\frac {a+b \cosh ^{-1}(c+d x)}{d e^2 (c+d x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 94
Rule 209
Rule 5883
Rule 5996
Rubi steps
\begin {align*} \int \frac {a+b \cosh ^{-1}(c+d x)}{(c e+d e x)^2} \, dx &=\frac {\text {Subst}\left (\int \frac {a+b \cosh ^{-1}(x)}{e^2 x^2} \, dx,x,c+d x\right )}{d}\\ &=\frac {\text {Subst}\left (\int \frac {a+b \cosh ^{-1}(x)}{x^2} \, dx,x,c+d x\right )}{d e^2}\\ &=-\frac {a+b \cosh ^{-1}(c+d x)}{d e^2 (c+d x)}+\frac {b \text {Subst}\left (\int \frac {1}{\sqrt {-1+x} x \sqrt {1+x}} \, dx,x,c+d x\right )}{d e^2}\\ &=-\frac {a+b \cosh ^{-1}(c+d x)}{d e^2 (c+d x)}+\frac {b \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\sqrt {-1+c+d x} \sqrt {1+c+d x}\right )}{d e^2}\\ &=-\frac {a+b \cosh ^{-1}(c+d x)}{d e^2 (c+d x)}+\frac {b \tan ^{-1}\left (\sqrt {-1+c+d x} \sqrt {1+c+d x}\right )}{d e^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.09, size = 78, normalized size = 1.39 \begin {gather*} \frac {\frac {-a-b \cosh ^{-1}(c+d x)}{c+d x}+\frac {b \sqrt {-1+(c+d x)^2} \text {ArcTan}\left (\sqrt {-1+(c+d x)^2}\right )}{\sqrt {-1+c+d x} \sqrt {1+c+d x}}}{d e^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 4.03, size = 83, normalized size = 1.48
method | result | size |
derivativedivides | \(\frac {-\frac {a}{e^{2} \left (d x +c \right )}-\frac {b \,\mathrm {arccosh}\left (d x +c \right )}{e^{2} \left (d x +c \right )}-\frac {b \sqrt {d x +c -1}\, \sqrt {d x +c +1}\, \arctan \left (\frac {1}{\sqrt {\left (d x +c \right )^{2}-1}}\right )}{e^{2} \sqrt {\left (d x +c \right )^{2}-1}}}{d}\) | \(83\) |
default | \(\frac {-\frac {a}{e^{2} \left (d x +c \right )}-\frac {b \,\mathrm {arccosh}\left (d x +c \right )}{e^{2} \left (d x +c \right )}-\frac {b \sqrt {d x +c -1}\, \sqrt {d x +c +1}\, \arctan \left (\frac {1}{\sqrt {\left (d x +c \right )^{2}-1}}\right )}{e^{2} \sqrt {\left (d x +c \right )^{2}-1}}}{d}\) | \(83\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.51, size = 72, normalized size = 1.29 \begin {gather*} -b {\left (\frac {\arcsin \left (\frac {d e^{2}}{{\left | d^{2} x e^{2} + c d e^{2} \right |}}\right ) e^{\left (-2\right )}}{d} + \frac {\operatorname {arcosh}\left (d x + c\right )}{d^{2} x e^{2} + c d e^{2}}\right )} - \frac {a}{d^{2} x e^{2} + c d e^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 168 vs.
\(2 (50) = 100\).
time = 0.39, size = 168, normalized size = 3.00 \begin {gather*} \frac {b d x \log \left (d x + c + \sqrt {d^{2} x^{2} + 2 \, c d x + c^{2} - 1}\right ) - a c + 2 \, {\left (b c d x + b c^{2}\right )} \arctan \left (-d x - c + \sqrt {d^{2} x^{2} + 2 \, c d x + c^{2} - 1}\right ) + {\left (b d x + b c\right )} \log \left (-d x - c + \sqrt {d^{2} x^{2} + 2 \, c d x + c^{2} - 1}\right )}{{\left (c d^{2} x + c^{2} d\right )} \cosh \left (1\right )^{2} + 2 \, {\left (c d^{2} x + c^{2} d\right )} \cosh \left (1\right ) \sinh \left (1\right ) + {\left (c d^{2} x + c^{2} d\right )} \sinh \left (1\right )^{2}} \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}{c^{2} + 2 c d x + d^{2} x^{2}}\, dx + \int \frac {b \operatorname {acosh}{\left (c + d x \right )}}{c^{2} + 2 c d x + d^{2} x^{2}}\, dx}{e^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {a+b\,\mathrm {acosh}\left (c+d\,x\right )}{{\left (c\,e+d\,e\,x\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________