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

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

Optimal result

Integrand size = 35, antiderivative size = 647 \[ \int \frac {(d+c d x)^{3/2} (e-c e x)^{3/2} (a+b \arccos (c x))^2}{x} \, dx=-\frac {22}{9} b^2 d e \sqrt {d+c d x} \sqrt {e-c e x}-\frac {2 a b c d e x \sqrt {d+c d x} \sqrt {e-c e x}}{\sqrt {1-c^2 x^2}}-\frac {2}{27} b^2 d e \sqrt {d+c d x} \sqrt {e-c e x} \left (1-c^2 x^2\right )-\frac {2 b^2 c d e x \sqrt {d+c d x} \sqrt {e-c e x} \arccos (c x)}{\sqrt {1-c^2 x^2}}-\frac {2 b c d e x \sqrt {d+c d x} \sqrt {e-c e x} (a+b \arccos (c x))}{3 \sqrt {1-c^2 x^2}}+\frac {2 b c^3 d e x^3 \sqrt {d+c d x} \sqrt {e-c e x} (a+b \arccos (c x))}{9 \sqrt {1-c^2 x^2}}+d e \sqrt {d+c d x} \sqrt {e-c e x} (a+b \arccos (c x))^2+\frac {1}{3} d e \sqrt {d+c d x} \sqrt {e-c e x} \left (1-c^2 x^2\right ) (a+b \arccos (c x))^2-\frac {2 d e \sqrt {d+c d x} \sqrt {e-c e x} (a+b \arccos (c x))^2 \text {arctanh}\left (e^{i \arccos (c x)}\right )}{\sqrt {1-c^2 x^2}}+\frac {2 i b d e \sqrt {d+c d x} \sqrt {e-c e x} (a+b \arccos (c x)) \operatorname {PolyLog}\left (2,-e^{i \arccos (c x)}\right )}{\sqrt {1-c^2 x^2}}-\frac {2 i b d e \sqrt {d+c d x} \sqrt {e-c e x} (a+b \arccos (c x)) \operatorname {PolyLog}\left (2,e^{i \arccos (c x)}\right )}{\sqrt {1-c^2 x^2}}-\frac {2 b^2 d e \sqrt {d+c d x} \sqrt {e-c e x} \operatorname {PolyLog}\left (3,-e^{i \arccos (c x)}\right )}{\sqrt {1-c^2 x^2}}+\frac {2 b^2 d e \sqrt {d+c d x} \sqrt {e-c e x} \operatorname {PolyLog}\left (3,e^{i \arccos (c x)}\right )}{\sqrt {1-c^2 x^2}} \] Output:

-22/9*b^2*d*e*(c*d*x+d)^(1/2)*(-c*e*x+e)^(1/2)-2*a*b*c*d*e*x*(c*d*x+d)^(1/ 
2)*(-c*e*x+e)^(1/2)/(-c^2*x^2+1)^(1/2)-2/27*b^2*d*e*(c*d*x+d)^(1/2)*(-c*e* 
x+e)^(1/2)*(-c^2*x^2+1)-2*b^2*c*d*e*x*(c*d*x+d)^(1/2)*(-c*e*x+e)^(1/2)*arc 
cos(c*x)/(-c^2*x^2+1)^(1/2)-2/3*b*c*d*e*x*(c*d*x+d)^(1/2)*(-c*e*x+e)^(1/2) 
*(a+b*arccos(c*x))/(-c^2*x^2+1)^(1/2)+2/9*b*c^3*d*e*x^3*(c*d*x+d)^(1/2)*(- 
c*e*x+e)^(1/2)*(a+b*arccos(c*x))/(-c^2*x^2+1)^(1/2)+d*e*(c*d*x+d)^(1/2)*(- 
c*e*x+e)^(1/2)*(a+b*arccos(c*x))^2+1/3*d*e*(c*d*x+d)^(1/2)*(-c*e*x+e)^(1/2 
)*(-c^2*x^2+1)*(a+b*arccos(c*x))^2-2*d*e*(c*d*x+d)^(1/2)*(-c*e*x+e)^(1/2)* 
(a+b*arccos(c*x))^2*arctanh(c*x+I*(-c^2*x^2+1)^(1/2))/(-c^2*x^2+1)^(1/2)+2 
*I*b*d*e*(c*d*x+d)^(1/2)*(-c*e*x+e)^(1/2)*(a+b*arccos(c*x))*polylog(2,-c*x 
-I*(-c^2*x^2+1)^(1/2))/(-c^2*x^2+1)^(1/2)-2*I*b*d*e*(c*d*x+d)^(1/2)*(-c*e* 
x+e)^(1/2)*(a+b*arccos(c*x))*polylog(2,c*x+I*(-c^2*x^2+1)^(1/2))/(-c^2*x^2 
+1)^(1/2)-2*b^2*d*e*(c*d*x+d)^(1/2)*(-c*e*x+e)^(1/2)*polylog(3,-c*x-I*(-c^ 
2*x^2+1)^(1/2))/(-c^2*x^2+1)^(1/2)+2*b^2*d*e*(c*d*x+d)^(1/2)*(-c*e*x+e)^(1 
/2)*polylog(3,c*x+I*(-c^2*x^2+1)^(1/2))/(-c^2*x^2+1)^(1/2)
 

