Optimal. Leaf size=197 \[ -\frac{m \text{PolyLog}\left (2,-\frac{g e^{\sinh ^{-1}(c x)}}{c f-\sqrt{c^2 f^2+g^2}}\right )}{c}-\frac{m \text{PolyLog}\left (2,-\frac{g e^{\sinh ^{-1}(c x)}}{\sqrt{c^2 f^2+g^2}+c f}\right )}{c}-\frac{m \sinh ^{-1}(c x) \log \left (\frac{g e^{\sinh ^{-1}(c x)}}{c f-\sqrt{c^2 f^2+g^2}}+1\right )}{c}-\frac{m \sinh ^{-1}(c x) \log \left (\frac{g e^{\sinh ^{-1}(c x)}}{\sqrt{c^2 f^2+g^2}+c f}+1\right )}{c}+\frac{\sinh ^{-1}(c x) \log \left (h (f+g x)^m\right )}{c}+\frac{m \sinh ^{-1}(c x)^2}{2 c} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.300469, antiderivative size = 197, normalized size of antiderivative = 1., number of steps used = 9, number of rules used = 7, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.292, Rules used = {215, 2404, 5799, 5561, 2190, 2279, 2391} \[ -\frac{m \text{PolyLog}\left (2,-\frac{g e^{\sinh ^{-1}(c x)}}{c f-\sqrt{c^2 f^2+g^2}}\right )}{c}-\frac{m \text{PolyLog}\left (2,-\frac{g e^{\sinh ^{-1}(c x)}}{\sqrt{c^2 f^2+g^2}+c f}\right )}{c}-\frac{m \sinh ^{-1}(c x) \log \left (\frac{g e^{\sinh ^{-1}(c x)}}{c f-\sqrt{c^2 f^2+g^2}}+1\right )}{c}-\frac{m \sinh ^{-1}(c x) \log \left (\frac{g e^{\sinh ^{-1}(c x)}}{\sqrt{c^2 f^2+g^2}+c f}+1\right )}{c}+\frac{\sinh ^{-1}(c x) \log \left (h (f+g x)^m\right )}{c}+\frac{m \sinh ^{-1}(c x)^2}{2 c} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 215
Rule 2404
Rule 5799
Rule 5561
Rule 2190
Rule 2279
Rule 2391
Rubi steps
\begin{align*} \int \frac{\log \left (h (f+g x)^m\right )}{\sqrt{1+c^2 x^2}} \, dx &=\frac{\sinh ^{-1}(c x) \log \left (h (f+g x)^m\right )}{c}-(g m) \int \frac{\sinh ^{-1}(c x)}{c f+c g x} \, dx\\ &=\frac{\sinh ^{-1}(c x) \log \left (h (f+g x)^m\right )}{c}-(g m) \operatorname{Subst}\left (\int \frac{x \cosh (x)}{c^2 f+c g \sinh (x)} \, dx,x,\sinh ^{-1}(c x)\right )\\ &=\frac{m \sinh ^{-1}(c x)^2}{2 c}+\frac{\sinh ^{-1}(c x) \log \left (h (f+g x)^m\right )}{c}-(g m) \operatorname{Subst}\left (\int \frac{e^x x}{c^2 f+c e^x g-c \sqrt{c^2 f^2+g^2}} \, dx,x,\sinh ^{-1}(c x)\right )-(g m) \operatorname{Subst}\left (\int \frac{e^x x}{c^2 f+c e^x g+c \sqrt{c^2 f^2+g^2}} \, dx,x,\sinh ^{-1}(c x)\right )\\ &=\frac{m \sinh ^{-1}(c x)^2}{2 c}-\frac{m \sinh ^{-1}(c x) \log \left (1+\frac{e^{\sinh ^{-1}(c x)} g}{c f-\sqrt{c^2 f^2+g^2}}\right )}{c}-\frac{m \sinh ^{-1}(c x) \log \left (1+\frac{e^{\sinh ^{-1}(c x)} g}{c f+\sqrt{c^2 f^2+g^2}}\right )}{c}+\frac{\sinh ^{-1}(c x) \log \left (h (f+g x)^m\right )}{c}+\frac{m \operatorname{Subst}\left (\int \log \left (1+\frac{c e^x g}{c^2 f-c \sqrt{c^2 f^2+g^2}}\right ) \, dx,x,\sinh ^{-1}(c x)\right )}{c}+\frac{m \operatorname{Subst}\left (\int \log \left (1+\frac{c e^x g}{c^2 f+c \sqrt{c^2 f^2+g^2}}\right ) \, dx,x,\sinh ^{-1}(c x)\right )}{c}\\ &=\frac{m \sinh ^{-1}(c x)^2}{2 c}-\frac{m \sinh ^{-1}(c x) \log \left (1+\frac{e^{\sinh ^{-1}(c x)} g}{c f-\sqrt{c^2 f^2+g^2}}\right )}{c}-\frac{m \sinh ^{-1}(c x) \log \left (1+\frac{e^{\sinh ^{-1}(c x)} g}{c f+\sqrt{c^2 f^2+g^2}}\right )}{c}+\frac{\sinh ^{-1}(c x) \log \left (h (f+g x)^m\right )}{c}+\frac{m \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{c g x}{c^2 f-c \sqrt{c^2 f^2+g^2}}\right )}{x} \, dx,x,e^{\sinh ^{-1}(c x)}\right )}{c}+\frac{m \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{c g x}{c^2 f+c \sqrt{c^2 f^2+g^2}}\right )}{x} \, dx,x,e^{\sinh ^{-1}(c x)}\right )}{c}\\ &=\frac{m \sinh ^{-1}(c x)^2}{2 c}-\frac{m \sinh ^{-1}(c x) \log \left (1+\frac{e^{\sinh ^{-1}(c x)} g}{c f-\sqrt{c^2 f^2+g^2}}\right )}{c}-\frac{m \sinh ^{-1}(c x) \log \left (1+\frac{e^{\sinh ^{-1}(c x)} g}{c f+\sqrt{c^2 f^2+g^2}}\right )}{c}+\frac{\sinh ^{-1}(c x) \log \left (h (f+g x)^m\right )}{c}-\frac{m \text{Li}_2\left (-\frac{e^{\sinh ^{-1}(c x)} g}{c f-\sqrt{c^2 f^2+g^2}}\right )}{c}-\frac{m \text{Li}_2\left (-\frac{e^{\sinh ^{-1}(c x)} g}{c f+\sqrt{c^2 f^2+g^2}}\right )}{c}\\ \end{align*}
Mathematica [A] time = 0.0179448, size = 206, normalized size = 1.05 \[ -\frac{m \text{PolyLog}\left (2,-\frac{g e^{\sinh ^{-1}(c x)}}{c f-\sqrt{c^2 f^2+g^2}}\right )}{c}-\frac{m \text{PolyLog}\left (2,-\frac{g e^{\sinh ^{-1}(c x)}}{\sqrt{c^2 f^2+g^2}+c f}\right )}{c}-\frac{m \sinh ^{-1}(c x) \log \left (\frac{c g e^{\sinh ^{-1}(c x)}}{c^2 f-c \sqrt{c^2 f^2+g^2}}+1\right )}{c}-\frac{m \sinh ^{-1}(c x) \log \left (\frac{c g e^{\sinh ^{-1}(c x)}}{c \sqrt{c^2 f^2+g^2}+c^2 f}+1\right )}{c}+\frac{\sinh ^{-1}(c x) \log \left (h (f+g x)^m\right )}{c}+\frac{m \sinh ^{-1}(c x)^2}{2 c} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.148, size = 0, normalized size = 0. \begin{align*} \int{\ln \left ( h \left ( gx+f \right ) ^{m} \right ){\frac{1}{\sqrt{{c}^{2}{x}^{2}+1}}}}\, dx \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*} \int \frac{\log \left ({\left (g x + f\right )}^{m} h\right )}{\sqrt{c^{2} x^{2} + 1}}\,{d x} \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{\log \left ({\left (g x + f\right )}^{m} h\right )}{\sqrt{c^{2} x^{2} + 1}}, 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{\log{\left (h \left (f + g x\right )^{m} \right )}}{\sqrt{c^{2} x^{2} + 1}}\, 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{\log \left ({\left (g x + f\right )}^{m} h\right )}{\sqrt{c^{2} x^{2} + 1}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]