Optimal. Leaf size=151 \[ \frac {b^2 e^{\frac {e}{(c+d x)^3}} (c+d x)^3}{3 d^3}-\frac {b^2 e \text {Ei}\left (\frac {e}{(c+d x)^3}\right )}{3 d^3}-\frac {2 b (b c-a d) \left (-\frac {e}{(c+d x)^3}\right )^{2/3} (c+d x)^2 \Gamma \left (-\frac {2}{3},-\frac {e}{(c+d x)^3}\right )}{3 d^3}+\frac {(b c-a d)^2 \sqrt [3]{-\frac {e}{(c+d x)^3}} (c+d x) \Gamma \left (-\frac {1}{3},-\frac {e}{(c+d x)^3}\right )}{3 d^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.11, antiderivative size = 151, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 5, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.263, Rules used = {2258, 2239,
2250, 2245, 2241} \begin {gather*} -\frac {2 b (c+d x)^2 (b c-a d) \left (-\frac {e}{(c+d x)^3}\right )^{2/3} \text {Gamma}\left (-\frac {2}{3},-\frac {e}{(c+d x)^3}\right )}{3 d^3}+\frac {(c+d x) (b c-a d)^2 \sqrt [3]{-\frac {e}{(c+d x)^3}} \text {Gamma}\left (-\frac {1}{3},-\frac {e}{(c+d x)^3}\right )}{3 d^3}-\frac {b^2 e \text {Ei}\left (\frac {e}{(c+d x)^3}\right )}{3 d^3}+\frac {b^2 (c+d x)^3 e^{\frac {e}{(c+d x)^3}}}{3 d^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2239
Rule 2241
Rule 2245
Rule 2250
Rule 2258
Rubi steps
\begin {align*} \int e^{\frac {e}{(c+d x)^3}} (a+b x)^2 \, dx &=\int \left (\frac {(-b c+a d)^2 e^{\frac {e}{(c+d x)^3}}}{d^2}-\frac {2 b (b c-a d) e^{\frac {e}{(c+d x)^3}} (c+d x)}{d^2}+\frac {b^2 e^{\frac {e}{(c+d x)^3}} (c+d x)^2}{d^2}\right ) \, dx\\ &=\frac {b^2 \int e^{\frac {e}{(c+d x)^3}} (c+d x)^2 \, dx}{d^2}-\frac {(2 b (b c-a d)) \int e^{\frac {e}{(c+d x)^3}} (c+d x) \, dx}{d^2}+\frac {(b c-a d)^2 \int e^{\frac {e}{(c+d x)^3}} \, dx}{d^2}\\ &=\frac {b^2 e^{\frac {e}{(c+d x)^3}} (c+d x)^3}{3 d^3}-\frac {2 b (b c-a d) \left (-\frac {e}{(c+d x)^3}\right )^{2/3} (c+d x)^2 \Gamma \left (-\frac {2}{3},-\frac {e}{(c+d x)^3}\right )}{3 d^3}+\frac {(b c-a d)^2 \sqrt [3]{-\frac {e}{(c+d x)^3}} (c+d x) \Gamma \left (-\frac {1}{3},-\frac {e}{(c+d x)^3}\right )}{3 d^3}+\frac {\left (b^2 e\right ) \int \frac {e^{\frac {e}{(c+d x)^3}}}{c+d x} \, dx}{d^2}\\ &=\frac {b^2 e^{\frac {e}{(c+d x)^3}} (c+d x)^3}{3 d^3}-\frac {b^2 e \text {Ei}\left (\frac {e}{(c+d x)^3}\right )}{3 d^3}-\frac {2 b (b c-a d) \left (-\frac {e}{(c+d x)^3}\right )^{2/3} (c+d x)^2 \Gamma \left (-\frac {2}{3},-\frac {e}{(c+d x)^3}\right )}{3 d^3}+\frac {(b c-a d)^2 \sqrt [3]{-\frac {e}{(c+d x)^3}} (c+d x) \Gamma \left (-\frac {1}{3},-\frac {e}{(c+d x)^3}\right )}{3 d^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 136, normalized size = 0.90 \begin {gather*} \frac {b^2 e^{\frac {e}{(c+d x)^3}} (c+d x)^3-b^2 e \text {Ei}\left (\frac {e}{(c+d x)^3}\right )-2 b (b c-a d) \left (-\frac {e}{(c+d x)^3}\right )^{2/3} (c+d x)^2 \Gamma \left (-\frac {2}{3},-\frac {e}{(c+d x)^3}\right )+(b c-a d)^2 \sqrt [3]{-\frac {e}{(c+d x)^3}} (c+d x) \Gamma \left (-\frac {1}{3},-\frac {e}{(c+d x)^3}\right )}{3 d^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.03, size = 0, normalized size = 0.00 \[\int {\mathrm e}^{\frac {e}{\left (d x +c \right )^{3}}} \left (b x +a \right )^{2}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.09, size = 266, normalized size = 1.76 \begin {gather*} -\frac {b^{2} {\rm Ei}\left (\frac {e}{d^{3} x^{3} + 3 \, c d^{2} x^{2} + 3 \, c^{2} d x + c^{3}}\right ) e - 3 \, {\left (b^{2} c d^{2} - a b d^{3}\right )} \left (-\frac {e}{d^{3}}\right )^{\frac {2}{3}} \Gamma \left (\frac {1}{3}, -\frac {e}{d^{3} x^{3} + 3 \, c d^{2} x^{2} + 3 \, c^{2} d x + c^{3}}\right ) + 3 \, {\left (b^{2} c^{2} d - 2 \, a b c d^{2} + a^{2} d^{3}\right )} \left (-\frac {e}{d^{3}}\right )^{\frac {1}{3}} \Gamma \left (\frac {2}{3}, -\frac {e}{d^{3} x^{3} + 3 \, c d^{2} x^{2} + 3 \, c^{2} d x + c^{3}}\right ) - {\left (b^{2} d^{3} x^{3} + 3 \, a b d^{3} x^{2} + 3 \, a^{2} d^{3} x + b^{2} c^{3} - 3 \, a b c^{2} d + 3 \, a^{2} c d^{2}\right )} e^{\left (\frac {e}{d^{3} x^{3} + 3 \, c d^{2} x^{2} + 3 \, c^{2} d x + c^{3}}\right )}}{3 \, d^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (a + b x\right )^{2} e^{\frac {e}{c^{3} + 3 c^{2} d x + 3 c d^{2} x^{2} + d^{3} x^{3}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\mathrm {e}}^{\frac {e}{{\left (c+d\,x\right )}^3}}\,{\left (a+b\,x\right )}^2 \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________