Integrand size = 22, antiderivative size = 104 \[ \int \frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )}{x^3} \, dx=\frac {b n}{8 x^2}-\frac {b d n}{6 e x^{3/2}}+\frac {b d^2 n}{4 e^2 x}-\frac {b d^3 n}{2 e^3 \sqrt {x}}+\frac {b d^4 n \log \left (d+\frac {e}{\sqrt {x}}\right )}{2 e^4}-\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )}{2 x^2} \] Output:
1/8*b*n/x^2-1/6*b*d*n/e/x^(3/2)+1/4*b*d^2*n/e^2/x-1/2*b*d^3*n/e^3/x^(1/2)+ 1/2*b*d^4*n*ln(d+e/x^(1/2))/e^4-1/2*(a+b*ln(c*(d+e/x^(1/2))^n))/x^2
Time = 0.07 (sec) , antiderivative size = 104, normalized size of antiderivative = 1.00 \[ \int \frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )}{x^3} \, dx=-\frac {a}{2 x^2}-\frac {1}{4} b e n \left (-\frac {1}{2 e x^2}+\frac {2 d}{3 e^2 x^{3/2}}-\frac {d^2}{e^3 x}+\frac {2 d^3}{e^4 \sqrt {x}}-\frac {2 d^4 \log \left (d+\frac {e}{\sqrt {x}}\right )}{e^5}\right )-\frac {b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )}{2 x^2} \] Input:
Integrate[(a + b*Log[c*(d + e/Sqrt[x])^n])/x^3,x]
Output:
-1/2*a/x^2 - (b*e*n*(-1/2*1/(e*x^2) + (2*d)/(3*e^2*x^(3/2)) - d^2/(e^3*x) + (2*d^3)/(e^4*Sqrt[x]) - (2*d^4*Log[d + e/Sqrt[x]])/e^5))/4 - (b*Log[c*(d + e/Sqrt[x])^n])/(2*x^2)
Time = 0.48 (sec) , antiderivative size = 102, normalized size of antiderivative = 0.98, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {2904, 2842, 49, 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 {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )}{x^3} \, dx\) |
\(\Big \downarrow \) 2904 |
\(\displaystyle -2 \int \frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )}{x^{3/2}}d\frac {1}{\sqrt {x}}\) |
\(\Big \downarrow \) 2842 |
\(\displaystyle -2 \left (\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )}{4 x^2}-\frac {1}{4} b e n \int \frac {1}{\left (d+\frac {e}{\sqrt {x}}\right ) x^2}d\frac {1}{\sqrt {x}}\right )\) |
\(\Big \downarrow \) 49 |
\(\displaystyle -2 \left (\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )}{4 x^2}-\frac {1}{4} b e n \int \left (\frac {d^4}{e^4 \left (d+\frac {e}{\sqrt {x}}\right )}-\frac {d^3}{e^4}+\frac {d^2}{e^3 \sqrt {x}}-\frac {d}{e^2 x}+\frac {1}{e x^{3/2}}\right )d\frac {1}{\sqrt {x}}\right )\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle -2 \left (\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )}{4 x^2}-\frac {1}{4} b e n \left (\frac {d^4 \log \left (d+\frac {e}{\sqrt {x}}\right )}{e^5}-\frac {d^3}{e^4 \sqrt {x}}+\frac {d^2}{2 e^3 x}-\frac {d}{3 e^2 x^{3/2}}+\frac {1}{4 e x^2}\right )\right )\) |
Input:
Int[(a + b*Log[c*(d + e/Sqrt[x])^n])/x^3,x]
Output:
-2*(-1/4*(b*e*n*(1/(4*e*x^2) - d/(3*e^2*x^(3/2)) + d^2/(2*e^3*x) - d^3/(e^ 4*Sqrt[x]) + (d^4*Log[d + e/Sqrt[x]])/e^5)) + (a + b*Log[c*(d + e/Sqrt[x]) ^n])/(4*x^2))
Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int [ExpandIntegrand[(a + b*x)^m*(c + d*x)^n, x], x] /; FreeQ[{a, b, c, d}, x] && IGtQ[m, 0] && IGtQ[m + n + 2, 0]
Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))*((f_.) + (g_.)*(x_ ))^(q_.), x_Symbol] :> Simp[(f + g*x)^(q + 1)*((a + b*Log[c*(d + e*x)^n])/( g*(q + 1))), x] - Simp[b*e*(n/(g*(q + 1))) Int[(f + g*x)^(q + 1)/(d + e*x ), x], x] /; FreeQ[{a, b, c, d, e, f, g, n, q}, x] && NeQ[e*f - d*g, 0] && NeQ[q, -1]
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])
\[\int \frac {a +b \ln \left (c \left (d +\frac {e}{\sqrt {x}}\right )^{n}\right )}{x^{3}}d x\]
Input:
int((a+b*ln(c*(d+e/x^(1/2))^n))/x^3,x)
Output:
int((a+b*ln(c*(d+e/x^(1/2))^n))/x^3,x)
Time = 0.10 (sec) , antiderivative size = 96, normalized size of antiderivative = 0.92 \[ \int \frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )}{x^3} \, dx=\frac {6 \, b d^{2} e^{2} n x + 3 \, b e^{4} n - 12 \, b e^{4} \log \left (c\right ) - 12 \, a e^{4} + 12 \, {\left (b d^{4} n x^{2} - b e^{4} n\right )} \log \left (\frac {d x + e \sqrt {x}}{x}\right ) - 4 \, {\left (3 \, b d^{3} e n x + b d e^{3} n\right )} \sqrt {x}}{24 \, e^{4} x^{2}} \] Input:
integrate((a+b*log(c*(d+e/x^(1/2))^n))/x^3,x, algorithm="fricas")
Output:
1/24*(6*b*d^2*e^2*n*x + 3*b*e^4*n - 12*b*e^4*log(c) - 12*a*e^4 + 12*(b*d^4 *n*x^2 - b*e^4*n)*log((d*x + e*sqrt(x))/x) - 4*(3*b*d^3*e*n*x + b*d*e^3*n) *sqrt(x))/(e^4*x^2)
Timed out. \[ \int \frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )}{x^3} \, dx=\text {Timed out} \] Input:
integrate((a+b*ln(c*(d+e/x**(1/2))**n))/x**3,x)
Output:
Timed out
Time = 0.06 (sec) , antiderivative size = 95, normalized size of antiderivative = 0.91 \[ \int \frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )}{x^3} \, dx=\frac {1}{24} \, b e n {\left (\frac {12 \, d^{4} \log \left (d \sqrt {x} + e\right )}{e^{5}} - \frac {6 \, d^{4} \log \left (x\right )}{e^{5}} - \frac {12 \, d^{3} x^{\frac {3}{2}} - 6 \, d^{2} e x + 4 \, d e^{2} \sqrt {x} - 3 \, e^{3}}{e^{4} x^{2}}\right )} - \frac {b \log \left (c {\left (d + \frac {e}{\sqrt {x}}\right )}^{n}\right )}{2 \, x^{2}} - \frac {a}{2 \, x^{2}} \] Input:
integrate((a+b*log(c*(d+e/x^(1/2))^n))/x^3,x, algorithm="maxima")
Output:
1/24*b*e*n*(12*d^4*log(d*sqrt(x) + e)/e^5 - 6*d^4*log(x)/e^5 - (12*d^3*x^( 3/2) - 6*d^2*e*x + 4*d*e^2*sqrt(x) - 3*e^3)/(e^4*x^2)) - 1/2*b*log(c*(d + e/sqrt(x))^n)/x^2 - 1/2*a/x^2
Leaf count of result is larger than twice the leaf count of optimal. 237 vs. \(2 (84) = 168\).
Time = 0.14 (sec) , antiderivative size = 237, normalized size of antiderivative = 2.28 \[ \int \frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )}{x^3} \, dx=\frac {12 \, {\left (\frac {4 \, {\left (d \sqrt {x} + e\right )} b d^{3} n}{e^{3} \sqrt {x}} - \frac {6 \, {\left (d \sqrt {x} + e\right )}^{2} b d^{2} n}{e^{3} x} + \frac {4 \, {\left (d \sqrt {x} + e\right )}^{3} b d n}{e^{3} x^{\frac {3}{2}}} - \frac {{\left (d \sqrt {x} + e\right )}^{4} b n}{e^{3} x^{2}}\right )} \log \left (\frac {d \sqrt {x} + e}{\sqrt {x}}\right ) + \frac {3 \, {\left (b n - 4 \, b \log \left (c\right ) - 4 \, a\right )} {\left (d \sqrt {x} + e\right )}^{4}}{e^{3} x^{2}} - \frac {16 \, {\left (b d n - 3 \, b d \log \left (c\right ) - 3 \, a d\right )} {\left (d \sqrt {x} + e\right )}^{3}}{e^{3} x^{\frac {3}{2}}} + \frac {36 \, {\left (b d^{2} n - 2 \, b d^{2} \log \left (c\right ) - 2 \, a d^{2}\right )} {\left (d \sqrt {x} + e\right )}^{2}}{e^{3} x} - \frac {48 \, {\left (b d^{3} n - b d^{3} \log \left (c\right ) - a d^{3}\right )} {\left (d \sqrt {x} + e\right )}}{e^{3} \sqrt {x}}}{24 \, e} \] Input:
integrate((a+b*log(c*(d+e/x^(1/2))^n))/x^3,x, algorithm="giac")
Output:
1/24*(12*(4*(d*sqrt(x) + e)*b*d^3*n/(e^3*sqrt(x)) - 6*(d*sqrt(x) + e)^2*b* d^2*n/(e^3*x) + 4*(d*sqrt(x) + e)^3*b*d*n/(e^3*x^(3/2)) - (d*sqrt(x) + e)^ 4*b*n/(e^3*x^2))*log((d*sqrt(x) + e)/sqrt(x)) + 3*(b*n - 4*b*log(c) - 4*a) *(d*sqrt(x) + e)^4/(e^3*x^2) - 16*(b*d*n - 3*b*d*log(c) - 3*a*d)*(d*sqrt(x ) + e)^3/(e^3*x^(3/2)) + 36*(b*d^2*n - 2*b*d^2*log(c) - 2*a*d^2)*(d*sqrt(x ) + e)^2/(e^3*x) - 48*(b*d^3*n - b*d^3*log(c) - a*d^3)*(d*sqrt(x) + e)/(e^ 3*sqrt(x)))/e
Time = 14.56 (sec) , antiderivative size = 87, normalized size of antiderivative = 0.84 \[ \int \frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )}{x^3} \, dx=\frac {b\,n}{8\,x^2}-\frac {a}{2\,x^2}-\frac {b\,\ln \left (c\,{\left (d+\frac {e}{\sqrt {x}}\right )}^n\right )}{2\,x^2}-\frac {b\,d\,n}{6\,e\,x^{3/2}}+\frac {b\,d^4\,n\,\ln \left (d+\frac {e}{\sqrt {x}}\right )}{2\,e^4}+\frac {b\,d^2\,n}{4\,e^2\,x}-\frac {b\,d^3\,n}{2\,e^3\,\sqrt {x}} \] Input:
int((a + b*log(c*(d + e/x^(1/2))^n))/x^3,x)
Output:
(b*n)/(8*x^2) - a/(2*x^2) - (b*log(c*(d + e/x^(1/2))^n))/(2*x^2) - (b*d*n) /(6*e*x^(3/2)) + (b*d^4*n*log(d + e/x^(1/2)))/(2*e^4) + (b*d^2*n)/(4*e^2*x ) - (b*d^3*n)/(2*e^3*x^(1/2))
Time = 0.20 (sec) , antiderivative size = 105, normalized size of antiderivative = 1.01 \[ \int \frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )}{x^3} \, dx=\frac {-12 \sqrt {x}\, b \,d^{3} e n x -4 \sqrt {x}\, b d \,e^{3} n +12 \,\mathrm {log}\left (\frac {\left (\sqrt {x}\, d +e \right )^{n} c}{x^{\frac {n}{2}}}\right ) b \,d^{4} x^{2}-12 \,\mathrm {log}\left (\frac {\left (\sqrt {x}\, d +e \right )^{n} c}{x^{\frac {n}{2}}}\right ) b \,e^{4}-12 a \,e^{4}+6 b \,d^{2} e^{2} n x +3 b \,e^{4} n}{24 e^{4} x^{2}} \] Input:
int((a+b*log(c*(d+e/x^(1/2))^n))/x^3,x)
Output:
( - 12*sqrt(x)*b*d**3*e*n*x - 4*sqrt(x)*b*d*e**3*n + 12*log(((sqrt(x)*d + e)**n*c)/x**(n/2))*b*d**4*x**2 - 12*log(((sqrt(x)*d + e)**n*c)/x**(n/2))*b *e**4 - 12*a*e**4 + 6*b*d**2*e**2*n*x + 3*b*e**4*n)/(24*e**4*x**2)