Mathematica [A] (verified)

Time = 4.60 (sec) , antiderivative size = 663, normalized size of antiderivative = 1.02 \[ \int \frac {(d+c d x)^{3/2} (e-c e x)^{3/2} (a+b \arccos (c x))^2}{x} \, dx=-\frac {1}{3} a^2 d e \sqrt {d+c d x} \sqrt {e-c e x} \left (-4+c^2 x^2\right )-\frac {2 a b d e \sqrt {d+c d x} \sqrt {e-c e x} \left (-3 c x+c^3 x^3-3 \left (1-c^2 x^2\right )^{3/2} \arccos (c x)\right )}{9 \sqrt {1-c^2 x^2}}-\frac {b^2 d e \sqrt {d+c d x} \sqrt {e-c e x} \left (-2 \sqrt {1-c^2 x^2} \left (-7+c^2 x^2\right )+6 c x \left (-3+c^2 x^2\right ) \arccos (c x)-9 \left (1-c^2 x^2\right )^{3/2} \arccos (c x)^2\right )}{27 \sqrt {1-c^2 x^2}}+a^2 d^{3/2} e^{3/2} \log (c x)-a^2 d^{3/2} e^{3/2} \log \left (d e+\sqrt {d} \sqrt {e} \sqrt {d+c d x} \sqrt {e-c e x}\right )+\frac {2 a b d e \sqrt {d+c d x} \sqrt {e-c e x} \left (c x+\sqrt {1-c^2 x^2} \arccos (c x)-\arccos (c x) \log \left (1-i e^{i \arccos (c x)}\right )+\arccos (c x) \log \left (1+i e^{i \arccos (c x)}\right )-i \operatorname {PolyLog}\left (2,-i e^{i \arccos (c x)}\right )+i \operatorname {PolyLog}\left (2,i e^{i \arccos (c x)}\right )\right )}{\sqrt {1-c^2 x^2}}+\frac {b^2 d e \sqrt {d+c d x} \sqrt {e-c e x} \left (-2 \sqrt {1-c^2 x^2}+2 c x \arccos (c x)+\sqrt {1-c^2 x^2} \arccos (c x)^2-\arccos (c x)^2 \log \left (1-i e^{i \arccos (c x)}\right )+\arccos (c x)^2 \log \left (1+i e^{i \arccos (c x)}\right )-2 i \arccos (c x) \operatorname {PolyLog}\left (2,-i e^{i \arccos (c x)}\right )+2 i \arccos (c x) \operatorname {PolyLog}\left (2,i e^{i \arccos (c x)}\right )+2 \operatorname {PolyLog}\left (3,-i e^{i \arccos (c x)}\right )-2 \operatorname {PolyLog}\left (3,i e^{i \arccos (c x)}\right )\right )}{\sqrt {1-c^2 x^2}} \] Input:

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

Output:

