\(\int \frac {1}{(c+d x)^2 \log (e (\frac {a+b x}{c+d x})^n)} \, dx\) [244]

Optimal result
Mathematica [A] (verified)
Rubi [A] (verified)
Maple [F]
Fricas [A] (verification not implemented)
Sympy [F(-1)]
Maxima [F]
Giac [F]
Mupad [F(-1)]
Reduce [F]

Optimal result

Integrand size = 28, antiderivative size = 72 \[ \int \frac {1}{(c+d x)^2 \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )} \, dx=\frac {(a+b x) \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )^{-1/n} \operatorname {ExpIntegralEi}\left (\frac {\log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{n}\right )}{(b c-a d) n (c+d x)} \] Output:

(b*x+a)*Ei(ln(e*((b*x+a)/(d*x+c))^n)/n)/(-a*d+b*c)/n/((e*((b*x+a)/(d*x+c)) 
^n)^(1/n))/(d*x+c)
                                                                                    
                                                                                    
 

Mathematica [A] (verified)

Time = 0.10 (sec) , antiderivative size = 72, normalized size of antiderivative = 1.00 \[ \int \frac {1}{(c+d x)^2 \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )} \, dx=\frac {(a+b x) \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )^{-1/n} \operatorname {ExpIntegralEi}\left (\frac {\log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{n}\right )}{(b c-a d) n (c+d x)} \] Input:

Integrate[1/((c + d*x)^2*Log[e*((a + b*x)/(c + d*x))^n]),x]
 

Output:

((a + b*x)*ExpIntegralEi[Log[e*((a + b*x)/(c + d*x))^n]/n])/((b*c - a*d)*n 
*(e*((a + b*x)/(c + d*x))^n)^n^(-1)*(c + d*x))
 

Rubi [A] (verified)

Time = 0.26 (sec) , antiderivative size = 72, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.107, Rules used = {2951, 2737, 2609}

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 {1}{(c+d x)^2 \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )} \, dx\)

\(\Big \downarrow \) 2951

\(\displaystyle \frac {\int \frac {1}{\log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}d\frac {a+b x}{c+d x}}{b c-a d}\)

\(\Big \downarrow \) 2737

\(\displaystyle \frac {(a+b x) \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )^{-1/n} \int \frac {\left (e \left (\frac {a+b x}{c+d x}\right )^n\right )^{\frac {1}{n}} (c+d x)}{a+b x}d\log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{n (c+d x) (b c-a d)}\)

\(\Big \downarrow \) 2609

\(\displaystyle \frac {(a+b x) \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )^{-1/n} \operatorname {ExpIntegralEi}\left (\frac {\log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{n}\right )}{n (c+d x) (b c-a d)}\)

Input:

Int[1/((c + d*x)^2*Log[e*((a + b*x)/(c + d*x))^n]),x]
 

Output:

((a + b*x)*ExpIntegralEi[Log[e*((a + b*x)/(c + d*x))^n]/n])/((b*c - a*d)*n 
*(e*((a + b*x)/(c + d*x))^n)^n^(-1)*(c + d*x))
 

Defintions of rubi rules used

rule 2609
Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/((c_.) + (d_.)*(x_)), x_Symbol] :> Si 
mp[(F^(g*(e - c*(f/d)))/d)*ExpIntegralEi[f*g*(c + d*x)*(Log[F]/d)], x] /; F 
reeQ[{F, c, d, e, f, g}, x] &&  !TrueQ[$UseGamma]
 

rule 2737
Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_), x_Symbol] :> Simp[x/(n*(c*x 
^n)^(1/n))   Subst[Int[E^(x/n)*(a + b*x)^p, x], x, Log[c*x^n]], x] /; FreeQ 
[{a, b, c, n, p}, x]
 

rule 2951
Int[((A_.) + Log[(e_.)*(((a_.) + (b_.)*(x_))/((c_.) + (d_.)*(x_)))^(n_.)]*( 
B_.))^(p_.)*((f_.) + (g_.)*(x_))^(m_.), x_Symbol] :> Simp[(b*c - a*d)^(m + 
1)*(g/d)^m   Subst[Int[(A + B*Log[e*x^n])^p/(b - d*x)^(m + 2), x], x, (a + 
b*x)/(c + d*x)], x] /; FreeQ[{a, b, c, d, e, f, g, A, B, n}, x] && NeQ[b*c 
- a*d, 0] && IntegersQ[m, p] && EqQ[d*f - c*g, 0] && (GtQ[p, 0] || LtQ[m, - 
1])
 
Maple [F]

\[\int \frac {1}{\left (d x +c \right )^{2} \ln \left (e \left (\frac {b x +a}{d x +c}\right )^{n}\right )}d x\]

Input:

int(1/(d*x+c)^2/ln(e*((b*x+a)/(d*x+c))^n),x)
 

Output:

int(1/(d*x+c)^2/ln(e*((b*x+a)/(d*x+c))^n),x)
 

