Optimal. Leaf size=142 \[ \frac{\left (c^2 f x+g\right ) \left (a+b \cosh ^{-1}(c x)\right )}{c^2 d \sqrt{d-c^2 d x^2}}-\frac{b \sqrt{c x-1} \sqrt{c x+1} (c f-g) \tanh ^{-1}(c x)}{c^2 d \sqrt{d-c^2 d x^2}}-\frac{b f \sqrt{c x-1} \sqrt{c x+1} \log (1-c x)}{c d \sqrt{d-c^2 d x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.306586, antiderivative size = 178, normalized size of antiderivative = 1.25, number of steps used = 5, number of rules used = 6, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.207, Rules used = {5836, 78, 37, 5820, 35, 206} \[ -\frac{(c f-g) \left (a+b \cosh ^{-1}(c x)\right )}{c^2 d \sqrt{d-c^2 d x^2}}+\frac{f (c x+1) \left (a+b \cosh ^{-1}(c x)\right )}{c d \sqrt{d-c^2 d x^2}}-\frac{b \sqrt{c x-1} \sqrt{c x+1} (c f-g) \tanh ^{-1}(c x)}{c^2 d \sqrt{d-c^2 d x^2}}-\frac{b f \sqrt{c x-1} \sqrt{c x+1} \log (1-c x)}{c d \sqrt{d-c^2 d x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5836
Rule 78
Rule 37
Rule 5820
Rule 35
Rule 206
Rubi steps
\begin{align*} \int \frac{(f+g x) \left (a+b \cosh ^{-1}(c x)\right )}{\left (d-c^2 d x^2\right )^{3/2}} \, dx &=-\frac{\left (\sqrt{-1+c x} \sqrt{1+c x}\right ) \int \frac{(f+g x) \left (a+b \cosh ^{-1}(c x)\right )}{(-1+c x)^{3/2} (1+c x)^{3/2}} \, dx}{d \sqrt{d-c^2 d x^2}}\\ &=-\frac{(c f-g) \left (a+b \cosh ^{-1}(c x)\right )}{c^2 d \sqrt{d-c^2 d x^2}}+\frac{f (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{c d \sqrt{d-c^2 d x^2}}+\frac{\left (b c \sqrt{-1+c x} \sqrt{1+c x}\right ) \int \left (\frac{f}{c (1-c x)}-\frac{c f-g}{c^2 (1-c x) (1+c x)}\right ) \, dx}{d \sqrt{d-c^2 d x^2}}\\ &=-\frac{(c f-g) \left (a+b \cosh ^{-1}(c x)\right )}{c^2 d \sqrt{d-c^2 d x^2}}+\frac{f (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{c d \sqrt{d-c^2 d x^2}}-\frac{b f \sqrt{-1+c x} \sqrt{1+c x} \log (1-c x)}{c d \sqrt{d-c^2 d x^2}}-\frac{\left (b (c f-g) \sqrt{-1+c x} \sqrt{1+c x}\right ) \int \frac{1}{(1-c x) (1+c x)} \, dx}{c d \sqrt{d-c^2 d x^2}}\\ &=-\frac{(c f-g) \left (a+b \cosh ^{-1}(c x)\right )}{c^2 d \sqrt{d-c^2 d x^2}}+\frac{f (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{c d \sqrt{d-c^2 d x^2}}-\frac{b f \sqrt{-1+c x} \sqrt{1+c x} \log (1-c x)}{c d \sqrt{d-c^2 d x^2}}-\frac{\left (b (c f-g) \sqrt{-1+c x} \sqrt{1+c x}\right ) \int \frac{1}{1-c^2 x^2} \, dx}{c d \sqrt{d-c^2 d x^2}}\\ &=-\frac{(c f-g) \left (a+b \cosh ^{-1}(c x)\right )}{c^2 d \sqrt{d-c^2 d x^2}}+\frac{f (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{c d \sqrt{d-c^2 d x^2}}-\frac{b (c f-g) \sqrt{-1+c x} \sqrt{1+c x} \tanh ^{-1}(c x)}{c^2 d \sqrt{d-c^2 d x^2}}-\frac{b f \sqrt{-1+c x} \sqrt{1+c x} \log (1-c x)}{c d \sqrt{d-c^2 d x^2}}\\ \end{align*}
Mathematica [A] time = 0.375863, size = 123, normalized size = 0.87 \[ \frac{b \sqrt{d-c^2 d x^2} ((c f+g) \log (1-c x)+(c f-g) \log (c x+1))}{2 c^2 d^2 \sqrt{c x-1} \sqrt{c x+1}}-\frac{\sqrt{d-c^2 d x^2} \left (c^2 f x+g\right ) \left (a+b \cosh ^{-1}(c x)\right )}{c^2 d^2 \left (c^2 x^2-1\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.227, size = 498, normalized size = 3.5 \begin{align*}{\frac{ag}{{c}^{2}d}{\frac{1}{\sqrt{-{c}^{2}d{x}^{2}+d}}}}+{\frac{afx}{d}{\frac{1}{\sqrt{-{c}^{2}d{x}^{2}+d}}}}-{\frac{bf{\rm arccosh} \left (cx\right )}{c{d}^{2} \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{cx-1}\sqrt{cx+1}}+{\frac{b{\rm arccosh} \left (cx\right ) \left ( cx+1 \right ) \left ( cx-1 \right ) g}{{c}^{2}{d}^{2} \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }}-{\frac{b{\rm arccosh} \left (cx\right ){x}^{2}g}{{d}^{2} \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }}-{\frac{b{\rm arccosh} \left (cx\right )xf}{{d}^{2} \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }}+{\frac{bf}{c{d}^{2} \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{cx-1}\sqrt{cx+1}\ln \left ( 1+cx+\sqrt{cx-1}\sqrt{cx+1} \right ) }-{\frac{bg}{{c}^{2}{d}^{2} \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{cx-1}\sqrt{cx+1}\ln \left ( 1+cx+\sqrt{cx-1}\sqrt{cx+1} \right ) }+{\frac{bf}{c{d}^{2} \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{cx-1}\sqrt{cx+1}\ln \left ( cx+\sqrt{cx-1}\sqrt{cx+1}-1 \right ) }+{\frac{bg}{{c}^{2}{d}^{2} \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{cx-1}\sqrt{cx+1}\ln \left ( cx+\sqrt{cx-1}\sqrt{cx+1}-1 \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} -\frac{b c f \sqrt{-\frac{1}{c^{4} d}} \log \left (x^{2} - \frac{1}{c^{2}}\right )}{2 \, d} + b g{\left (\frac{\frac{{\left (c \sqrt{d} x + \sqrt{c x + 1} \sqrt{c x - 1} \sqrt{d}\right )} \log \left (c x + \sqrt{c x + 1} \sqrt{c x - 1}\right )}{\sqrt{-c x + 1}} + \frac{\sqrt{c x + 1} \sqrt{c x - 1} \sqrt{d}}{\sqrt{-c x + 1}}}{\sqrt{c x + 1} c^{3} d^{2} x +{\left (c x + 1\right )} \sqrt{c x - 1} c^{2} d^{2}} - \int \frac{c^{2} x^{3} + c x^{2} e^{\left (\frac{1}{2} \, \log \left (c x + 1\right ) + \frac{1}{2} \, \log \left (c x - 1\right )\right )} - x}{\sqrt{-c x + 1}{\left ({\left (c^{2} d^{\frac{3}{2}} x^{2} - d^{\frac{3}{2}}\right )} e^{\left (\frac{3}{2} \, \log \left (c x + 1\right ) + \log \left (c x - 1\right )\right )} + 2 \,{\left (c^{3} d^{\frac{3}{2}} x^{3} - c d^{\frac{3}{2}} x\right )} e^{\left (\log \left (c x + 1\right ) + \frac{1}{2} \, \log \left (c x - 1\right )\right )} +{\left (c^{4} d^{\frac{3}{2}} x^{4} - c^{2} d^{\frac{3}{2}} x^{2}\right )} \sqrt{c x + 1}\right )}}\,{d x}\right )} + \frac{b f x \operatorname{arcosh}\left (c x\right )}{\sqrt{-c^{2} d x^{2} + d} d} + \frac{a f x}{\sqrt{-c^{2} d x^{2} + d} d} + \frac{a g}{\sqrt{-c^{2} d x^{2} + d} c^{2} d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{-c^{2} d x^{2} + d}{\left (a g x + a f +{\left (b g x + b f\right )} \operatorname{arcosh}\left (c x\right )\right )}}{c^{4} d^{2} x^{4} - 2 \, c^{2} d^{2} x^{2} + d^{2}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (a + b \operatorname{acosh}{\left (c x \right )}\right ) \left (f + g x\right )}{\left (- d \left (c x - 1\right ) \left (c x + 1\right )\right )^{\frac{3}{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (g x + f\right )}{\left (b \operatorname{arcosh}\left (c x\right ) + a\right )}}{{\left (-c^{2} d x^{2} + d\right )}^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]