3.2.34 \(\int \frac {x}{a^4+x^4} \, dx\) [134]

Optimal. Leaf size=15 \[ \frac {\tan ^{-1}\left (\frac {x^2}{a^2}\right )}{2 a^2} \]

[Out]

1/2*arctan(x^2/a^2)/a^2

________________________________________________________________________________________

Rubi [A]
time = 0.00, antiderivative size = 15, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {281, 209} \begin {gather*} \frac {\text {ArcTan}\left (\frac {x^2}{a^2}\right )}{2 a^2} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x/(a^4 + x^4),x]

[Out]

ArcTan[x^2/a^2]/(2*a^2)

Rule 209

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[b, 2]))*ArcTan[Rt[b, 2]*(x/Rt[a, 2])], x] /;
 FreeQ[{a, b}, x] && PosQ[a/b] && (GtQ[a, 0] || GtQ[b, 0])

Rule 281

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> With[{k = GCD[m + 1, n]}, Dist[1/k, Subst[Int[x^((m
 + 1)/k - 1)*(a + b*x^(n/k))^p, x], x, x^k], x] /; k != 1] /; FreeQ[{a, b, p}, x] && IGtQ[n, 0] && IntegerQ[m]

Rubi steps

\begin {align*} \int \frac {x}{a^4+x^4} \, dx &=\frac {1}{2} \text {Subst}\left (\int \frac {1}{a^4+x^2} \, dx,x,x^2\right )\\ &=\frac {\tan ^{-1}\left (\frac {x^2}{a^2}\right )}{2 a^2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 15, normalized size = 1.00 \begin {gather*} \frac {\tan ^{-1}\left (\frac {x^2}{a^2}\right )}{2 a^2} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x/(a^4 + x^4),x]

[Out]

ArcTan[x^2/a^2]/(2*a^2)

________________________________________________________________________________________

Maple [A]
time = 0.06, size = 14, normalized size = 0.93

method result size
default \(\frac {\arctan \left (\frac {x^{2}}{a^{2}}\right )}{2 a^{2}}\) \(14\)
risch \(\frac {\arctan \left (\frac {x^{2}}{a^{2}}\right )}{2 a^{2}}\) \(14\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/(a^4+x^4),x,method=_RETURNVERBOSE)

[Out]

1/2*arctan(x^2/a^2)/a^2

________________________________________________________________________________________

Maxima [A]
time = 1.76, size = 13, normalized size = 0.87 \begin {gather*} \frac {\arctan \left (\frac {x^{2}}{a^{2}}\right )}{2 \, a^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(a^4+x^4),x, algorithm="maxima")

[Out]

1/2*arctan(x^2/a^2)/a^2

________________________________________________________________________________________

Fricas [A]
time = 0.36, size = 13, normalized size = 0.87 \begin {gather*} \frac {\arctan \left (\frac {x^{2}}{a^{2}}\right )}{2 \, a^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(a^4+x^4),x, algorithm="fricas")

[Out]

1/2*arctan(x^2/a^2)/a^2

________________________________________________________________________________________

Sympy [C] Result contains complex when optimal does not.
time = 0.05, size = 29, normalized size = 1.93 \begin {gather*} \frac {- \frac {i \log {\left (- i a^{2} + x^{2} \right )}}{4} + \frac {i \log {\left (i a^{2} + x^{2} \right )}}{4}}{a^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(a**4+x**4),x)

[Out]

(-I*log(-I*a**2 + x**2)/4 + I*log(I*a**2 + x**2)/4)/a**2

________________________________________________________________________________________

Giac [A]
time = 0.76, size = 13, normalized size = 0.87 \begin {gather*} \frac {\arctan \left (\frac {x^{2}}{a^{2}}\right )}{2 \, a^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(a^4+x^4),x, algorithm="giac")

[Out]

1/2*arctan(x^2/a^2)/a^2

________________________________________________________________________________________

Mupad [B]
time = 0.19, size = 13, normalized size = 0.87 \begin {gather*} \frac {\mathrm {atan}\left (\frac {x^2}{a^2}\right )}{2\,a^2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/(a^4 + x^4),x)

[Out]

atan(x^2/a^2)/(2*a^2)

________________________________________________________________________________________