Integrand size = 19, antiderivative size = 94 \[ \int \frac {e^{\text {arctanh}(a x)} x^2}{(c-a c x)^2} \, dx=-\frac {4 (1+a x)}{a^3 c^2 \sqrt {1-a^2 x^2}}-\frac {\sqrt {1-a^2 x^2}}{a^3 c^2}+\frac {\left (1-a^2 x^2\right )^{3/2}}{3 a^3 c^2 (1-a x)^3}+\frac {3 \arcsin (a x)}{a^3 c^2} \] Output:
(-4*a*x-4)/a^3/c^2/(-a^2*x^2+1)^(1/2)-(-a^2*x^2+1)^(1/2)/a^3/c^2+1/3*(-a^2 *x^2+1)^(3/2)/a^3/c^2/(-a*x+1)^3+3*arcsin(a*x)/a^3/c^2
Time = 0.06 (sec) , antiderivative size = 64, normalized size of antiderivative = 0.68 \[ \int \frac {e^{\text {arctanh}(a x)} x^2}{(c-a c x)^2} \, dx=\frac {\frac {\sqrt {1+a x} \left (-14+19 a x-3 a^2 x^2\right )}{(1-a x)^{3/2}}-18 \arcsin \left (\frac {\sqrt {1-a x}}{\sqrt {2}}\right )}{3 a^3 c^2} \] Input:
Integrate[(E^ArcTanh[a*x]*x^2)/(c - a*c*x)^2,x]
Output:
((Sqrt[1 + a*x]*(-14 + 19*a*x - 3*a^2*x^2))/(1 - a*x)^(3/2) - 18*ArcSin[Sq rt[1 - a*x]/Sqrt[2]])/(3*a^3*c^2)
Time = 0.34 (sec) , antiderivative size = 105, normalized size of antiderivative = 1.12, number of steps used = 8, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.421, Rules used = {6678, 27, 581, 25, 671, 463, 25, 223}
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^2 e^{\text {arctanh}(a x)}}{(c-a c x)^2} \, dx\) |
\(\Big \downarrow \) 6678 |
\(\displaystyle c \int \frac {x^2 \sqrt {1-a^2 x^2}}{c^3 (1-a x)^3}dx\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {\int \frac {x^2 \sqrt {1-a^2 x^2}}{(1-a x)^3}dx}{c^2}\) |
\(\Big \downarrow \) 581 |
\(\displaystyle \frac {\frac {\int -\frac {(2-3 a x) \sqrt {1-a^2 x^2}}{(1-a x)^3}dx}{a^2}+\frac {\left (1-a^2 x^2\right )^{3/2}}{a^3 (1-a x)^2}}{c^2}\) |
\(\Big \downarrow \) 25 |
\(\displaystyle \frac {\frac {\left (1-a^2 x^2\right )^{3/2}}{a^3 (1-a x)^2}-\frac {\int \frac {(2-3 a x) \sqrt {1-a^2 x^2}}{(1-a x)^3}dx}{a^2}}{c^2}\) |
\(\Big \downarrow \) 671 |
\(\displaystyle \frac {\frac {\left (1-a^2 x^2\right )^{3/2}}{a^3 (1-a x)^2}-\frac {3 \int \frac {\sqrt {1-a^2 x^2}}{(1-a x)^2}dx-\frac {\left (1-a^2 x^2\right )^{3/2}}{3 a (1-a x)^3}}{a^2}}{c^2}\) |
\(\Big \downarrow \) 463 |
\(\displaystyle \frac {\frac {\left (1-a^2 x^2\right )^{3/2}}{a^3 (1-a x)^2}-\frac {3 \left (\int -\frac {1}{\sqrt {1-a^2 x^2}}dx+\frac {2 \sqrt {1-a^2 x^2}}{a (1-a x)}\right )-\frac {\left (1-a^2 x^2\right )^{3/2}}{3 a (1-a x)^3}}{a^2}}{c^2}\) |
\(\Big \downarrow \) 25 |
\(\displaystyle \frac {\frac {\left (1-a^2 x^2\right )^{3/2}}{a^3 (1-a x)^2}-\frac {3 \left (\frac {2 \sqrt {1-a^2 x^2}}{a (1-a x)}-\int \frac {1}{\sqrt {1-a^2 x^2}}dx\right )-\frac {\left (1-a^2 x^2\right )^{3/2}}{3 a (1-a x)^3}}{a^2}}{c^2}\) |
\(\Big \downarrow \) 223 |
\(\displaystyle \frac {\frac {\left (1-a^2 x^2\right )^{3/2}}{a^3 (1-a x)^2}-\frac {3 \left (\frac {2 \sqrt {1-a^2 x^2}}{a (1-a x)}-\frac {\arcsin (a x)}{a}\right )-\frac {\left (1-a^2 x^2\right )^{3/2}}{3 a (1-a x)^3}}{a^2}}{c^2}\) |
Input:
Int[(E^ArcTanh[a*x]*x^2)/(c - a*c*x)^2,x]
Output:
((1 - a^2*x^2)^(3/2)/(a^3*(1 - a*x)^2) - (-1/3*(1 - a^2*x^2)^(3/2)/(a*(1 - a*x)^3) + 3*((2*Sqrt[1 - a^2*x^2])/(a*(1 - a*x)) - ArcSin[a*x]/a))/a^2)/c ^2
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Simp[ArcSin[Rt[-b, 2]*(x/Sqrt [a])]/Rt[-b, 2], x] /; FreeQ[{a, b}, x] && GtQ[a, 0] && NegQ[b]
Int[((c_) + (d_.)*(x_))^(n_)*((a_) + (b_.)*(x_)^2)^(p_), x_Symbol] :> Simp[ (-(-c)^(-n - 2))*d^(2*n + 3)*(Sqrt[a + b*x^2]/(2^(n + 1)*b^(n + 2)*(c + d*x ))), x] - Simp[d^(2*n + 2)/b^(n + 1) Int[(1/Sqrt[a + b*x^2])*ExpandToSum[ (2^(-n - 1)*(-c)^(-n - 1) - (-c + d*x)^(-n - 1))/(c + d*x), x], x], x] /; F reeQ[{a, b, c, d}, x] && EqQ[b*c^2 + a*d^2, 0] && ILtQ[n, 0] && EqQ[n + p, -3/2]
Int[(x_)^(m_)*((c_) + (d_.)*(x_))^(n_)*((a_) + (b_.)*(x_)^2)^(p_), x_Symbol ] :> Simp[(c + d*x)^(m + n - 1)*((a + b*x^2)^(p + 1)/(b*d^(m - 1)*(m + n + 2*p + 1))), x] + Simp[1/(d^m*(m + n + 2*p + 1)) Int[(c + d*x)^n*(a + b*x^ 2)^p*ExpandToSum[d^m*(m + n + 2*p + 1)*x^m - (m + n + 2*p + 1)*(c + d*x)^m + c*(c + d*x)^(m - 2)*(c*(m + n - 1) + c*(m + n + 2*p + 1) + 2*d*(m + n + p )*x), x], x], x] /; FreeQ[{a, b, c, d, n, p}, x] && EqQ[b*c^2 + a*d^2, 0] & & IGtQ[m, 1] && NeQ[m + n + 2*p + 1, 0] && (IntegerQ[2*p] || ILtQ[m + n, 0] )
Int[((d_) + (e_.)*(x_))^(m_)*((f_.) + (g_.)*(x_))*((a_) + (c_.)*(x_)^2)^(p_ ), x_Symbol] :> Simp[(d*g - e*f)*(d + e*x)^m*((a + c*x^2)^(p + 1)/(2*c*d*(m + p + 1))), x] + Simp[(m*(g*c*d + c*e*f) + 2*e*c*f*(p + 1))/(e*(2*c*d)*(m + p + 1)) Int[(d + e*x)^(m + 1)*(a + c*x^2)^p, x], x] /; FreeQ[{a, c, d, e, f, g, m, p}, x] && EqQ[c*d^2 + a*e^2, 0] && ((LtQ[m, -1] && !IGtQ[m + p + 1, 0]) || (LtQ[m, 0] && LtQ[p, -1]) || EqQ[m + 2*p + 2, 0]) && NeQ[m + p + 1, 0]
Int[E^(ArcTanh[(a_.)*(x_)]*(n_.))*((c_) + (d_.)*(x_))^(p_.)*((e_.) + (f_.)* (x_))^(m_.), x_Symbol] :> Simp[c^n Int[(e + f*x)^m*(c + d*x)^(p - n)*(1 - a^2*x^2)^(n/2), x], x] /; FreeQ[{a, c, d, e, f, m, p}, x] && EqQ[a*c + d, 0] && IntegerQ[(n - 1)/2] && (IntegerQ[p] || EqQ[p, n/2] || EqQ[p - n/2 - 1 , 0]) && IntegerQ[2*p]
Time = 0.24 (sec) , antiderivative size = 147, normalized size of antiderivative = 1.56
method | result | size |
risch | \(\frac {a^{2} x^{2}-1}{a^{3} \sqrt {-a^{2} x^{2}+1}\, c^{2}}+\frac {\frac {3 \arctan \left (\frac {\sqrt {a^{2}}\, x}{\sqrt {-a^{2} x^{2}+1}}\right )}{a^{2} \sqrt {a^{2}}}+\frac {2 \sqrt {-\left (x -\frac {1}{a}\right )^{2} a^{2}-2 a \left (x -\frac {1}{a}\right )}}{3 a^{5} \left (x -\frac {1}{a}\right )^{2}}+\frac {13 \sqrt {-\left (x -\frac {1}{a}\right )^{2} a^{2}-2 a \left (x -\frac {1}{a}\right )}}{3 a^{4} \left (x -\frac {1}{a}\right )}}{c^{2}}\) | \(147\) |
default | \(\frac {-\frac {\sqrt {-a^{2} x^{2}+1}}{a^{3}}+\frac {3 \arctan \left (\frac {\sqrt {a^{2}}\, x}{\sqrt {-a^{2} x^{2}+1}}\right )}{a^{2} \sqrt {a^{2}}}+\frac {\frac {2 \sqrt {-\left (x -\frac {1}{a}\right )^{2} a^{2}-2 a \left (x -\frac {1}{a}\right )}}{3 a \left (x -\frac {1}{a}\right )^{2}}-\frac {2 \sqrt {-\left (x -\frac {1}{a}\right )^{2} a^{2}-2 a \left (x -\frac {1}{a}\right )}}{3 \left (x -\frac {1}{a}\right )}}{a^{4}}+\frac {5 \sqrt {-\left (x -\frac {1}{a}\right )^{2} a^{2}-2 a \left (x -\frac {1}{a}\right )}}{a^{4} \left (x -\frac {1}{a}\right )}}{c^{2}}\) | \(179\) |
Input:
int((a*x+1)/(-a^2*x^2+1)^(1/2)*x^2/(-a*c*x+c)^2,x,method=_RETURNVERBOSE)
Output:
1/a^3*(a^2*x^2-1)/(-a^2*x^2+1)^(1/2)/c^2+(3/a^2/(a^2)^(1/2)*arctan((a^2)^( 1/2)*x/(-a^2*x^2+1)^(1/2))+2/3/a^5/(x-1/a)^2*(-(x-1/a)^2*a^2-2*a*(x-1/a))^ (1/2)+13/3/a^4/(x-1/a)*(-(x-1/a)^2*a^2-2*a*(x-1/a))^(1/2))/c^2
Time = 0.11 (sec) , antiderivative size = 109, normalized size of antiderivative = 1.16 \[ \int \frac {e^{\text {arctanh}(a x)} x^2}{(c-a c x)^2} \, dx=-\frac {14 \, a^{2} x^{2} - 28 \, a x + 18 \, {\left (a^{2} x^{2} - 2 \, a x + 1\right )} \arctan \left (\frac {\sqrt {-a^{2} x^{2} + 1} - 1}{a x}\right ) + {\left (3 \, a^{2} x^{2} - 19 \, a x + 14\right )} \sqrt {-a^{2} x^{2} + 1} + 14}{3 \, {\left (a^{5} c^{2} x^{2} - 2 \, a^{4} c^{2} x + a^{3} c^{2}\right )}} \] Input:
integrate((a*x+1)/(-a^2*x^2+1)^(1/2)*x^2/(-a*c*x+c)^2,x, algorithm="fricas ")
Output:
-1/3*(14*a^2*x^2 - 28*a*x + 18*(a^2*x^2 - 2*a*x + 1)*arctan((sqrt(-a^2*x^2 + 1) - 1)/(a*x)) + (3*a^2*x^2 - 19*a*x + 14)*sqrt(-a^2*x^2 + 1) + 14)/(a^ 5*c^2*x^2 - 2*a^4*c^2*x + a^3*c^2)
\[ \int \frac {e^{\text {arctanh}(a x)} x^2}{(c-a c x)^2} \, dx=\frac {\int \frac {x^{2}}{a^{2} x^{2} \sqrt {- a^{2} x^{2} + 1} - 2 a x \sqrt {- a^{2} x^{2} + 1} + \sqrt {- a^{2} x^{2} + 1}}\, dx + \int \frac {a x^{3}}{a^{2} x^{2} \sqrt {- a^{2} x^{2} + 1} - 2 a x \sqrt {- a^{2} x^{2} + 1} + \sqrt {- a^{2} x^{2} + 1}}\, dx}{c^{2}} \] Input:
integrate((a*x+1)/(-a**2*x**2+1)**(1/2)*x**2/(-a*c*x+c)**2,x)
Output:
(Integral(x**2/(a**2*x**2*sqrt(-a**2*x**2 + 1) - 2*a*x*sqrt(-a**2*x**2 + 1 ) + sqrt(-a**2*x**2 + 1)), x) + Integral(a*x**3/(a**2*x**2*sqrt(-a**2*x**2 + 1) - 2*a*x*sqrt(-a**2*x**2 + 1) + sqrt(-a**2*x**2 + 1)), x))/c**2
Time = 0.12 (sec) , antiderivative size = 109, normalized size of antiderivative = 1.16 \[ \int \frac {e^{\text {arctanh}(a x)} x^2}{(c-a c x)^2} \, dx=\frac {2 \, \sqrt {-a^{2} x^{2} + 1}}{3 \, {\left (a^{5} c^{2} x^{2} - 2 \, a^{4} c^{2} x + a^{3} c^{2}\right )}} + \frac {13 \, \sqrt {-a^{2} x^{2} + 1}}{3 \, {\left (a^{4} c^{2} x - a^{3} c^{2}\right )}} + \frac {3 \, \arcsin \left (a x\right )}{a^{3} c^{2}} - \frac {\sqrt {-a^{2} x^{2} + 1}}{a^{3} c^{2}} \] Input:
integrate((a*x+1)/(-a^2*x^2+1)^(1/2)*x^2/(-a*c*x+c)^2,x, algorithm="maxima ")
Output:
2/3*sqrt(-a^2*x^2 + 1)/(a^5*c^2*x^2 - 2*a^4*c^2*x + a^3*c^2) + 13/3*sqrt(- a^2*x^2 + 1)/(a^4*c^2*x - a^3*c^2) + 3*arcsin(a*x)/(a^3*c^2) - sqrt(-a^2*x ^2 + 1)/(a^3*c^2)
Exception generated. \[ \int \frac {e^{\text {arctanh}(a x)} x^2}{(c-a c x)^2} \, dx=\text {Exception raised: TypeError} \] Input:
integrate((a*x+1)/(-a^2*x^2+1)^(1/2)*x^2/(-a*c*x+c)^2,x, algorithm="giac")
Output:
Exception raised: TypeError >> an error occurred running a Giac command:IN PUT:sage2:=int(sage0,sageVARx):;OUTPUT:sym2poly/r2sym(const gen & e,const index_m & i,const vecteur & l) Error: Bad Argument Value
Time = 14.19 (sec) , antiderivative size = 143, normalized size of antiderivative = 1.52 \[ \int \frac {e^{\text {arctanh}(a x)} x^2}{(c-a c x)^2} \, dx=\frac {2\,\sqrt {1-a^2\,x^2}}{3\,\left (a^5\,c^2\,x^2-2\,a^4\,c^2\,x+a^3\,c^2\right )}+\frac {13\,\sqrt {1-a^2\,x^2}}{3\,\left (a\,c^2\,\sqrt {-a^2}-a^2\,c^2\,x\,\sqrt {-a^2}\right )\,\sqrt {-a^2}}-\frac {\sqrt {1-a^2\,x^2}}{a^3\,c^2}+\frac {3\,\mathrm {asinh}\left (x\,\sqrt {-a^2}\right )}{a^2\,c^2\,\sqrt {-a^2}} \] Input:
int((x^2*(a*x + 1))/((1 - a^2*x^2)^(1/2)*(c - a*c*x)^2),x)
Output:
(2*(1 - a^2*x^2)^(1/2))/(3*(a^3*c^2 - 2*a^4*c^2*x + a^5*c^2*x^2)) + (13*(1 - a^2*x^2)^(1/2))/(3*(a*c^2*(-a^2)^(1/2) - a^2*c^2*x*(-a^2)^(1/2))*(-a^2) ^(1/2)) - (1 - a^2*x^2)^(1/2)/(a^3*c^2) + (3*asinh(x*(-a^2)^(1/2)))/(a^2*c ^2*(-a^2)^(1/2))
Time = 0.15 (sec) , antiderivative size = 181, normalized size of antiderivative = 1.93 \[ \int \frac {e^{\text {arctanh}(a x)} x^2}{(c-a c x)^2} \, dx=\frac {9 \sqrt {-a^{2} x^{2}+1}\, \mathit {asin} \left (a x \right ) a x -9 \sqrt {-a^{2} x^{2}+1}\, \mathit {asin} \left (a x \right )+9 \mathit {asin} \left (a x \right ) a^{2} x^{2}-18 \mathit {asin} \left (a x \right ) a x +9 \mathit {asin} \left (a x \right )-3 \sqrt {-a^{2} x^{2}+1}\, a^{2} x^{2}+11 \sqrt {-a^{2} x^{2}+1}\, a x -6 \sqrt {-a^{2} x^{2}+1}+3 a^{3} x^{3}-24 a^{2} x^{2}+11 a x +6}{3 a^{3} c^{2} \left (\sqrt {-a^{2} x^{2}+1}\, a x -\sqrt {-a^{2} x^{2}+1}+a^{2} x^{2}-2 a x +1\right )} \] Input:
int((a*x+1)/(-a^2*x^2+1)^(1/2)*x^2/(-a*c*x+c)^2,x)
Output:
(9*sqrt( - a**2*x**2 + 1)*asin(a*x)*a*x - 9*sqrt( - a**2*x**2 + 1)*asin(a* x) + 9*asin(a*x)*a**2*x**2 - 18*asin(a*x)*a*x + 9*asin(a*x) - 3*sqrt( - a* *2*x**2 + 1)*a**2*x**2 + 11*sqrt( - a**2*x**2 + 1)*a*x - 6*sqrt( - a**2*x* *2 + 1) + 3*a**3*x**3 - 24*a**2*x**2 + 11*a*x + 6)/(3*a**3*c**2*(sqrt( - a **2*x**2 + 1)*a*x - sqrt( - a**2*x**2 + 1) + a**2*x**2 - 2*a*x + 1))