-1/3*(a^2*d*e*Sqrt[d + c*d*x]*Sqrt[e - c*e*x]*(-4 + c^2*x^2)) - (2*a*b*d*e 
*Sqrt[d + c*d*x]*Sqrt[e - c*e*x]*(-3*c*x + c^3*x^3 - 3*(1 - c^2*x^2)^(3/2) 
*ArcCos[c*x]))/(9*Sqrt[1 - c^2*x^2]) - (b^2*d*e*Sqrt[d + c*d*x]*Sqrt[e - c 
*e*x]*(-2*Sqrt[1 - c^2*x^2]*(-7 + c^2*x^2) + 6*c*x*(-3 + c^2*x^2)*ArcCos[c 
*x] - 9*(1 - c^2*x^2)^(3/2)*ArcCos[c*x]^2))/(27*Sqrt[1 - c^2*x^2]) + a^2*d 
^(3/2)*e^(3/2)*Log[c*x] - a^2*d^(3/2)*e^(3/2)*Log[d*e + Sqrt[d]*Sqrt[e]*Sq 
rt[d + c*d*x]*Sqrt[e - c*e*x]] + (2*a*b*d*e*Sqrt[d + c*d*x]*Sqrt[e - c*e*x 
]*(c*x + Sqrt[1 - c^2*x^2]*ArcCos[c*x] - ArcCos[c*x]*Log[1 - I*E^(I*ArcCos 
[c*x])] + ArcCos[c*x]*Log[1 + I*E^(I*ArcCos[c*x])] - I*PolyLog[2, (-I)*E^( 
I*ArcCos[c*x])] + I*PolyLog[2, I*E^(I*ArcCos[c*x])]))/Sqrt[1 - c^2*x^2] + 
(b^2*d*e*Sqrt[d + c*d*x]*Sqrt[e - c*e*x]*(-2*Sqrt[1 - c^2*x^2] + 2*c*x*Arc 
Cos[c*x] + Sqrt[1 - c^2*x^2]*ArcCos[c*x]^2 - ArcCos[c*x]^2*Log[1 - I*E^(I* 
ArcCos[c*x])] + ArcCos[c*x]^2*Log[1 + I*E^(I*ArcCos[c*x])] - (2*I)*ArcCos[ 
c*x]*PolyLog[2, (-I)*E^(I*ArcCos[c*x])] + (2*I)*ArcCos[c*x]*PolyLog[2, I*E 
^(I*ArcCos[c*x])] + 2*PolyLog[3, (-I)*E^(I*ArcCos[c*x])] - 2*PolyLog[3, I* 
E^(I*ArcCos[c*x])]))/Sqrt[1 - c^2*x^2]
 

Rubi [A] (verified)

Time = 2.21 (sec) , antiderivative size = 336, normalized size of antiderivative = 0.52, number of steps used = 16, number of rules used = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.429, Rules used = {5239, 5203, 5155, 27, 353, 53, 2009, 5199, 2009, 5219, 3042, 4669, 3011, 2720, 7143}

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 {(c d x+d)^{3/2} (e-c e x)^{3/2} (a+b \arccos (c x))^2}{x} \, dx\)

\(\Big \downarrow \) 5239

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

\(\Big \downarrow \) 5203

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

\(\Big \downarrow \) 5155

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

\(\Big \downarrow \) 27

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

\(\Big \downarrow \) 353

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

\(\Big \downarrow \) 53

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

\(\Big \downarrow \) 2009

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

\(\Big \downarrow \) 5199

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

\(\Big \downarrow \) 2009

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

\(\Big \downarrow \) 5219

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

\(\Big \downarrow \) 3042

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

\(\Big \downarrow \) 4669

\(\displaystyle \frac {d e \sqrt {c d x+d} \sqrt {e-c e x} \left (2 b \int (a+b \arccos (c x)) \log \left (1-i e^{i \arccos (c x)}\right )d\arccos (c x)-2 b \int (a+b \arccos (c x)) \log \left (1+i e^{i \arccos (c x)}\right )d\arccos (c x)+2 i \arctan \left (e^{i \arccos (c x)}\right ) (a+b \arccos (c x))^2+\frac {1}{3} \left (1-c^2 x^2\right )^{3/2} (a+b \arccos (c x))^2+\sqrt {1-c^2 x^2} (a+b \arccos (c x))^2+2 b c \left (a x+b x \arccos (c x)-\frac {b \sqrt {1-c^2 x^2}}{c}\right )+\frac {2}{3} b c \left (-\frac {1}{3} c^2 x^3 (a+b \arccos (c x))+x (a+b \arccos (c x))+\frac {1}{6} b c \left (-\frac {2 \left (1-c^2 x^2\right )^{3/2}}{3 c^2}-\frac {4 \sqrt {1-c^2 x^2}}{c^2}\right )\right )\right )}{\sqrt {1-c^2 x^2}}\)

