3.498 \(\int \frac{\left (a+b (c x)^n\right )^{3/2}}{x} \, dx\)

Optimal. Leaf size=70 \[ -\frac{2 a^{3/2} \tanh ^{-1}\left (\frac{\sqrt{a+b (c x)^n}}{\sqrt{a}}\right )}{n}+\frac{2 a \sqrt{a+b (c x)^n}}{n}+\frac{2 \left (a+b (c x)^n\right )^{3/2}}{3 n} \]

[Out]

(2*a*Sqrt[a + b*(c*x)^n])/n + (2*(a + b*(c*x)^n)^(3/2))/(3*n) - (2*a^(3/2)*ArcTa
nh[Sqrt[a + b*(c*x)^n]/Sqrt[a]])/n

_______________________________________________________________________________________

Rubi [A]  time = 0.132647, antiderivative size = 70, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 6, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.353 \[ -\frac{2 a^{3/2} \tanh ^{-1}\left (\frac{\sqrt{a+b (c x)^n}}{\sqrt{a}}\right )}{n}+\frac{2 a \sqrt{a+b (c x)^n}}{n}+\frac{2 \left (a+b (c x)^n\right )^{3/2}}{3 n} \]

Antiderivative was successfully verified.

[In]  Int[(a + b*(c*x)^n)^(3/2)/x,x]

[Out]

