Integrand size = 14, antiderivative size = 66 \[ \int x^2 \left (a+b \text {arctanh}\left (c x^n\right )\right ) \, dx=\frac {1}{3} x^3 \left (a+b \text {arctanh}\left (c x^n\right )\right )-\frac {b c n x^{3+n} \operatorname {Hypergeometric2F1}\left (1,\frac {3+n}{2 n},\frac {3 (1+n)}{2 n},c^2 x^{2 n}\right )}{3 (3+n)} \] Output:
1/3*x^3*(a+b*arctanh(c*x^n))-b*c*n*x^(3+n)*hypergeom([1, 1/2*(3+n)/n],[3/2 *(1+n)/n],c^2*x^(2*n))/(9+3*n)
Time = 0.05 (sec) , antiderivative size = 73, normalized size of antiderivative = 1.11 \[ \int x^2 \left (a+b \text {arctanh}\left (c x^n\right )\right ) \, dx=\frac {a x^3}{3}+\frac {1}{3} b x^3 \text {arctanh}\left (c x^n\right )-\frac {b c n x^{3+n} \operatorname {Hypergeometric2F1}\left (1,\frac {3+n}{2 n},1+\frac {3+n}{2 n},c^2 x^{2 n}\right )}{3 (3+n)} \] Input:
Integrate[x^2*(a + b*ArcTanh[c*x^n]),x]
Output:
(a*x^3)/3 + (b*x^3*ArcTanh[c*x^n])/3 - (b*c*n*x^(3 + n)*Hypergeometric2F1[ 1, (3 + n)/(2*n), 1 + (3 + n)/(2*n), c^2*x^(2*n)])/(3*(3 + n))
Time = 0.24 (sec) , antiderivative size = 66, 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 x^2 \left (a+b \text {arctanh}\left (c x^n\right )\right ) \, dx\) |
\(\Big \downarrow \) 6452 |
\(\displaystyle \frac {1}{3} x^3 \left (a+b \text {arctanh}\left (c x^n\right )\right )-\frac {1}{3} b c n \int \frac {x^{n+2}}{1-c^2 x^{2 n}}dx\) |
\(\Big \downarrow \) 888 |
\(\displaystyle \frac {1}{3} x^3 \left (a+b \text {arctanh}\left (c x^n\right )\right )-\frac {b c n x^{n+3} \operatorname {Hypergeometric2F1}\left (1,\frac {n+3}{2 n},\frac {3 (n+1)}{2 n},c^2 x^{2 n}\right )}{3 (n+3)}\) |
Input:
Int[x^2*(a + b*ArcTanh[c*x^n]),x]
Output:
(x^3*(a + b*ArcTanh[c*x^n]))/3 - (b*c*n*x^(3 + n)*Hypergeometric2F1[1, (3 + n)/(2*n), (3*(1 + n))/(2*n), c^2*x^(2*n)])/(3*(3 + 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 x^{2} \left (a +b \,\operatorname {arctanh}\left (c \,x^{n}\right )\right )d x\]
Input:
int(x^2*(a+b*arctanh(c*x^n)),x)
Output:
int(x^2*(a+b*arctanh(c*x^n)),x)
\[ \int x^2 \left (a+b \text {arctanh}\left (c x^n\right )\right ) \, dx=\int { {\left (b \operatorname {artanh}\left (c x^{n}\right ) + a\right )} x^{2} \,d x } \] Input:
integrate(x^2*(a+b*arctanh(c*x^n)),x, algorithm="fricas")
Output:
integral(b*x^2*arctanh(c*x^n) + a*x^2, x)
\[ \int x^2 \left (a+b \text {arctanh}\left (c x^n\right )\right ) \, dx=\int x^{2} \left (a + b \operatorname {atanh}{\left (c x^{n} \right )}\right )\, dx \] Input:
integrate(x**2*(a+b*atanh(c*x**n)),x)
Output:
Integral(x**2*(a + b*atanh(c*x**n)), x)
\[ \int x^2 \left (a+b \text {arctanh}\left (c x^n\right )\right ) \, dx=\int { {\left (b \operatorname {artanh}\left (c x^{n}\right ) + a\right )} x^{2} \,d x } \] Input:
integrate(x^2*(a+b*arctanh(c*x^n)),x, algorithm="maxima")
Output:
1/3*a*x^3 + 1/6*(x^3*log(c*x^n + 1) - x^3*log(-c*x^n + 1) + 3*n*integrate( 1/3*x^2/(c*x^n + 1), x) + 3*n*integrate(1/3*x^2/(c*x^n - 1), x))*b
\[ \int x^2 \left (a+b \text {arctanh}\left (c x^n\right )\right ) \, dx=\int { {\left (b \operatorname {artanh}\left (c x^{n}\right ) + a\right )} x^{2} \,d x } \] Input:
integrate(x^2*(a+b*arctanh(c*x^n)),x, algorithm="giac")
Output:
integrate((b*arctanh(c*x^n) + a)*x^2, x)
Timed out. \[ \int x^2 \left (a+b \text {arctanh}\left (c x^n\right )\right ) \, dx=\int x^2\,\left (a+b\,\mathrm {atanh}\left (c\,x^n\right )\right ) \,d x \] Input:
int(x^2*(a + b*atanh(c*x^n)),x)
Output:
int(x^2*(a + b*atanh(c*x^n)), x)
\[ \int x^2 \left (a+b \text {arctanh}\left (c x^n\right )\right ) \, dx=\left (\int \mathit {atanh} \left (x^{n} c \right ) x^{2}d x \right ) b +\frac {a \,x^{3}}{3} \] Input:
int(x^2*(a+b*atanh(c*x^n)),x)
Output:
(3*int(atanh(x**n*c)*x**2,x)*b + a*x**3)/3