\(\Big \downarrow \) 3011

\(\displaystyle \frac {d e \sqrt {c d x+d} \sqrt {e-c e x} \left (-2 b \left (i \operatorname {PolyLog}\left (2,-i e^{i \arccos (c x)}\right ) (a+b \arccos (c x))-i b \int \operatorname {PolyLog}\left (2,-i e^{i \arccos (c x)}\right )d\arccos (c x)\right )+2 b \left (i \operatorname {PolyLog}\left (2,i e^{i \arccos (c x)}\right ) (a+b \arccos (c x))-i b \int \operatorname {PolyLog}\left (2,i e^{i \arccos (c x)}\right )d\arccos (c x)\right )+2 i \arctan \left (e^{i \arccos (c x)}\right ) (a+b \arccos (c x))^2+\frac {1}{3} \left (1-c^2 x^2\right )^{3/2} (a+b \arccos (c x))^2+\sqrt {1-c^2 x^2} (a+b \arccos (c x))^2+2 b c \left (a x+b x \arccos (c x)-\frac {b \sqrt {1-c^2 x^2}}{c}\right )+\frac {2}{3} b c \left (-\frac {1}{3} c^2 x^3 (a+b \arccos (c x))+x (a+b \arccos (c x))+\frac {1}{6} b c \left (-\frac {2 \left (1-c^2 x^2\right )^{3/2}}{3 c^2}-\frac {4 \sqrt {1-c^2 x^2}}{c^2}\right )\right )\right )}{\sqrt {1-c^2 x^2}}\)

\(\Big \downarrow \) 2720

\(\displaystyle \frac {d e \sqrt {c d x+d} \sqrt {e-c e x} \left (-2 b \left (i \operatorname {PolyLog}\left (2,-i e^{i \arccos (c x)}\right ) (a+b \arccos (c x))-b \int e^{-i \arccos (c x)} \operatorname {PolyLog}\left (2,-i e^{i \arccos (c x)}\right )de^{i \arccos (c x)}\right )+2 b \left (i \operatorname {PolyLog}\left (2,i e^{i \arccos (c x)}\right ) (a+b \arccos (c x))-b \int e^{-i \arccos (c x)} \operatorname {PolyLog}\left (2,i e^{i \arccos (c x)}\right )de^{i \arccos (c x)}\right )+2 i \arctan \left (e^{i \arccos (c x)}\right ) (a+b \arccos (c x))^2+\frac {1}{3} \left (1-c^2 x^2\right )^{3/2} (a+b \arccos (c x))^2+\sqrt {1-c^2 x^2} (a+b \arccos (c x))^2+2 b c \left (a x+b x \arccos (c x)-\frac {b \sqrt {1-c^2 x^2}}{c}\right )+\frac {2}{3} b c \left (-\frac {1}{3} c^2 x^3 (a+b \arccos (c x))+x (a+b \arccos (c x))+\frac {1}{6} b c \left (-\frac {2 \left (1-c^2 x^2\right )^{3/2}}{3 c^2}-\frac {4 \sqrt {1-c^2 x^2}}{c^2}\right )\right )\right )}{\sqrt {1-c^2 x^2}}\)

\(\Big \downarrow \) 7143

\(\displaystyle \frac {d e \sqrt {c d x+d} \sqrt {e-c e x} \left (2 i \arctan \left (e^{i \arccos (c x)}\right ) (a+b \arccos (c x))^2+\frac {1}{3} \left (1-c^2 x^2\right )^{3/2} (a+b \arccos (c x))^2+\sqrt {1-c^2 x^2} (a+b \arccos (c x))^2+2 b c \left (a x+b x \arccos (c x)-\frac {b \sqrt {1-c^2 x^2}}{c}\right )+\frac {2}{3} b c \left (-\frac {1}{3} c^2 x^3 (a+b \arccos (c x))+x (a+b \arccos (c x))+\frac {1}{6} b c \left (-\frac {2 \left (1-c^2 x^2\right )^{3/2}}{3 c^2}-\frac {4 \sqrt {1-c^2 x^2}}{c^2}\right )\right )-2 b \left (i \operatorname {PolyLog}\left (2,-i e^{i \arccos (c x)}\right ) (a+b \arccos (c x))-b \operatorname {PolyLog}\left (3,-i e^{i \arccos (c x)}\right )\right )+2 b \left (i \operatorname {PolyLog}\left (2,i e^{i \arccos (c x)}\right ) (a+b \arccos (c x))-b \operatorname {PolyLog}\left (3,i e^{i \arccos (c x)}\right )\right )\right )}{\sqrt {1-c^2 x^2}}\)

