Optimal. Leaf size=24 \[ \frac {e^{-(a+x)^2}}{\sqrt {\pi }}+(a+x) \text {erf}(a+x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 24, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {6484}
\begin {gather*} (a+x) \text {erf}(a+x)+\frac {e^{-(a+x)^2}}{\sqrt {\pi }} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 6484
Rubi steps
\begin {align*} \int \text {erf}(a+x) \, dx &=\frac {e^{-(a+x)^2}}{\sqrt {\pi }}+(a+x) \text {erf}(a+x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 24, normalized size = 1.00 \begin {gather*} \frac {e^{-(a+x)^2}}{\sqrt {\pi }}+(a+x) \text {erf}(a+x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [A]
time = 2.07, size = 34, normalized size = 1.42 \begin {gather*} a \text {Erf}\left [a+x\right ]+x \text {Erf}\left [a+x\right ]+\frac {E^{-a^2-2 a x-x^2}}{\sqrt {\text {Pi}}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 22, normalized size = 0.92
method | result | size |
derivativedivides | \(\left (a +x \right ) \erf \left (a +x \right )+\frac {{\mathrm e}^{-\left (a +x \right )^{2}}}{\sqrt {\pi }}\) | \(22\) |
default | \(\left (a +x \right ) \erf \left (a +x \right )+\frac {{\mathrm e}^{-\left (a +x \right )^{2}}}{\sqrt {\pi }}\) | \(22\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.33, size = 21, normalized size = 0.88 \begin {gather*} {\left (a + x\right )} \operatorname {erf}\left (a + x\right ) + \frac {e^{\left (-{\left (a + x\right )}^{2}\right )}}{\sqrt {\pi }} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.30, size = 37, normalized size = 1.54 \begin {gather*} \frac {{\left (\pi a + \pi x\right )} \operatorname {erf}\left (a + x\right ) + \sqrt {\pi } e^{\left (-a^{2} - 2 \, a x - x^{2}\right )}}{\pi } \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.24, size = 36, normalized size = 1.50 \begin {gather*} a \operatorname {erf}{\left (a + x \right )} + x \operatorname {erf}{\left (a + x \right )} + \frac {e^{- a^{2}} e^{- x^{2}} e^{- 2 a x}}{\sqrt {\pi }} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.00, size = 50, normalized size = 2.08 \begin {gather*} x \mathrm {erf}\left (a+x\right )-\frac {2 \sqrt {\pi } \left (-\frac {\mathrm {e}^{-\left (a^{2}+2 a x+x^{2}\right )}}{2}-\frac {1}{2} a \sqrt {\pi } \mathrm {erf}\left (x+\frac {2}{2} a\right )\right )}{\pi } \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.07, size = 21, normalized size = 0.88 \begin {gather*} \mathrm {erf}\left (a+x\right )\,\left (a+x\right )+\frac {{\mathrm {e}}^{-{\left (a+x\right )}^2}}{\sqrt {\pi }} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________