\(\int \frac {x (a+b \arccos (c x))}{(d-c^2 d x^2)^{5/2}} \, dx\) [136]

Optimal result
Mathematica [C] (verified)
Rubi [A] (verified)
Maple [C] (verified)
Fricas [A] (verification not implemented)
Sympy [F]
Maxima [F]
Giac [F(-2)]
Mupad [F(-1)]
Reduce [F]

Optimal result

Integrand size = 25, antiderivative size = 119 \[ \int \frac {x (a+b \arccos (c x))}{\left (d-c^2 d x^2\right )^{5/2}} \, dx=-\frac {b x}{6 c d^2 \sqrt {1-c^2 x^2} \sqrt {d-c^2 d x^2}}+\frac {a+b \arccos (c x)}{3 c^2 d \left (d-c^2 d x^2\right )^{3/2}}-\frac {b \sqrt {1-c^2 x^2} \text {arctanh}(c x)}{6 c^2 d^2 \sqrt {d-c^2 d x^2}} \] Output:

-1/6*b*x/c/d^2/(-c^2*x^2+1)^(1/2)/(-c^2*d*x^2+d)^(1/2)+1/3*(a+b*arccos(c*x 
))/c^2/d/(-c^2*d*x^2+d)^(3/2)-1/6*b*(-c^2*x^2+1)^(1/2)*arctanh(c*x)/c^2/d^ 
2/(-c^2*d*x^2+d)^(1/2)
 

Mathematica [C] (verified)

Result contains higher order function than in optimal. Order 4 vs. order 3 in optimal.

Time = 0.24 (sec) , antiderivative size = 120, normalized size of antiderivative = 1.01 \[ \int \frac {x (a+b \arccos (c x))}{\left (d-c^2 d x^2\right )^{5/2}} \, dx=-\frac {\sqrt {d-c^2 d x^2} \left (\sqrt {-c^2} \left (2 a+b c x \sqrt {1-c^2 x^2}+2 b \arccos (c x)\right )-i b c \left (1-c^2 x^2\right )^{3/2} \operatorname {EllipticF}\left (i \text {arcsinh}\left (\sqrt {-c^2} x\right ),1\right )\right )}{6 \left (-c^2\right )^{3/2} d^3 \left (-1+c^2 x^2\right )^2} \] Input:

Integrate[(x*(a + b*ArcCos[c*x]))/(d - c^2*d*x^2)^(5/2),x]
 

Output:

-1/6*(Sqrt[d - c^2*d*x^2]*(Sqrt[-c^2]*(2*a + b*c*x*Sqrt[1 - c^2*x^2] + 2*b 
*ArcCos[c*x]) - I*b*c*(1 - c^2*x^2)^(3/2)*EllipticF[I*ArcSinh[Sqrt[-c^2]*x 
], 1]))/((-c^2)^(3/2)*d^3*(-1 + c^2*x^2)^2)
 

Rubi [A] (verified)

Time = 0.29 (sec) , antiderivative size = 103, normalized size of antiderivative = 0.87, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.120, Rules used = {5183, 215, 219}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int \frac {x (a+b \arccos (c x))}{\left (d-c^2 d x^2\right )^{5/2}} \, dx\)

\(\Big \downarrow \) 5183

\(\displaystyle \frac {b \sqrt {1-c^2 x^2} \int \frac {1}{\left (1-c^2 x^2\right )^2}dx}{3 c d^2 \sqrt {d-c^2 d x^2}}+\frac {a+b \arccos (c x)}{3 c^2 d \left (d-c^2 d x^2\right )^{3/2}}\)

\(\Big \downarrow \) 215

\(\displaystyle \frac {b \sqrt {1-c^2 x^2} \left (\frac {1}{2} \int \frac {1}{1-c^2 x^2}dx+\frac {x}{2 \left (1-c^2 x^2\right )}\right )}{3 c d^2 \sqrt {d-c^2 d x^2}}+\frac {a+b \arccos (c x)}{3 c^2 d \left (d-c^2 d x^2\right )^{3/2}}\)

\(\Big \downarrow \) 219

\(\displaystyle \frac {a+b \arccos (c x)}{3 c^2 d \left (d-c^2 d x^2\right )^{3/2}}+\frac {b \sqrt {1-c^2 x^2} \left (\frac {\text {arctanh}(c x)}{2 c}+\frac {x}{2 \left (1-c^2 x^2\right )}\right )}{3 c d^2 \sqrt {d-c^2 d x^2}}\)