Fricas [A] (verification not implemented)

Time = 0.07 (sec) , antiderivative size = 40, normalized size of antiderivative = 0.56 \[ \int \frac {1}{(c+d x)^2 \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )} \, dx=\frac {\operatorname {log\_integral}\left (\frac {{\left (b x + a\right )} e^{\left (\frac {1}{n}\right )}}{d x + c}\right )}{{\left (b c - a d\right )} e^{\left (\frac {1}{n}\right )} n} \] Input:

integrate(1/(d*x+c)^2/log(e*((b*x+a)/(d*x+c))^n),x, algorithm="fricas")
 

Output:

log_integral((b*x + a)*e^(1/n)/(d*x + c))/((b*c - a*d)*e^(1/n)*n)
 

Sympy [F(-1)]

Timed out. \[ \int \frac {1}{(c+d x)^2 \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )} \, dx=\text {Timed out} \] Input:

integrate(1/(d*x+c)**2/ln(e*((b*x+a)/(d*x+c))**n),x)
 

Output:

Timed out
 

Maxima [F]

\[ \int \frac {1}{(c+d x)^2 \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )} \, dx=\int { \frac {1}{{\left (d x + c\right )}^{2} \log \left (e \left (\frac {b x + a}{d x + c}\right )^{n}\right )} \,d x } \] Input:

integrate(1/(d*x+c)^2/log(e*((b*x+a)/(d*x+c))^n),x, algorithm="maxima")
 

Output:

integrate(1/((d*x + c)^2*log(e*((b*x + a)/(d*x + c))^n)), x)
 

Giac [F]

\[ \int \frac {1}{(c+d x)^2 \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )} \, dx=\int { \frac {1}{{\left (d x + c\right )}^{2} \log \left (e \left (\frac {b x + a}{d x + c}\right )^{n}\right )} \,d x } \] Input:

integrate(1/(d*x+c)^2/log(e*((b*x+a)/(d*x+c))^n),x, algorithm="giac")
 

Output:

integrate(1/((d*x + c)^2*log(e*((b*x + a)/(d*x + c))^n)), x)
 

Mupad [F(-1)]

Timed out. \[ \int \frac {1}{(c+d x)^2 \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )} \, dx=\int \frac {1}{\ln \left (e\,{\left (\frac {a+b\,x}{c+d\,x}\right )}^n\right )\,{\left (c+d\,x\right )}^2} \,d x \] Input:

int(1/(log(e*((a + b*x)/(c + d*x))^n)*(c + d*x)^2),x)
 

Output:

int(1/(log(e*((a + b*x)/(c + d*x))^n)*(c + d*x)^2), x)
 

Reduce [F]

\[ \int \frac {1}{(c+d x)^2 \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )} \, dx =\text {Too large to display} \] Input:

int(1/(d*x+c)^2/log(e*((b*x+a)/(d*x+c))^n),x)
 

Output:

(int(1/(log(((a + b*x)**n*e)/(c + d*x)**n)*a*c**2 + 2*log(((a + b*x)**n*e) 
/(c + d*x)**n)*a*c*d*x + log(((a + b*x)**n*e)/(c + d*x)**n)*a*d**2*x**2 + 
log(((a + b*x)**n*e)/(c + d*x)**n)*b*c**2*x + 2*log(((a + b*x)**n*e)/(c + 
d*x)**n)*b*c*d*x**2 + log(((a + b*x)**n*e)/(c + d*x)**n)*b*d**2*x**3),x)*a 
**2*d**2*n - 2*int(1/(log(((a + b*x)**n*e)/(c + d*x)**n)*a*c**2 + 2*log((( 
a + b*x)**n*e)/(c + d*x)**n)*a*c*d*x + log(((a + b*x)**n*e)/(c + d*x)**n)* 
a*d**2*x**2 + log(((a + b*x)**n*e)/(c + d*x)**n)*b*c**2*x + 2*log(((a + b* 
x)**n*e)/(c + d*x)**n)*b*c*d*x**2 + log(((a + b*x)**n*e)/(c + d*x)**n)*b*d 
**2*x**3),x)*a*b*c*d*n + int(1/(log(((a + b*x)**n*e)/(c + d*x)**n)*a*c**2 
+ 2*log(((a + b*x)**n*e)/(c + d*x)**n)*a*c*d*x + log(((a + b*x)**n*e)/(c + 
 d*x)**n)*a*d**2*x**2 + log(((a + b*x)**n*e)/(c + d*x)**n)*b*c**2*x + 2*lo 
g(((a + b*x)**n*e)/(c + d*x)**n)*b*c*d*x**2 + log(((a + b*x)**n*e)/(c + d* 
x)**n)*b*d**2*x**3),x)*b**2*c**2*n - log(log(((a + b*x)**n*e)/(c + d*x)**n 
))*b)/(d*n*(a*d - b*c))