Optimal. Leaf size=484 \[ -\frac{4 c x \text{PolyLog}\left (2,-\frac{2 c f^{c+d x}}{b-\sqrt{b^2-4 a c}}\right )}{d^2 \log ^2(f) \sqrt{b^2-4 a c} \left (b-\sqrt{b^2-4 a c}\right )}+\frac{4 c x \text{PolyLog}\left (2,-\frac{2 c f^{c+d x}}{\sqrt{b^2-4 a c}+b}\right )}{d^2 \log ^2(f) \sqrt{b^2-4 a c} \left (\sqrt{b^2-4 a c}+b\right )}+\frac{4 c \text{PolyLog}\left (3,-\frac{2 c f^{c+d x}}{b-\sqrt{b^2-4 a c}}\right )}{d^3 \log ^3(f) \sqrt{b^2-4 a c} \left (b-\sqrt{b^2-4 a c}\right )}-\frac{4 c \text{PolyLog}\left (3,-\frac{2 c f^{c+d x}}{\sqrt{b^2-4 a c}+b}\right )}{d^3 \log ^3(f) \sqrt{b^2-4 a c} \left (\sqrt{b^2-4 a c}+b\right )}-\frac{2 c x^2 \log \left (\frac{2 c f^{c+d x}}{b-\sqrt{b^2-4 a c}}+1\right )}{d \log (f) \sqrt{b^2-4 a c} \left (b-\sqrt{b^2-4 a c}\right )}+\frac{2 c x^2 \log \left (\frac{2 c f^{c+d x}}{\sqrt{b^2-4 a c}+b}+1\right )}{d \log (f) \sqrt{b^2-4 a c} \left (\sqrt{b^2-4 a c}+b\right )}-\frac{2 c x^3}{3 \left (-b \sqrt{b^2-4 a c}-4 a c+b^2\right )}-\frac{2 c x^3}{3 \left (b \sqrt{b^2-4 a c}-4 a c+b^2\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.87472, antiderivative size = 484, normalized size of antiderivative = 1., number of steps used = 11, number of rules used = 6, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.207, Rules used = {2263, 2184, 2190, 2531, 2282, 6589} \[ -\frac{4 c x \text{PolyLog}\left (2,-\frac{2 c f^{c+d x}}{b-\sqrt{b^2-4 a c}}\right )}{d^2 \log ^2(f) \sqrt{b^2-4 a c} \left (b-\sqrt{b^2-4 a c}\right )}+\frac{4 c x \text{PolyLog}\left (2,-\frac{2 c f^{c+d x}}{\sqrt{b^2-4 a c}+b}\right )}{d^2 \log ^2(f) \sqrt{b^2-4 a c} \left (\sqrt{b^2-4 a c}+b\right )}+\frac{4 c \text{PolyLog}\left (3,-\frac{2 c f^{c+d x}}{b-\sqrt{b^2-4 a c}}\right )}{d^3 \log ^3(f) \sqrt{b^2-4 a c} \left (b-\sqrt{b^2-4 a c}\right )}-\frac{4 c \text{PolyLog}\left (3,-\frac{2 c f^{c+d x}}{\sqrt{b^2-4 a c}+b}\right )}{d^3 \log ^3(f) \sqrt{b^2-4 a c} \left (\sqrt{b^2-4 a c}+b\right )}-\frac{2 c x^2 \log \left (\frac{2 c f^{c+d x}}{b-\sqrt{b^2-4 a c}}+1\right )}{d \log (f) \sqrt{b^2-4 a c} \left (b-\sqrt{b^2-4 a c}\right )}+\frac{2 c x^2 \log \left (\frac{2 c f^{c+d x}}{\sqrt{b^2-4 a c}+b}+1\right )}{d \log (f) \sqrt{b^2-4 a c} \left (\sqrt{b^2-4 a c}+b\right )}-\frac{2 c x^3}{3 \left (-b \sqrt{b^2-4 a c}-4 a c+b^2\right )}-\frac{2 c x^3}{3 \left (b \sqrt{b^2-4 a c}-4 a c+b^2\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2263
Rule 2184
Rule 2190
Rule 2531
Rule 2282
Rule 6589
Rubi steps
\begin{align*} \int \frac{x^2}{a+b f^{c+d x}+c f^{2 c+2 d x}} \, dx &=\frac{(2 c) \int \frac{x^2}{b-\sqrt{b^2-4 a c}+2 c f^{c+d x}} \, dx}{\sqrt{b^2-4 a c}}-\frac{(2 c) \int \frac{x^2}{b+\sqrt{b^2-4 a c}+2 c f^{c+d x}} \, dx}{\sqrt{b^2-4 a c}}\\ &=-\frac{2 c x^3}{3 \left (b^2-4 a c-b \sqrt{b^2-4 a c}\right )}-\frac{2 c x^3}{3 \left (b^2-4 a c+b \sqrt{b^2-4 a c}\right )}+\frac{\left (4 c^2\right ) \int \frac{f^{c+d x} x^2}{b-\sqrt{b^2-4 a c}+2 c f^{c+d x}} \, dx}{b^2-4 a c-b \sqrt{b^2-4 a c}}+\frac{\left (4 c^2\right ) \int \frac{f^{c+d x} x^2}{b+\sqrt{b^2-4 a c}+2 c f^{c+d x}} \, dx}{b^2-4 a c+b \sqrt{b^2-4 a c}}\\ &=-\frac{2 c x^3}{3 \left (b^2-4 a c-b \sqrt{b^2-4 a c}\right )}-\frac{2 c x^3}{3 \left (b^2-4 a c+b \sqrt{b^2-4 a c}\right )}+\frac{2 c x^2 \log \left (1+\frac{2 c f^{c+d x}}{b-\sqrt{b^2-4 a c}}\right )}{\left (b^2-4 a c-b \sqrt{b^2-4 a c}\right ) d \log (f)}+\frac{2 c x^2 \log \left (1+\frac{2 c f^{c+d x}}{b+\sqrt{b^2-4 a c}}\right )}{\left (b^2-4 a c+b \sqrt{b^2-4 a c}\right ) d \log (f)}-\frac{(4 c) \int x \log \left (1+\frac{2 c f^{c+d x}}{b-\sqrt{b^2-4 a c}}\right ) \, dx}{\left (b^2-4 a c-b \sqrt{b^2-4 a c}\right ) d \log (f)}-\frac{(4 c) \int x \log \left (1+\frac{2 c f^{c+d x}}{b+\sqrt{b^2-4 a c}}\right ) \, dx}{\left (b^2-4 a c+b \sqrt{b^2-4 a c}\right ) d \log (f)}\\ &=-\frac{2 c x^3}{3 \left (b^2-4 a c-b \sqrt{b^2-4 a c}\right )}-\frac{2 c x^3}{3 \left (b^2-4 a c+b \sqrt{b^2-4 a c}\right )}+\frac{2 c x^2 \log \left (1+\frac{2 c f^{c+d x}}{b-\sqrt{b^2-4 a c}}\right )}{\left (b^2-4 a c-b \sqrt{b^2-4 a c}\right ) d \log (f)}+\frac{2 c x^2 \log \left (1+\frac{2 c f^{c+d x}}{b+\sqrt{b^2-4 a c}}\right )}{\left (b^2-4 a c+b \sqrt{b^2-4 a c}\right ) d \log (f)}+\frac{4 c x \text{Li}_2\left (-\frac{2 c f^{c+d x}}{b-\sqrt{b^2-4 a c}}\right )}{\left (b^2-4 a c-b \sqrt{b^2-4 a c}\right ) d^2 \log ^2(f)}+\frac{4 c x \text{Li}_2\left (-\frac{2 c f^{c+d x}}{b+\sqrt{b^2-4 a c}}\right )}{\left (b^2-4 a c+b \sqrt{b^2-4 a c}\right ) d^2 \log ^2(f)}-\frac{(4 c) \int \text{Li}_2\left (-\frac{2 c f^{c+d x}}{b-\sqrt{b^2-4 a c}}\right ) \, dx}{\left (b^2-4 a c-b \sqrt{b^2-4 a c}\right ) d^2 \log ^2(f)}-\frac{(4 c) \int \text{Li}_2\left (-\frac{2 c f^{c+d x}}{b+\sqrt{b^2-4 a c}}\right ) \, dx}{\left (b^2-4 a c+b \sqrt{b^2-4 a c}\right ) d^2 \log ^2(f)}\\ &=-\frac{2 c x^3}{3 \left (b^2-4 a c-b \sqrt{b^2-4 a c}\right )}-\frac{2 c x^3}{3 \left (b^2-4 a c+b \sqrt{b^2-4 a c}\right )}+\frac{2 c x^2 \log \left (1+\frac{2 c f^{c+d x}}{b-\sqrt{b^2-4 a c}}\right )}{\left (b^2-4 a c-b \sqrt{b^2-4 a c}\right ) d \log (f)}+\frac{2 c x^2 \log \left (1+\frac{2 c f^{c+d x}}{b+\sqrt{b^2-4 a c}}\right )}{\left (b^2-4 a c+b \sqrt{b^2-4 a c}\right ) d \log (f)}+\frac{4 c x \text{Li}_2\left (-\frac{2 c f^{c+d x}}{b-\sqrt{b^2-4 a c}}\right )}{\left (b^2-4 a c-b \sqrt{b^2-4 a c}\right ) d^2 \log ^2(f)}+\frac{4 c x \text{Li}_2\left (-\frac{2 c f^{c+d x}}{b+\sqrt{b^2-4 a c}}\right )}{\left (b^2-4 a c+b \sqrt{b^2-4 a c}\right ) d^2 \log ^2(f)}-\frac{(4 c) \operatorname{Subst}\left (\int \frac{\text{Li}_2\left (\frac{2 c x}{-b+\sqrt{b^2-4 a c}}\right )}{x} \, dx,x,f^{c+d x}\right )}{\left (b^2-4 a c-b \sqrt{b^2-4 a c}\right ) d^3 \log ^3(f)}-\frac{(4 c) \operatorname{Subst}\left (\int \frac{\text{Li}_2\left (-\frac{2 c x}{b+\sqrt{b^2-4 a c}}\right )}{x} \, dx,x,f^{c+d x}\right )}{\left (b^2-4 a c+b \sqrt{b^2-4 a c}\right ) d^3 \log ^3(f)}\\ &=-\frac{2 c x^3}{3 \left (b^2-4 a c-b \sqrt{b^2-4 a c}\right )}-\frac{2 c x^3}{3 \left (b^2-4 a c+b \sqrt{b^2-4 a c}\right )}+\frac{2 c x^2 \log \left (1+\frac{2 c f^{c+d x}}{b-\sqrt{b^2-4 a c}}\right )}{\left (b^2-4 a c-b \sqrt{b^2-4 a c}\right ) d \log (f)}+\frac{2 c x^2 \log \left (1+\frac{2 c f^{c+d x}}{b+\sqrt{b^2-4 a c}}\right )}{\left (b^2-4 a c+b \sqrt{b^2-4 a c}\right ) d \log (f)}+\frac{4 c x \text{Li}_2\left (-\frac{2 c f^{c+d x}}{b-\sqrt{b^2-4 a c}}\right )}{\left (b^2-4 a c-b \sqrt{b^2-4 a c}\right ) d^2 \log ^2(f)}+\frac{4 c x \text{Li}_2\left (-\frac{2 c f^{c+d x}}{b+\sqrt{b^2-4 a c}}\right )}{\left (b^2-4 a c+b \sqrt{b^2-4 a c}\right ) d^2 \log ^2(f)}-\frac{4 c \text{Li}_3\left (-\frac{2 c f^{c+d x}}{b-\sqrt{b^2-4 a c}}\right )}{\left (b^2-4 a c-b \sqrt{b^2-4 a c}\right ) d^3 \log ^3(f)}-\frac{4 c \text{Li}_3\left (-\frac{2 c f^{c+d x}}{b+\sqrt{b^2-4 a c}}\right )}{\left (b^2-4 a c+b \sqrt{b^2-4 a c}\right ) d^3 \log ^3(f)}\\ \end{align*}
Mathematica [F] time = 2.77562, size = 0, normalized size = 0. \[ \int \frac{x^2}{a+b f^{c+d x}+c f^{2 c+2 d x}} \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.126, size = 0, normalized size = 0. \begin{align*} \int{\frac{{x}^{2}}{a+b{f}^{dx+c}+c{f}^{2\,dx+2\,c}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] time = 1.4928, size = 1623, normalized size = 3.35 \begin{align*} \text{result too large to display} \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{x^{2}}{a + b f^{c} f^{d x} + c f^{2 c} f^{2 d x}}\, 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{x^{2}}{c f^{2 \, d x + 2 \, c} + b f^{d x + c} + a}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]