Input:

Int[(x*(a + b*ArcCos[c*x]))/(d - c^2*d*x^2)^(5/2),x]
 

Output:

(a + b*ArcCos[c*x])/(3*c^2*d*(d - c^2*d*x^2)^(3/2)) + (b*Sqrt[1 - c^2*x^2] 
*(x/(2*(1 - c^2*x^2)) + ArcTanh[c*x]/(2*c)))/(3*c*d^2*Sqrt[d - c^2*d*x^2])
 

Defintions of rubi rules used

rule 215
Int[((a_) + (b_.)*(x_)^2)^(p_), x_Symbol] :> Simp[(-x)*((a + b*x^2)^(p + 1) 
/(2*a*(p + 1))), x] + Simp[(2*p + 3)/(2*a*(p + 1))   Int[(a + b*x^2)^(p + 1 
), x], x] /; FreeQ[{a, b}, x] && LtQ[p, -1] && (IntegerQ[4*p] || IntegerQ[6 
*p])
 

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

rule 5183
Int[((a_.) + ArcCos[(c_.)*(x_)]*(b_.))^(n_.)*(x_)*((d_) + (e_.)*(x_)^2)^(p_ 
.), x_Symbol] :> Simp[(d + e*x^2)^(p + 1)*((a + b*ArcCos[c*x])^n/(2*e*(p + 
1))), x] - Simp[b*(n/(2*c*(p + 1)))*Simp[(d + e*x^2)^p/(1 - c^2*x^2)^p]   I 
nt[(1 - c^2*x^2)^(p + 1/2)*(a + b*ArcCos[c*x])^(n - 1), x], x] /; FreeQ[{a, 
 b, c, d, e, p}, x] && EqQ[c^2*d + e, 0] && GtQ[n, 0] && NeQ[p, -1]
 
Maple [C] (verified)

Result contains complex when optimal does not.

Time = 0.69 (sec) , antiderivative size = 222, normalized size of antiderivative = 1.87

method result size
default \(\frac {a}{3 c^{2} d \left (-c^{2} d \,x^{2}+d \right )^{\frac {3}{2}}}+b \left (\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (c x \sqrt {-c^{2} x^{2}+1}+2 \arccos \left (c x \right )\right )}{6 d^{3} \left (c^{4} x^{4}-2 c^{2} x^{2}+1\right ) c^{2}}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {-c^{2} x^{2}+1}\, \ln \left (1+c x +i \sqrt {-c^{2} x^{2}+1}\right )}{6 d^{3} c^{2} \left (c^{2} x^{2}-1\right )}+\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {-c^{2} x^{2}+1}\, \ln \left (i \sqrt {-c^{2} x^{2}+1}+c x -1\right )}{6 d^{3} c^{2} \left (c^{2} x^{2}-1\right )}\right )\) \(222\)
parts \(\frac {a}{3 c^{2} d \left (-c^{2} d \,x^{2}+d \right )^{\frac {3}{2}}}+b \left (\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (c x \sqrt {-c^{2} x^{2}+1}+2 \arccos \left (c x \right )\right )}{6 d^{3} \left (c^{4} x^{4}-2 c^{2} x^{2}+1\right ) c^{2}}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {-c^{2} x^{2}+1}\, \ln \left (1+c x +i \sqrt {-c^{2} x^{2}+1}\right )}{6 d^{3} c^{2} \left (c^{2} x^{2}-1\right )}+\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {-c^{2} x^{2}+1}\, \ln \left (i \sqrt {-c^{2} x^{2}+1}+c x -1\right )}{6 d^{3} c^{2} \left (c^{2} x^{2}-1\right )}\right )\) \(222\)

Input:

int(x*(a+b*arccos(c*x))/(-c^2*d*x^2+d)^(5/2),x,method=_RETURNVERBOSE)
 

Output:

1/3*a/c^2/d/(-c^2*d*x^2+d)^(3/2)+b*(1/6*(-d*(c^2*x^2-1))^(1/2)*(c*x*(-c^2* 
x^2+1)^(1/2)+2*arccos(c*x))/d^3/(c^4*x^4-2*c^2*x^2+1)/c^2-1/6*(-d*(c^2*x^2 
-1))^(1/2)*(-c^2*x^2+1)^(1/2)/d^3/c^2/(c^2*x^2-1)*ln(1+c*x+I*(-c^2*x^2+1)^ 
(1/2))+1/6*(-d*(c^2*x^2-1))^(1/2)*(-c^2*x^2+1)^(1/2)/d^3/c^2/(c^2*x^2-1)*l 
n(I*(-c^2*x^2+1)^(1/2)+c*x-1))
 

