Integrand size = 22, antiderivative size = 141 \[ \int \frac {a+b \arcsin (c x)}{\left (d-c^2 d x^2\right )^2} \, dx=-\frac {b}{2 c d^2 \sqrt {1-c^2 x^2}}+\frac {x (a+b \arcsin (c x))}{2 d^2 \left (1-c^2 x^2\right )}-\frac {i (a+b \arcsin (c x)) \arctan \left (e^{i \arcsin (c x)}\right )}{c d^2}+\frac {i b \operatorname {PolyLog}\left (2,-i e^{i \arcsin (c x)}\right )}{2 c d^2}-\frac {i b \operatorname {PolyLog}\left (2,i e^{i \arcsin (c x)}\right )}{2 c d^2} \] Output:
-1/2*b/c/d^2/(-c^2*x^2+1)^(1/2)+1/2*x*(a+b*arcsin(c*x))/d^2/(-c^2*x^2+1)-I *(a+b*arcsin(c*x))*arctan(I*c*x+(-c^2*x^2+1)^(1/2))/c/d^2+1/2*I*b*polylog( 2,-I*(I*c*x+(-c^2*x^2+1)^(1/2)))/c/d^2-1/2*I*b*polylog(2,I*(I*c*x+(-c^2*x^ 2+1)^(1/2)))/c/d^2
Both result and optimal contain complex but leaf count is larger than twice the leaf count of optimal. \(334\) vs. \(2(141)=282\).
Time = 0.36 (sec) , antiderivative size = 334, normalized size of antiderivative = 2.37 \[ \int \frac {a+b \arcsin (c x)}{\left (d-c^2 d x^2\right )^2} \, dx=-\frac {\frac {b \sqrt {1-c^2 x^2}}{c-c^2 x}+\frac {b \sqrt {1-c^2 x^2}}{c+c^2 x}+\frac {2 a x}{-1+c^2 x^2}+\frac {i b \pi \arcsin (c x)}{c}+\frac {b \arcsin (c x)}{c (-1+c x)}+\frac {b \arcsin (c x)}{c+c^2 x}-\frac {b \pi \log \left (1-i e^{i \arcsin (c x)}\right )}{c}-\frac {2 b \arcsin (c x) \log \left (1-i e^{i \arcsin (c x)}\right )}{c}-\frac {b \pi \log \left (1+i e^{i \arcsin (c x)}\right )}{c}+\frac {2 b \arcsin (c x) \log \left (1+i e^{i \arcsin (c x)}\right )}{c}+\frac {a \log (1-c x)}{c}-\frac {a \log (1+c x)}{c}+\frac {b \pi \log \left (-\cos \left (\frac {1}{4} (\pi +2 \arcsin (c x))\right )\right )}{c}+\frac {b \pi \log \left (\sin \left (\frac {1}{4} (\pi +2 \arcsin (c x))\right )\right )}{c}-\frac {2 i b \operatorname {PolyLog}\left (2,-i e^{i \arcsin (c x)}\right )}{c}+\frac {2 i b \operatorname {PolyLog}\left (2,i e^{i \arcsin (c x)}\right )}{c}}{4 d^2} \] Input:
Integrate[(a + b*ArcSin[c*x])/(d - c^2*d*x^2)^2,x]
Output:
-1/4*((b*Sqrt[1 - c^2*x^2])/(c - c^2*x) + (b*Sqrt[1 - c^2*x^2])/(c + c^2*x ) + (2*a*x)/(-1 + c^2*x^2) + (I*b*Pi*ArcSin[c*x])/c + (b*ArcSin[c*x])/(c*( -1 + c*x)) + (b*ArcSin[c*x])/(c + c^2*x) - (b*Pi*Log[1 - I*E^(I*ArcSin[c*x ])])/c - (2*b*ArcSin[c*x]*Log[1 - I*E^(I*ArcSin[c*x])])/c - (b*Pi*Log[1 + I*E^(I*ArcSin[c*x])])/c + (2*b*ArcSin[c*x]*Log[1 + I*E^(I*ArcSin[c*x])])/c + (a*Log[1 - c*x])/c - (a*Log[1 + c*x])/c + (b*Pi*Log[-Cos[(Pi + 2*ArcSin [c*x])/4]])/c + (b*Pi*Log[Sin[(Pi + 2*ArcSin[c*x])/4]])/c - ((2*I)*b*PolyL og[2, (-I)*E^(I*ArcSin[c*x])])/c + ((2*I)*b*PolyLog[2, I*E^(I*ArcSin[c*x]) ])/c)/d^2
Time = 0.52 (sec) , antiderivative size = 130, normalized size of antiderivative = 0.92, number of steps used = 9, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.364, Rules used = {5162, 27, 241, 5164, 3042, 4669, 2715, 2838}
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 \arcsin (c x)}{\left (d-c^2 d x^2\right )^2} \, dx\) |
\(\Big \downarrow \) 5162 |
\(\displaystyle \frac {\int \frac {a+b \arcsin (c x)}{d \left (1-c^2 x^2\right )}dx}{2 d}-\frac {b c \int \frac {x}{\left (1-c^2 x^2\right )^{3/2}}dx}{2 d^2}+\frac {x (a+b \arcsin (c x))}{2 d^2 \left (1-c^2 x^2\right )}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {\int \frac {a+b \arcsin (c x)}{1-c^2 x^2}dx}{2 d^2}-\frac {b c \int \frac {x}{\left (1-c^2 x^2\right )^{3/2}}dx}{2 d^2}+\frac {x (a+b \arcsin (c x))}{2 d^2 \left (1-c^2 x^2\right )}\) |
\(\Big \downarrow \) 241 |
\(\displaystyle \frac {\int \frac {a+b \arcsin (c x)}{1-c^2 x^2}dx}{2 d^2}+\frac {x (a+b \arcsin (c x))}{2 d^2 \left (1-c^2 x^2\right )}-\frac {b}{2 c d^2 \sqrt {1-c^2 x^2}}\) |
\(\Big \downarrow \) 5164 |
\(\displaystyle \frac {\int \frac {a+b \arcsin (c x)}{\sqrt {1-c^2 x^2}}d\arcsin (c x)}{2 c d^2}+\frac {x (a+b \arcsin (c x))}{2 d^2 \left (1-c^2 x^2\right )}-\frac {b}{2 c d^2 \sqrt {1-c^2 x^2}}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\int (a+b \arcsin (c x)) \csc \left (\arcsin (c x)+\frac {\pi }{2}\right )d\arcsin (c x)}{2 c d^2}+\frac {x (a+b \arcsin (c x))}{2 d^2 \left (1-c^2 x^2\right )}-\frac {b}{2 c d^2 \sqrt {1-c^2 x^2}}\) |
\(\Big \downarrow \) 4669 |
\(\displaystyle \frac {-b \int \log \left (1-i e^{i \arcsin (c x)}\right )d\arcsin (c x)+b \int \log \left (1+i e^{i \arcsin (c x)}\right )d\arcsin (c x)-2 i \arctan \left (e^{i \arcsin (c x)}\right ) (a+b \arcsin (c x))}{2 c d^2}+\frac {x (a+b \arcsin (c x))}{2 d^2 \left (1-c^2 x^2\right )}-\frac {b}{2 c d^2 \sqrt {1-c^2 x^2}}\) |
\(\Big \downarrow \) 2715 |
\(\displaystyle \frac {i b \int e^{-i \arcsin (c x)} \log \left (1-i e^{i \arcsin (c x)}\right )de^{i \arcsin (c x)}-i b \int e^{-i \arcsin (c x)} \log \left (1+i e^{i \arcsin (c x)}\right )de^{i \arcsin (c x)}-2 i \arctan \left (e^{i \arcsin (c x)}\right ) (a+b \arcsin (c x))}{2 c d^2}+\frac {x (a+b \arcsin (c x))}{2 d^2 \left (1-c^2 x^2\right )}-\frac {b}{2 c d^2 \sqrt {1-c^2 x^2}}\) |
\(\Big \downarrow \) 2838 |
\(\displaystyle \frac {-2 i \arctan \left (e^{i \arcsin (c x)}\right ) (a+b \arcsin (c x))+i b \operatorname {PolyLog}\left (2,-i e^{i \arcsin (c x)}\right )-i b \operatorname {PolyLog}\left (2,i e^{i \arcsin (c x)}\right )}{2 c d^2}+\frac {x (a+b \arcsin (c x))}{2 d^2 \left (1-c^2 x^2\right )}-\frac {b}{2 c d^2 \sqrt {1-c^2 x^2}}\) |
Input:
Int[(a + b*ArcSin[c*x])/(d - c^2*d*x^2)^2,x]
Output:
-1/2*b/(c*d^2*Sqrt[1 - c^2*x^2]) + (x*(a + b*ArcSin[c*x]))/(2*d^2*(1 - c^2 *x^2)) + ((-2*I)*(a + b*ArcSin[c*x])*ArcTan[E^(I*ArcSin[c*x])] + I*b*PolyL og[2, (-I)*E^(I*ArcSin[c*x])] - I*b*PolyLog[2, I*E^(I*ArcSin[c*x])])/(2*c* d^2)
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[(x_)*((a_) + (b_.)*(x_)^2)^(p_), x_Symbol] :> Simp[(a + b*x^2)^(p + 1)/ (2*b*(p + 1)), x] /; FreeQ[{a, b, p}, x] && NeQ[p, -1]
Int[Log[(a_) + (b_.)*((F_)^((e_.)*((c_.) + (d_.)*(x_))))^(n_.)], x_Symbol] :> Simp[1/(d*e*n*Log[F]) Subst[Int[Log[a + b*x]/x, x], x, (F^(e*(c + d*x) ))^n], x] /; FreeQ[{F, a, b, c, d, e, n}, x] && GtQ[a, 0]
Int[Log[(c_.)*((d_) + (e_.)*(x_)^(n_.))]/(x_), x_Symbol] :> Simp[-PolyLog[2 , (-c)*e*x^n]/n, x] /; FreeQ[{c, d, e, n}, x] && EqQ[c*d, 1]
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]
Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))^(n_.)*((d_) + (e_.)*(x_)^2)^(p_), x_ Symbol] :> Simp[(-x)*(d + e*x^2)^(p + 1)*((a + b*ArcSin[c*x])^n/(2*d*(p + 1 ))), x] + (Simp[(2*p + 3)/(2*d*(p + 1)) Int[(d + e*x^2)^(p + 1)*(a + b*Ar cSin[c*x])^n, x], x] + Simp[b*c*(n/(2*(p + 1)))*Simp[(d + e*x^2)^p/(1 - c^2 *x^2)^p] Int[x*(1 - c^2*x^2)^(p + 1/2)*(a + b*ArcSin[c*x])^(n - 1), x], x ]) /; FreeQ[{a, b, c, d, e}, x] && EqQ[c^2*d + e, 0] && GtQ[n, 0] && LtQ[p, -1] && NeQ[p, -3/2]
Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))^(n_.)/((d_) + (e_.)*(x_)^2), x_Symbo l] :> Simp[1/(c*d) Subst[Int[(a + b*x)^n*Sec[x], x], x, ArcSin[c*x]], x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[c^2*d + e, 0] && IGtQ[n, 0]
Time = 0.00 (sec) , antiderivative size = 201, normalized size of antiderivative = 1.43
method | result | size |
derivativedivides | \(\frac {\frac {a \left (-\frac {1}{4 \left (c x +1\right )}+\frac {\ln \left (c x +1\right )}{4}-\frac {1}{4 \left (c x -1\right )}-\frac {\ln \left (c x -1\right )}{4}\right )}{d^{2}}+\frac {b \left (-\frac {c x \arcsin \left (c x \right )-\sqrt {-c^{2} x^{2}+1}}{2 \left (c^{2} x^{2}-1\right )}-\frac {\arcsin \left (c x \right ) \ln \left (1+i \left (i c x +\sqrt {-c^{2} x^{2}+1}\right )\right )}{2}+\frac {\arcsin \left (c x \right ) \ln \left (1-i \left (i c x +\sqrt {-c^{2} x^{2}+1}\right )\right )}{2}+\frac {i \operatorname {dilog}\left (1+i \left (i c x +\sqrt {-c^{2} x^{2}+1}\right )\right )}{2}-\frac {i \operatorname {dilog}\left (1-i \left (i c x +\sqrt {-c^{2} x^{2}+1}\right )\right )}{2}\right )}{d^{2}}}{c}\) | \(201\) |
default | \(\frac {\frac {a \left (-\frac {1}{4 \left (c x +1\right )}+\frac {\ln \left (c x +1\right )}{4}-\frac {1}{4 \left (c x -1\right )}-\frac {\ln \left (c x -1\right )}{4}\right )}{d^{2}}+\frac {b \left (-\frac {c x \arcsin \left (c x \right )-\sqrt {-c^{2} x^{2}+1}}{2 \left (c^{2} x^{2}-1\right )}-\frac {\arcsin \left (c x \right ) \ln \left (1+i \left (i c x +\sqrt {-c^{2} x^{2}+1}\right )\right )}{2}+\frac {\arcsin \left (c x \right ) \ln \left (1-i \left (i c x +\sqrt {-c^{2} x^{2}+1}\right )\right )}{2}+\frac {i \operatorname {dilog}\left (1+i \left (i c x +\sqrt {-c^{2} x^{2}+1}\right )\right )}{2}-\frac {i \operatorname {dilog}\left (1-i \left (i c x +\sqrt {-c^{2} x^{2}+1}\right )\right )}{2}\right )}{d^{2}}}{c}\) | \(201\) |
parts | \(\frac {a \left (-\frac {1}{4 c \left (c x -1\right )}-\frac {\ln \left (c x -1\right )}{4 c}-\frac {1}{4 c \left (c x +1\right )}+\frac {\ln \left (c x +1\right )}{4 c}\right )}{d^{2}}+\frac {b \left (-\frac {c x \arcsin \left (c x \right )-\sqrt {-c^{2} x^{2}+1}}{2 \left (c^{2} x^{2}-1\right )}-\frac {\arcsin \left (c x \right ) \ln \left (1+i \left (i c x +\sqrt {-c^{2} x^{2}+1}\right )\right )}{2}+\frac {\arcsin \left (c x \right ) \ln \left (1-i \left (i c x +\sqrt {-c^{2} x^{2}+1}\right )\right )}{2}+\frac {i \operatorname {dilog}\left (1+i \left (i c x +\sqrt {-c^{2} x^{2}+1}\right )\right )}{2}-\frac {i \operatorname {dilog}\left (1-i \left (i c x +\sqrt {-c^{2} x^{2}+1}\right )\right )}{2}\right )}{d^{2} c}\) | \(212\) |
Input:
int((a+b*arcsin(c*x))/(-c^2*d*x^2+d)^2,x,method=_RETURNVERBOSE)
Output:
1/c*(a/d^2*(-1/4/(c*x+1)+1/4*ln(c*x+1)-1/4/(c*x-1)-1/4*ln(c*x-1))+b/d^2*(- 1/2*(c*x*arcsin(c*x)-(-c^2*x^2+1)^(1/2))/(c^2*x^2-1)-1/2*arcsin(c*x)*ln(1+ I*(I*c*x+(-c^2*x^2+1)^(1/2)))+1/2*arcsin(c*x)*ln(1-I*(I*c*x+(-c^2*x^2+1)^( 1/2)))+1/2*I*dilog(1+I*(I*c*x+(-c^2*x^2+1)^(1/2)))-1/2*I*dilog(1-I*(I*c*x+ (-c^2*x^2+1)^(1/2)))))
\[ \int \frac {a+b \arcsin (c x)}{\left (d-c^2 d x^2\right )^2} \, dx=\int { \frac {b \arcsin \left (c x\right ) + a}{{\left (c^{2} d x^{2} - d\right )}^{2}} \,d x } \] Input:
integrate((a+b*arcsin(c*x))/(-c^2*d*x^2+d)^2,x, algorithm="fricas")
Output:
integral((b*arcsin(c*x) + a)/(c^4*d^2*x^4 - 2*c^2*d^2*x^2 + d^2), x)
\[ \int \frac {a+b \arcsin (c x)}{\left (d-c^2 d x^2\right )^2} \, dx=\frac {\int \frac {a}{c^{4} x^{4} - 2 c^{2} x^{2} + 1}\, dx + \int \frac {b \operatorname {asin}{\left (c x \right )}}{c^{4} x^{4} - 2 c^{2} x^{2} + 1}\, dx}{d^{2}} \] Input:
integrate((a+b*asin(c*x))/(-c**2*d*x**2+d)**2,x)
Output:
(Integral(a/(c**4*x**4 - 2*c**2*x**2 + 1), x) + Integral(b*asin(c*x)/(c**4 *x**4 - 2*c**2*x**2 + 1), x))/d**2
\[ \int \frac {a+b \arcsin (c x)}{\left (d-c^2 d x^2\right )^2} \, dx=\int { \frac {b \arcsin \left (c x\right ) + a}{{\left (c^{2} d x^{2} - d\right )}^{2}} \,d x } \] Input:
integrate((a+b*arcsin(c*x))/(-c^2*d*x^2+d)^2,x, algorithm="maxima")
Output:
-1/4*a*(2*x/(c^2*d^2*x^2 - d^2) - log(c*x + 1)/(c*d^2) + log(c*x - 1)/(c*d ^2)) - 1/4*(2*c*x*arctan2(c*x, sqrt(c*x + 1)*sqrt(-c*x + 1)) - (c^2*x^2 - 1)*arctan2(c*x, sqrt(c*x + 1)*sqrt(-c*x + 1))*log(c*x + 1) + (c^2*x^2 - 1) *arctan2(c*x, sqrt(c*x + 1)*sqrt(-c*x + 1))*log(-c*x + 1) - 4*(c^3*d^2*x^2 - c*d^2)*integrate(-1/4*(2*c*x - (c^2*x^2 - 1)*log(c*x + 1) + (c^2*x^2 - 1)*log(-c*x + 1))*sqrt(c*x + 1)*sqrt(-c*x + 1)/(c^4*d^2*x^4 - 2*c^2*d^2*x^ 2 + d^2), x))*b/(c^3*d^2*x^2 - c*d^2)
Exception generated. \[ \int \frac {a+b \arcsin (c x)}{\left (d-c^2 d x^2\right )^2} \, dx=\text {Exception raised: RuntimeError} \] Input:
integrate((a+b*arcsin(c*x))/(-c^2*d*x^2+d)^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
Timed out. \[ \int \frac {a+b \arcsin (c x)}{\left (d-c^2 d x^2\right )^2} \, dx=\int \frac {a+b\,\mathrm {asin}\left (c\,x\right )}{{\left (d-c^2\,d\,x^2\right )}^2} \,d x \] Input:
int((a + b*asin(c*x))/(d - c^2*d*x^2)^2,x)
Output:
int((a + b*asin(c*x))/(d - c^2*d*x^2)^2, x)
\[ \int \frac {a+b \arcsin (c x)}{\left (d-c^2 d x^2\right )^2} \, dx=\frac {4 \left (\int \frac {\mathit {asin} \left (c x \right )}{c^{4} x^{4}-2 c^{2} x^{2}+1}d x \right ) b \,c^{3} x^{2}-4 \left (\int \frac {\mathit {asin} \left (c x \right )}{c^{4} x^{4}-2 c^{2} x^{2}+1}d x \right ) b c -\mathrm {log}\left (c^{2} x -c \right ) a \,c^{2} x^{2}+\mathrm {log}\left (c^{2} x -c \right ) a +\mathrm {log}\left (c^{2} x +c \right ) a \,c^{2} x^{2}-\mathrm {log}\left (c^{2} x +c \right ) a -2 a c x}{4 c \,d^{2} \left (c^{2} x^{2}-1\right )} \] Input:
int((a+b*asin(c*x))/(-c^2*d*x^2+d)^2,x)
Output:
(4*int(asin(c*x)/(c**4*x**4 - 2*c**2*x**2 + 1),x)*b*c**3*x**2 - 4*int(asin (c*x)/(c**4*x**4 - 2*c**2*x**2 + 1),x)*b*c - log(c**2*x - c)*a*c**2*x**2 + log(c**2*x - c)*a + log(c**2*x + c)*a*c**2*x**2 - log(c**2*x + c)*a - 2*a *c*x)/(4*c*d**2*(c**2*x**2 - 1))