Optimal. Leaf size=136 \[ \frac {f \sqrt {c x-1} \sqrt {c x+1} \left (a+b \cosh ^{-1}(c x)\right )^2}{2 b c \sqrt {d-c^2 d x^2}}-\frac {g (1-c x) (c x+1) \left (a+b \cosh ^{-1}(c x)\right )}{c^2 \sqrt {d-c^2 d x^2}}-\frac {b g x \sqrt {c x-1} \sqrt {c x+1}}{c \sqrt {d-c^2 d x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.47, antiderivative size = 136, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.172, Rules used = {5836, 5822, 5676, 5718, 8} \[ \frac {f \sqrt {c x-1} \sqrt {c x+1} \left (a+b \cosh ^{-1}(c x)\right )^2}{2 b c \sqrt {d-c^2 d x^2}}-\frac {g (1-c x) (c x+1) \left (a+b \cosh ^{-1}(c x)\right )}{c^2 \sqrt {d-c^2 d x^2}}-\frac {b g x \sqrt {c x-1} \sqrt {c x+1}}{c \sqrt {d-c^2 d x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 5676
Rule 5718
Rule 5822
Rule 5836
Rubi steps
\begin {align*} \int \frac {(f+g x) \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt {d-c^2 d x^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 )}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{\sqrt {d-c^2 d x^2}}\\ &=\frac {\left (\sqrt {-1+c x} \sqrt {1+c x}\right ) \int \left (\frac {f \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt {-1+c x} \sqrt {1+c x}}+\frac {g x \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt {-1+c x} \sqrt {1+c x}}\right ) \, dx}{\sqrt {d-c^2 d x^2}}\\ &=\frac {\left (f \sqrt {-1+c x} \sqrt {1+c x}\right ) \int \frac {a+b \cosh ^{-1}(c x)}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{\sqrt {d-c^2 d x^2}}+\frac {\left (g \sqrt {-1+c x} \sqrt {1+c x}\right ) \int \frac {x \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{\sqrt {d-c^2 d x^2}}\\ &=-\frac {g (1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{c^2 \sqrt {d-c^2 d x^2}}+\frac {f \sqrt {-1+c x} \sqrt {1+c x} \left (a+b \cosh ^{-1}(c x)\right )^2}{2 b c \sqrt {d-c^2 d x^2}}-\frac {\left (b g \sqrt {-1+c x} \sqrt {1+c x}\right ) \int 1 \, dx}{c \sqrt {d-c^2 d x^2}}\\ &=-\frac {b g x \sqrt {-1+c x} \sqrt {1+c x}}{c \sqrt {d-c^2 d x^2}}-\frac {g (1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{c^2 \sqrt {d-c^2 d x^2}}+\frac {f \sqrt {-1+c x} \sqrt {1+c x} \left (a+b \cosh ^{-1}(c x)\right )^2}{2 b c \sqrt {d-c^2 d x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.70, size = 172, normalized size = 1.26 \[ \frac {-\frac {2 a c f \tan ^{-1}\left (\frac {c x \sqrt {d-c^2 d x^2}}{\sqrt {d} \left (c^2 x^2-1\right )}\right )}{\sqrt {d}}-\frac {2 a g \sqrt {d-c^2 d x^2}}{d}+\frac {b c f \sqrt {\frac {c x-1}{c x+1}} (c x+1) \cosh ^{-1}(c x)^2}{\sqrt {d-c^2 d x^2}}+\frac {2 b g \sqrt {d-c^2 d x^2} \left (\frac {c x}{\sqrt {c x-1} \sqrt {c x+1}}-\cosh ^{-1}(c x)\right )}{d}}{2 c^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.58, size = 0, normalized size = 0.00 \[ {\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^{2} d x^{2} - d}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (g x + f\right )} {\left (b \operatorname {arcosh}\left (c x\right ) + a\right )}}{\sqrt {-c^{2} d x^{2} + d}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.66, size = 239, normalized size = 1.76 \[ -\frac {a g \sqrt {-c^{2} d \,x^{2}+d}}{c^{2} d}+\frac {a f \arctan \left (\frac {\sqrt {c^{2} d}\, x}{\sqrt {-c^{2} d \,x^{2}+d}}\right )}{\sqrt {c^{2} d}}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {c x -1}\, \sqrt {c x +1}\, f \mathrm {arccosh}\left (c x \right )^{2}}{2 d c \left (c^{2} x^{2}-1\right )}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, g \,\mathrm {arccosh}\left (c x \right ) x^{2}}{d \left (c^{2} x^{2}-1\right )}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, g \sqrt {c x +1}\, \sqrt {c x -1}\, x}{c d \left (c^{2} x^{2}-1\right )}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, g \,\mathrm {arccosh}\left (c x \right )}{c^{2} d \left (c^{2} x^{2}-1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {a f \arcsin \left (c x\right )}{c \sqrt {d}} - \frac {\sqrt {-c^{2} d x^{2} + d} a g}{c^{2} d} + \int \frac {b g x \log \left (c x + \sqrt {c x + 1} \sqrt {c x - 1}\right )}{\sqrt {-c^{2} d x^{2} + d}} + \frac {b f \log \left (c x + \sqrt {c x + 1} \sqrt {c x - 1}\right )}{\sqrt {-c^{2} d x^{2} + d}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {\left (f+g\,x\right )\,\left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )}{\sqrt {d-c^2\,d\,x^2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (a + b \operatorname {acosh}{\left (c x \right )}\right ) \left (f + g x\right )}{\sqrt {- d \left (c x - 1\right ) \left (c x + 1\right )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________