Optimal. Leaf size=260 \[ \frac {b (e x)^{m+3} \left (3 a^2 B d^2-3 a b d (B c-A d)+b^2 c (B c-A d)\right )}{d^3 e^3 (m+3)}+\frac {(e x)^{m+1} \left (a^3 B d^3-3 a^2 b d^2 (B c-A d)+3 a b^2 c d (B c-A d)+b^3 \left (-c^2\right ) (B c-A d)\right )}{d^4 e (m+1)}-\frac {b^2 (e x)^{m+5} (-3 a B d-A b d+b B c)}{d^2 e^5 (m+5)}+\frac {(e x)^{m+1} (b c-a d)^3 (B c-A d) \, _2F_1\left (1,\frac {m+1}{2};\frac {m+3}{2};-\frac {d x^2}{c}\right )}{c d^4 e (m+1)}+\frac {b^3 B (e x)^{m+7}}{d e^7 (m+7)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.30, antiderivative size = 260, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.065, Rules used = {570, 364} \[ \frac {(e x)^{m+1} \left (-3 a^2 b d^2 (B c-A d)+a^3 B d^3+3 a b^2 c d (B c-A d)+b^3 \left (-c^2\right ) (B c-A d)\right )}{d^4 e (m+1)}+\frac {b (e x)^{m+3} \left (3 a^2 B d^2-3 a b d (B c-A d)+b^2 c (B c-A d)\right )}{d^3 e^3 (m+3)}-\frac {b^2 (e x)^{m+5} (-3 a B d-A b d+b B c)}{d^2 e^5 (m+5)}+\frac {(e x)^{m+1} (b c-a d)^3 (B c-A d) \, _2F_1\left (1,\frac {m+1}{2};\frac {m+3}{2};-\frac {d x^2}{c}\right )}{c d^4 e (m+1)}+\frac {b^3 B (e x)^{m+7}}{d e^7 (m+7)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 364
Rule 570
Rubi steps
\begin {align*} \int \frac {(e x)^m \left (a+b x^2\right )^3 \left (A+B x^2\right )}{c+d x^2} \, dx &=\int \left (\frac {\left (a^3 B d^3-b^3 c^2 (B c-A d)+3 a b^2 c d (B c-A d)-3 a^2 b d^2 (B c-A d)\right ) (e x)^m}{d^4}+\frac {b \left (3 a^2 B d^2+b^2 c (B c-A d)-3 a b d (B c-A d)\right ) (e x)^{2+m}}{d^3 e^2}-\frac {b^2 (b B c-A b d-3 a B d) (e x)^{4+m}}{d^2 e^4}+\frac {b^3 B (e x)^{6+m}}{d e^6}+\frac {\left (b^3 B c^4-A b^3 c^3 d-3 a b^2 B c^3 d+3 a A b^2 c^2 d^2+3 a^2 b B c^2 d^2-3 a^2 A b c d^3-a^3 B c d^3+a^3 A d^4\right ) (e x)^m}{d^4 \left (c+d x^2\right )}\right ) \, dx\\ &=\frac {\left (a^3 B d^3-b^3 c^2 (B c-A d)+3 a b^2 c d (B c-A d)-3 a^2 b d^2 (B c-A d)\right ) (e x)^{1+m}}{d^4 e (1+m)}+\frac {b \left (3 a^2 B d^2+b^2 c (B c-A d)-3 a b d (B c-A d)\right ) (e x)^{3+m}}{d^3 e^3 (3+m)}-\frac {b^2 (b B c-A b d-3 a B d) (e x)^{5+m}}{d^2 e^5 (5+m)}+\frac {b^3 B (e x)^{7+m}}{d e^7 (7+m)}+\frac {\left ((b c-a d)^3 (B c-A d)\right ) \int \frac {(e x)^m}{c+d x^2} \, dx}{d^4}\\ &=\frac {\left (a^3 B d^3-b^3 c^2 (B c-A d)+3 a b^2 c d (B c-A d)-3 a^2 b d^2 (B c-A d)\right ) (e x)^{1+m}}{d^4 e (1+m)}+\frac {b \left (3 a^2 B d^2+b^2 c (B c-A d)-3 a b d (B c-A d)\right ) (e x)^{3+m}}{d^3 e^3 (3+m)}-\frac {b^2 (b B c-A b d-3 a B d) (e x)^{5+m}}{d^2 e^5 (5+m)}+\frac {b^3 B (e x)^{7+m}}{d e^7 (7+m)}+\frac {(b c-a d)^3 (B c-A d) (e x)^{1+m} \, _2F_1\left (1,\frac {1+m}{2};\frac {3+m}{2};-\frac {d x^2}{c}\right )}{c d^4 e (1+m)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.35, size = 219, normalized size = 0.84 \[ \frac {x (e x)^m \left (\frac {b d x^2 \left (3 a^2 B d^2+3 a b d (A d-B c)+b^2 c (B c-A d)\right )}{m+3}+\frac {a^3 B d^3+3 a^2 b d^2 (A d-B c)+3 a b^2 c d (B c-A d)+b^3 c^2 (A d-B c)}{m+1}+\frac {b^2 d^2 x^4 (3 a B d+A b d-b B c)}{m+5}+\frac {(b c-a d)^3 (B c-A d) \, _2F_1\left (1,\frac {m+1}{2};\frac {m+3}{2};-\frac {d x^2}{c}\right )}{c (m+1)}+\frac {b^3 B d^3 x^6}{m+7}\right )}{d^4} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.71, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {{\left (B b^{3} x^{8} + {\left (3 \, B a b^{2} + A b^{3}\right )} x^{6} + 3 \, {\left (B a^{2} b + A a b^{2}\right )} x^{4} + A a^{3} + {\left (B a^{3} + 3 \, A a^{2} b\right )} x^{2}\right )} \left (e x\right )^{m}}{d x^{2} + c}, 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 (B x^{2} + A\right )} {\left (b x^{2} + a\right )}^{3} \left (e x\right )^{m}}{d x^{2} + c}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.07, size = 0, normalized size = 0.00 \[ \int \frac {\left (b \,x^{2}+a \right )^{3} \left (B \,x^{2}+A \right ) \left (e x \right )^{m}}{d \,x^{2}+c}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (B x^{2} + A\right )} {\left (b x^{2} + a\right )}^{3} \left (e x\right )^{m}}{d x^{2} + c}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {\left (B\,x^2+A\right )\,{\left (e\,x\right )}^m\,{\left (b\,x^2+a\right )}^3}{d\,x^2+c} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [C] time = 31.10, size = 911, normalized size = 3.50 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________