Integrand size = 23, antiderivative size = 353 \[ \int \frac {x^2 \log \left (c \left (a+\frac {b}{x^2}\right )^p\right )}{d+e x} \, dx=-\frac {2 \sqrt {b} d p \arctan \left (\frac {\sqrt {a} x}{\sqrt {b}}\right )}{\sqrt {a} e^2}-\frac {d x \log \left (c \left (a+\frac {b}{x^2}\right )^p\right )}{e^2}+\frac {x^2 \log \left (c \left (a+\frac {b}{x^2}\right )^p\right )}{2 e}+\frac {d^2 \log \left (c \left (a+\frac {b}{x^2}\right )^p\right ) \log (d+e x)}{e^3}+\frac {2 d^2 p \log \left (-\frac {e x}{d}\right ) \log (d+e x)}{e^3}-\frac {d^2 p \log \left (\frac {e \left (\sqrt {b}-\sqrt {-a} x\right )}{\sqrt {-a} d+\sqrt {b} e}\right ) \log (d+e x)}{e^3}-\frac {d^2 p \log \left (-\frac {e \left (\sqrt {b}+\sqrt {-a} x\right )}{\sqrt {-a} d-\sqrt {b} e}\right ) \log (d+e x)}{e^3}+\frac {b p \log \left (b+a x^2\right )}{2 a e}-\frac {d^2 p \operatorname {PolyLog}\left (2,\frac {\sqrt {-a} (d+e x)}{\sqrt {-a} d-\sqrt {b} e}\right )}{e^3}-\frac {d^2 p \operatorname {PolyLog}\left (2,\frac {\sqrt {-a} (d+e x)}{\sqrt {-a} d+\sqrt {b} e}\right )}{e^3}+\frac {2 d^2 p \operatorname {PolyLog}\left (2,1+\frac {e x}{d}\right )}{e^3} \] Output:
-2*b^(1/2)*d*p*arctan(a^(1/2)*x/b^(1/2))/a^(1/2)/e^2-d*x*ln(c*(a+b/x^2)^p) /e^2+1/2*x^2*ln(c*(a+b/x^2)^p)/e+d^2*ln(c*(a+b/x^2)^p)*ln(e*x+d)/e^3+2*d^2 *p*ln(-e*x/d)*ln(e*x+d)/e^3-d^2*p*ln(e*(b^(1/2)-(-a)^(1/2)*x)/((-a)^(1/2)* d+b^(1/2)*e))*ln(e*x+d)/e^3-d^2*p*ln(-e*(b^(1/2)+(-a)^(1/2)*x)/((-a)^(1/2) *d-b^(1/2)*e))*ln(e*x+d)/e^3+1/2*b*p*ln(a*x^2+b)/a/e-d^2*p*polylog(2,(-a)^ (1/2)*(e*x+d)/((-a)^(1/2)*d-b^(1/2)*e))/e^3-d^2*p*polylog(2,(-a)^(1/2)*(e* x+d)/((-a)^(1/2)*d+b^(1/2)*e))/e^3+2*d^2*p*polylog(2,1+e*x/d)/e^3
Time = 0.20 (sec) , antiderivative size = 349, normalized size of antiderivative = 0.99 \[ \int \frac {x^2 \log \left (c \left (a+\frac {b}{x^2}\right )^p\right )}{d+e x} \, dx=\frac {4 \sqrt {a} \sqrt {b} d e p \arctan \left (\frac {\sqrt {b}}{\sqrt {a} x}\right )+b e^2 p \log \left (a+\frac {b}{x^2}\right )-2 a d e x \log \left (c \left (a+\frac {b}{x^2}\right )^p\right )+a e^2 x^2 \log \left (c \left (a+\frac {b}{x^2}\right )^p\right )+2 b e^2 p \log (x)+2 a d^2 \log \left (c \left (a+\frac {b}{x^2}\right )^p\right ) \log (d+e x)+4 a d^2 p \log \left (-\frac {e x}{d}\right ) \log (d+e x)-2 a d^2 p \log \left (\frac {e \left (\sqrt {b}-\sqrt {-a} x\right )}{\sqrt {-a} d+\sqrt {b} e}\right ) \log (d+e x)-2 a d^2 p \log \left (\frac {e \left (\sqrt {b}+\sqrt {-a} x\right )}{-\sqrt {-a} d+\sqrt {b} e}\right ) \log (d+e x)-2 a d^2 p \operatorname {PolyLog}\left (2,\frac {\sqrt {-a} (d+e x)}{\sqrt {-a} d-\sqrt {b} e}\right )-2 a d^2 p \operatorname {PolyLog}\left (2,\frac {\sqrt {-a} (d+e x)}{\sqrt {-a} d+\sqrt {b} e}\right )+4 a d^2 p \operatorname {PolyLog}\left (2,1+\frac {e x}{d}\right )}{2 a e^3} \] Input:
Integrate[(x^2*Log[c*(a + b/x^2)^p])/(d + e*x),x]
Output:
(4*Sqrt[a]*Sqrt[b]*d*e*p*ArcTan[Sqrt[b]/(Sqrt[a]*x)] + b*e^2*p*Log[a + b/x ^2] - 2*a*d*e*x*Log[c*(a + b/x^2)^p] + a*e^2*x^2*Log[c*(a + b/x^2)^p] + 2* b*e^2*p*Log[x] + 2*a*d^2*Log[c*(a + b/x^2)^p]*Log[d + e*x] + 4*a*d^2*p*Log [-((e*x)/d)]*Log[d + e*x] - 2*a*d^2*p*Log[(e*(Sqrt[b] - Sqrt[-a]*x))/(Sqrt [-a]*d + Sqrt[b]*e)]*Log[d + e*x] - 2*a*d^2*p*Log[(e*(Sqrt[b] + Sqrt[-a]*x ))/(-(Sqrt[-a]*d) + Sqrt[b]*e)]*Log[d + e*x] - 2*a*d^2*p*PolyLog[2, (Sqrt[ -a]*(d + e*x))/(Sqrt[-a]*d - Sqrt[b]*e)] - 2*a*d^2*p*PolyLog[2, (Sqrt[-a]* (d + e*x))/(Sqrt[-a]*d + Sqrt[b]*e)] + 4*a*d^2*p*PolyLog[2, 1 + (e*x)/d])/ (2*a*e^3)
Time = 1.19 (sec) , antiderivative size = 353, 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.087, Rules used = {2916, 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 {x^2 \log \left (c \left (a+\frac {b}{x^2}\right )^p\right )}{d+e x} \, dx\) |
\(\Big \downarrow \) 2916 |
\(\displaystyle \int \left (\frac {d^2 \log \left (c \left (a+\frac {b}{x^2}\right )^p\right )}{e^2 (d+e x)}-\frac {d \log \left (c \left (a+\frac {b}{x^2}\right )^p\right )}{e^2}+\frac {x \log \left (c \left (a+\frac {b}{x^2}\right )^p\right )}{e}\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle -\frac {2 \sqrt {b} d p \arctan \left (\frac {\sqrt {a} x}{\sqrt {b}}\right )}{\sqrt {a} e^2}+\frac {d^2 \log (d+e x) \log \left (c \left (a+\frac {b}{x^2}\right )^p\right )}{e^3}-\frac {d x \log \left (c \left (a+\frac {b}{x^2}\right )^p\right )}{e^2}+\frac {x^2 \log \left (c \left (a+\frac {b}{x^2}\right )^p\right )}{2 e}-\frac {d^2 p \operatorname {PolyLog}\left (2,\frac {\sqrt {-a} (d+e x)}{\sqrt {-a} d-\sqrt {b} e}\right )}{e^3}-\frac {d^2 p \operatorname {PolyLog}\left (2,\frac {\sqrt {-a} (d+e x)}{\sqrt {-a} d+\sqrt {b} e}\right )}{e^3}-\frac {d^2 p \log (d+e x) \log \left (\frac {e \left (\sqrt {b}-\sqrt {-a} x\right )}{\sqrt {-a} d+\sqrt {b} e}\right )}{e^3}-\frac {d^2 p \log (d+e x) \log \left (-\frac {e \left (\sqrt {-a} x+\sqrt {b}\right )}{\sqrt {-a} d-\sqrt {b} e}\right )}{e^3}+\frac {b p \log \left (a x^2+b\right )}{2 a e}+\frac {2 d^2 p \operatorname {PolyLog}\left (2,\frac {e x}{d}+1\right )}{e^3}+\frac {2 d^2 p \log \left (-\frac {e x}{d}\right ) \log (d+e x)}{e^3}\) |
Input:
Int[(x^2*Log[c*(a + b/x^2)^p])/(d + e*x),x]
Output:
(-2*Sqrt[b]*d*p*ArcTan[(Sqrt[a]*x)/Sqrt[b]])/(Sqrt[a]*e^2) - (d*x*Log[c*(a + b/x^2)^p])/e^2 + (x^2*Log[c*(a + b/x^2)^p])/(2*e) + (d^2*Log[c*(a + b/x ^2)^p]*Log[d + e*x])/e^3 + (2*d^2*p*Log[-((e*x)/d)]*Log[d + e*x])/e^3 - (d ^2*p*Log[(e*(Sqrt[b] - Sqrt[-a]*x))/(Sqrt[-a]*d + Sqrt[b]*e)]*Log[d + e*x] )/e^3 - (d^2*p*Log[-((e*(Sqrt[b] + Sqrt[-a]*x))/(Sqrt[-a]*d - Sqrt[b]*e))] *Log[d + e*x])/e^3 + (b*p*Log[b + a*x^2])/(2*a*e) - (d^2*p*PolyLog[2, (Sqr t[-a]*(d + e*x))/(Sqrt[-a]*d - Sqrt[b]*e)])/e^3 - (d^2*p*PolyLog[2, (Sqrt[ -a]*(d + e*x))/(Sqrt[-a]*d + Sqrt[b]*e)])/e^3 + (2*d^2*p*PolyLog[2, 1 + (e *x)/d])/e^3
Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))^(q_.)*(x_)^(m _.)*((f_.) + (g_.)*(x_))^(r_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*Log [c*(d + e*x^n)^p])^q, x^m*(f + g*x)^r, x], x] /; FreeQ[{a, b, c, d, e, f, g , n, p, q}, x] && IntegerQ[m] && IntegerQ[r]
Time = 2.17 (sec) , antiderivative size = 362, normalized size of antiderivative = 1.03
method | result | size |
parts | \(\frac {x^{2} \ln \left (c \left (a +\frac {b}{x^{2}}\right )^{p}\right )}{2 e}-\frac {d x \ln \left (c \left (a +\frac {b}{x^{2}}\right )^{p}\right )}{e^{2}}+\frac {d^{2} \ln \left (c \left (a +\frac {b}{x^{2}}\right )^{p}\right ) \ln \left (e x +d \right )}{e^{3}}+2 p b \,e^{2} \left (\frac {\ln \left (a \,d^{2}-2 a d \left (e x +d \right )+a \left (e x +d \right )^{2}+b \,e^{2}\right )}{4 e^{3} a}-\frac {d \arctan \left (\frac {-2 d a +2 a \left (e x +d \right )}{2 e \sqrt {a b}}\right )}{e^{4} \sqrt {a b}}-\frac {d^{2} \left (-\frac {\operatorname {dilog}\left (-\frac {e x}{d}\right )+\ln \left (e x +d \right ) \ln \left (-\frac {e x}{d}\right )}{b \,e^{2}}-\frac {\left (-\frac {\ln \left (e x +d \right ) \left (\ln \left (\frac {e \sqrt {-a b}+d a -a \left (e x +d \right )}{e \sqrt {-a b}+d a}\right )+\ln \left (\frac {e \sqrt {-a b}-d a +a \left (e x +d \right )}{e \sqrt {-a b}-d a}\right )\right )}{2 a}-\frac {\operatorname {dilog}\left (\frac {e \sqrt {-a b}+d a -a \left (e x +d \right )}{e \sqrt {-a b}+d a}\right )+\operatorname {dilog}\left (\frac {e \sqrt {-a b}-d a +a \left (e x +d \right )}{e \sqrt {-a b}-d a}\right )}{2 a}\right ) a}{b \,e^{2}}\right )}{e^{3}}\right )\) | \(362\) |
Input:
int(x^2*ln(c*(a+b/x^2)^p)/(e*x+d),x,method=_RETURNVERBOSE)
Output:
1/2*x^2*ln(c*(a+b/x^2)^p)/e-d*x*ln(c*(a+b/x^2)^p)/e^2+d^2*ln(c*(a+b/x^2)^p )*ln(e*x+d)/e^3+2*p*b*e^2*(1/4/e^3/a*ln(a*d^2-2*a*d*(e*x+d)+a*(e*x+d)^2+b* e^2)-1/e^4*d/(a*b)^(1/2)*arctan(1/2*(-2*d*a+2*a*(e*x+d))/e/(a*b)^(1/2))-1/ e^3*d^2*(-(dilog(-e*x/d)+ln(e*x+d)*ln(-e*x/d))/b/e^2-(-1/2*ln(e*x+d)*(ln(( e*(-a*b)^(1/2)+d*a-a*(e*x+d))/(e*(-a*b)^(1/2)+d*a))+ln((e*(-a*b)^(1/2)-d*a +a*(e*x+d))/(e*(-a*b)^(1/2)-d*a)))/a-1/2*(dilog((e*(-a*b)^(1/2)+d*a-a*(e*x +d))/(e*(-a*b)^(1/2)+d*a))+dilog((e*(-a*b)^(1/2)-d*a+a*(e*x+d))/(e*(-a*b)^ (1/2)-d*a)))/a)/b*a/e^2))
\[ \int \frac {x^2 \log \left (c \left (a+\frac {b}{x^2}\right )^p\right )}{d+e x} \, dx=\int { \frac {x^{2} \log \left ({\left (a + \frac {b}{x^{2}}\right )}^{p} c\right )}{e x + d} \,d x } \] Input:
integrate(x^2*log(c*(a+b/x^2)^p)/(e*x+d),x, algorithm="fricas")
Output:
integral(x^2*log(c*((a*x^2 + b)/x^2)^p)/(e*x + d), x)
\[ \int \frac {x^2 \log \left (c \left (a+\frac {b}{x^2}\right )^p\right )}{d+e x} \, dx=\int \frac {x^{2} \log {\left (c \left (a + \frac {b}{x^{2}}\right )^{p} \right )}}{d + e x}\, dx \] Input:
integrate(x**2*ln(c*(a+b/x**2)**p)/(e*x+d),x)
Output:
Integral(x**2*log(c*(a + b/x**2)**p)/(d + e*x), x)
\[ \int \frac {x^2 \log \left (c \left (a+\frac {b}{x^2}\right )^p\right )}{d+e x} \, dx=\int { \frac {x^{2} \log \left ({\left (a + \frac {b}{x^{2}}\right )}^{p} c\right )}{e x + d} \,d x } \] Input:
integrate(x^2*log(c*(a+b/x^2)^p)/(e*x+d),x, algorithm="maxima")
Output:
integrate(x^2*log((a + b/x^2)^p*c)/(e*x + d), x)
\[ \int \frac {x^2 \log \left (c \left (a+\frac {b}{x^2}\right )^p\right )}{d+e x} \, dx=\int { \frac {x^{2} \log \left ({\left (a + \frac {b}{x^{2}}\right )}^{p} c\right )}{e x + d} \,d x } \] Input:
integrate(x^2*log(c*(a+b/x^2)^p)/(e*x+d),x, algorithm="giac")
Output:
integrate(x^2*log((a + b/x^2)^p*c)/(e*x + d), x)
Timed out. \[ \int \frac {x^2 \log \left (c \left (a+\frac {b}{x^2}\right )^p\right )}{d+e x} \, dx=\int \frac {x^2\,\ln \left (c\,{\left (a+\frac {b}{x^2}\right )}^p\right )}{d+e\,x} \,d x \] Input:
int((x^2*log(c*(a + b/x^2)^p))/(d + e*x),x)
Output:
int((x^2*log(c*(a + b/x^2)^p))/(d + e*x), x)
\[ \int \frac {x^2 \log \left (c \left (a+\frac {b}{x^2}\right )^p\right )}{d+e x} \, dx=\int \frac {\mathrm {log}\left (\frac {\left (a \,x^{2}+b \right )^{p} c}{x^{2 p}}\right ) x^{2}}{e x +d}d x \] Input:
int(x^2*log(c*(a+b/x^2)^p)/(e*x+d),x)
Output:
int((log(((a*x**2 + b)**p*c)/x**(2*p))*x**2)/(d + e*x),x)