Input:

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

Output:

(d*e*Sqrt[d + c*d*x]*Sqrt[e - c*e*x]*(Sqrt[1 - c^2*x^2]*(a + b*ArcCos[c*x] 
)^2 + ((1 - c^2*x^2)^(3/2)*(a + b*ArcCos[c*x])^2)/3 + 2*b*c*(a*x - (b*Sqrt 
[1 - c^2*x^2])/c + b*x*ArcCos[c*x]) + (2*b*c*((b*c*((-4*Sqrt[1 - c^2*x^2]) 
/c^2 - (2*(1 - c^2*x^2)^(3/2))/(3*c^2)))/6 + x*(a + b*ArcCos[c*x]) - (c^2* 
x^3*(a + b*ArcCos[c*x]))/3))/3 + (2*I)*(a + b*ArcCos[c*x])^2*ArcTan[E^(I*A 
rcCos[c*x])] - 2*b*(I*(a + b*ArcCos[c*x])*PolyLog[2, (-I)*E^(I*ArcCos[c*x] 
)] - b*PolyLog[3, (-I)*E^(I*ArcCos[c*x])]) + 2*b*(I*(a + b*ArcCos[c*x])*Po 
lyLog[2, I*E^(I*ArcCos[c*x])] - b*PolyLog[3, I*E^(I*ArcCos[c*x])])))/Sqrt[ 
1 - c^2*x^2]
 

Defintions of rubi rules used

rule 27
Int[(a_)*(Fx_), x_Symbol] :> Simp[a   Int[Fx, x], x] /; FreeQ[a, x] &&  !Ma 
tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
 

rule 53
Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int 
[ExpandIntegrand[(a + b*x)^m*(c + d*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, 
x] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0] && LeQ[7*m + 4*n + 4, 0]) 
|| LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])
 

rule 353
Int[(x_)*((a_) + (b_.)*(x_)^2)^(p_.)*((c_) + (d_.)*(x_)^2)^(q_.), x_Symbol] 
 :> Simp[1/2   Subst[Int[(a + b*x)^p*(c + d*x)^q, x], x, x^2], x] /; FreeQ[ 
{a, b, c, d, p, q}, x] && NeQ[b*c - a*d, 0]
 

rule 2009
Int[u_, x_Symbol] :> Simp[IntSum[u, x], x] /; SumQ[u]
 

rule 2720
Int[u_, x_Symbol] :> With[{v = FunctionOfExponential[u, x]}, Simp[v/D[v, x] 
   Subst[Int[FunctionOfExponentialFunction[u, x]/x, x], x, v], x]] /; Funct 
ionOfExponentialQ[u, x] &&  !MatchQ[u, (w_)*((a_.)*(v_)^(n_))^(m_) /; FreeQ 
[{a, m, n}, x] && IntegerQ[m*n]] &&  !MatchQ[u, E^((c_.)*((a_.) + (b_.)*x)) 
*(F_)[v_] /; FreeQ[{a, b, c}, x] && InverseFunctionQ[F[x]]]
 

rule 3011
Int[Log[1 + (e_.)*((F_)^((c_.)*((a_.) + (b_.)*(x_))))^(n_.)]*((f_.) + (g_.) 
*(x_))^(m_.), x_Symbol] :> Simp[(-(f + g*x)^m)*(PolyLog[2, (-e)*(F^(c*(a + 
b*x)))^n]/(b*c*n*Log[F])), x] + Simp[g*(m/(b*c*n*Log[F]))   Int[(f + g*x)^( 
m - 1)*PolyLog[2, (-e)*(F^(c*(a + b*x)))^n], x], x] /; FreeQ[{F, a, b, c, e 
, f, g, n}, x] && GtQ[m, 0]
 

rule 3042
Int[u_, x_Symbol] :> Int[DeactivateTrig[u, x], x] /; FunctionOfTrigOfLinear 
Q[u, x]
 

