Optimal. Leaf size=82 \[ -\frac {a+b \sinh ^{-1}(c x)}{e (d+e x)}-\frac {b c \tanh ^{-1}\left (\frac {e-c^2 d x}{\sqrt {c^2 d^2+e^2} \sqrt {1+c^2 x^2}}\right )}{e \sqrt {c^2 d^2+e^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 82, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.188, Rules used = {5828, 739, 212}
\begin {gather*} -\frac {a+b \sinh ^{-1}(c x)}{e (d+e x)}-\frac {b c \tanh ^{-1}\left (\frac {e-c^2 d x}{\sqrt {c^2 x^2+1} \sqrt {c^2 d^2+e^2}}\right )}{e \sqrt {c^2 d^2+e^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 739
Rule 5828
Rubi steps
\begin {align*} \int \frac {a+b \sinh ^{-1}(c x)}{(d+e x)^2} \, dx &=-\frac {a+b \sinh ^{-1}(c x)}{e (d+e x)}+\frac {(b c) \int \frac {1}{(d+e x) \sqrt {1+c^2 x^2}} \, dx}{e}\\ &=-\frac {a+b \sinh ^{-1}(c x)}{e (d+e x)}-\frac {(b c) \text {Subst}\left (\int \frac {1}{c^2 d^2+e^2-x^2} \, dx,x,\frac {e-c^2 d x}{\sqrt {1+c^2 x^2}}\right )}{e}\\ &=-\frac {a+b \sinh ^{-1}(c x)}{e (d+e x)}-\frac {b c \tanh ^{-1}\left (\frac {e-c^2 d x}{\sqrt {c^2 d^2+e^2} \sqrt {1+c^2 x^2}}\right )}{e \sqrt {c^2 d^2+e^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.07, size = 79, normalized size = 0.96 \begin {gather*} -\frac {\frac {a+b \sinh ^{-1}(c x)}{d+e x}+\frac {b c \tanh ^{-1}\left (\frac {e-c^2 d x}{\sqrt {c^2 d^2+e^2} \sqrt {1+c^2 x^2}}\right )}{\sqrt {c^2 d^2+e^2}}}{e} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(187\) vs.
\(2(78)=156\).
time = 4.02, size = 188, normalized size = 2.29
method | result | size |
derivativedivides | \(\frac {-\frac {a \,c^{2}}{\left (c e x +c d \right ) e}-\frac {b \,c^{2} \arcsinh \left (c x \right )}{\left (c e x +c d \right ) e}-\frac {b \,c^{2} \ln \left (\frac {\frac {2 c^{2} d^{2}+2 e^{2}}{e^{2}}-\frac {2 d c \left (c x +\frac {c d}{e}\right )}{e}+2 \sqrt {\frac {c^{2} d^{2}+e^{2}}{e^{2}}}\, \sqrt {\left (c x +\frac {c d}{e}\right )^{2}-\frac {2 d c \left (c x +\frac {c d}{e}\right )}{e}+\frac {c^{2} d^{2}+e^{2}}{e^{2}}}}{c x +\frac {c d}{e}}\right )}{e^{2} \sqrt {\frac {c^{2} d^{2}+e^{2}}{e^{2}}}}}{c}\) | \(188\) |
default | \(\frac {-\frac {a \,c^{2}}{\left (c e x +c d \right ) e}-\frac {b \,c^{2} \arcsinh \left (c x \right )}{\left (c e x +c d \right ) e}-\frac {b \,c^{2} \ln \left (\frac {\frac {2 c^{2} d^{2}+2 e^{2}}{e^{2}}-\frac {2 d c \left (c x +\frac {c d}{e}\right )}{e}+2 \sqrt {\frac {c^{2} d^{2}+e^{2}}{e^{2}}}\, \sqrt {\left (c x +\frac {c d}{e}\right )^{2}-\frac {2 d c \left (c x +\frac {c d}{e}\right )}{e}+\frac {c^{2} d^{2}+e^{2}}{e^{2}}}}{c x +\frac {c d}{e}}\right )}{e^{2} \sqrt {\frac {c^{2} d^{2}+e^{2}}{e^{2}}}}}{c}\) | \(188\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.29, size = 91, normalized size = 1.11 \begin {gather*} {\left (\frac {c \operatorname {arsinh}\left (\frac {c d x e}{{\left | x e^{2} + d e \right |}} - \frac {e^{2}}{c {\left | x e^{2} + d e \right |}}\right ) e^{\left (-2\right )}}{\sqrt {c^{2} d^{2} e^{\left (-2\right )} + 1}} - \frac {\operatorname {arsinh}\left (c x\right )}{x e^{2} + d e}\right )} b - \frac {a}{x e^{2} + d e} \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. 565 vs.
\(2 (76) = 152\).
time = 0.38, size = 565, normalized size = 6.89 \begin {gather*} -\frac {a c^{2} d^{3} + a d \cosh \left (1\right )^{2} + 2 \, a d \cosh \left (1\right ) \sinh \left (1\right ) + a d \sinh \left (1\right )^{2} - {\left (b c d x \cosh \left (1\right ) + b c d x \sinh \left (1\right ) + b c d^{2}\right )} \sqrt {\frac {{\left (c^{2} d^{2} + 1\right )} \cosh \left (1\right ) - {\left (c^{2} d^{2} - 1\right )} \sinh \left (1\right )}{\cosh \left (1\right ) - \sinh \left (1\right )}} \log \left (-\frac {c^{3} d^{2} x - c d \cosh \left (1\right ) - c d \sinh \left (1\right ) + {\left (c^{2} d^{2} + c d \sqrt {\frac {{\left (c^{2} d^{2} + 1\right )} \cosh \left (1\right ) - {\left (c^{2} d^{2} - 1\right )} \sinh \left (1\right )}{\cosh \left (1\right ) - \sinh \left (1\right )}} + \cosh \left (1\right )^{2} + 2 \, \cosh \left (1\right ) \sinh \left (1\right ) + \sinh \left (1\right )^{2}\right )} \sqrt {c^{2} x^{2} + 1} + {\left (c^{2} d x - \cosh \left (1\right ) - \sinh \left (1\right )\right )} \sqrt {\frac {{\left (c^{2} d^{2} + 1\right )} \cosh \left (1\right ) - {\left (c^{2} d^{2} - 1\right )} \sinh \left (1\right )}{\cosh \left (1\right ) - \sinh \left (1\right )}}}{x \cosh \left (1\right ) + x \sinh \left (1\right ) + d}\right ) - {\left (b c^{2} d^{2} x \cosh \left (1\right ) + b x \cosh \left (1\right )^{3} + 3 \, b x \cosh \left (1\right ) \sinh \left (1\right )^{2} + b x \sinh \left (1\right )^{3} + {\left (b c^{2} d^{2} x + 3 \, b x \cosh \left (1\right )^{2}\right )} \sinh \left (1\right )\right )} \log \left (c x + \sqrt {c^{2} x^{2} + 1}\right ) - {\left (b c^{2} d^{2} x \cosh \left (1\right ) + b c^{2} d^{3} + b x \cosh \left (1\right )^{3} + b x \sinh \left (1\right )^{3} + b d \cosh \left (1\right )^{2} + {\left (3 \, b x \cosh \left (1\right ) + b d\right )} \sinh \left (1\right )^{2} + {\left (b c^{2} d^{2} x + 3 \, b x \cosh \left (1\right )^{2} + 2 \, b d \cosh \left (1\right )\right )} \sinh \left (1\right )\right )} \log \left (-c x + \sqrt {c^{2} x^{2} + 1}\right )}{c^{2} d^{3} x \cosh \left (1\right )^{2} + c^{2} d^{4} \cosh \left (1\right ) + d x \cosh \left (1\right )^{4} + d x \sinh \left (1\right )^{4} + d^{2} \cosh \left (1\right )^{3} + {\left (4 \, d x \cosh \left (1\right ) + d^{2}\right )} \sinh \left (1\right )^{3} + {\left (c^{2} d^{3} x + 6 \, d x \cosh \left (1\right )^{2} + 3 \, d^{2} \cosh \left (1\right )\right )} \sinh \left (1\right )^{2} + {\left (2 \, c^{2} d^{3} x \cosh \left (1\right ) + c^{2} d^{4} + 4 \, d x \cosh \left (1\right )^{3} + 3 \, d^{2} \cosh \left (1\right )^{2}\right )} \sinh \left (1\right )} \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 {a + b \operatorname {asinh}{\left (c x \right )}}{\left (d + e x\right )^{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 232 vs.
\(2 (78) = 156\).
time = 0.58, size = 232, normalized size = 2.83 \begin {gather*} {\left (\frac {c \log \left (-c^{2} d e + \sqrt {c^{2} d^{2} + e^{2}} {\left | c \right |} {\left | e \right |}\right ) \mathrm {sgn}\left (\frac {1}{e x + d}\right ) \mathrm {sgn}\left (e\right )}{\sqrt {c^{2} d^{2} + e^{2}} {\left | e \right |}} - \frac {\log \left (c x + \sqrt {c^{2} x^{2} + 1}\right )}{{\left (e x + d\right )} e} - \frac {c \log \left (-c^{2} d e + \sqrt {c^{2} d^{2} + e^{2}} {\left (\sqrt {c^{2} - \frac {2 \, c^{2} d}{e x + d} + \frac {c^{2} d^{2}}{{\left (e x + d\right )}^{2}} + \frac {e^{2}}{{\left (e x + d\right )}^{2}}} + \frac {\sqrt {c^{2} d^{2} e^{2} + e^{4}}}{{\left (e x + d\right )} e}\right )} {\left | e \right |}\right )}{\sqrt {c^{2} d^{2} + e^{2}} {\left | e \right |} \mathrm {sgn}\left (\frac {1}{e x + d}\right ) \mathrm {sgn}\left (e\right )}\right )} b - \frac {a}{{\left (e x + d\right )} e} \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 {a+b\,\mathrm {asinh}\left (c\,x\right )}{{\left (d+e\,x\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________