Integrand size = 29, antiderivative size = 142 \[ \int \frac {(f+g x) (a+b \text {arccosh}(c x))}{\left (d-c^2 d x^2\right )^{3/2}} \, dx=\frac {\left (g+c^2 f x\right ) (a+b \text {arccosh}(c x))}{c^2 d \sqrt {d-c^2 d x^2}}-\frac {b (c f-g) \sqrt {-1+c x} \sqrt {1+c x} \text {arctanh}(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}} \]
[Out]
Time = 0.21 (sec) , antiderivative size = 178, normalized size of antiderivative = 1.25, number of steps used = 5, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.207, Rules used = {5972, 79, 37, 5974, 35, 212} \[ \int \frac {(f+g x) (a+b \text {arccosh}(c x))}{\left (d-c^2 d x^2\right )^{3/2}} \, dx=-\frac {(c f-g) (a+b \text {arccosh}(c x))}{c^2 d \sqrt {d-c^2 d x^2}}+\frac {f (c x+1) (a+b \text {arccosh}(c x))}{c d \sqrt {d-c^2 d x^2}}-\frac {b \sqrt {c x-1} \sqrt {c x+1} \text {arctanh}(c x) (c f-g)}{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}} \]
[In]
[Out]
Rule 35
Rule 37
Rule 79
Rule 212
Rule 5972
Rule 5974
Rubi steps \begin{align*} \text {integral}& = -\frac {\left (\sqrt {-1+c x} \sqrt {1+c x}\right ) \int \frac {(f+g x) (a+b \text {arccosh}(c x))}{(-1+c x)^{3/2} (1+c x)^{3/2}} \, dx}{d \sqrt {d-c^2 d x^2}} \\ & = -\frac {(c f-g) (a+b \text {arccosh}(c x))}{c^2 d \sqrt {d-c^2 d x^2}}+\frac {f (1+c x) (a+b \text {arccosh}(c x))}{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) (a+b \text {arccosh}(c x))}{c^2 d \sqrt {d-c^2 d x^2}}+\frac {f (1+c x) (a+b \text {arccosh}(c x))}{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) (a+b \text {arccosh}(c x))}{c^2 d \sqrt {d-c^2 d x^2}}+\frac {f (1+c x) (a+b \text {arccosh}(c x))}{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) (a+b \text {arccosh}(c x))}{c^2 d \sqrt {d-c^2 d x^2}}+\frac {f (1+c x) (a+b \text {arccosh}(c x))}{c d \sqrt {d-c^2 d x^2}}-\frac {b (c f-g) \sqrt {-1+c x} \sqrt {1+c x} \text {arctanh}(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*}
Time = 0.75 (sec) , antiderivative size = 121, normalized size of antiderivative = 0.85 \[ \int \frac {(f+g x) (a+b \text {arccosh}(c x))}{\left (d-c^2 d x^2\right )^{3/2}} \, dx=\frac {\sqrt {d-c^2 d x^2} \left (-\frac {2 a \left (g+c^2 f x\right )}{-1+c^2 x^2}-\frac {2 b \left (g+c^2 f x\right ) \text {arccosh}(c x)}{-1+c^2 x^2}+\frac {b ((c f+g) \log (-1+c x)+(c f-g) \log (1+c x))}{\sqrt {-1+c x} \sqrt {1+c x}}\right )}{2 c^2 d^2} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(498\) vs. \(2(128)=256\).
Time = 2.66 (sec) , antiderivative size = 499, normalized size of antiderivative = 3.51
method | result | size |
default | \(a \left (\frac {f x}{d \sqrt {-c^{2} d \,x^{2}+d}}+\frac {g}{c^{2} d \sqrt {-c^{2} d \,x^{2}+d}}\right )-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {c x -1}\, \sqrt {c x +1}\, f \,\operatorname {arccosh}\left (c x \right )}{d^{2} c \left (c^{2} x^{2}-1\right )}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \operatorname {arccosh}\left (c x \right ) \left (c x +1\right ) \left (c x -1\right ) g}{d^{2} c^{2} \left (c^{2} x^{2}-1\right )}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \operatorname {arccosh}\left (c x \right ) x^{2} g}{d^{2} \left (c^{2} x^{2}-1\right )}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \operatorname {arccosh}\left (c x \right ) x f}{d^{2} \left (c^{2} x^{2}-1\right )}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {c x -1}\, \sqrt {c x +1}\, \ln \left (1+c x +\sqrt {c x -1}\, \sqrt {c x +1}\right ) f}{d^{2} c \left (c^{2} x^{2}-1\right )}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {c x -1}\, \sqrt {c x +1}\, \ln \left (1+c x +\sqrt {c x -1}\, \sqrt {c x +1}\right ) g}{d^{2} c^{2} \left (c^{2} x^{2}-1\right )}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {c x -1}\, \sqrt {c x +1}\, \ln \left (\sqrt {c x -1}\, \sqrt {c x +1}+c x -1\right ) f}{d^{2} c \left (c^{2} x^{2}-1\right )}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {c x -1}\, \sqrt {c x +1}\, \ln \left (\sqrt {c x -1}\, \sqrt {c x +1}+c x -1\right ) g}{d^{2} c^{2} \left (c^{2} x^{2}-1\right )}\) | \(499\) |
parts | \(a \left (\frac {f x}{d \sqrt {-c^{2} d \,x^{2}+d}}+\frac {g}{c^{2} d \sqrt {-c^{2} d \,x^{2}+d}}\right )-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {c x -1}\, \sqrt {c x +1}\, f \,\operatorname {arccosh}\left (c x \right )}{d^{2} c \left (c^{2} x^{2}-1\right )}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \operatorname {arccosh}\left (c x \right ) \left (c x +1\right ) \left (c x -1\right ) g}{d^{2} c^{2} \left (c^{2} x^{2}-1\right )}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \operatorname {arccosh}\left (c x \right ) x^{2} g}{d^{2} \left (c^{2} x^{2}-1\right )}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \operatorname {arccosh}\left (c x \right ) x f}{d^{2} \left (c^{2} x^{2}-1\right )}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {c x -1}\, \sqrt {c x +1}\, \ln \left (1+c x +\sqrt {c x -1}\, \sqrt {c x +1}\right ) f}{d^{2} c \left (c^{2} x^{2}-1\right )}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {c x -1}\, \sqrt {c x +1}\, \ln \left (1+c x +\sqrt {c x -1}\, \sqrt {c x +1}\right ) g}{d^{2} c^{2} \left (c^{2} x^{2}-1\right )}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {c x -1}\, \sqrt {c x +1}\, \ln \left (\sqrt {c x -1}\, \sqrt {c x +1}+c x -1\right ) f}{d^{2} c \left (c^{2} x^{2}-1\right )}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {c x -1}\, \sqrt {c x +1}\, \ln \left (\sqrt {c x -1}\, \sqrt {c x +1}+c x -1\right ) g}{d^{2} c^{2} \left (c^{2} x^{2}-1\right )}\) | \(499\) |
[In]
[Out]
\[ \int \frac {(f+g x) (a+b \text {arccosh}(c x))}{\left (d-c^2 d x^2\right )^{3/2}} \, dx=\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 } \]
[In]
[Out]
\[ \int \frac {(f+g x) (a+b \text {arccosh}(c x))}{\left (d-c^2 d x^2\right )^{3/2}} \, dx=\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 \]
[In]
[Out]
\[ \int \frac {(f+g x) (a+b \text {arccosh}(c x))}{\left (d-c^2 d x^2\right )^{3/2}} \, dx=\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 } \]
[In]
[Out]
\[ \int \frac {(f+g x) (a+b \text {arccosh}(c x))}{\left (d-c^2 d x^2\right )^{3/2}} \, dx=\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 } \]
[In]
[Out]
Timed out. \[ \int \frac {(f+g x) (a+b \text {arccosh}(c x))}{\left (d-c^2 d x^2\right )^{3/2}} \, dx=\int \frac {\left (f+g\,x\right )\,\left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )}{{\left (d-c^2\,d\,x^2\right )}^{3/2}} \,d x \]
[In]
[Out]