rule 4669
Int[csc[(e_.) + Pi*(k_.) + (f_.)*(x_)]*((c_.) + (d_.)*(x_))^(m_.), x_Symbol 
] :> Simp[-2*(c + d*x)^m*(ArcTanh[E^(I*k*Pi)*E^(I*(e + f*x))]/f), x] + (-Si 
mp[d*(m/f)   Int[(c + d*x)^(m - 1)*Log[1 - E^(I*k*Pi)*E^(I*(e + f*x))], x], 
 x] + Simp[d*(m/f)   Int[(c + d*x)^(m - 1)*Log[1 + E^(I*k*Pi)*E^(I*(e + f*x 
))], x], x]) /; FreeQ[{c, d, e, f}, x] && IntegerQ[2*k] && IGtQ[m, 0]
 

rule 5155
Int[((a_.) + ArcCos[(c_.)*(x_)]*(b_.))*((d_) + (e_.)*(x_)^2)^(p_.), x_Symbo 
l] :> With[{u = IntHide[(d + e*x^2)^p, x]}, Simp[(a + b*ArcCos[c*x])   u, x 
] + Simp[b*c   Int[SimplifyIntegrand[u/Sqrt[1 - c^2*x^2], x], x], x]] /; Fr 
eeQ[{a, b, c, d, e}, x] && EqQ[c^2*d + e, 0] && IGtQ[p, 0]
 

rule 5199
Int[((a_.) + ArcCos[(c_.)*(x_)]*(b_.))^(n_.)*((f_.)*(x_))^(m_)*Sqrt[(d_) + 
(e_.)*(x_)^2], x_Symbol] :> Simp[(f*x)^(m + 1)*Sqrt[d + e*x^2]*((a + b*ArcC 
os[c*x])^n/(f*(m + 2))), x] + (Simp[(1/(m + 2))*Simp[Sqrt[d + e*x^2]/Sqrt[1 
 - c^2*x^2]]   Int[(f*x)^m*((a + b*ArcCos[c*x])^n/Sqrt[1 - c^2*x^2]), x], x 
] + Simp[b*c*(n/(f*(m + 2)))*Simp[Sqrt[d + e*x^2]/Sqrt[1 - c^2*x^2]]   Int[ 
(f*x)^(m + 1)*(a + b*ArcCos[c*x])^(n - 1), x], x]) /; FreeQ[{a, b, c, d, e, 
 f, m}, x] && EqQ[c^2*d + e, 0] && GtQ[n, 0] && (IGtQ[m, -2] || EqQ[n, 1])
 

rule 5203
Int[((a_.) + ArcCos[(c_.)*(x_)]*(b_.))^(n_.)*((f_.)*(x_))^(m_)*((d_) + (e_. 
)*(x_)^2)^(p_.), x_Symbol] :> Simp[(f*x)^(m + 1)*(d + e*x^2)^p*((a + b*ArcC 
os[c*x])^n/(f*(m + 2*p + 1))), x] + (Simp[2*d*(p/(m + 2*p + 1))   Int[(f*x) 
^m*(d + e*x^2)^(p - 1)*(a + b*ArcCos[c*x])^n, x], x] + Simp[b*c*(n/(f*(m + 
2*p + 1)))*Simp[(d + e*x^2)^p/(1 - c^2*x^2)^p]   Int[(f*x)^(m + 1)*(1 - c^2 
*x^2)^(p - 1/2)*(a + b*ArcCos[c*x])^(n - 1), x], x]) /; FreeQ[{a, b, c, d, 
e, f, m}, x] && EqQ[c^2*d + e, 0] && GtQ[n, 0] && GtQ[p, 0] &&  !LtQ[m, -1]
 

rule 5219
Int[(((a_.) + ArcCos[(c_.)*(x_)]*(b_.))^(n_.)*(x_)^(m_))/Sqrt[(d_) + (e_.)* 
(x_)^2], x_Symbol] :> Simp[(-(c^(m + 1))^(-1))*Simp[Sqrt[1 - c^2*x^2]/Sqrt[ 
d + e*x^2]]   Subst[Int[(a + b*x)^n*Cos[x]^m, x], x, ArcCos[c*x]], x] /; Fr 
eeQ[{a, b, c, d, e}, x] && EqQ[c^2*d + e, 0] && IGtQ[n, 0] && IntegerQ[m]
 