Fricas [A] (verification not implemented)

Time = 0.15 (sec) , antiderivative size = 373, normalized size of antiderivative = 3.13 \[ \int \frac {x (a+b \arccos (c x))}{\left (d-c^2 d x^2\right )^{5/2}} \, dx=\left [\frac {4 \, \sqrt {-c^{2} d x^{2} + d} \sqrt {-c^{2} x^{2} + 1} b c x + {\left (b c^{4} x^{4} - 2 \, b c^{2} x^{2} + b\right )} \sqrt {d} \log \left (-\frac {c^{6} d x^{6} + 5 \, c^{4} d x^{4} - 5 \, c^{2} d x^{2} - 4 \, {\left (c^{3} x^{3} + c x\right )} \sqrt {-c^{2} d x^{2} + d} \sqrt {-c^{2} x^{2} + 1} \sqrt {d} - d}{c^{6} x^{6} - 3 \, c^{4} x^{4} + 3 \, c^{2} x^{2} - 1}\right ) + 8 \, \sqrt {-c^{2} d x^{2} + d} {\left (b \arccos \left (c x\right ) + a\right )}}{24 \, {\left (c^{6} d^{3} x^{4} - 2 \, c^{4} d^{3} x^{2} + c^{2} d^{3}\right )}}, \frac {2 \, \sqrt {-c^{2} d x^{2} + d} \sqrt {-c^{2} x^{2} + 1} b c x + {\left (b c^{4} x^{4} - 2 \, b c^{2} x^{2} + b\right )} \sqrt {-d} \arctan \left (\frac {2 \, \sqrt {-c^{2} d x^{2} + d} \sqrt {-c^{2} x^{2} + 1} c \sqrt {-d} x}{c^{4} d x^{4} - d}\right ) + 4 \, \sqrt {-c^{2} d x^{2} + d} {\left (b \arccos \left (c x\right ) + a\right )}}{12 \, {\left (c^{6} d^{3} x^{4} - 2 \, c^{4} d^{3} x^{2} + c^{2} d^{3}\right )}}\right ] \] Input:

integrate(x*(a+b*arccos(c*x))/(-c^2*d*x^2+d)^(5/2),x, algorithm="fricas")
 

Output:

[1/24*(4*sqrt(-c^2*d*x^2 + d)*sqrt(-c^2*x^2 + 1)*b*c*x + (b*c^4*x^4 - 2*b* 
c^2*x^2 + b)*sqrt(d)*log(-(c^6*d*x^6 + 5*c^4*d*x^4 - 5*c^2*d*x^2 - 4*(c^3* 
x^3 + c*x)*sqrt(-c^2*d*x^2 + d)*sqrt(-c^2*x^2 + 1)*sqrt(d) - d)/(c^6*x^6 - 
 3*c^4*x^4 + 3*c^2*x^2 - 1)) + 8*sqrt(-c^2*d*x^2 + d)*(b*arccos(c*x) + a)) 
/(c^6*d^3*x^4 - 2*c^4*d^3*x^2 + c^2*d^3), 1/12*(2*sqrt(-c^2*d*x^2 + d)*sqr 
t(-c^2*x^2 + 1)*b*c*x + (b*c^4*x^4 - 2*b*c^2*x^2 + b)*sqrt(-d)*arctan(2*sq 
rt(-c^2*d*x^2 + d)*sqrt(-c^2*x^2 + 1)*c*sqrt(-d)*x/(c^4*d*x^4 - d)) + 4*sq 
rt(-c^2*d*x^2 + d)*(b*arccos(c*x) + a))/(c^6*d^3*x^4 - 2*c^4*d^3*x^2 + c^2 
*d^3)]
 

Sympy [F]

\[ \int \frac {x (a+b \arccos (c x))}{\left (d-c^2 d x^2\right )^{5/2}} \, dx=\int \frac {x \left (a + b \operatorname {acos}{\left (c x \right )}\right )}{\left (- d \left (c x - 1\right ) \left (c x + 1\right )\right )^{\frac {5}{2}}}\, dx \] Input:

