Integrand size = 34, antiderivative size = 152 \[ \int \frac {1}{(a g+b g x)^3 \left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )} \, dx=-\frac {d e^{\frac {A}{2 B}} \sqrt {\frac {e (a+b x)^2}{(c+d x)^2}} (c+d x) \operatorname {ExpIntegralEi}\left (\frac {-A-B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )}{2 B}\right )}{2 B (b c-a d)^2 g^3 (a+b x)}+\frac {b e e^{A/B} \operatorname {ExpIntegralEi}\left (-\frac {A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )}{B}\right )}{2 B (b c-a d)^2 g^3} \] Output:
-1/2*d*exp(1/2*A/B)*(e*(b*x+a)^2/(d*x+c)^2)^(1/2)*(d*x+c)*Ei(1/2*(-A-B*ln( e*(b*x+a)^2/(d*x+c)^2))/B)/B/(-a*d+b*c)^2/g^3/(b*x+a)+1/2*b*e*exp(A/B)*Ei( -(A+B*ln(e*(b*x+a)^2/(d*x+c)^2))/B)/B/(-a*d+b*c)^2/g^3
\[ \int \frac {1}{(a g+b g x)^3 \left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )} \, dx=\int \frac {1}{(a g+b g x)^3 \left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )} \, dx \] Input:
Integrate[1/((a*g + b*g*x)^3*(A + B*Log[(e*(a + b*x)^2)/(c + d*x)^2])),x]
Output:
Integrate[1/((a*g + b*g*x)^3*(A + B*Log[(e*(a + b*x)^2)/(c + d*x)^2])), x]
Time = 0.46 (sec) , antiderivative size = 137, normalized size of antiderivative = 0.90, number of steps used = 4, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.088, Rules used = {2950, 2795, 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 {1}{(a g+b g x)^3 \left (B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )+A\right )} \, dx\) |
\(\Big \downarrow \) 2950 |
\(\displaystyle \frac {\int \frac {(c+d x)^3 \left (b-\frac {d (a+b x)}{c+d x}\right )}{(a+b x)^3 \left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )}d\frac {a+b x}{c+d x}}{g^3 (b c-a d)^2}\) |
\(\Big \downarrow \) 2795 |
\(\displaystyle \frac {\int \left (\frac {b (c+d x)^3}{(a+b x)^3 \left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )}-\frac {d (c+d x)^2}{(a+b x)^2 \left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )}\right )d\frac {a+b x}{c+d x}}{g^3 (b c-a d)^2}\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle \frac {\frac {b e e^{A/B} \operatorname {ExpIntegralEi}\left (-\frac {A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )}{B}\right )}{2 B}-\frac {d e^{\frac {A}{2 B}} (c+d x) \sqrt {\frac {e (a+b x)^2}{(c+d x)^2}} \operatorname {ExpIntegralEi}\left (-\frac {A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )}{2 B}\right )}{2 B (a+b x)}}{g^3 (b c-a d)^2}\) |
Input:
Int[1/((a*g + b*g*x)^3*(A + B*Log[(e*(a + b*x)^2)/(c + d*x)^2])),x]
Output:
((b*e*E^(A/B)*ExpIntegralEi[-((A + B*Log[(e*(a + b*x)^2)/(c + d*x)^2])/B)] )/(2*B) - (d*E^(A/(2*B))*Sqrt[(e*(a + b*x)^2)/(c + d*x)^2]*(c + d*x)*ExpIn tegralEi[-1/2*(A + B*Log[(e*(a + b*x)^2)/(c + d*x)^2])/B])/(2*B*(a + b*x)) )/((b*c - a*d)^2*g^3)
Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)*((f_.)*(x_))^(m_.)*((d_) + (e_.)*(x_)^(r_.))^(q_.), x_Symbol] :> With[{u = ExpandIntegrand[(a + b*Log[ c*x^n])^p, (f*x)^m*(d + e*x^r)^q, x]}, Int[u, x] /; SumQ[u]] /; FreeQ[{a, b , c, d, e, f, m, n, p, q, r}, x] && IntegerQ[q] && (GtQ[q, 0] || (IGtQ[p, 0 ] && IntegerQ[m] && IntegerQ[r]))
Int[((A_.) + Log[(e_.)*((a_.) + (b_.)*(x_))^(n_.)*((c_.) + (d_.)*(x_))^(mn_ )]*(B_.))^(p_.)*((f_.) + (g_.)*(x_))^(m_.), x_Symbol] :> Simp[(b*c - a*d)^( m + 1)*(g/b)^m Subst[Int[x^m*((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] & & EqQ[n + mn, 0] && IGtQ[n, 0] && NeQ[b*c - a*d, 0] && IntegersQ[m, p] && E qQ[b*f - a*g, 0] && (GtQ[p, 0] || LtQ[m, -1])
\[\int \frac {1}{\left (b g x +a g \right )^{3} \left (A +B \ln \left (\frac {e \left (b x +a \right )^{2}}{\left (d x +c \right )^{2}}\right )\right )}d x\]
Input:
int(1/(b*g*x+a*g)^3/(A+B*ln(e*(b*x+a)^2/(d*x+c)^2)),x)
Output:
int(1/(b*g*x+a*g)^3/(A+B*ln(e*(b*x+a)^2/(d*x+c)^2)),x)
\[ \int \frac {1}{(a g+b g x)^3 \left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )} \, dx=\int { \frac {1}{{\left (b g x + a g\right )}^{3} {\left (B \log \left (\frac {{\left (b x + a\right )}^{2} e}{{\left (d x + c\right )}^{2}}\right ) + A\right )}} \,d x } \] Input:
integrate(1/(b*g*x+a*g)^3/(A+B*log(e*(b*x+a)^2/(d*x+c)^2)),x, algorithm="f ricas")
Output:
integral(1/(A*b^3*g^3*x^3 + 3*A*a*b^2*g^3*x^2 + 3*A*a^2*b*g^3*x + A*a^3*g^ 3 + (B*b^3*g^3*x^3 + 3*B*a*b^2*g^3*x^2 + 3*B*a^2*b*g^3*x + B*a^3*g^3)*log( (b^2*e*x^2 + 2*a*b*e*x + a^2*e)/(d^2*x^2 + 2*c*d*x + c^2))), x)
\[ \int \frac {1}{(a g+b g x)^3 \left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )} \, dx=\frac {\int \frac {1}{A a^{3} + 3 A a^{2} b x + 3 A a b^{2} x^{2} + A b^{3} x^{3} + B a^{3} \log {\left (\frac {a^{2} e}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {2 a b e x}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {b^{2} e x^{2}}{c^{2} + 2 c d x + d^{2} x^{2}} \right )} + 3 B a^{2} b x \log {\left (\frac {a^{2} e}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {2 a b e x}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {b^{2} e x^{2}}{c^{2} + 2 c d x + d^{2} x^{2}} \right )} + 3 B a b^{2} x^{2} \log {\left (\frac {a^{2} e}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {2 a b e x}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {b^{2} e x^{2}}{c^{2} + 2 c d x + d^{2} x^{2}} \right )} + B b^{3} x^{3} \log {\left (\frac {a^{2} e}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {2 a b e x}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {b^{2} e x^{2}}{c^{2} + 2 c d x + d^{2} x^{2}} \right )}}\, dx}{g^{3}} \] Input:
integrate(1/(b*g*x+a*g)**3/(A+B*ln(e*(b*x+a)**2/(d*x+c)**2)),x)
Output:
Integral(1/(A*a**3 + 3*A*a**2*b*x + 3*A*a*b**2*x**2 + A*b**3*x**3 + B*a**3 *log(a**2*e/(c**2 + 2*c*d*x + d**2*x**2) + 2*a*b*e*x/(c**2 + 2*c*d*x + d** 2*x**2) + b**2*e*x**2/(c**2 + 2*c*d*x + d**2*x**2)) + 3*B*a**2*b*x*log(a** 2*e/(c**2 + 2*c*d*x + d**2*x**2) + 2*a*b*e*x/(c**2 + 2*c*d*x + d**2*x**2) + b**2*e*x**2/(c**2 + 2*c*d*x + d**2*x**2)) + 3*B*a*b**2*x**2*log(a**2*e/( c**2 + 2*c*d*x + d**2*x**2) + 2*a*b*e*x/(c**2 + 2*c*d*x + d**2*x**2) + b** 2*e*x**2/(c**2 + 2*c*d*x + d**2*x**2)) + B*b**3*x**3*log(a**2*e/(c**2 + 2* c*d*x + d**2*x**2) + 2*a*b*e*x/(c**2 + 2*c*d*x + d**2*x**2) + b**2*e*x**2/ (c**2 + 2*c*d*x + d**2*x**2))), x)/g**3
\[ \int \frac {1}{(a g+b g x)^3 \left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )} \, dx=\int { \frac {1}{{\left (b g x + a g\right )}^{3} {\left (B \log \left (\frac {{\left (b x + a\right )}^{2} e}{{\left (d x + c\right )}^{2}}\right ) + A\right )}} \,d x } \] Input:
integrate(1/(b*g*x+a*g)^3/(A+B*log(e*(b*x+a)^2/(d*x+c)^2)),x, algorithm="m axima")
Output:
integrate(1/((b*g*x + a*g)^3*(B*log((b*x + a)^2*e/(d*x + c)^2) + A)), x)
\[ \int \frac {1}{(a g+b g x)^3 \left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )} \, dx=\int { \frac {1}{{\left (b g x + a g\right )}^{3} {\left (B \log \left (\frac {{\left (b x + a\right )}^{2} e}{{\left (d x + c\right )}^{2}}\right ) + A\right )}} \,d x } \] Input:
integrate(1/(b*g*x+a*g)^3/(A+B*log(e*(b*x+a)^2/(d*x+c)^2)),x, algorithm="g iac")
Output:
integrate(1/((b*g*x + a*g)^3*(B*log((b*x + a)^2*e/(d*x + c)^2) + A)), x)
Timed out. \[ \int \frac {1}{(a g+b g x)^3 \left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )} \, dx=\int \frac {1}{{\left (a\,g+b\,g\,x\right )}^3\,\left (A+B\,\ln \left (\frac {e\,{\left (a+b\,x\right )}^2}{{\left (c+d\,x\right )}^2}\right )\right )} \,d x \] Input:
int(1/((a*g + b*g*x)^3*(A + B*log((e*(a + b*x)^2)/(c + d*x)^2))),x)
Output:
int(1/((a*g + b*g*x)^3*(A + B*log((e*(a + b*x)^2)/(c + d*x)^2))), x)
\[ \int \frac {1}{(a g+b g x)^3 \left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )} \, dx=\frac {\int \frac {1}{\mathrm {log}\left (\frac {b^{2} e \,x^{2}+2 a b e x +a^{2} e}{d^{2} x^{2}+2 c d x +c^{2}}\right ) a^{3} b +3 \,\mathrm {log}\left (\frac {b^{2} e \,x^{2}+2 a b e x +a^{2} e}{d^{2} x^{2}+2 c d x +c^{2}}\right ) a^{2} b^{2} x +3 \,\mathrm {log}\left (\frac {b^{2} e \,x^{2}+2 a b e x +a^{2} e}{d^{2} x^{2}+2 c d x +c^{2}}\right ) a \,b^{3} x^{2}+\mathrm {log}\left (\frac {b^{2} e \,x^{2}+2 a b e x +a^{2} e}{d^{2} x^{2}+2 c d x +c^{2}}\right ) b^{4} x^{3}+a^{4}+3 a^{3} b x +3 a^{2} b^{2} x^{2}+a \,b^{3} x^{3}}d x}{g^{3}} \] Input:
int(1/(b*g*x+a*g)^3/(A+B*log(e*(b*x+a)^2/(d*x+c)^2)),x)
Output:
int(1/(log((a**2*e + 2*a*b*e*x + b**2*e*x**2)/(c**2 + 2*c*d*x + d**2*x**2) )*a**3*b + 3*log((a**2*e + 2*a*b*e*x + b**2*e*x**2)/(c**2 + 2*c*d*x + d**2 *x**2))*a**2*b**2*x + 3*log((a**2*e + 2*a*b*e*x + b**2*e*x**2)/(c**2 + 2*c *d*x + d**2*x**2))*a*b**3*x**2 + log((a**2*e + 2*a*b*e*x + b**2*e*x**2)/(c **2 + 2*c*d*x + d**2*x**2))*b**4*x**3 + a**4 + 3*a**3*b*x + 3*a**2*b**2*x* *2 + a*b**3*x**3),x)/g**3