Integrand size = 19, antiderivative size = 45 \[ \int \frac {1}{x \left (a+b \left (c x^n\right )^{\frac {1}{n}}\right )^2} \, dx=\frac {1}{a \left (a+b \left (c x^n\right )^{\frac {1}{n}}\right )}+\frac {\log (x)}{a^2}-\frac {\log \left (a+b \left (c x^n\right )^{\frac {1}{n}}\right )}{a^2} \] Output:
1/a/(a+b*(c*x^n)^(1/n))+ln(x)/a^2-ln(a+b*(c*x^n)^(1/n))/a^2
Time = 0.20 (sec) , antiderivative size = 48, normalized size of antiderivative = 1.07 \[ \int \frac {1}{x \left (a+b \left (c x^n\right )^{\frac {1}{n}}\right )^2} \, dx=\frac {\frac {a}{a+b \left (c x^n\right )^{\frac {1}{n}}}+\log \left (\left (c x^n\right )^{\frac {1}{n}}\right )-\log \left (a+b \left (c x^n\right )^{\frac {1}{n}}\right )}{a^2} \] Input:
Integrate[1/(x*(a + b*(c*x^n)^n^(-1))^2),x]
Output:
(a/(a + b*(c*x^n)^n^(-1)) + Log[(c*x^n)^n^(-1)] - Log[a + b*(c*x^n)^n^(-1) ])/a^2
Time = 0.19 (sec) , antiderivative size = 53, normalized size of antiderivative = 1.18, number of steps used = 4, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.158, Rules used = {892, 54, 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}{x \left (a+b \left (c x^n\right )^{\frac {1}{n}}\right )^2} \, dx\) |
\(\Big \downarrow \) 892 |
\(\displaystyle \int \frac {\left (c x^n\right )^{-1/n}}{\left (a+b \left (c x^n\right )^{\frac {1}{n}}\right )^2}d\left (c x^n\right )^{\frac {1}{n}}\) |
\(\Big \downarrow \) 54 |
\(\displaystyle \int \left (-\frac {b}{a^2 \left (a+b \left (c x^n\right )^{\frac {1}{n}}\right )}+\frac {\left (c x^n\right )^{-1/n}}{a^2}-\frac {b}{a \left (a+b \left (c x^n\right )^{\frac {1}{n}}\right )^2}\right )d\left (c x^n\right )^{\frac {1}{n}}\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle -\frac {\log \left (a+b \left (c x^n\right )^{\frac {1}{n}}\right )}{a^2}+\frac {\log \left (\left (c x^n\right )^{\frac {1}{n}}\right )}{a^2}+\frac {1}{a \left (a+b \left (c x^n\right )^{\frac {1}{n}}\right )}\) |
Input:
Int[1/(x*(a + b*(c*x^n)^n^(-1))^2),x]
Output:
1/(a*(a + b*(c*x^n)^n^(-1))) + Log[(c*x^n)^n^(-1)]/a^2 - Log[a + b*(c*x^n) ^n^(-1)]/a^2
Int[((a_) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[E xpandIntegrand[(a + b*x)^m*(c + d*x)^n, x], x] /; FreeQ[{a, b, c, d}, x] && ILtQ[m, 0] && IntegerQ[n] && !(IGtQ[n, 0] && LtQ[m + n + 2, 0])
Int[((d_.)*(x_))^(m_.)*((a_) + (b_.)*((c_.)*(x_)^(q_))^(n_))^(p_.), x_Symbo l] :> Simp[(d*x)^(m + 1)/(d*((c*x^q)^(1/q))^(m + 1)) Subst[Int[x^m*(a + b *x^(n*q))^p, x], x, (c*x^q)^(1/q)], x] /; FreeQ[{a, b, c, d, m, n, p, q}, x ] && IntegerQ[n*q] && NeQ[x, (c*x^q)^(1/q)]
Time = 0.09 (sec) , antiderivative size = 54, normalized size of antiderivative = 1.20
method | result | size |
derivativedivides | \(\frac {\ln \left (\left (c \,x^{n}\right )^{\frac {1}{n}}\right )}{a^{2}}-\frac {\ln \left (a +b \left (c \,x^{n}\right )^{\frac {1}{n}}\right )}{a^{2}}+\frac {1}{a \left (a +b \left (c \,x^{n}\right )^{\frac {1}{n}}\right )}\) | \(54\) |
default | \(\frac {\ln \left (\left (c \,x^{n}\right )^{\frac {1}{n}}\right )}{a^{2}}-\frac {\ln \left (a +b \left (c \,x^{n}\right )^{\frac {1}{n}}\right )}{a^{2}}+\frac {1}{a \left (a +b \left (c \,x^{n}\right )^{\frac {1}{n}}\right )}\) | \(54\) |
parallelrisch | \(\frac {\ln \left (x \right ) x^{2} \left (c \,x^{n}\right )^{\frac {1}{n}} b^{2}-\ln \left (a +b \left (c \,x^{n}\right )^{\frac {1}{n}}\right ) x^{2} \left (c \,x^{n}\right )^{\frac {1}{n}} b^{2}+\ln \left (x \right ) x^{2} a b -\ln \left (a +b \left (c \,x^{n}\right )^{\frac {1}{n}}\right ) x^{2} a b +x^{2} a b}{b \,a^{2} x^{2} \left (a +b \left (c \,x^{n}\right )^{\frac {1}{n}}\right )}\) | \(111\) |
risch | \(\frac {\ln \left (c \right )}{n \,a^{2}}+\frac {\ln \left (x^{n}\right )}{n \,a^{2}}-\frac {i \pi \operatorname {csgn}\left (i c \,x^{n}\right )^{3}}{2 n \,a^{2}}+\frac {i \pi \operatorname {csgn}\left (i c \,x^{n}\right )^{2} \operatorname {csgn}\left (i c \right )}{2 n \,a^{2}}+\frac {i \pi \operatorname {csgn}\left (i c \,x^{n}\right )^{2} \operatorname {csgn}\left (i x^{n}\right )}{2 n \,a^{2}}-\frac {i \pi \,\operatorname {csgn}\left (i c \,x^{n}\right ) \operatorname {csgn}\left (i c \right ) \operatorname {csgn}\left (i x^{n}\right )}{2 n \,a^{2}}+\frac {1}{a \left (b \,c^{\frac {1}{n}} \left (x^{n}\right )^{\frac {1}{n}} {\mathrm e}^{\frac {i \pi \,\operatorname {csgn}\left (i c \,x^{n}\right ) \left (-\operatorname {csgn}\left (i x^{n}\right )+\operatorname {csgn}\left (i c \,x^{n}\right )\right ) \left (\operatorname {csgn}\left (i c \right )-\operatorname {csgn}\left (i c \,x^{n}\right )\right )}{2 n}}+a \right )}-\frac {\ln \left (\left (x^{n}\right )^{\frac {1}{n}} c^{\frac {1}{n}} {\mathrm e}^{\frac {i \pi \,\operatorname {csgn}\left (i c \,x^{n}\right ) \left (-\operatorname {csgn}\left (i x^{n}\right )+\operatorname {csgn}\left (i c \,x^{n}\right )\right ) \left (\operatorname {csgn}\left (i c \right )-\operatorname {csgn}\left (i c \,x^{n}\right )\right )}{2 n}}+\frac {a}{b}\right )}{a^{2}}\) | \(271\) |
Input:
int(1/x/(a+b*(c*x^n)^(1/n))^2,x,method=_RETURNVERBOSE)
Output:
1/a^2*ln((c*x^n)^(1/n))-ln(a+b*(c*x^n)^(1/n))/a^2+1/a/(a+b*(c*x^n)^(1/n))
Time = 0.12 (sec) , antiderivative size = 57, normalized size of antiderivative = 1.27 \[ \int \frac {1}{x \left (a+b \left (c x^n\right )^{\frac {1}{n}}\right )^2} \, dx=\frac {b c^{\left (\frac {1}{n}\right )} x \log \left (x\right ) - {\left (b c^{\left (\frac {1}{n}\right )} x + a\right )} \log \left (b c^{\left (\frac {1}{n}\right )} x + a\right ) + a \log \left (x\right ) + a}{a^{2} b c^{\left (\frac {1}{n}\right )} x + a^{3}} \] Input:
integrate(1/x/(a+b*(c*x^n)^(1/n))^2,x, algorithm="fricas")
Output:
(b*c^(1/n)*x*log(x) - (b*c^(1/n)*x + a)*log(b*c^(1/n)*x + a) + a*log(x) + a)/(a^2*b*c^(1/n)*x + a^3)
Leaf count of result is larger than twice the leaf count of optimal. 189 vs. \(2 (37) = 74\).
Time = 1.97 (sec) , antiderivative size = 189, normalized size of antiderivative = 4.20 \[ \int \frac {1}{x \left (a+b \left (c x^n\right )^{\frac {1}{n}}\right )^2} \, dx=\begin {cases} \tilde {\infty } \left (c x^{n}\right )^{- \frac {2}{n}} & \text {for}\: a = 0 \wedge b = 0 \\\frac {\log {\left (x \right )}}{a^{2}} & \text {for}\: b = 0 \\- \frac {\left (c x^{n}\right )^{- \frac {2}{n}}}{2 b^{2}} & \text {for}\: a = 0 \\\tilde {\infty } \log {\left (x \right )} & \text {for}\: b = - a \left (c x^{n}\right )^{- \frac {1}{n}} \\\frac {a \log {\left (x \right )}}{a^{3} + a^{2} b \left (c x^{n}\right )^{\frac {1}{n}}} - \frac {a \log {\left (\frac {a}{b} + \left (c x^{n}\right )^{\frac {1}{n}} \right )}}{a^{3} + a^{2} b \left (c x^{n}\right )^{\frac {1}{n}}} + \frac {a}{a^{3} + a^{2} b \left (c x^{n}\right )^{\frac {1}{n}}} + \frac {b \left (c x^{n}\right )^{\frac {1}{n}} \log {\left (x \right )}}{a^{3} + a^{2} b \left (c x^{n}\right )^{\frac {1}{n}}} - \frac {b \left (c x^{n}\right )^{\frac {1}{n}} \log {\left (\frac {a}{b} + \left (c x^{n}\right )^{\frac {1}{n}} \right )}}{a^{3} + a^{2} b \left (c x^{n}\right )^{\frac {1}{n}}} & \text {otherwise} \end {cases} \] Input:
integrate(1/x/(a+b*(c*x**n)**(1/n))**2,x)
Output:
Piecewise((zoo/(c*x**n)**(2/n), Eq(a, 0) & Eq(b, 0)), (log(x)/a**2, Eq(b, 0)), (-1/(2*b**2*(c*x**n)**(2/n)), Eq(a, 0)), (zoo*log(x), Eq(b, -a/(c*x** n)**(1/n))), (a*log(x)/(a**3 + a**2*b*(c*x**n)**(1/n)) - a*log(a/b + (c*x* *n)**(1/n))/(a**3 + a**2*b*(c*x**n)**(1/n)) + a/(a**3 + a**2*b*(c*x**n)**( 1/n)) + b*(c*x**n)**(1/n)*log(x)/(a**3 + a**2*b*(c*x**n)**(1/n)) - b*(c*x* *n)**(1/n)*log(a/b + (c*x**n)**(1/n))/(a**3 + a**2*b*(c*x**n)**(1/n)), Tru e))
Time = 0.04 (sec) , antiderivative size = 61, normalized size of antiderivative = 1.36 \[ \int \frac {1}{x \left (a+b \left (c x^n\right )^{\frac {1}{n}}\right )^2} \, dx=\frac {1}{a b c^{\left (\frac {1}{n}\right )} {\left (x^{n}\right )}^{\left (\frac {1}{n}\right )} + a^{2}} + \frac {\log \left (x\right )}{a^{2}} - \frac {\log \left (\frac {b c^{\left (\frac {1}{n}\right )} {\left (x^{n}\right )}^{\left (\frac {1}{n}\right )} + a}{b c^{\left (\frac {1}{n}\right )}}\right )}{a^{2}} \] Input:
integrate(1/x/(a+b*(c*x^n)^(1/n))^2,x, algorithm="maxima")
Output:
1/(a*b*c^(1/n)*(x^n)^(1/n) + a^2) + log(x)/a^2 - log((b*c^(1/n)*(x^n)^(1/n ) + a)/(b*c^(1/n)))/a^2
\[ \int \frac {1}{x \left (a+b \left (c x^n\right )^{\frac {1}{n}}\right )^2} \, dx=\int { \frac {1}{{\left (\left (c x^{n}\right )^{\left (\frac {1}{n}\right )} b + a\right )}^{2} x} \,d x } \] Input:
integrate(1/x/(a+b*(c*x^n)^(1/n))^2,x, algorithm="giac")
Output:
integrate(1/(((c*x^n)^(1/n)*b + a)^2*x), x)
Time = 22.09 (sec) , antiderivative size = 44, normalized size of antiderivative = 0.98 \[ \int \frac {1}{x \left (a+b \left (c x^n\right )^{\frac {1}{n}}\right )^2} \, dx=\frac {\ln \left (x\right )}{a^2}-\frac {\ln \left (a+b\,{\left (c\,x^n\right )}^{1/n}\right )}{a^2}+\frac {1}{a^2+a\,b\,{\left (c\,x^n\right )}^{1/n}} \] Input:
int(1/(x*(a + b*(c*x^n)^(1/n))^2),x)
Output:
log(x)/a^2 - log(a + b*(c*x^n)^(1/n))/a^2 + 1/(a^2 + a*b*(c*x^n)^(1/n))
Time = 0.15 (sec) , antiderivative size = 74, normalized size of antiderivative = 1.64 \[ \int \frac {1}{x \left (a+b \left (c x^n\right )^{\frac {1}{n}}\right )^2} \, dx=\frac {-c^{\frac {1}{n}} \mathrm {log}\left (c^{\frac {1}{n}} b x +a \right ) b x +c^{\frac {1}{n}} \mathrm {log}\left (x \right ) b x -c^{\frac {1}{n}} b x -\mathrm {log}\left (c^{\frac {1}{n}} b x +a \right ) a +\mathrm {log}\left (x \right ) a}{a^{2} \left (c^{\frac {1}{n}} b x +a \right )} \] Input:
int(1/x/(a+b*(c*x^n)^(1/n))^2,x)
Output:
( - c**(1/n)*log(c**(1/n)*b*x + a)*b*x + c**(1/n)*log(x)*b*x - c**(1/n)*b* x - log(c**(1/n)*b*x + a)*a + log(x)*a)/(a**2*(c**(1/n)*b*x + a))