3.131 \(\int \frac {1}{x^3 (a^4-x^4)} \, dx\)

Optimal. Leaf size=26 \[ \frac {\tanh ^{-1}\left (\frac {x^2}{a^2}\right )}{2 a^6}-\frac {1}{2 a^4 x^2} \]

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 26, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {275, 325, 206} \[ \frac {\tanh ^{-1}\left (\frac {x^2}{a^2}\right )}{2 a^6}-\frac {1}{2 a^4 x^2} \]

Antiderivative was successfully verified.

[In]

Int[1/(x^3*(a^4 - x^4)),x]

[Out]

-1/(2*a^4*x^2) + ArcTanh[x^2/a^2]/(2*a^6)

Rule 206

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

Rule 275

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]

Rule 325

Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[((c*x)^(m + 1)*(a + b*x^n)^(p + 1))/(a*
c*(m + 1)), x] - Dist[(b*(m + n*(p + 1) + 1))/(a*c^n*(m + 1)), Int[(c*x)^(m + n)*(a + b*x^n)^p, x], x] /; Free
Q[{a, b, c, p}, x] && IGtQ[n, 0] && LtQ[m, -1] && IntBinomialQ[a, b, c, n, m, p, x]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 50, normalized size = 1.92 \[ -\frac {\log (a-x)}{4 a^6}-\frac {\log (a+x)}{4 a^6}-\frac {1}{2 a^4 x^2}+\frac {\log \left (a^2+x^2\right )}{4 a^6} \]

Antiderivative was successfully verified.

[In]

Integrate[1/(x^3*(a^4 - x^4)),x]

[Out]

-1/2*1/(a^4*x^2) - Log[a - x]/(4*a^6) - Log[a + x]/(4*a^6) + Log[a^2 + x^2]/(4*a^6)

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 0.02, size = 50, normalized size = 1.92 \[ -\frac {\log (a-x)}{4 a^6}-\frac {\log (a+x)}{4 a^6}-\frac {1}{2 a^4 x^2}+\frac {\log \left (a^2+x^2\right )}{4 a^6} \]

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[1/(x^3*(a^4 - x^4)),x]

[Out]

-1/2*1/(a^4*x^2) - Log[a - x]/(4*a^6) - Log[a + x]/(4*a^6) + Log[a^2 + x^2]/(4*a^6)

________________________________________________________________________________________

fricas [A]  time = 0.88, size = 41, normalized size = 1.58 \[ \frac {x^{2} \log \left (a^{2} + x^{2}\right ) - x^{2} \log \left (-a^{2} + x^{2}\right ) - 2 \, a^{2}}{4 \, a^{6} x^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x^3/(a^4-x^4),x, algorithm="fricas")

[Out]

1/4*(x^2*log(a^2 + x^2) - x^2*log(-a^2 + x^2) - 2*a^2)/(a^6*x^2)

________________________________________________________________________________________

giac [A]  time = 0.97, size = 38, normalized size = 1.46 \[ \frac {\log \left (a^{2} + x^{2}\right )}{4 \, a^{6}} - \frac {\log \left ({\left | -a^{2} + x^{2} \right |}\right )}{4 \, a^{6}} - \frac {1}{2 \, a^{4} x^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x^3/(a^4-x^4),x, algorithm="giac")

[Out]

1/4*log(a^2 + x^2)/a^6 - 1/4*log(abs(-a^2 + x^2))/a^6 - 1/2/(a^4*x^2)

________________________________________________________________________________________

maple [A]  time = 0.27, size = 42, normalized size = 1.62




method result size



risch \(-\frac {1}{2 a^{4} x^{2}}-\frac {\ln \left (a^{2}-x^{2}\right )}{4 a^{6}}+\frac {\ln \left (-a^{2}-x^{2}\right )}{4 a^{6}}\) \(42\)
default \(\frac {\ln \left (a^{2}+x^{2}\right )}{4 a^{6}}-\frac {\ln \left (a +x \right )}{4 a^{6}}-\frac {\ln \left (a -x \right )}{4 a^{6}}-\frac {1}{2 a^{4} x^{2}}\) \(43\)
norman \(\frac {\ln \left (a^{2}+x^{2}\right )}{4 a^{6}}-\frac {\ln \left (a +x \right )}{4 a^{6}}-\frac {\ln \left (a -x \right )}{4 a^{6}}-\frac {1}{2 a^{4} x^{2}}\) \(43\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/x^3/(a^4-x^4),x,method=_RETURNVERBOSE)

[Out]

-1/2/a^4/x^2-1/4/a^6*ln(a^2-x^2)+1/4/a^6*ln(-a^2-x^2)

________________________________________________________________________________________

maxima [A]  time = 0.43, size = 37, normalized size = 1.42 \[ \frac {\log \left (a^{2} + x^{2}\right )}{4 \, a^{6}} - \frac {\log \left (-a^{2} + x^{2}\right )}{4 \, a^{6}} - \frac {1}{2 \, a^{4} x^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x^3/(a^4-x^4),x, algorithm="maxima")

[Out]

1/4*log(a^2 + x^2)/a^6 - 1/4*log(-a^2 + x^2)/a^6 - 1/2/(a^4*x^2)

________________________________________________________________________________________

mupad [B]  time = 0.20, size = 22, normalized size = 0.85 \[ \frac {\mathrm {atanh}\left (\frac {x^2}{a^2}\right )}{2\,a^6}-\frac {1}{2\,a^4\,x^2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(x^3*(a^4 - x^4)),x)

[Out]

atanh(x^2/a^2)/(2*a^6) - 1/(2*a^4*x^2)

________________________________________________________________________________________

sympy [A]  time = 0.22, size = 34, normalized size = 1.31 \[ - \frac {1}{2 a^{4} x^{2}} - \frac {\frac {\log {\left (- a^{2} + x^{2} \right )}}{4} - \frac {\log {\left (a^{2} + x^{2} \right )}}{4}}{a^{6}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x**3/(a**4-x**4),x)

[Out]

-1/(2*a**4*x**2) - (log(-a**2 + x**2)/4 - log(a**2 + x**2)/4)/a**6

________________________________________________________________________________________