Integrand size = 22, antiderivative size = 354 \[ \int \frac {\left (c+a^2 c x^2\right )^3 \arctan (a x)^3}{x^2} \, dx=-\frac {1}{20} a^3 c^3 x^2+\frac {21}{10} a^2 c^3 x \arctan (a x)+\frac {1}{10} a^4 c^3 x^3 \arctan (a x)-\frac {21}{20} a c^3 \arctan (a x)^2-\frac {6}{5} a^3 c^3 x^2 \arctan (a x)^2-\frac {3}{20} a^5 c^3 x^4 \arctan (a x)^2+\frac {6}{5} i a c^3 \arctan (a x)^3-\frac {c^3 \arctan (a x)^3}{x}+3 a^2 c^3 x \arctan (a x)^3+a^4 c^3 x^3 \arctan (a x)^3+\frac {1}{5} a^6 c^3 x^5 \arctan (a x)^3+\frac {33}{5} a c^3 \arctan (a x)^2 \log \left (\frac {2}{1+i a x}\right )-a c^3 \log \left (1+a^2 x^2\right )+3 a c^3 \arctan (a x)^2 \log \left (2-\frac {2}{1-i a x}\right )-3 i a c^3 \arctan (a x) \operatorname {PolyLog}\left (2,-1+\frac {2}{1-i a x}\right )+\frac {33}{5} i a c^3 \arctan (a x) \operatorname {PolyLog}\left (2,1-\frac {2}{1+i a x}\right )+\frac {3}{2} a c^3 \operatorname {PolyLog}\left (3,-1+\frac {2}{1-i a x}\right )+\frac {33}{10} a c^3 \operatorname {PolyLog}\left (3,1-\frac {2}{1+i a x}\right ) \] Output:
-1/20*a^3*c^3*x^2+21/10*a^2*c^3*x*arctan(a*x)+1/10*a^4*c^3*x^3*arctan(a*x) -21/20*a*c^3*arctan(a*x)^2-6/5*a^3*c^3*x^2*arctan(a*x)^2-3/20*a^5*c^3*x^4* arctan(a*x)^2+6/5*I*a*c^3*arctan(a*x)^3-c^3*arctan(a*x)^3/x+3*a^2*c^3*x*ar ctan(a*x)^3+a^4*c^3*x^3*arctan(a*x)^3+1/5*a^6*c^3*x^5*arctan(a*x)^3+33/5*a *c^3*arctan(a*x)^2*ln(2/(1+I*a*x))-a*c^3*ln(a^2*x^2+1)+3*a*c^3*arctan(a*x) ^2*ln(2-2/(1-I*a*x))+33/5*I*a*c^3*arctan(a*x)*polylog(2,1-2/(1+I*a*x))-3*I *a*c^3*arctan(a*x)*polylog(2,-1+2/(1-I*a*x))+3/2*a*c^3*polylog(3,-1+2/(1-I *a*x))+33/10*a*c^3*polylog(3,1-2/(1+I*a*x))
Time = 0.52 (sec) , antiderivative size = 298, normalized size of antiderivative = 0.84 \[ \int \frac {\left (c+a^2 c x^2\right )^3 \arctan (a x)^3}{x^2} \, dx=\frac {c^3 \left (-2 a x-5 i a \pi ^3 x-2 a^3 x^3+84 a^2 x^2 \arctan (a x)+4 a^4 x^4 \arctan (a x)-42 a x \arctan (a x)^2-48 a^3 x^3 \arctan (a x)^2-6 a^5 x^5 \arctan (a x)^2-40 \arctan (a x)^3-48 i a x \arctan (a x)^3+120 a^2 x^2 \arctan (a x)^3+40 a^4 x^4 \arctan (a x)^3+8 a^6 x^6 \arctan (a x)^3+120 a x \arctan (a x)^2 \log \left (1-e^{-2 i \arctan (a x)}\right )+264 a x \arctan (a x)^2 \log \left (1+e^{2 i \arctan (a x)}\right )-40 a x \log \left (1+a^2 x^2\right )+120 i a x \arctan (a x) \operatorname {PolyLog}\left (2,e^{-2 i \arctan (a x)}\right )-264 i a x \arctan (a x) \operatorname {PolyLog}\left (2,-e^{2 i \arctan (a x)}\right )+60 a x \operatorname {PolyLog}\left (3,e^{-2 i \arctan (a x)}\right )+132 a x \operatorname {PolyLog}\left (3,-e^{2 i \arctan (a x)}\right )\right )}{40 x} \] Input:
Integrate[((c + a^2*c*x^2)^3*ArcTan[a*x]^3)/x^2,x]
Output:
(c^3*(-2*a*x - (5*I)*a*Pi^3*x - 2*a^3*x^3 + 84*a^2*x^2*ArcTan[a*x] + 4*a^4 *x^4*ArcTan[a*x] - 42*a*x*ArcTan[a*x]^2 - 48*a^3*x^3*ArcTan[a*x]^2 - 6*a^5 *x^5*ArcTan[a*x]^2 - 40*ArcTan[a*x]^3 - (48*I)*a*x*ArcTan[a*x]^3 + 120*a^2 *x^2*ArcTan[a*x]^3 + 40*a^4*x^4*ArcTan[a*x]^3 + 8*a^6*x^6*ArcTan[a*x]^3 + 120*a*x*ArcTan[a*x]^2*Log[1 - E^((-2*I)*ArcTan[a*x])] + 264*a*x*ArcTan[a*x ]^2*Log[1 + E^((2*I)*ArcTan[a*x])] - 40*a*x*Log[1 + a^2*x^2] + (120*I)*a*x *ArcTan[a*x]*PolyLog[2, E^((-2*I)*ArcTan[a*x])] - (264*I)*a*x*ArcTan[a*x]* PolyLog[2, -E^((2*I)*ArcTan[a*x])] + 60*a*x*PolyLog[3, E^((-2*I)*ArcTan[a* x])] + 132*a*x*PolyLog[3, -E^((2*I)*ArcTan[a*x])]))/(40*x)
Time = 1.58 (sec) , antiderivative size = 354, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {5483, 2009}
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 {\arctan (a x)^3 \left (a^2 c x^2+c\right )^3}{x^2} \, dx\) |
\(\Big \downarrow \) 5483 |
\(\displaystyle \int \left (a^6 c^3 x^4 \arctan (a x)^3+3 a^4 c^3 x^2 \arctan (a x)^3+3 a^2 c^3 \arctan (a x)^3+\frac {c^3 \arctan (a x)^3}{x^2}\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle \frac {1}{5} a^6 c^3 x^5 \arctan (a x)^3-\frac {3}{20} a^5 c^3 x^4 \arctan (a x)^2+a^4 c^3 x^3 \arctan (a x)^3+\frac {1}{10} a^4 c^3 x^3 \arctan (a x)-\frac {6}{5} a^3 c^3 x^2 \arctan (a x)^2-\frac {1}{20} a^3 c^3 x^2+3 a^2 c^3 x \arctan (a x)^3+\frac {21}{10} a^2 c^3 x \arctan (a x)-a c^3 \log \left (a^2 x^2+1\right )-3 i a c^3 \arctan (a x) \operatorname {PolyLog}\left (2,\frac {2}{1-i a x}-1\right )+\frac {33}{5} i a c^3 \arctan (a x) \operatorname {PolyLog}\left (2,1-\frac {2}{i a x+1}\right )+\frac {6}{5} i a c^3 \arctan (a x)^3-\frac {21}{20} a c^3 \arctan (a x)^2-\frac {c^3 \arctan (a x)^3}{x}+\frac {33}{5} a c^3 \arctan (a x)^2 \log \left (\frac {2}{1+i a x}\right )+3 a c^3 \arctan (a x)^2 \log \left (2-\frac {2}{1-i a x}\right )+\frac {3}{2} a c^3 \operatorname {PolyLog}\left (3,\frac {2}{1-i a x}-1\right )+\frac {33}{10} a c^3 \operatorname {PolyLog}\left (3,1-\frac {2}{i a x+1}\right )\) |
Input:
Int[((c + a^2*c*x^2)^3*ArcTan[a*x]^3)/x^2,x]
Output:
-1/20*(a^3*c^3*x^2) + (21*a^2*c^3*x*ArcTan[a*x])/10 + (a^4*c^3*x^3*ArcTan[ a*x])/10 - (21*a*c^3*ArcTan[a*x]^2)/20 - (6*a^3*c^3*x^2*ArcTan[a*x]^2)/5 - (3*a^5*c^3*x^4*ArcTan[a*x]^2)/20 + ((6*I)/5)*a*c^3*ArcTan[a*x]^3 - (c^3*A rcTan[a*x]^3)/x + 3*a^2*c^3*x*ArcTan[a*x]^3 + a^4*c^3*x^3*ArcTan[a*x]^3 + (a^6*c^3*x^5*ArcTan[a*x]^3)/5 + (33*a*c^3*ArcTan[a*x]^2*Log[2/(1 + I*a*x)] )/5 - a*c^3*Log[1 + a^2*x^2] + 3*a*c^3*ArcTan[a*x]^2*Log[2 - 2/(1 - I*a*x) ] - (3*I)*a*c^3*ArcTan[a*x]*PolyLog[2, -1 + 2/(1 - I*a*x)] + ((33*I)/5)*a* c^3*ArcTan[a*x]*PolyLog[2, 1 - 2/(1 + I*a*x)] + (3*a*c^3*PolyLog[3, -1 + 2 /(1 - I*a*x)])/2 + (33*a*c^3*PolyLog[3, 1 - 2/(1 + I*a*x)])/10
Int[((a_.) + ArcTan[(c_.)*(x_)]*(b_.))^(p_.)*((f_.)*(x_))^(m_)*((d_) + (e_. )*(x_)^2)^(q_), x_Symbol] :> Int[ExpandIntegrand[(f*x)^m*(d + e*x^2)^q*(a + b*ArcTan[c*x])^p, x], x] /; FreeQ[{a, b, c, d, e, f, m}, x] && EqQ[e, c^2* d] && IGtQ[p, 0] && IGtQ[q, 1] && (EqQ[p, 1] || IntegerQ[m])
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 10.59 (sec) , antiderivative size = 1988, normalized size of antiderivative = 5.62
\[\text {Expression too large to display}\]
Input:
int((a^2*c*x^2+c)^3*arctan(a*x)^3/x^2,x)
Output:
a*(1/5*c^3*arctan(a*x)^3*a^5*x^5+c^3*arctan(a*x)^3*a^3*x^3+3*c^3*arctan(a* x)^3*a*x-c^3*arctan(a*x)^3/a/x-3/5*c^3*(4*I*Pi*csgn(I/((1+I*a*x)^2/(a^2*x^ 2+1)+1)^2)*csgn(I*(1+I*a*x)^2/(a^2*x^2+1))*csgn(I*(1+I*a*x)^2/(a^2*x^2+1)/ ((1+I*a*x)^2/(a^2*x^2+1)+1)^2)*arctan(a*x)^2+4*I*Pi*csgn(I*(1+I*a*x)/(a^2* x^2+1)^(1/2))^2*csgn(I*(1+I*a*x)^2/(a^2*x^2+1))*arctan(a*x)^2+8*I*Pi*csgn( I*((1+I*a*x)^2/(a^2*x^2+1)+1))*csgn(I*((1+I*a*x)^2/(a^2*x^2+1)+1)^2)^2*arc tan(a*x)^2+7/4*arctan(a*x)^2+2*arctan(a*x)^2*x^2*a^2-8*I*Pi*csgn(I*(1+I*a* x)/(a^2*x^2+1)^(1/2))*csgn(I*(1+I*a*x)^2/(a^2*x^2+1))^2*arctan(a*x)^2-4*I* Pi*csgn(I/((1+I*a*x)^2/(a^2*x^2+1)+1)^2)*csgn(I*(1+I*a*x)^2/(a^2*x^2+1)/(( 1+I*a*x)^2/(a^2*x^2+1)+1)^2)^2*arctan(a*x)^2-4*I*Pi*csgn(I*(1+I*a*x)^2/(a^ 2*x^2+1))*csgn(I*(1+I*a*x)^2/(a^2*x^2+1)/((1+I*a*x)^2/(a^2*x^2+1)+1)^2)^2* arctan(a*x)^2-4*I*Pi*csgn(I*((1+I*a*x)^2/(a^2*x^2+1)+1))^2*csgn(I*((1+I*a* x)^2/(a^2*x^2+1)+1)^2)*arctan(a*x)^2-10*polylog(3,(1+I*a*x)/(a^2*x^2+1)^(1 /2))-10*polylog(3,-(1+I*a*x)/(a^2*x^2+1)^(1/2))+16/3*I*arctan(a*x)^3+1/4*a ^4*arctan(a*x)^2*x^4-3*arctan(a*x)*(a*x-I)-5/2*I*Pi*csgn(I*((1+I*a*x)^2/(a ^2*x^2+1)-1))*csgn(I/((1+I*a*x)^2/(a^2*x^2+1)+1))*csgn(I*((1+I*a*x)^2/(a^2 *x^2+1)-1)/((1+I*a*x)^2/(a^2*x^2+1)+1))*arctan(a*x)^2-16*arctan(a*x)^2*ln( (1+I*a*x)/(a^2*x^2+1)^(1/2))-11/2*polylog(3,-(1+I*a*x)^2/(a^2*x^2+1))+5*ar ctan(a*x)^2*ln((1+I*a*x)^2/(a^2*x^2+1)-1)-10/3*ln((1+I*a*x)^2/(a^2*x^2+1)+ 1)+1/12*(a*x+I)^2-1/6*I*(a*x+I)-5*arctan(a*x)^2*ln(a*x)-5*arctan(a*x)^2...
\[ \int \frac {\left (c+a^2 c x^2\right )^3 \arctan (a x)^3}{x^2} \, dx=\int { \frac {{\left (a^{2} c x^{2} + c\right )}^{3} \arctan \left (a x\right )^{3}}{x^{2}} \,d x } \] Input:
integrate((a^2*c*x^2+c)^3*arctan(a*x)^3/x^2,x, algorithm="fricas")
Output:
integral((a^6*c^3*x^6 + 3*a^4*c^3*x^4 + 3*a^2*c^3*x^2 + c^3)*arctan(a*x)^3 /x^2, x)
\[ \int \frac {\left (c+a^2 c x^2\right )^3 \arctan (a x)^3}{x^2} \, dx=c^{3} \left (\int 3 a^{2} \operatorname {atan}^{3}{\left (a x \right )}\, dx + \int \frac {\operatorname {atan}^{3}{\left (a x \right )}}{x^{2}}\, dx + \int 3 a^{4} x^{2} \operatorname {atan}^{3}{\left (a x \right )}\, dx + \int a^{6} x^{4} \operatorname {atan}^{3}{\left (a x \right )}\, dx\right ) \] Input:
integrate((a**2*c*x**2+c)**3*atan(a*x)**3/x**2,x)
Output:
c**3*(Integral(3*a**2*atan(a*x)**3, x) + Integral(atan(a*x)**3/x**2, x) + Integral(3*a**4*x**2*atan(a*x)**3, x) + Integral(a**6*x**4*atan(a*x)**3, x ))
\[ \int \frac {\left (c+a^2 c x^2\right )^3 \arctan (a x)^3}{x^2} \, dx=\int { \frac {{\left (a^{2} c x^{2} + c\right )}^{3} \arctan \left (a x\right )^{3}}{x^{2}} \,d x } \] Input:
integrate((a^2*c*x^2+c)^3*arctan(a*x)^3/x^2,x, algorithm="maxima")
Output:
1/320*(8*(a^6*c^3*x^6 + 5*a^4*c^3*x^4 + 15*a^2*c^3*x^2 - 5*c^3)*arctan(a*x )^3 - 6*(a^6*c^3*x^6 + 5*a^4*c^3*x^4 + 15*a^2*c^3*x^2 - 5*c^3)*arctan(a*x) *log(a^2*x^2 + 1)^2 + 5*(8960*a^8*c^3*integrate(1/160*x^8*arctan(a*x)^3/(a ^2*x^4 + x^2), x) + 960*a^8*c^3*integrate(1/160*x^8*arctan(a*x)*log(a^2*x^ 2 + 1)^2/(a^2*x^4 + x^2), x) + 768*a^8*c^3*integrate(1/160*x^8*arctan(a*x) *log(a^2*x^2 + 1)/(a^2*x^4 + x^2), x) - 768*a^7*c^3*integrate(1/160*x^7*ar ctan(a*x)^2/(a^2*x^4 + x^2), x) + 192*a^7*c^3*integrate(1/160*x^7*log(a^2* x^2 + 1)^2/(a^2*x^4 + x^2), x) + 35840*a^6*c^3*integrate(1/160*x^6*arctan( a*x)^3/(a^2*x^4 + x^2), x) + 3840*a^6*c^3*integrate(1/160*x^6*arctan(a*x)* log(a^2*x^2 + 1)^2/(a^2*x^4 + x^2), x) + 3840*a^6*c^3*integrate(1/160*x^6* arctan(a*x)*log(a^2*x^2 + 1)/(a^2*x^4 + x^2), x) - 3840*a^5*c^3*integrate( 1/160*x^5*arctan(a*x)^2/(a^2*x^4 + x^2), x) + 960*a^5*c^3*integrate(1/160* x^5*log(a^2*x^2 + 1)^2/(a^2*x^4 + x^2), x) + 56*a*c^3*arctan(a*x)^4 + 5376 0*a^4*c^3*integrate(1/160*x^4*arctan(a*x)^3/(a^2*x^4 + x^2), x) + 5760*a^4 *c^3*integrate(1/160*x^4*arctan(a*x)*log(a^2*x^2 + 1)^2/(a^2*x^4 + x^2), x ) + 11520*a^4*c^3*integrate(1/160*x^4*arctan(a*x)*log(a^2*x^2 + 1)/(a^2*x^ 4 + x^2), x) - 11520*a^3*c^3*integrate(1/160*x^3*arctan(a*x)^2/(a^2*x^4 + x^2), x) + 3*a*c^3*log(a^2*x^2 + 1)^3 + 3840*a^2*c^3*integrate(1/160*x^2*a rctan(a*x)*log(a^2*x^2 + 1)^2/(a^2*x^4 + x^2), x) - 3840*a^2*c^3*integrate (1/160*x^2*arctan(a*x)*log(a^2*x^2 + 1)/(a^2*x^4 + x^2), x) + 3840*a*c^...
\[ \int \frac {\left (c+a^2 c x^2\right )^3 \arctan (a x)^3}{x^2} \, dx=\int { \frac {{\left (a^{2} c x^{2} + c\right )}^{3} \arctan \left (a x\right )^{3}}{x^{2}} \,d x } \] Input:
integrate((a^2*c*x^2+c)^3*arctan(a*x)^3/x^2,x, algorithm="giac")
Output:
integrate((a^2*c*x^2 + c)^3*arctan(a*x)^3/x^2, x)
Timed out. \[ \int \frac {\left (c+a^2 c x^2\right )^3 \arctan (a x)^3}{x^2} \, dx=\int \frac {{\mathrm {atan}\left (a\,x\right )}^3\,{\left (c\,a^2\,x^2+c\right )}^3}{x^2} \,d x \] Input:
int((atan(a*x)^3*(c + a^2*c*x^2)^3)/x^2,x)
Output:
int((atan(a*x)^3*(c + a^2*c*x^2)^3)/x^2, x)
\[ \int \frac {\left (c+a^2 c x^2\right )^3 \arctan (a x)^3}{x^2} \, dx=\frac {c^{3} \left (4 \mathit {atan} \left (a x \right )^{3} a^{6} x^{6}+20 \mathit {atan} \left (a x \right )^{3} a^{4} x^{4}+60 \mathit {atan} \left (a x \right )^{3} a^{2} x^{2}-20 \mathit {atan} \left (a x \right )^{3}-3 \mathit {atan} \left (a x \right )^{2} a^{5} x^{5}-24 \mathit {atan} \left (a x \right )^{2} a^{3} x^{3}-21 \mathit {atan} \left (a x \right )^{2} a x +2 \mathit {atan} \left (a x \right ) a^{4} x^{4}+42 \mathit {atan} \left (a x \right ) a^{2} x^{2}+60 \left (\int \frac {\mathit {atan} \left (a x \right )^{2}}{a^{2} x^{3}+x}d x \right ) a x -132 \left (\int \frac {\mathit {atan} \left (a x \right )^{2} x}{a^{2} x^{2}+1}d x \right ) a^{3} x -20 \,\mathrm {log}\left (a^{2} x^{2}+1\right ) a x -a^{3} x^{3}\right )}{20 x} \] Input:
int((a^2*c*x^2+c)^3*atan(a*x)^3/x^2,x)
Output:
(c**3*(4*atan(a*x)**3*a**6*x**6 + 20*atan(a*x)**3*a**4*x**4 + 60*atan(a*x) **3*a**2*x**2 - 20*atan(a*x)**3 - 3*atan(a*x)**2*a**5*x**5 - 24*atan(a*x)* *2*a**3*x**3 - 21*atan(a*x)**2*a*x + 2*atan(a*x)*a**4*x**4 + 42*atan(a*x)* a**2*x**2 + 60*int(atan(a*x)**2/(a**2*x**3 + x),x)*a*x - 132*int((atan(a*x )**2*x)/(a**2*x**2 + 1),x)*a**3*x - 20*log(a**2*x**2 + 1)*a*x - a**3*x**3) )/(20*x)