rule 5239
Int[((a_.) + ArcCos[(c_.)*(x_)]*(b_.))^(n_.)*((h_.)*(x_))^(m_.)*((d_) + (e_ 
.)*(x_))^(p_)*((f_) + (g_.)*(x_))^(q_), x_Symbol] :> Simp[((-d^2)*(g/e))^In 
tPart[q]*(d + e*x)^FracPart[q]*((f + g*x)^FracPart[q]/(1 - c^2*x^2)^FracPar 
t[q])   Int[(h*x)^m*(d + e*x)^(p - q)*(1 - c^2*x^2)^q*(a + b*ArcCos[c*x])^n 
, x], x] /; FreeQ[{a, b, c, d, e, f, g, h, m, n}, x] && EqQ[e*f + d*g, 0] & 
& EqQ[c^2*d^2 - e^2, 0] && HalfIntegerQ[p, q] && GeQ[p - q, 0]
 

rule 7143
Int[PolyLog[n_, (c_.)*((a_.) + (b_.)*(x_))^(p_.)]/((d_.) + (e_.)*(x_)), x_S 
ymbol] :> Simp[PolyLog[n + 1, c*(a + b*x)^p]/(e*p), x] /; FreeQ[{a, b, c, d 
, e, n, p}, x] && EqQ[b*d, a*e]
 
Maple [A] (verified)

Time = 5.49 (sec) , antiderivative size = 1201, normalized size of antiderivative = 1.86

method result size
default \(\text {Expression too large to display}\) \(1201\)
parts \(\text {Expression too large to display}\) \(1201\)

Input:

int((c*d*x+d)^(3/2)*(-c*e*x+e)^(3/2)*(a+b*arccos(c*x))^2/x,x,method=_RETUR 
NVERBOSE)
 

Output:

