Integrand size = 27, antiderivative size = 77 \[ \int \frac {(f x)^{-1+m} \left (a+b \log \left (c x^n\right )\right )}{d+e x^m} \, dx=\frac {x^{1-m} (f x)^{-1+m} \left (a+b \log \left (c x^n\right )\right ) \log \left (1+\frac {e x^m}{d}\right )}{e m}+\frac {b n x^{1-m} (f x)^{-1+m} \operatorname {PolyLog}\left (2,-\frac {e x^m}{d}\right )}{e m^2} \] Output:
x^(1-m)*(f*x)^(-1+m)*(a+b*ln(c*x^n))*ln(1+e*x^m/d)/e/m+b*n*x^(1-m)*(f*x)^( -1+m)*polylog(2,-e*x^m/d)/e/m^2
Time = 0.56 (sec) , antiderivative size = 141, normalized size of antiderivative = 1.83 \[ \int \frac {(f x)^{-1+m} \left (a+b \log \left (c x^n\right )\right )}{d+e x^m} \, dx=\frac {x^{-m} (f x)^m \left (-b m^2 n \log ^2(x)+a m \log \left (d-d x^m\right )+b m \log \left (c x^n\right ) \log \left (d-d x^m\right )-b n \log \left (-\frac {e x^m}{d}\right ) \log \left (d+e x^m\right )+m \log (x) \left (a m+b m \log \left (c x^n\right )-b n \log \left (d-d x^m\right )+b n \log \left (d+e x^m\right )\right )-b n \operatorname {PolyLog}\left (2,1+\frac {e x^m}{d}\right )\right )}{e f m^2} \] Input:
Integrate[((f*x)^(-1 + m)*(a + b*Log[c*x^n]))/(d + e*x^m),x]
Output:
((f*x)^m*(-(b*m^2*n*Log[x]^2) + a*m*Log[d - d*x^m] + b*m*Log[c*x^n]*Log[d - d*x^m] - b*n*Log[-((e*x^m)/d)]*Log[d + e*x^m] + m*Log[x]*(a*m + b*m*Log[ c*x^n] - b*n*Log[d - d*x^m] + b*n*Log[d + e*x^m]) - b*n*PolyLog[2, 1 + (e* x^m)/d]))/(e*f*m^2*x^m)
Time = 0.41 (sec) , antiderivative size = 64, normalized size of antiderivative = 0.83, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {2777, 2775, 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 {(f x)^{m-1} \left (a+b \log \left (c x^n\right )\right )}{d+e x^m} \, dx\) |
\(\Big \downarrow \) 2777 |
\(\displaystyle x^{1-m} (f x)^{m-1} \int \frac {x^{m-1} \left (a+b \log \left (c x^n\right )\right )}{e x^m+d}dx\) |
\(\Big \downarrow \) 2775 |
\(\displaystyle x^{1-m} (f x)^{m-1} \left (\frac {\log \left (\frac {e x^m}{d}+1\right ) \left (a+b \log \left (c x^n\right )\right )}{e m}-\frac {b n \int \frac {\log \left (\frac {e x^m}{d}+1\right )}{x}dx}{e m}\right )\) |
\(\Big \downarrow \) 2838 |
\(\displaystyle x^{1-m} (f x)^{m-1} \left (\frac {\log \left (\frac {e x^m}{d}+1\right ) \left (a+b \log \left (c x^n\right )\right )}{e m}+\frac {b n \operatorname {PolyLog}\left (2,-\frac {e x^m}{d}\right )}{e m^2}\right )\) |
Input:
Int[((f*x)^(-1 + m)*(a + b*Log[c*x^n]))/(d + e*x^m),x]
Output:
x^(1 - m)*(f*x)^(-1 + m)*(((a + b*Log[c*x^n])*Log[1 + (e*x^m)/d])/(e*m) + (b*n*PolyLog[2, -((e*x^m)/d)])/(e*m^2))
Int[(((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)*((f_.)*(x_))^(m_.))/((d_) + (e_.)*(x_)^(r_)), x_Symbol] :> Simp[f^m*Log[1 + e*(x^r/d)]*((a + b*Log[c* x^n])^p/(e*r)), x] - Simp[b*f^m*n*(p/(e*r)) Int[Log[1 + e*(x^r/d)]*((a + b*Log[c*x^n])^(p - 1)/x), x], x] /; FreeQ[{a, b, c, d, e, f, m, n, r}, x] & & EqQ[m, r - 1] && IGtQ[p, 0] && (IntegerQ[m] || GtQ[f, 0]) && NeQ[r, n]
Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)*((f_)*(x_))^(m_.)*((d_) + ( e_.)*(x_)^(r_))^(q_.), x_Symbol] :> Simp[(f*x)^m/x^m Int[x^m*(d + e*x^r)^ q*(a + b*Log[c*x^n])^p, x], x] /; FreeQ[{a, b, c, d, e, f, m, n, q, r}, x] && EqQ[m, r - 1] && IGtQ[p, 0] && !(IntegerQ[m] || GtQ[f, 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 \frac {\left (f x \right )^{m -1} \left (a +b \ln \left (c \,x^{n}\right )\right )}{d +e \,x^{m}}d x\]
Input:
int((f*x)^(m-1)*(a+b*ln(c*x^n))/(d+e*x^m),x)
Output:
int((f*x)^(m-1)*(a+b*ln(c*x^n))/(d+e*x^m),x)
Time = 0.08 (sec) , antiderivative size = 77, normalized size of antiderivative = 1.00 \[ \int \frac {(f x)^{-1+m} \left (a+b \log \left (c x^n\right )\right )}{d+e x^m} \, dx=\frac {b f^{m - 1} m n \log \left (x\right ) \log \left (\frac {e x^{m} + d}{d}\right ) + b f^{m - 1} n {\rm Li}_2\left (-\frac {e x^{m} + d}{d} + 1\right ) + {\left (b m \log \left (c\right ) + a m\right )} f^{m - 1} \log \left (e x^{m} + d\right )}{e m^{2}} \] Input:
integrate((f*x)^(-1+m)*(a+b*log(c*x^n))/(d+e*x^m),x, algorithm="fricas")
Output:
(b*f^(m - 1)*m*n*log(x)*log((e*x^m + d)/d) + b*f^(m - 1)*n*dilog(-(e*x^m + d)/d + 1) + (b*m*log(c) + a*m)*f^(m - 1)*log(e*x^m + d))/(e*m^2)
\[ \int \frac {(f x)^{-1+m} \left (a+b \log \left (c x^n\right )\right )}{d+e x^m} \, dx=\int \frac {\left (f x\right )^{m - 1} \left (a + b \log {\left (c x^{n} \right )}\right )}{d + e x^{m}}\, dx \] Input:
integrate((f*x)**(-1+m)*(a+b*ln(c*x**n))/(d+e*x**m),x)
Output:
Integral((f*x)**(m - 1)*(a + b*log(c*x**n))/(d + e*x**m), x)
\[ \int \frac {(f x)^{-1+m} \left (a+b \log \left (c x^n\right )\right )}{d+e x^m} \, dx=\int { \frac {{\left (b \log \left (c x^{n}\right ) + a\right )} \left (f x\right )^{m - 1}}{e x^{m} + d} \,d x } \] Input:
integrate((f*x)^(-1+m)*(a+b*log(c*x^n))/(d+e*x^m),x, algorithm="maxima")
Output:
b*integrate((f^m*x^m*log(c) + f^m*x^m*log(x^n))/(e*f*x*x^m + d*f*x), x) + a*f^(m - 1)*log((e*x^m + d)/e)/(e*m)
\[ \int \frac {(f x)^{-1+m} \left (a+b \log \left (c x^n\right )\right )}{d+e x^m} \, dx=\int { \frac {{\left (b \log \left (c x^{n}\right ) + a\right )} \left (f x\right )^{m - 1}}{e x^{m} + d} \,d x } \] Input:
integrate((f*x)^(-1+m)*(a+b*log(c*x^n))/(d+e*x^m),x, algorithm="giac")
Output:
integrate((b*log(c*x^n) + a)*(f*x)^(m - 1)/(e*x^m + d), x)
Timed out. \[ \int \frac {(f x)^{-1+m} \left (a+b \log \left (c x^n\right )\right )}{d+e x^m} \, dx=\int \frac {{\left (f\,x\right )}^{m-1}\,\left (a+b\,\ln \left (c\,x^n\right )\right )}{d+e\,x^m} \,d x \] Input:
int(((f*x)^(m - 1)*(a + b*log(c*x^n)))/(d + e*x^m),x)
Output:
int(((f*x)^(m - 1)*(a + b*log(c*x^n)))/(d + e*x^m), x)
\[ \int \frac {(f x)^{-1+m} \left (a+b \log \left (c x^n\right )\right )}{d+e x^m} \, dx=\frac {f^{m} \left (-2 \left (\int \frac {\mathrm {log}\left (x^{n} c \right )}{x^{m} e x +d x}d x \right ) b d m n +2 \,\mathrm {log}\left (x^{m} e +d \right ) a n +\mathrm {log}\left (x^{n} c \right )^{2} b m \right )}{2 e f m n} \] Input:
int((f*x)^(-1+m)*(a+b*log(c*x^n))/(d+e*x^m),x)
Output:
(f**m*( - 2*int(log(x**n*c)/(x**m*e*x + d*x),x)*b*d*m*n + 2*log(x**m*e + d )*a*n + log(x**n*c)**2*b*m))/(2*e*f*m*n)