integrate(x*(a+b*acos(c*x))/(-c**2*d*x**2+d)**(5/2),x)
 

Output:

Integral(x*(a + b*acos(c*x))/(-d*(c*x - 1)*(c*x + 1))**(5/2), x)
 

Maxima [F]

\[ \int \frac {x (a+b \arccos (c x))}{\left (d-c^2 d x^2\right )^{5/2}} \, dx=\int { \frac {{\left (b \arccos \left (c x\right ) + a\right )} x}{{\left (-c^{2} d x^{2} + d\right )}^{\frac {5}{2}}} \,d x } \] Input:

integrate(x*(a+b*arccos(c*x))/(-c^2*d*x^2+d)^(5/2),x, algorithm="maxima")
 

Output:

b*integrate(x*arctan2(sqrt(c*x + 1)*sqrt(-c*x + 1), c*x)/((c^4*d^2*x^4 - 2 
*c^2*d^2*x^2 + d^2)*sqrt(c*x + 1)*sqrt(-c*x + 1)), x)/sqrt(d) + 1/3*a/((-c 
^2*d*x^2 + d)^(3/2)*c^2*d)
 

Giac [F(-2)]

Exception generated. \[ \int \frac {x (a+b \arccos (c x))}{\left (d-c^2 d x^2\right )^{5/2}} \, dx=\text {Exception raised: RuntimeError} \] Input:

integrate(x*(a+b*arccos(c*x))/(-c^2*d*x^2+d)^(5/2),x, algorithm="giac")
 

Output:

Exception raised: RuntimeError >> an error occurred running a Giac command 
:INPUT:sage2OUTPUT:sym2poly/r2sym(const gen & e,const index_m & i,const ve 
cteur & l) Error: Bad Argument Value
 

Mupad [F(-1)]

Timed out. \[ \int \frac {x (a+b \arccos (c x))}{\left (d-c^2 d x^2\right )^{5/2}} \, dx=\int \frac {x\,\left (a+b\,\mathrm {acos}\left (c\,x\right )\right )}{{\left (d-c^2\,d\,x^2\right )}^{5/2}} \,d x \] Input:

int((x*(a + b*acos(c*x)))/(d - c^2*d*x^2)^(5/2),x)
 

Output:

int((x*(a + b*acos(c*x)))/(d - c^2*d*x^2)^(5/2), x)
 

Reduce [F]

\[ \int \frac {x (a+b \arccos (c x))}{\left (d-c^2 d x^2\right )^{5/2}} \, dx=\frac {3 \sqrt {-c^{2} x^{2}+1}\, \left (\int \frac {\mathit {acos} \left (c x \right ) x}{\sqrt {-c^{2} x^{2}+1}\, c^{4} x^{4}-2 \sqrt {-c^{2} x^{2}+1}\, c^{2} x^{2}+\sqrt {-c^{2} x^{2}+1}}d x \right ) b \,c^{4} x^{2}-3 \sqrt {-c^{2} x^{2}+1}\, \left (\int \frac {\mathit {acos} \left (c x \right ) x}{\sqrt {-c^{2} x^{2}+1}\, c^{4} x^{4}-2 \sqrt {-c^{2} x^{2}+1}\, c^{2} x^{2}+\sqrt {-c^{2} x^{2}+1}}d x \right ) b \,c^{2}-a}{3 \sqrt {d}\, \sqrt {-c^{2} x^{2}+1}\, c^{2} d^{2} \left (c^{2} x^{2}-1\right )} \] Input:

int(x*(a+b*acos(c*x))/(-c^2*d*x^2+d)^(5/2),x)
                                                                                    
                                                                                    
 

Output:

(3*sqrt( - c**2*x**2 + 1)*int((acos(c*x)*x)/(sqrt( - c**2*x**2 + 1)*c**4*x 
**4 - 2*sqrt( - c**2*x**2 + 1)*c**2*x**2 + sqrt( - c**2*x**2 + 1)),x)*b*c* 
*4*x**2 - 3*sqrt( - c**2*x**2 + 1)*int((acos(c*x)*x)/(sqrt( - c**2*x**2 + 
1)*c**4*x**4 - 2*sqrt( - c**2*x**2 + 1)*c**2*x**2 + sqrt( - c**2*x**2 + 1) 
),x)*b*c**2 - a)/(3*sqrt(d)*sqrt( - c**2*x**2 + 1)*c**2*d**2*(c**2*x**2 - 
1))