Integrand size = 25, antiderivative size = 263 \[ \int \frac {(a+b \arctan (c x))^3}{x^2 (d+i c d x)} \, dx=-\frac {i c (a+b \arctan (c x))^3}{d}-\frac {(a+b \arctan (c x))^3}{d x}+\frac {3 b c (a+b \arctan (c x))^2 \log \left (2-\frac {2}{1-i c x}\right )}{d}-\frac {i c (a+b \arctan (c x))^3 \log \left (2-\frac {2}{1+i c x}\right )}{d}-\frac {3 i b^2 c (a+b \arctan (c x)) \operatorname {PolyLog}\left (2,-1+\frac {2}{1-i c x}\right )}{d}+\frac {3 b c (a+b \arctan (c x))^2 \operatorname {PolyLog}\left (2,-1+\frac {2}{1+i c x}\right )}{2 d}+\frac {3 b^3 c \operatorname {PolyLog}\left (3,-1+\frac {2}{1-i c x}\right )}{2 d}-\frac {3 i b^2 c (a+b \arctan (c x)) \operatorname {PolyLog}\left (3,-1+\frac {2}{1+i c x}\right )}{2 d}-\frac {3 b^3 c \operatorname {PolyLog}\left (4,-1+\frac {2}{1+i c x}\right )}{4 d} \] Output:
-I*c*(a+b*arctan(c*x))^3/d-(a+b*arctan(c*x))^3/d/x+3*b*c*(a+b*arctan(c*x)) ^2*ln(2-2/(1-I*c*x))/d-I*c*(a+b*arctan(c*x))^3*ln(2-2/(1+I*c*x))/d-3*I*b^2 *c*(a+b*arctan(c*x))*polylog(2,-1+2/(1-I*c*x))/d+3/2*b*c*(a+b*arctan(c*x)) ^2*polylog(2,-1+2/(1+I*c*x))/d+3/2*b^3*c*polylog(3,-1+2/(1-I*c*x))/d-3/2*I *b^2*c*(a+b*arctan(c*x))*polylog(3,-1+2/(1+I*c*x))/d-3/4*b^3*c*polylog(4,- 1+2/(1+I*c*x))/d
Time = 1.11 (sec) , antiderivative size = 436, normalized size of antiderivative = 1.66 \[ \int \frac {(a+b \arctan (c x))^3}{x^2 (d+i c d x)} \, dx=-\frac {\frac {2 a^3}{x}+2 a^3 c \arctan (c x)+2 i a^3 c \log (x)-i a^3 c \log \left (1+c^2 x^2\right )+3 a^2 b c \left (2 \left (\arctan (c x)^2+\arctan (c x) \left (\frac {1}{c x}+i \log \left (1-e^{2 i \arctan (c x)}\right )\right )-\log \left (\frac {c x}{\sqrt {1+c^2 x^2}}\right )\right )+\operatorname {PolyLog}\left (2,e^{2 i \arctan (c x)}\right )\right )+6 i a b^2 c \left (-\frac {i \pi ^3}{24}+\arctan (c x)^2-\frac {i \arctan (c x)^2}{c x}+\arctan (c x)^2 \log \left (1-e^{-2 i \arctan (c x)}\right )+2 i \arctan (c x) \log \left (1-e^{2 i \arctan (c x)}\right )+i \arctan (c x) \operatorname {PolyLog}\left (2,e^{-2 i \arctan (c x)}\right )+\operatorname {PolyLog}\left (2,e^{2 i \arctan (c x)}\right )+\frac {1}{2} \operatorname {PolyLog}\left (3,e^{-2 i \arctan (c x)}\right )\right )+2 i b^3 c \left (\frac {\pi ^3}{8}-\frac {i \pi ^4}{64}-\arctan (c x)^3-\frac {i \arctan (c x)^3}{c x}+3 i \arctan (c x)^2 \log \left (1-e^{-2 i \arctan (c x)}\right )+\arctan (c x)^3 \log \left (1-e^{-2 i \arctan (c x)}\right )+\frac {3}{2} i \arctan (c x) (2 i+\arctan (c x)) \operatorname {PolyLog}\left (2,e^{-2 i \arctan (c x)}\right )+\frac {3}{2} (i+\arctan (c x)) \operatorname {PolyLog}\left (3,e^{-2 i \arctan (c x)}\right )-\frac {3}{4} i \operatorname {PolyLog}\left (4,e^{-2 i \arctan (c x)}\right )\right )}{2 d} \] Input:
Integrate[(a + b*ArcTan[c*x])^3/(x^2*(d + I*c*d*x)),x]
Output:
-1/2*((2*a^3)/x + 2*a^3*c*ArcTan[c*x] + (2*I)*a^3*c*Log[x] - I*a^3*c*Log[1 + c^2*x^2] + 3*a^2*b*c*(2*(ArcTan[c*x]^2 + ArcTan[c*x]*(1/(c*x) + I*Log[1 - E^((2*I)*ArcTan[c*x])]) - Log[(c*x)/Sqrt[1 + c^2*x^2]]) + PolyLog[2, E^ ((2*I)*ArcTan[c*x])]) + (6*I)*a*b^2*c*((-1/24*I)*Pi^3 + ArcTan[c*x]^2 - (I *ArcTan[c*x]^2)/(c*x) + ArcTan[c*x]^2*Log[1 - E^((-2*I)*ArcTan[c*x])] + (2 *I)*ArcTan[c*x]*Log[1 - E^((2*I)*ArcTan[c*x])] + I*ArcTan[c*x]*PolyLog[2, E^((-2*I)*ArcTan[c*x])] + PolyLog[2, E^((2*I)*ArcTan[c*x])] + PolyLog[3, E ^((-2*I)*ArcTan[c*x])]/2) + (2*I)*b^3*c*(Pi^3/8 - (I/64)*Pi^4 - ArcTan[c*x ]^3 - (I*ArcTan[c*x]^3)/(c*x) + (3*I)*ArcTan[c*x]^2*Log[1 - E^((-2*I)*ArcT an[c*x])] + ArcTan[c*x]^3*Log[1 - E^((-2*I)*ArcTan[c*x])] + ((3*I)/2)*ArcT an[c*x]*(2*I + ArcTan[c*x])*PolyLog[2, E^((-2*I)*ArcTan[c*x])] + (3*(I + A rcTan[c*x])*PolyLog[3, E^((-2*I)*ArcTan[c*x])])/2 - ((3*I)/4)*PolyLog[4, E ^((-2*I)*ArcTan[c*x])]))/d
Time = 2.04 (sec) , antiderivative size = 281, normalized size of antiderivative = 1.07, number of steps used = 10, number of rules used = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {5405, 27, 5361, 5403, 5459, 5403, 5527, 5529, 5533, 7164}
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 {(a+b \arctan (c x))^3}{x^2 (d+i c d x)} \, dx\) |
\(\Big \downarrow \) 5405 |
\(\displaystyle \frac {\int \frac {(a+b \arctan (c x))^3}{x^2}dx}{d}-i c \int \frac {(a+b \arctan (c x))^3}{d x (i c x+1)}dx\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {\int \frac {(a+b \arctan (c x))^3}{x^2}dx}{d}-\frac {i c \int \frac {(a+b \arctan (c x))^3}{x (i c x+1)}dx}{d}\) |
\(\Big \downarrow \) 5361 |
\(\displaystyle \frac {3 b c \int \frac {(a+b \arctan (c x))^2}{x \left (c^2 x^2+1\right )}dx-\frac {(a+b \arctan (c x))^3}{x}}{d}-\frac {i c \int \frac {(a+b \arctan (c x))^3}{x (i c x+1)}dx}{d}\) |
\(\Big \downarrow \) 5403 |
\(\displaystyle \frac {3 b c \int \frac {(a+b \arctan (c x))^2}{x \left (c^2 x^2+1\right )}dx-\frac {(a+b \arctan (c x))^3}{x}}{d}-\frac {i c \left (\log \left (2-\frac {2}{1+i c x}\right ) (a+b \arctan (c x))^3-3 b c \int \frac {(a+b \arctan (c x))^2 \log \left (2-\frac {2}{i c x+1}\right )}{c^2 x^2+1}dx\right )}{d}\) |
\(\Big \downarrow \) 5459 |
\(\displaystyle \frac {-\frac {(a+b \arctan (c x))^3}{x}+3 b c \left (i \int \frac {(a+b \arctan (c x))^2}{x (c x+i)}dx-\frac {i (a+b \arctan (c x))^3}{3 b}\right )}{d}-\frac {i c \left (\log \left (2-\frac {2}{1+i c x}\right ) (a+b \arctan (c x))^3-3 b c \int \frac {(a+b \arctan (c x))^2 \log \left (2-\frac {2}{i c x+1}\right )}{c^2 x^2+1}dx\right )}{d}\) |
\(\Big \downarrow \) 5403 |
\(\displaystyle \frac {-\frac {(a+b \arctan (c x))^3}{x}+3 b c \left (i \left (2 i b c \int \frac {(a+b \arctan (c x)) \log \left (2-\frac {2}{1-i c x}\right )}{c^2 x^2+1}dx-i \log \left (2-\frac {2}{1-i c x}\right ) (a+b \arctan (c x))^2\right )-\frac {i (a+b \arctan (c x))^3}{3 b}\right )}{d}-\frac {i c \left (\log \left (2-\frac {2}{1+i c x}\right ) (a+b \arctan (c x))^3-3 b c \int \frac {(a+b \arctan (c x))^2 \log \left (2-\frac {2}{i c x+1}\right )}{c^2 x^2+1}dx\right )}{d}\) |
\(\Big \downarrow \) 5527 |
\(\displaystyle \frac {-\frac {(a+b \arctan (c x))^3}{x}+3 b c \left (i \left (2 i b c \left (\frac {i \operatorname {PolyLog}\left (2,\frac {2}{1-i c x}-1\right ) (a+b \arctan (c x))}{2 c}-\frac {1}{2} i b \int \frac {\operatorname {PolyLog}\left (2,\frac {2}{1-i c x}-1\right )}{c^2 x^2+1}dx\right )-i \log \left (2-\frac {2}{1-i c x}\right ) (a+b \arctan (c x))^2\right )-\frac {i (a+b \arctan (c x))^3}{3 b}\right )}{d}-\frac {i c \left (\log \left (2-\frac {2}{1+i c x}\right ) (a+b \arctan (c x))^3-3 b c \int \frac {(a+b \arctan (c x))^2 \log \left (2-\frac {2}{i c x+1}\right )}{c^2 x^2+1}dx\right )}{d}\) |
\(\Big \downarrow \) 5529 |
\(\displaystyle \frac {-\frac {(a+b \arctan (c x))^3}{x}+3 b c \left (i \left (2 i b c \left (\frac {i \operatorname {PolyLog}\left (2,\frac {2}{1-i c x}-1\right ) (a+b \arctan (c x))}{2 c}-\frac {1}{2} i b \int \frac {\operatorname {PolyLog}\left (2,\frac {2}{1-i c x}-1\right )}{c^2 x^2+1}dx\right )-i \log \left (2-\frac {2}{1-i c x}\right ) (a+b \arctan (c x))^2\right )-\frac {i (a+b \arctan (c x))^3}{3 b}\right )}{d}-\frac {i c \left (\log \left (2-\frac {2}{1+i c x}\right ) (a+b \arctan (c x))^3-3 b c \left (i b \int \frac {(a+b \arctan (c x)) \operatorname {PolyLog}\left (2,\frac {2}{i c x+1}-1\right )}{c^2 x^2+1}dx-\frac {i \operatorname {PolyLog}\left (2,\frac {2}{i c x+1}-1\right ) (a+b \arctan (c x))^2}{2 c}\right )\right )}{d}\) |
\(\Big \downarrow \) 5533 |
\(\displaystyle \frac {-\frac {(a+b \arctan (c x))^3}{x}+3 b c \left (i \left (2 i b c \left (\frac {i \operatorname {PolyLog}\left (2,\frac {2}{1-i c x}-1\right ) (a+b \arctan (c x))}{2 c}-\frac {1}{2} i b \int \frac {\operatorname {PolyLog}\left (2,\frac {2}{1-i c x}-1\right )}{c^2 x^2+1}dx\right )-i \log \left (2-\frac {2}{1-i c x}\right ) (a+b \arctan (c x))^2\right )-\frac {i (a+b \arctan (c x))^3}{3 b}\right )}{d}-\frac {i c \left (\log \left (2-\frac {2}{1+i c x}\right ) (a+b \arctan (c x))^3-3 b c \left (i b \left (\frac {i \operatorname {PolyLog}\left (3,\frac {2}{i c x+1}-1\right ) (a+b \arctan (c x))}{2 c}-\frac {1}{2} i b \int \frac {\operatorname {PolyLog}\left (3,\frac {2}{i c x+1}-1\right )}{c^2 x^2+1}dx\right )-\frac {i \operatorname {PolyLog}\left (2,\frac {2}{i c x+1}-1\right ) (a+b \arctan (c x))^2}{2 c}\right )\right )}{d}\) |
\(\Big \downarrow \) 7164 |
\(\displaystyle \frac {-\frac {(a+b \arctan (c x))^3}{x}+3 b c \left (i \left (2 i b c \left (\frac {i \operatorname {PolyLog}\left (2,\frac {2}{1-i c x}-1\right ) (a+b \arctan (c x))}{2 c}-\frac {b \operatorname {PolyLog}\left (3,\frac {2}{1-i c x}-1\right )}{4 c}\right )-i \log \left (2-\frac {2}{1-i c x}\right ) (a+b \arctan (c x))^2\right )-\frac {i (a+b \arctan (c x))^3}{3 b}\right )}{d}-\frac {i c \left (\log \left (2-\frac {2}{1+i c x}\right ) (a+b \arctan (c x))^3-3 b c \left (i b \left (\frac {i \operatorname {PolyLog}\left (3,\frac {2}{i c x+1}-1\right ) (a+b \arctan (c x))}{2 c}+\frac {b \operatorname {PolyLog}\left (4,\frac {2}{i c x+1}-1\right )}{4 c}\right )-\frac {i \operatorname {PolyLog}\left (2,\frac {2}{i c x+1}-1\right ) (a+b \arctan (c x))^2}{2 c}\right )\right )}{d}\) |
Input:
Int[(a + b*ArcTan[c*x])^3/(x^2*(d + I*c*d*x)),x]
Output:
(-((a + b*ArcTan[c*x])^3/x) + 3*b*c*(((-1/3*I)*(a + b*ArcTan[c*x])^3)/b + I*((-I)*(a + b*ArcTan[c*x])^2*Log[2 - 2/(1 - I*c*x)] + (2*I)*b*c*(((I/2)*( a + b*ArcTan[c*x])*PolyLog[2, -1 + 2/(1 - I*c*x)])/c - (b*PolyLog[3, -1 + 2/(1 - I*c*x)])/(4*c)))))/d - (I*c*((a + b*ArcTan[c*x])^3*Log[2 - 2/(1 + I *c*x)] - 3*b*c*(((-1/2*I)*(a + b*ArcTan[c*x])^2*PolyLog[2, -1 + 2/(1 + I*c *x)])/c + I*b*(((I/2)*(a + b*ArcTan[c*x])*PolyLog[3, -1 + 2/(1 + I*c*x)])/ c + (b*PolyLog[4, -1 + 2/(1 + I*c*x)])/(4*c)))))/d
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[((a_.) + ArcTan[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)*(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)*((a + b*ArcTan[c*x^n])^p/(m + 1)), x] - Simp[b*c*n*(p/(m + 1)) Int[x^(m + n)*((a + b*ArcTan[c*x^n])^(p - 1)/(1 + c^2*x^(2*n))), x], x] /; FreeQ[{a, b, c, m, n}, x] && IGtQ[p, 0] && (EqQ[p, 1] || (EqQ[n, 1] & & IntegerQ[m])) && NeQ[m, -1]
Int[((a_.) + ArcTan[(c_.)*(x_)]*(b_.))^(p_.)/((x_)*((d_) + (e_.)*(x_))), x_ Symbol] :> Simp[(a + b*ArcTan[c*x])^p*(Log[2 - 2/(1 + e*(x/d))]/d), x] - Si mp[b*c*(p/d) Int[(a + b*ArcTan[c*x])^(p - 1)*(Log[2 - 2/(1 + e*(x/d))]/(1 + c^2*x^2)), x], x] /; FreeQ[{a, b, c, d, e}, x] && IGtQ[p, 0] && EqQ[c^2* d^2 + e^2, 0]
Int[(((a_.) + ArcTan[(c_.)*(x_)]*(b_.))^(p_.)*((f_.)*(x_))^(m_))/((d_) + (e _.)*(x_)), x_Symbol] :> Simp[1/d Int[(f*x)^m*(a + b*ArcTan[c*x])^p, x], x ] - Simp[e/(d*f) Int[(f*x)^(m + 1)*((a + b*ArcTan[c*x])^p/(d + e*x)), x], x] /; FreeQ[{a, b, c, d, e, f}, x] && IGtQ[p, 0] && EqQ[c^2*d^2 + e^2, 0] && LtQ[m, -1]
Int[((a_.) + ArcTan[(c_.)*(x_)]*(b_.))^(p_.)/((x_)*((d_) + (e_.)*(x_)^2)), x_Symbol] :> Simp[(-I)*((a + b*ArcTan[c*x])^(p + 1)/(b*d*(p + 1))), x] + Si mp[I/d Int[(a + b*ArcTan[c*x])^p/(x*(I + c*x)), x], x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[e, c^2*d] && GtQ[p, 0]
Int[(Log[u_]*((a_.) + ArcTan[(c_.)*(x_)]*(b_.))^(p_.))/((d_) + (e_.)*(x_)^2 ), x_Symbol] :> Simp[I*(a + b*ArcTan[c*x])^p*(PolyLog[2, 1 - u]/(2*c*d)), x ] - Simp[b*p*(I/2) Int[(a + b*ArcTan[c*x])^(p - 1)*(PolyLog[2, 1 - u]/(d + e*x^2)), x], x] /; FreeQ[{a, b, c, d, e}, x] && IGtQ[p, 0] && EqQ[e, c^2* d] && EqQ[(1 - u)^2 - (1 - 2*(I/(I + c*x)))^2, 0]
Int[(Log[u_]*((a_.) + ArcTan[(c_.)*(x_)]*(b_.))^(p_.))/((d_) + (e_.)*(x_)^2 ), x_Symbol] :> Simp[(-I)*(a + b*ArcTan[c*x])^p*(PolyLog[2, 1 - u]/(2*c*d)) , x] + Simp[b*p*(I/2) Int[(a + b*ArcTan[c*x])^(p - 1)*(PolyLog[2, 1 - u]/ (d + e*x^2)), x], x] /; FreeQ[{a, b, c, d, e}, x] && IGtQ[p, 0] && EqQ[e, c ^2*d] && EqQ[(1 - u)^2 - (1 - 2*(I/(I - c*x)))^2, 0]
Int[(((a_.) + ArcTan[(c_.)*(x_)]*(b_.))^(p_.)*PolyLog[k_, u_])/((d_) + (e_. )*(x_)^2), x_Symbol] :> Simp[I*(a + b*ArcTan[c*x])^p*(PolyLog[k + 1, u]/(2* c*d)), x] - Simp[b*p*(I/2) Int[(a + b*ArcTan[c*x])^(p - 1)*(PolyLog[k + 1 , u]/(d + e*x^2)), x], x] /; FreeQ[{a, b, c, d, e, k}, x] && IGtQ[p, 0] && EqQ[e, c^2*d] && EqQ[u^2 - (1 - 2*(I/(I - c*x)))^2, 0]
Int[(u_)*PolyLog[n_, v_], x_Symbol] :> With[{w = DerivativeDivides[v, u*v, x]}, Simp[w*PolyLog[n + 1, v], x] /; !FalseQ[w]] /; FreeQ[n, x]
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 38.25 (sec) , antiderivative size = 10105, normalized size of antiderivative = 38.42
method | result | size |
parts | \(\text {Expression too large to display}\) | \(10105\) |
derivativedivides | \(\text {Expression too large to display}\) | \(10106\) |
default | \(\text {Expression too large to display}\) | \(10106\) |
Input:
int((a+b*arctan(c*x))^3/x^2/(d+I*c*d*x),x,method=_RETURNVERBOSE)
Output:
result too large to display
\[ \int \frac {(a+b \arctan (c x))^3}{x^2 (d+i c d x)} \, dx=\int { \frac {{\left (b \arctan \left (c x\right ) + a\right )}^{3}}{{\left (i \, c d x + d\right )} x^{2}} \,d x } \] Input:
integrate((a+b*arctan(c*x))^3/x^2/(d+I*c*d*x),x, algorithm="fricas")
Output:
-1/8*(b^3*c*x*log(2*c*x/(c*x - I))*log(-(c*x + I)/(c*x - I))^3 + 3*b^3*c*x *dilog(-2*c*x/(c*x - I) + 1)*log(-(c*x + I)/(c*x - I))^2 - 6*b^3*c*x*log(- (c*x + I)/(c*x - I))*polylog(3, -(c*x + I)/(c*x - I)) - I*b^3*log(-(c*x + I)/(c*x - I))^3 + 6*b^3*c*x*polylog(4, -(c*x + I)/(c*x - I)) - 8*d*x*integ ral(1/4*(-4*I*a^3*c*x + 4*a^3 - 3*(a*b^2 + (-I*a*b^2 + b^3)*c*x)*log(-(c*x + I)/(c*x - I))^2 + 6*(a^2*b*c*x + I*a^2*b)*log(-(c*x + I)/(c*x - I)))/(c ^2*d*x^4 + d*x^2), x))/(d*x)
\[ \int \frac {(a+b \arctan (c x))^3}{x^2 (d+i c d x)} \, dx=- \frac {i \left (\int \frac {a^{3}}{c x^{3} - i x^{2}}\, dx + \int \frac {b^{3} \operatorname {atan}^{3}{\left (c x \right )}}{c x^{3} - i x^{2}}\, dx + \int \frac {3 a b^{2} \operatorname {atan}^{2}{\left (c x \right )}}{c x^{3} - i x^{2}}\, dx + \int \frac {3 a^{2} b \operatorname {atan}{\left (c x \right )}}{c x^{3} - i x^{2}}\, dx\right )}{d} \] Input:
integrate((a+b*atan(c*x))**3/x**2/(d+I*c*d*x),x)
Output:
-I*(Integral(a**3/(c*x**3 - I*x**2), x) + Integral(b**3*atan(c*x)**3/(c*x* *3 - I*x**2), x) + Integral(3*a*b**2*atan(c*x)**2/(c*x**3 - I*x**2), x) + Integral(3*a**2*b*atan(c*x)/(c*x**3 - I*x**2), x))/d
\[ \int \frac {(a+b \arctan (c x))^3}{x^2 (d+i c d x)} \, dx=\int { \frac {{\left (b \arctan \left (c x\right ) + a\right )}^{3}}{{\left (i \, c d x + d\right )} x^{2}} \,d x } \] Input:
integrate((a+b*arctan(c*x))^3/x^2/(d+I*c*d*x),x, algorithm="maxima")
Output:
a^3*(I*c*log(I*c*x + 1)/d - I*c*log(x)/d - 1/(d*x)) - 1/512*(64*b^3*c*x*ar ctan(c*x)^4 - 4*b^3*c*x*log(c^2*x^2 + 1)^4 + 64*b^3*arctan(c*x)^3 - 48*b^3 *arctan(c*x)*log(c^2*x^2 + 1)^2 - 8*(-2*I*b^3*c*x*arctan(c*x) + I*b^3)*log (c^2*x^2 + 1)^3 - (48*b^3*c*arctan(c*x)^4/d - 6144*b^3*c^3*integrate(1/64* x^3*arctan(c*x)^2*log(c^2*x^2 + 1)/(c^2*d*x^4 + d*x^2), x) - 3*b^3*c*log(c ^2*x^2 + 1)^4/d + 3072*b^3*c^2*integrate(1/64*x^2*arctan(c*x)*log(c^2*x^2 + 1)^2/(c^2*d*x^4 + d*x^2), x) - 12288*b^3*c^2*integrate(1/64*x^2*arctan(c *x)*log(c^2*x^2 + 1)/(c^2*d*x^4 + d*x^2), x) - 6144*b^3*c*integrate(1/64*x *arctan(c*x)^2*log(c^2*x^2 + 1)/(c^2*d*x^4 + d*x^2), x) + 512*b^3*c*integr ate(1/64*x*log(c^2*x^2 + 1)^3/(c^2*d*x^4 + d*x^2), x) + 12288*b^3*c*integr ate(1/64*x*arctan(c*x)^2/(c^2*d*x^4 + d*x^2), x) - 3072*b^3*c*integrate(1/ 64*x*log(c^2*x^2 + 1)^2/(c^2*d*x^4 + d*x^2), x) + 28672*b^3*integrate(1/64 *arctan(c*x)^3/(c^2*d*x^4 + d*x^2), x) + 3072*b^3*integrate(1/64*arctan(c* x)*log(c^2*x^2 + 1)^2/(c^2*d*x^4 + d*x^2), x) + 98304*a*b^2*integrate(1/64 *arctan(c*x)^2/(c^2*d*x^4 + d*x^2), x) + 98304*a^2*b*integrate(1/64*arctan (c*x)/(c^2*d*x^4 + d*x^2), x))*d*x - 64*I*(192*b^3*c^3*integrate(1/64*x^3* arctan(c*x)^3/(c^2*d*x^4 + d*x^2), x) + 48*b^3*c^3*integrate(1/64*x^3*arct an(c*x)*log(c^2*x^2 + 1)^2/(c^2*d*x^4 + d*x^2), x) + b^3*c*arctan(c*x)^3/d + 96*b^3*c^2*integrate(1/64*x^2*arctan(c*x)^2*log(c^2*x^2 + 1)/(c^2*d*x^4 + d*x^2), x) + 24*b^3*c^2*integrate(1/64*x^2*log(c^2*x^2 + 1)^3/(c^2*d...
\[ \int \frac {(a+b \arctan (c x))^3}{x^2 (d+i c d x)} \, dx=\int { \frac {{\left (b \arctan \left (c x\right ) + a\right )}^{3}}{{\left (i \, c d x + d\right )} x^{2}} \,d x } \] Input:
integrate((a+b*arctan(c*x))^3/x^2/(d+I*c*d*x),x, algorithm="giac")
Output:
integrate((b*arctan(c*x) + a)^3/((I*c*d*x + d)*x^2), x)
Timed out. \[ \int \frac {(a+b \arctan (c x))^3}{x^2 (d+i c d x)} \, dx=\int \frac {{\left (a+b\,\mathrm {atan}\left (c\,x\right )\right )}^3}{x^2\,\left (d+c\,d\,x\,1{}\mathrm {i}\right )} \,d x \] Input:
int((a + b*atan(c*x))^3/(x^2*(d + c*d*x*1i)),x)
Output:
int((a + b*atan(c*x))^3/(x^2*(d + c*d*x*1i)), x)
\[ \int \frac {(a+b \arctan (c x))^3}{x^2 (d+i c d x)} \, dx=\frac {3 \left (\int \frac {\mathit {atan} \left (c x \right )}{c^{3} i \,x^{5}+c^{2} x^{4}+c i \,x^{3}+x^{2}}d x \right ) a^{2} b x +3 \left (\int \frac {\mathit {atan} \left (c x \right )}{c^{3} i \,x^{3}+c^{2} x^{2}+c i x +1}d x \right ) a^{2} b \,c^{2} x +\left (\int \frac {\mathit {atan} \left (c x \right )^{3}}{c^{3} i \,x^{5}+c^{2} x^{4}+c i \,x^{3}+x^{2}}d x \right ) b^{3} x +\left (\int \frac {\mathit {atan} \left (c x \right )^{3}}{c^{3} i \,x^{3}+c^{2} x^{2}+c i x +1}d x \right ) b^{3} c^{2} x +3 \left (\int \frac {\mathit {atan} \left (c x \right )^{2}}{c^{3} i \,x^{5}+c^{2} x^{4}+c i \,x^{3}+x^{2}}d x \right ) a \,b^{2} x +3 \left (\int \frac {\mathit {atan} \left (c x \right )^{2}}{c^{3} i \,x^{3}+c^{2} x^{2}+c i x +1}d x \right ) a \,b^{2} c^{2} x +\mathrm {log}\left (c i x +1\right ) a^{3} c i x -\mathrm {log}\left (x \right ) a^{3} c i x -a^{3}}{d x} \] Input:
int((a+b*atan(c*x))^3/x^2/(d+I*c*d*x),x)
Output:
(3*int(atan(c*x)/(c**3*i*x**5 + c**2*x**4 + c*i*x**3 + x**2),x)*a**2*b*x + 3*int(atan(c*x)/(c**3*i*x**3 + c**2*x**2 + c*i*x + 1),x)*a**2*b*c**2*x + int(atan(c*x)**3/(c**3*i*x**5 + c**2*x**4 + c*i*x**3 + x**2),x)*b**3*x + i nt(atan(c*x)**3/(c**3*i*x**3 + c**2*x**2 + c*i*x + 1),x)*b**3*c**2*x + 3*i nt(atan(c*x)**2/(c**3*i*x**5 + c**2*x**4 + c*i*x**3 + x**2),x)*a*b**2*x + 3*int(atan(c*x)**2/(c**3*i*x**3 + c**2*x**2 + c*i*x + 1),x)*a*b**2*c**2*x + log(c*i*x + 1)*a**3*c*i*x - log(x)*a**3*c*i*x - a**3)/(d*x)