-1/3*a^2*(d*(c*x+1))^(1/2)*(-e*(c*x-1))^(1/2)*d*e*(x^2*c^2*(d*e)^(1/2)*(-d 
*e*(c^2*x^2-1))^(1/2)+3*d*e*ln(2*((d*e)^(1/2)*(-d*e*(c^2*x^2-1))^(1/2)+d*e 
)/x)-4*(d*e)^(1/2)*(-d*e*(c^2*x^2-1))^(1/2))/(d*e)^(1/2)/(-d*e*(c^2*x^2-1) 
)^(1/2)+b^2*(-1/216*(d*(c*x+1))^(1/2)*(-e*(c*x-1))^(1/2)*(4*c^4*x^4-5*c^2* 
x^2+4*I*(-c^2*x^2+1)^(1/2)*x^3*c^3-3*I*(-c^2*x^2+1)^(1/2)*c*x+1)*(6*I*arcc 
os(c*x)+9*arccos(c*x)^2-2)*d*e/(c^2*x^2-1)+5/8*(d*(c*x+1))^(1/2)*(-e*(c*x- 
1))^(1/2)*(-I*(-c^2*x^2+1)^(1/2)*x*c+c^2*x^2-1)*(arccos(c*x)^2-2-2*I*arcco 
s(c*x))*d*e/(c^2*x^2-1)-(d*(c*x+1))^(1/2)*(-e*(c*x-1))^(1/2)*(-c^2*x^2+1)^ 
(1/2)/(c^2*x^2-1)*(arccos(c*x)^2*ln(1+I*(c*x+I*(-c^2*x^2+1)^(1/2)))-arccos 
(c*x)^2*ln(1-I*(c*x+I*(-c^2*x^2+1)^(1/2)))-2*I*arccos(c*x)*polylog(2,-I*(c 
*x+I*(-c^2*x^2+1)^(1/2)))+2*I*arccos(c*x)*polylog(2,I*(c*x+I*(-c^2*x^2+1)^ 
(1/2)))+2*polylog(3,-I*(c*x+I*(-c^2*x^2+1)^(1/2)))-2*polylog(3,I*(c*x+I*(- 
c^2*x^2+1)^(1/2))))*d*e-1/27*(d*(c*x+1))^(1/2)*(-e*(c*x-1))^(1/2)*(-I*(-c^ 
2*x^2+1)^(1/2)*x*c+c^2*x^2-1)*(33*I*arccos(c*x)+18*arccos(c*x)^2-34)*cos(2 
*arccos(c*x))*d*e/(c^2*x^2-1)-1/108*(d*(c*x+1))^(1/2)*(-e*(c*x-1))^(1/2)*( 
I*c^2*x^2+c*x*(-c^2*x^2+1)^(1/2)-I)*(138*I*arccos(c*x)+63*arccos(c*x)^2-13 
4)*sin(2*arccos(c*x))*d*e/(c^2*x^2-1))+2*a*b*(-1/72*(d*(c*x+1))^(1/2)*(-e* 
(c*x-1))^(1/2)*(4*c^4*x^4-5*c^2*x^2+4*I*(-c^2*x^2+1)^(1/2)*x^3*c^3-3*I*(-c 
^2*x^2+1)^(1/2)*c*x+1)*(I+3*arccos(c*x))*d*e/(c^2*x^2-1)+5/8*(d*(c*x+1))^( 
1/2)*(-e*(c*x-1))^(1/2)*(-I*(-c^2*x^2+1)^(1/2)*x*c+c^2*x^2-1)*(arccos(c...
 

Fricas [F]

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

integrate((c*d*x+d)^(3/2)*(-c*e*x+e)^(3/2)*(a+b*arccos(c*x))^2/x,x, algori 
thm="fricas")
 

Output:

integral(-(a^2*c^2*d*e*x^2 - a^2*d*e + (b^2*c^2*d*e*x^2 - b^2*d*e)*arccos( 
c*x)^2 + 2*(a*b*c^2*d*e*x^2 - a*b*d*e)*arccos(c*x))*sqrt(c*d*x + d)*sqrt(- 
c*e*x + e)/x, x)
 

Sympy [F(-1)]

Timed out. \[ \int \frac {(d+c d x)^{3/2} (e-c e x)^{3/2} (a+b \arccos (c x))^2}{x} \, dx=\text {Timed out} \] Input:

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

Output:

Timed out
 

Maxima [F(-2)]

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

integrate((c*d*x+d)^(3/2)*(-c*e*x+e)^(3/2)*(a+b*arccos(c*x))^2/x,x, algori 
thm="maxima")
 

Output:

Exception raised: ValueError >> Computation failed since Maxima requested 
additional constraints; using the 'assume' command before evaluation *may* 
 help (example of legal syntax is 'assume(e>0)', see `assume?` for more de 
tails)Is e
 

Giac [F]

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

integrate((c*d*x+d)^(3/2)*(-c*e*x+e)^(3/2)*(a+b*arccos(c*x))^2/x,x, algori 
thm="giac")
 

Output:

integrate((c*d*x + d)^(3/2)*(-c*e*x + e)^(3/2)*(b*arccos(c*x) + a)^2/x, x)
 

Mupad [F(-1)]

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

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

Output:

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

Reduce [F]

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

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

Output:

(sqrt(e)*sqrt(d)*d*e*( - sqrt(c*x + 1)*sqrt( - c*x + 1)*a**2*c**2*x**2 + 4 
*sqrt(c*x + 1)*sqrt( - c*x + 1)*a**2 + 6*int((sqrt(c*x + 1)*sqrt( - c*x + 
1)*acos(c*x))/x,x)*a*b + 3*int((sqrt(c*x + 1)*sqrt( - c*x + 1)*acos(c*x)** 
2)/x,x)*b**2 - 6*int(sqrt(c*x + 1)*sqrt( - c*x + 1)*acos(c*x)*x,x)*a*b*c** 
2 - 3*int(sqrt(c*x + 1)*sqrt( - c*x + 1)*acos(c*x)**2*x,x)*b**2*c**2 - 3*l 
og( - sqrt(2) + tan(asin(sqrt( - c*x + 1)/sqrt(2))/2) - 1)*a**2 + 3*log( - 
 sqrt(2) + tan(asin(sqrt( - c*x + 1)/sqrt(2))/2) + 1)*a**2 - 3*log(sqrt(2) 
 + tan(asin(sqrt( - c*x + 1)/sqrt(2))/2) - 1)*a**2 + 3*log(sqrt(2) + tan(a 
sin(sqrt( - c*x + 1)/sqrt(2))/2) + 1)*a**2))/3