(2*a*Sqrt[a + b*(c*x)^n])/n + (2*(a + b*(c*x)^n)^(3/2))/(3*n) - (2*a^(3/2)*ArcTa
nh[Sqrt[a + b*(c*x)^n]/Sqrt[a]])/n

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 5.74466, size = 60, normalized size = 0.86 \[ - \frac{2 a^{\frac{3}{2}} \operatorname{atanh}{\left (\frac{\sqrt{a + b \left (c x\right )^{n}}}{\sqrt{a}} \right )}}{n} + \frac{2 a \sqrt{a + b \left (c x\right )^{n}}}{n} + \frac{2 \left (a + b \left (c x\right )^{n}\right )^{\frac{3}{2}}}{3 n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((a+b*(c*x)**n)**(3/2)/x,x)

[Out]

-2*a**(3/2)*atanh(sqrt(a + b*(c*x)**n)/sqrt(a))/n + 2*a*sqrt(a + b*(c*x)**n)/n +
 2*(a + b*(c*x)**n)**(3/2)/(3*n)

_______________________________________________________________________________________

Mathematica [A]  time = 0.0596122, size = 61, normalized size = 0.87 \[ \frac{2 \sqrt{a+b (c x)^n} \left (4 a+b (c x)^n\right )-6 a^{3/2} \tanh ^{-1}\left (\frac{\sqrt{a+b (c x)^n}}{\sqrt{a}}\right )}{3 n} \]

Antiderivative was successfully verified.

[In]  Integrate[(a + b*(c*x)^n)^(3/2)/x,x]

[Out]

(2*Sqrt[a + b*(c*x)^n]*(4*a + b*(c*x)^n) - 6*a^(3/2)*ArcTanh[Sqrt[a + b*(c*x)^n]
/Sqrt[a]])/(3*n)

_______________________________________________________________________________________

Maple [A]  time = 0.005, size = 54, normalized size = 0.8 \[{\frac{1}{n} \left ({\frac{2}{3} \left ( a+b \left ( cx \right ) ^{n} \right ) ^{{\frac{3}{2}}}}+2\,\sqrt{a+b \left ( cx \right ) ^{n}}a-2\,{a}^{3/2}{\it Artanh} \left ({\frac{\sqrt{a+b \left ( cx \right ) ^{n}}}{\sqrt{a}}} \right ) \right ) } \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((a+b*(c*x)^n)^(3/2)/x,x)

[Out]

1/n*(2/3*(a+b*(c*x)^n)^(3/2)+2*(a+b*(c*x)^n)^(1/2)*a-2*a^(3/2)*arctanh((a+b*(c*x
)^n)^(1/2)/a^(1/2)))

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(((c*x)^n*b + a)^(3/2)/x,x, algorithm="maxima")

[Out]

Exception raised: ValueError

_______________________________________________________________________________________

Fricas [A]  time = 0.289642, size = 1, normalized size = 0.01 \[ \left [\frac{3 \, a^{\frac{3}{2}} \log \left (\frac{\left (c x\right )^{n} b - 2 \, \sqrt{\left (c x\right )^{n} b + a} \sqrt{a} + 2 \, a}{\left (c x\right )^{n}}\right ) + 2 \,{\left (\left (c x\right )^{n} b + 4 \, a\right )} \sqrt{\left (c x\right )^{n} b + a}}{3 \, n}, -\frac{2 \,{\left (3 \, \sqrt{-a} a \arctan \left (\frac{\sqrt{\left (c x\right )^{n} b + a}}{\sqrt{-a}}\right ) -{\left (\left (c x\right )^{n} b + 4 \, a\right )} \sqrt{\left (c x\right )^{n} b + a}\right )}}{3 \, n}\right ] \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(((c*x)^n*b + a)^(3/2)/x,x, algorithm="fricas")

[Out]

[1/3*(3*a^(3/2)*log(((c*x)^n*b - 2*sqrt((c*x)^n*b + a)*sqrt(a) + 2*a)/(c*x)^n) +
 2*((c*x)^n*b + 4*a)*sqrt((c*x)^n*b + a))/n, -2/3*(3*sqrt(-a)*a*arctan(sqrt((c*x
)^n*b + a)/sqrt(-a)) - ((c*x)^n*b + 4*a)*sqrt((c*x)^n*b + a))/n]

_______________________________________________________________________________________

Sympy [A]  time = 14.2866, size = 153, normalized size = 2.19 \[ \begin{cases} \frac{- 2 a^{2} \left (\begin{cases} - \frac{\operatorname{atan}{\left (\frac{\sqrt{a + b \left (c x\right )^{n}}}{\sqrt{- a}} \right )}}{\sqrt{- a}} & \text{for}\: - a > 0 \\\frac{\operatorname{acoth}{\left (\frac{\sqrt{a + b \left (c x\right )^{n}}}{\sqrt{a}} \right )}}{\sqrt{a}} & \text{for}\: - a < 0 \wedge a < a + b \left (c x\right )^{n} \\\frac{\operatorname{atanh}{\left (\frac{\sqrt{a + b \left (c x\right )^{n}}}{\sqrt{a}} \right )}}{\sqrt{a}} & \text{for}\: a > a + b \left (c x\right )^{n} \wedge - a < 0 \end{cases}\right ) + 2 a \sqrt{a + b \left (c x\right )^{n}} + \frac{2 \left (a + b \left (c x\right )^{n}\right )^{\frac{3}{2}}}{3}}{n} & \text{for}\: n \neq 0 \\\left (a \sqrt{a + b} + b \sqrt{a + b}\right ) \log{\left (x \right )} & \text{otherwise} \end{cases} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((a+b*(c*x)**n)**(3/2)/x,x)

[Out]

Piecewise(((-2*a**2*Piecewise((-atan(sqrt(a + b*(c*x)**n)/sqrt(-a))/sqrt(-a), -a
 > 0), (acoth(sqrt(a + b*(c*x)**n)/sqrt(a))/sqrt(a), (-a < 0) & (a < a + b*(c*x)
**n)), (atanh(sqrt(a + b*(c*x)**n)/sqrt(a))/sqrt(a), (-a < 0) & (a > a + b*(c*x)
**n))) + 2*a*sqrt(a + b*(c*x)**n) + 2*(a + b*(c*x)**n)**(3/2)/3)/n, Ne(n, 0)), (
(a*sqrt(a + b) + b*sqrt(a + b))*log(x), True))

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (\left (c x\right )^{n} b + a\right )}^{\frac{3}{2}}}{x}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(((c*x)^n*b + a)^(3/2)/x,x, algorithm="giac")

[Out]

integrate(((c*x)^n*b + a)^(3/2)/x, x)