Integrand size = 14, antiderivative size = 67 \[ \int \frac {a+b \text {arctanh}\left (c x^n\right )}{x^2} \, dx=-\frac {a+b \text {arctanh}\left (c x^n\right )}{x}-\frac {b c n x^{-1+n} \operatorname {Hypergeometric2F1}\left (1,-\frac {1-n}{2 n},\frac {1}{2} \left (3-\frac {1}{n}\right ),c^2 x^{2 n}\right )}{1-n} \] Output:
-(a+b*arctanh(c*x^n))/x-b*c*n*x^(-1+n)*hypergeom([1, -1/2*(1-n)/n],[3/2-1/ 2/n],c^2*x^(2*n))/(1-n)
Time = 0.06 (sec) , antiderivative size = 66, normalized size of antiderivative = 0.99 \[ \int \frac {a+b \text {arctanh}\left (c x^n\right )}{x^2} \, dx=-\frac {a}{x}-\frac {b \text {arctanh}\left (c x^n\right )}{x}+\frac {b c n x^{-1+n} \operatorname {Hypergeometric2F1}\left (1,\frac {-1+n}{2 n},1+\frac {-1+n}{2 n},c^2 x^{2 n}\right )}{-1+n} \] Input:
Integrate[(a + b*ArcTanh[c*x^n])/x^2,x]
Output:
-(a/x) - (b*ArcTanh[c*x^n])/x + (b*c*n*x^(-1 + n)*Hypergeometric2F1[1, (-1 + n)/(2*n), 1 + (-1 + n)/(2*n), c^2*x^(2*n)])/(-1 + n)
Time = 0.24 (sec) , antiderivative size = 67, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {6452, 888}
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 \text {arctanh}\left (c x^n\right )}{x^2} \, dx\) |
\(\Big \downarrow \) 6452 |
\(\displaystyle b c n \int \frac {x^{n-2}}{1-c^2 x^{2 n}}dx-\frac {a+b \text {arctanh}\left (c x^n\right )}{x}\) |
\(\Big \downarrow \) 888 |
\(\displaystyle -\frac {a+b \text {arctanh}\left (c x^n\right )}{x}-\frac {b c n x^{n-1} \operatorname {Hypergeometric2F1}\left (1,-\frac {1-n}{2 n},\frac {1}{2} \left (3-\frac {1}{n}\right ),c^2 x^{2 n}\right )}{1-n}\) |
Input:
Int[(a + b*ArcTanh[c*x^n])/x^2,x]
Output:
-((a + b*ArcTanh[c*x^n])/x) - (b*c*n*x^(-1 + n)*Hypergeometric2F1[1, -1/2* (1 - n)/n, (3 - n^(-1))/2, c^2*x^(2*n)])/(1 - n)
Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[a^p *((c*x)^(m + 1)/(c*(m + 1)))*Hypergeometric2F1[-p, (m + 1)/n, (m + 1)/n + 1 , (-b)*(x^n/a)], x] /; FreeQ[{a, b, c, m, n, p}, x] && !IGtQ[p, 0] && (ILt Q[p, 0] || GtQ[a, 0])
Int[((a_.) + ArcTanh[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)*(x_)^(m_.), x_Symbol] : > Simp[x^(m + 1)*((a + b*ArcTanh[c*x^n])^p/(m + 1)), x] - Simp[b*c*n*(p/(m + 1)) Int[x^(m + n)*((a + b*ArcTanh[c*x^n])^(p - 1)/(1 - c^2*x^(2*n))), x ], x] /; FreeQ[{a, b, c, m, n}, x] && IGtQ[p, 0] && (EqQ[p, 1] || (EqQ[n, 1 ] && IntegerQ[m])) && NeQ[m, -1]
\[\int \frac {a +b \,\operatorname {arctanh}\left (c \,x^{n}\right )}{x^{2}}d x\]
Input:
int((a+b*arctanh(c*x^n))/x^2,x)
Output:
int((a+b*arctanh(c*x^n))/x^2,x)
\[ \int \frac {a+b \text {arctanh}\left (c x^n\right )}{x^2} \, dx=\int { \frac {b \operatorname {artanh}\left (c x^{n}\right ) + a}{x^{2}} \,d x } \] Input:
integrate((a+b*arctanh(c*x^n))/x^2,x, algorithm="fricas")
Output:
integral((b*arctanh(c*x^n) + a)/x^2, x)
\[ \int \frac {a+b \text {arctanh}\left (c x^n\right )}{x^2} \, dx=\int \frac {a + b \operatorname {atanh}{\left (c x^{n} \right )}}{x^{2}}\, dx \] Input:
integrate((a+b*atanh(c*x**n))/x**2,x)
Output:
Integral((a + b*atanh(c*x**n))/x**2, x)
\[ \int \frac {a+b \text {arctanh}\left (c x^n\right )}{x^2} \, dx=\int { \frac {b \operatorname {artanh}\left (c x^{n}\right ) + a}{x^{2}} \,d x } \] Input:
integrate((a+b*arctanh(c*x^n))/x^2,x, algorithm="maxima")
Output:
-1/2*(n*integrate(1/(c*x^2*x^n + x^2), x) + n*integrate(1/(c*x^2*x^n - x^2 ), x) + (log(c*x^n + 1) - log(-c*x^n + 1))/x)*b - a/x
\[ \int \frac {a+b \text {arctanh}\left (c x^n\right )}{x^2} \, dx=\int { \frac {b \operatorname {artanh}\left (c x^{n}\right ) + a}{x^{2}} \,d x } \] Input:
integrate((a+b*arctanh(c*x^n))/x^2,x, algorithm="giac")
Output:
integrate((b*arctanh(c*x^n) + a)/x^2, x)
Timed out. \[ \int \frac {a+b \text {arctanh}\left (c x^n\right )}{x^2} \, dx=\int \frac {a+b\,\mathrm {atanh}\left (c\,x^n\right )}{x^2} \,d x \] Input:
int((a + b*atanh(c*x^n))/x^2,x)
Output:
int((a + b*atanh(c*x^n))/x^2, x)
\[ \int \frac {a+b \text {arctanh}\left (c x^n\right )}{x^2} \, dx=\frac {\left (\int \frac {\mathit {atanh} \left (x^{n} c \right )}{x^{2}}d x \right ) b x -a}{x} \] Input:
int((a+b*atanh(c*x^n))/x^2,x)
Output:
(int(atanh(x**n*c)/x**2,x)*b*x - a)/x