Optimal. Leaf size=24 \[ \frac {e^{-(a+x)^2}}{\sqrt {\pi }}+(a+x) \text {erf}(a+x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, 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]
________________________________________________________________________________________
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 = 2.99, 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.82, 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.22, 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.49, size = 37, normalized size = 1.54 \begin {gather*} x \operatorname {erf}\left (a + x\right ) + \frac {\sqrt {\pi } a \operatorname {erf}\left (a + x\right ) + e^{\left (-a^{2} - 2 \, a x - x^{2}\right )}}{\sqrt {\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]
________________________________________________________________________________________