Integrand size = 19, antiderivative size = 50 \[ \int \frac {\log \left (c \left (d+e x^n\right )^p\right )}{f x} \, dx=\frac {\log \left (-\frac {e x^n}{d}\right ) \log \left (c \left (d+e x^n\right )^p\right )}{f n}+\frac {p \operatorname {PolyLog}\left (2,1+\frac {e x^n}{d}\right )}{f n} \] Output:
ln(-e*x^n/d)*ln(c*(d+e*x^n)^p)/f/n+p*polylog(2,1+e*x^n/d)/f/n
Time = 0.01 (sec) , antiderivative size = 46, normalized size of antiderivative = 0.92 \[ \int \frac {\log \left (c \left (d+e x^n\right )^p\right )}{f x} \, dx=\frac {\log \left (-\frac {e x^n}{d}\right ) \log \left (c \left (d+e x^n\right )^p\right )+p \operatorname {PolyLog}\left (2,\frac {d+e x^n}{d}\right )}{f n} \] Input:
Integrate[Log[c*(d + e*x^n)^p]/(f*x),x]
Output:
(Log[-((e*x^n)/d)]*Log[c*(d + e*x^n)^p] + p*PolyLog[2, (d + e*x^n)/d])/(f* n)
Time = 0.41 (sec) , antiderivative size = 45, normalized size of antiderivative = 0.90, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.211, Rules used = {27, 2904, 2841, 2752}
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 {\log \left (c \left (d+e x^n\right )^p\right )}{f x} \, dx\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {\int \frac {\log \left (c \left (e x^n+d\right )^p\right )}{x}dx}{f}\) |
\(\Big \downarrow \) 2904 |
\(\displaystyle \frac {\int x^{-n} \log \left (c \left (e x^n+d\right )^p\right )dx^n}{f n}\) |
\(\Big \downarrow \) 2841 |
\(\displaystyle \frac {\log \left (-\frac {e x^n}{d}\right ) \log \left (c \left (d+e x^n\right )^p\right )-e p \int \frac {\log \left (-\frac {e x^n}{d}\right )}{e x^n+d}dx^n}{f n}\) |
\(\Big \downarrow \) 2752 |
\(\displaystyle \frac {\log \left (-\frac {e x^n}{d}\right ) \log \left (c \left (d+e x^n\right )^p\right )+p \operatorname {PolyLog}\left (2,\frac {e x^n}{d}+1\right )}{f n}\) |
Input:
Int[Log[c*(d + e*x^n)^p]/(f*x),x]
Output:
(Log[-((e*x^n)/d)]*Log[c*(d + e*x^n)^p] + p*PolyLog[2, 1 + (e*x^n)/d])/(f* n)
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[Log[(c_.)*(x_)]/((d_) + (e_.)*(x_)), x_Symbol] :> Simp[(-e^(-1))*PolyLo g[2, 1 - c*x], x] /; FreeQ[{c, d, e}, x] && EqQ[e + c*d, 0]
Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))/((f_.) + (g_.)*(x_ )), x_Symbol] :> Simp[Log[e*((f + g*x)/(e*f - d*g))]*((a + b*Log[c*(d + e*x )^n])/g), x] - Simp[b*e*(n/g) Int[Log[(e*(f + g*x))/(e*f - d*g)]/(d + e*x ), x], x] /; FreeQ[{a, b, c, d, e, f, g, n}, x] && NeQ[e*f - d*g, 0]
Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))^(q_.)*(x_)^(m _.), x_Symbol] :> Simp[1/n Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a + b*L og[c*(d + e*x)^p])^q, x], x, x^n], x] /; FreeQ[{a, b, c, d, e, m, n, p, q}, x] && IntegerQ[Simplify[(m + 1)/n]] && (GtQ[(m + 1)/n, 0] || IGtQ[q, 0]) & & !(EqQ[q, 1] && ILtQ[n, 0] && IGtQ[m, 0])
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 2.22 (sec) , antiderivative size = 182, normalized size of antiderivative = 3.64
method | result | size |
risch | \(\frac {\ln \left (x \right ) \ln \left (\left (d +e \,x^{n}\right )^{p}\right )}{f}+\frac {\left (\frac {i \pi \,\operatorname {csgn}\left (i \left (d +e \,x^{n}\right )^{p}\right ) {\operatorname {csgn}\left (i c \left (d +e \,x^{n}\right )^{p}\right )}^{2}}{2}-\frac {i \pi \,\operatorname {csgn}\left (i \left (d +e \,x^{n}\right )^{p}\right ) \operatorname {csgn}\left (i c \left (d +e \,x^{n}\right )^{p}\right ) \operatorname {csgn}\left (i c \right )}{2}-\frac {i \pi {\operatorname {csgn}\left (i c \left (d +e \,x^{n}\right )^{p}\right )}^{3}}{2}+\frac {i \pi {\operatorname {csgn}\left (i c \left (d +e \,x^{n}\right )^{p}\right )}^{2} \operatorname {csgn}\left (i c \right )}{2}+\ln \left (c \right )\right ) \ln \left (x \right )}{f}-\frac {p \operatorname {dilog}\left (\frac {d +e \,x^{n}}{d}\right )}{f n}-\frac {p \ln \left (x \right ) \ln \left (\frac {d +e \,x^{n}}{d}\right )}{f}\) | \(182\) |
Input:
int(ln(c*(d+e*x^n)^p)/f/x,x,method=_RETURNVERBOSE)
Output:
1/f*ln(x)*ln((d+e*x^n)^p)+1/f*(1/2*I*Pi*csgn(I*(d+e*x^n)^p)*csgn(I*c*(d+e* x^n)^p)^2-1/2*I*Pi*csgn(I*(d+e*x^n)^p)*csgn(I*c*(d+e*x^n)^p)*csgn(I*c)-1/2 *I*Pi*csgn(I*c*(d+e*x^n)^p)^3+1/2*I*Pi*csgn(I*c*(d+e*x^n)^p)^2*csgn(I*c)+l n(c))*ln(x)-1/f*p/n*dilog((d+e*x^n)/d)-1/f*p*ln(x)*ln((d+e*x^n)/d)
Time = 0.07 (sec) , antiderivative size = 63, normalized size of antiderivative = 1.26 \[ \int \frac {\log \left (c \left (d+e x^n\right )^p\right )}{f x} \, dx=\frac {n p \log \left (e x^{n} + d\right ) \log \left (x\right ) - n p \log \left (x\right ) \log \left (\frac {e x^{n} + d}{d}\right ) + n \log \left (c\right ) \log \left (x\right ) - p {\rm Li}_2\left (-\frac {e x^{n} + d}{d} + 1\right )}{f n} \] Input:
integrate(log(c*(d+e*x^n)^p)/f/x,x, algorithm="fricas")
Output:
(n*p*log(e*x^n + d)*log(x) - n*p*log(x)*log((e*x^n + d)/d) + n*log(c)*log( x) - p*dilog(-(e*x^n + d)/d + 1))/(f*n)
\[ \int \frac {\log \left (c \left (d+e x^n\right )^p\right )}{f x} \, dx=\frac {\int \frac {\log {\left (c \left (d + e x^{n}\right )^{p} \right )}}{x}\, dx}{f} \] Input:
integrate(ln(c*(d+e*x**n)**p)/f/x,x)
Output:
Integral(log(c*(d + e*x**n)**p)/x, x)/f
\[ \int \frac {\log \left (c \left (d+e x^n\right )^p\right )}{f x} \, dx=\int { \frac {\log \left ({\left (e x^{n} + d\right )}^{p} c\right )}{f x} \,d x } \] Input:
integrate(log(c*(d+e*x^n)^p)/f/x,x, algorithm="maxima")
Output:
1/2*(2*d*n*p*integrate(log(x)/(e*x*x^n + d*x), x) - n*p*log(x)^2 + 2*log(( e*x^n + d)^p)*log(x) + 2*log(c)*log(x))/f
\[ \int \frac {\log \left (c \left (d+e x^n\right )^p\right )}{f x} \, dx=\int { \frac {\log \left ({\left (e x^{n} + d\right )}^{p} c\right )}{f x} \,d x } \] Input:
integrate(log(c*(d+e*x^n)^p)/f/x,x, algorithm="giac")
Output:
integrate(log((e*x^n + d)^p*c)/(f*x), x)
Timed out. \[ \int \frac {\log \left (c \left (d+e x^n\right )^p\right )}{f x} \, dx=\int \frac {\ln \left (c\,{\left (d+e\,x^n\right )}^p\right )}{f\,x} \,d x \] Input:
int(log(c*(d + e*x^n)^p)/(f*x),x)
Output:
int(log(c*(d + e*x^n)^p)/(f*x), x)
\[ \int \frac {\log \left (c \left (d+e x^n\right )^p\right )}{f x} \, dx=\frac {2 \left (\int \frac {\mathrm {log}\left (\left (x^{n} e +d \right )^{p} c \right )}{x^{n} e x +d x}d x \right ) d n p +{\mathrm {log}\left (\left (x^{n} e +d \right )^{p} c \right )}^{2}}{2 f n p} \] Input:
int(log(c*(d+e*x^n)^p)/f/x,x)
Output:
(2*int(log((x**n*e + d)**p*c)/(x**n*e*x + d*x),x)*d*n*p + log((x**n*e + d) **p*c)**2)/(2*f*n*p)