Optimal. Leaf size=96 \[ -\frac {5 e^{-b^2 x^2} x}{8 b^5 \sqrt {\pi }}-\frac {5 e^{-b^2 x^2} x^3}{12 b^3 \sqrt {\pi }}-\frac {e^{-b^2 x^2} x^5}{6 b \sqrt {\pi }}+\frac {5 \text {Erf}(b x)}{16 b^6}+\frac {1}{6} x^6 \text {Erfc}(b x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 96, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 3, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.375, Rules used = {6497, 2243,
2236} \begin {gather*} \frac {5 \text {Erf}(b x)}{16 b^6}-\frac {x^5 e^{-b^2 x^2}}{6 \sqrt {\pi } b}-\frac {5 x e^{-b^2 x^2}}{8 \sqrt {\pi } b^5}-\frac {5 x^3 e^{-b^2 x^2}}{12 \sqrt {\pi } b^3}+\frac {1}{6} x^6 \text {Erfc}(b x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2236
Rule 2243
Rule 6497
Rubi steps
\begin {align*} \int x^5 \text {erfc}(b x) \, dx &=\frac {1}{6} x^6 \text {erfc}(b x)+\frac {b \int e^{-b^2 x^2} x^6 \, dx}{3 \sqrt {\pi }}\\ &=-\frac {e^{-b^2 x^2} x^5}{6 b \sqrt {\pi }}+\frac {1}{6} x^6 \text {erfc}(b x)+\frac {5 \int e^{-b^2 x^2} x^4 \, dx}{6 b \sqrt {\pi }}\\ &=-\frac {5 e^{-b^2 x^2} x^3}{12 b^3 \sqrt {\pi }}-\frac {e^{-b^2 x^2} x^5}{6 b \sqrt {\pi }}+\frac {1}{6} x^6 \text {erfc}(b x)+\frac {5 \int e^{-b^2 x^2} x^2 \, dx}{4 b^3 \sqrt {\pi }}\\ &=-\frac {5 e^{-b^2 x^2} x}{8 b^5 \sqrt {\pi }}-\frac {5 e^{-b^2 x^2} x^3}{12 b^3 \sqrt {\pi }}-\frac {e^{-b^2 x^2} x^5}{6 b \sqrt {\pi }}+\frac {1}{6} x^6 \text {erfc}(b x)+\frac {5 \int e^{-b^2 x^2} \, dx}{8 b^5 \sqrt {\pi }}\\ &=-\frac {5 e^{-b^2 x^2} x}{8 b^5 \sqrt {\pi }}-\frac {5 e^{-b^2 x^2} x^3}{12 b^3 \sqrt {\pi }}-\frac {e^{-b^2 x^2} x^5}{6 b \sqrt {\pi }}+\frac {5 \text {erf}(b x)}{16 b^6}+\frac {1}{6} x^6 \text {erfc}(b x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 62, normalized size = 0.65 \begin {gather*} \frac {1}{48} \left (-\frac {2 e^{-b^2 x^2} x \left (15+10 b^2 x^2+4 b^4 x^4\right )}{b^5 \sqrt {\pi }}+\frac {15 \text {Erf}(b x)}{b^6}+8 x^6 \text {Erfc}(b x)\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.10, size = 83, normalized size = 0.86
method | result | size |
derivativedivides | \(\frac {\frac {b^{6} x^{6} \mathrm {erfc}\left (b x \right )}{6}+\frac {-\frac {b^{5} x^{5} {\mathrm e}^{-b^{2} x^{2}}}{2}-\frac {5 b^{3} x^{3} {\mathrm e}^{-b^{2} x^{2}}}{4}-\frac {15 \,{\mathrm e}^{-b^{2} x^{2}} b x}{8}+\frac {15 \erf \left (b x \right ) \sqrt {\pi }}{16}}{3 \sqrt {\pi }}}{b^{6}}\) | \(83\) |
default | \(\frac {\frac {b^{6} x^{6} \mathrm {erfc}\left (b x \right )}{6}+\frac {-\frac {b^{5} x^{5} {\mathrm e}^{-b^{2} x^{2}}}{2}-\frac {5 b^{3} x^{3} {\mathrm e}^{-b^{2} x^{2}}}{4}-\frac {15 \,{\mathrm e}^{-b^{2} x^{2}} b x}{8}+\frac {15 \erf \left (b x \right ) \sqrt {\pi }}{16}}{3 \sqrt {\pi }}}{b^{6}}\) | \(83\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 63, normalized size = 0.66 \begin {gather*} \frac {1}{6} \, x^{6} \operatorname {erfc}\left (b x\right ) - \frac {b {\left (\frac {2 \, {\left (4 \, b^{4} x^{5} + 10 \, b^{2} x^{3} + 15 \, x\right )} e^{\left (-b^{2} x^{2}\right )}}{b^{6}} - \frac {15 \, \sqrt {\pi } \operatorname {erf}\left (b x\right )}{b^{7}}\right )}}{48 \, \sqrt {\pi }} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.34, size = 71, normalized size = 0.74 \begin {gather*} \frac {8 \, \pi b^{6} x^{6} - 2 \, \sqrt {\pi } {\left (4 \, b^{5} x^{5} + 10 \, b^{3} x^{3} + 15 \, b x\right )} e^{\left (-b^{2} x^{2}\right )} + {\left (15 \, \pi - 8 \, \pi b^{6} x^{6}\right )} \operatorname {erf}\left (b x\right )}{48 \, \pi b^{6}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.52, size = 92, normalized size = 0.96 \begin {gather*} \begin {cases} \frac {x^{6} \operatorname {erfc}{\left (b x \right )}}{6} - \frac {x^{5} e^{- b^{2} x^{2}}}{6 \sqrt {\pi } b} - \frac {5 x^{3} e^{- b^{2} x^{2}}}{12 \sqrt {\pi } b^{3}} - \frac {5 x e^{- b^{2} x^{2}}}{8 \sqrt {\pi } b^{5}} - \frac {5 \operatorname {erfc}{\left (b x \right )}}{16 b^{6}} & \text {for}\: b \neq 0 \\\frac {x^{6}}{6} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.42, size = 69, normalized size = 0.72 \begin {gather*} -\frac {1}{6} \, x^{6} \operatorname {erf}\left (b x\right ) + \frac {1}{6} \, x^{6} - \frac {b {\left (\frac {2 \, {\left (4 \, b^{4} x^{5} + 10 \, b^{2} x^{3} + 15 \, x\right )} e^{\left (-b^{2} x^{2}\right )}}{b^{6}} + \frac {15 \, \sqrt {\pi } \operatorname {erf}\left (-b x\right )}{b^{7}}\right )}}{48 \, \sqrt {\pi }} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.27, size = 78, normalized size = 0.81 \begin {gather*} \frac {x^6\,\mathrm {erfc}\left (b\,x\right )}{6}-\frac {\frac {5\,\mathrm {erfc}\left (b\,x\right )}{16}+\frac {5\,b^3\,x^3\,{\mathrm {e}}^{-b^2\,x^2}}{12\,\sqrt {\pi }}+\frac {b^5\,x^5\,{\mathrm {e}}^{-b^2\,x^2}}{6\,\sqrt {\pi }}+\frac {5\,b\,x\,{\mathrm {e}}^{-b^2\,x^2}}{8\,\sqrt {\pi }}}{b^6} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________