3.105 \(\int \frac {x}{a+b (c+d x)^3} \, dx\)

Optimal. Leaf size=180 \[ -\frac {\left (\sqrt [3]{a}+\sqrt [3]{b} c\right ) \log \left (\sqrt [3]{a}+\sqrt [3]{b} (c+d x)\right )}{3 a^{2/3} b^{2/3} d^2}+\frac {\left (\sqrt [3]{a}+\sqrt [3]{b} c\right ) \log \left (a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} (c+d x)+b^{2/3} (c+d x)^2\right )}{6 a^{2/3} b^{2/3} d^2}-\frac {\left (\sqrt [3]{a}-\sqrt [3]{b} c\right ) \tan ^{-1}\left (\frac {\sqrt [3]{a}-2 \sqrt [3]{b} (c+d x)}{\sqrt {3} \sqrt [3]{a}}\right )}{\sqrt {3} a^{2/3} b^{2/3} d^2} \]

[Out]

-1/3*(a^(1/3)+b^(1/3)*c)*ln(a^(1/3)+b^(1/3)*(d*x+c))/a^(2/3)/b^(2/3)/d^2+1/6*(a^(1/3)+b^(1/3)*c)*ln(a^(2/3)-a^
(1/3)*b^(1/3)*(d*x+c)+b^(2/3)*(d*x+c)^2)/a^(2/3)/b^(2/3)/d^2-1/3*(a^(1/3)-b^(1/3)*c)*arctan(1/3*(a^(1/3)-2*b^(
1/3)*(d*x+c))/a^(1/3)*3^(1/2))/a^(2/3)/b^(2/3)/d^2*3^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.16, antiderivative size = 180, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 7, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.467, Rules used = {371, 1860, 31, 634, 617, 204, 628} \[ -\frac {\left (\sqrt [3]{a}+\sqrt [3]{b} c\right ) \log \left (\sqrt [3]{a}+\sqrt [3]{b} (c+d x)\right )}{3 a^{2/3} b^{2/3} d^2}+\frac {\left (\sqrt [3]{a}+\sqrt [3]{b} c\right ) \log \left (a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} (c+d x)+b^{2/3} (c+d x)^2\right )}{6 a^{2/3} b^{2/3} d^2}-\frac {\left (\sqrt [3]{a}-\sqrt [3]{b} c\right ) \tan ^{-1}\left (\frac {\sqrt [3]{a}-2 \sqrt [3]{b} (c+d x)}{\sqrt {3} \sqrt [3]{a}}\right )}{\sqrt {3} a^{2/3} b^{2/3} d^2} \]

Antiderivative was successfully verified.

[In]

Int[x/(a + b*(c + d*x)^3),x]

[Out]

-(((a^(1/3) - b^(1/3)*c)*ArcTan[(a^(1/3) - 2*b^(1/3)*(c + d*x))/(Sqrt[3]*a^(1/3))])/(Sqrt[3]*a^(2/3)*b^(2/3)*d
^2)) - ((a^(1/3) + b^(1/3)*c)*Log[a^(1/3) + b^(1/3)*(c + d*x)])/(3*a^(2/3)*b^(2/3)*d^2) + ((a^(1/3) + b^(1/3)*
c)*Log[a^(2/3) - a^(1/3)*b^(1/3)*(c + d*x) + b^(2/3)*(c + d*x)^2])/(6*a^(2/3)*b^(2/3)*d^2)

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 204

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> -Simp[ArcTan[(Rt[-b, 2]*x)/Rt[-a, 2]]/(Rt[-a, 2]*Rt[-b, 2]), x] /
; FreeQ[{a, b}, x] && PosQ[a/b] && (LtQ[a, 0] || LtQ[b, 0])

Rule 371

Int[((a_) + (b_.)*(v_)^(n_))^(p_.)*(x_)^(m_.), x_Symbol] :> With[{c = Coefficient[v, x, 0], d = Coefficient[v,
 x, 1]}, Dist[1/d^(m + 1), Subst[Int[SimplifyIntegrand[(x - c)^m*(a + b*x^n)^p, x], x], x, v], x] /; NeQ[c, 0]
] /; FreeQ[{a, b, n, p}, x] && LinearQ[v, x] && IntegerQ[m]

Rule 617

Int[((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> With[{q = 1 - 4*Simplify[(a*c)/b^2]}, Dist[-2/b, Sub
st[Int[1/(q - x^2), x], x, 1 + (2*c*x)/b], x] /; RationalQ[q] && (EqQ[q^2, 1] ||  !RationalQ[b^2 - 4*a*c])] /;
 FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0]

Rule 628

Int[((d_) + (e_.)*(x_))/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Simp[(d*Log[RemoveContent[a + b*x +
c*x^2, x]])/b, x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[2*c*d - b*e, 0]

Rule 634

Int[((d_.) + (e_.)*(x_))/((a_) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Dist[(2*c*d - b*e)/(2*c), Int[1/(a +
 b*x + c*x^2), x], x] + Dist[e/(2*c), Int[(b + 2*c*x)/(a + b*x + c*x^2), x], x] /; FreeQ[{a, b, c, d, e}, x] &
& NeQ[2*c*d - b*e, 0] && NeQ[b^2 - 4*a*c, 0] &&  !NiceSqrtQ[b^2 - 4*a*c]

Rule 1860

Int[((A_) + (B_.)*(x_))/((a_) + (b_.)*(x_)^3), x_Symbol] :> With[{r = Numerator[Rt[a/b, 3]], s = Denominator[R
t[a/b, 3]]}, -Dist[(r*(B*r - A*s))/(3*a*s), Int[1/(r + s*x), x], x] + Dist[r/(3*a*s), Int[(r*(B*r + 2*A*s) + s
*(B*r - A*s)*x)/(r^2 - r*s*x + s^2*x^2), x], x]] /; FreeQ[{a, b, A, B}, x] && NeQ[a*B^3 - b*A^3, 0] && PosQ[a/
b]

Rubi steps

\begin {align*} \int \frac {x}{a+b (c+d x)^3} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {-c+x}{a+b x^3} \, dx,x,c+d x\right )}{d^2}\\ &=\frac {\operatorname {Subst}\left (\int \frac {\sqrt [3]{a} \left (\sqrt [3]{a}-2 \sqrt [3]{b} c\right )+\sqrt [3]{b} \left (\sqrt [3]{a}+\sqrt [3]{b} c\right ) x}{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2} \, dx,x,c+d x\right )}{3 a^{2/3} \sqrt [3]{b} d^2}-\frac {\left (\frac {\sqrt [3]{a}}{\sqrt [3]{b}}+c\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt [3]{a}+\sqrt [3]{b} x} \, dx,x,c+d x\right )}{3 a^{2/3} d^2}\\ &=-\frac {\left (\sqrt [3]{a}+\sqrt [3]{b} c\right ) \log \left (\sqrt [3]{a}+\sqrt [3]{b} (c+d x)\right )}{3 a^{2/3} b^{2/3} d^2}+\frac {\left (\frac {1}{\sqrt [3]{b}}-\frac {c}{\sqrt [3]{a}}\right ) \operatorname {Subst}\left (\int \frac {1}{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2} \, dx,x,c+d x\right )}{2 d^2}+\frac {\left (\sqrt [3]{a}+\sqrt [3]{b} c\right ) \operatorname {Subst}\left (\int \frac {-\sqrt [3]{a} \sqrt [3]{b}+2 b^{2/3} x}{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2} \, dx,x,c+d x\right )}{6 a^{2/3} b^{2/3} d^2}\\ &=-\frac {\left (\sqrt [3]{a}+\sqrt [3]{b} c\right ) \log \left (\sqrt [3]{a}+\sqrt [3]{b} (c+d x)\right )}{3 a^{2/3} b^{2/3} d^2}+\frac {\left (\sqrt [3]{a}+\sqrt [3]{b} c\right ) \log \left (a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} (c+d x)+b^{2/3} (c+d x)^2\right )}{6 a^{2/3} b^{2/3} d^2}+\frac {\left (\sqrt [3]{a}-\sqrt [3]{b} c\right ) \operatorname {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1-\frac {2 \sqrt [3]{b} (c+d x)}{\sqrt [3]{a}}\right )}{a^{2/3} b^{2/3} d^2}\\ &=-\frac {\left (\sqrt [3]{a}-\sqrt [3]{b} c\right ) \tan ^{-1}\left (\frac {1-\frac {2 \sqrt [3]{b} (c+d x)}{\sqrt [3]{a}}}{\sqrt {3}}\right )}{\sqrt {3} a^{2/3} b^{2/3} d^2}-\frac {\left (\sqrt [3]{a}+\sqrt [3]{b} c\right ) \log \left (\sqrt [3]{a}+\sqrt [3]{b} (c+d x)\right )}{3 a^{2/3} b^{2/3} d^2}+\frac {\left (\sqrt [3]{a}+\sqrt [3]{b} c\right ) \log \left (a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} (c+d x)+b^{2/3} (c+d x)^2\right )}{6 a^{2/3} b^{2/3} d^2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C]  time = 0.02, size = 79, normalized size = 0.44 \[ \frac {\text {RootSum}\left [\text {$\#$1}^3 b d^3+3 \text {$\#$1}^2 b c d^2+3 \text {$\#$1} b c^2 d+a+b c^3\& ,\frac {\text {$\#$1} \log (x-\text {$\#$1})}{\text {$\#$1}^2 d^2+2 \text {$\#$1} c d+c^2}\& \right ]}{3 b d} \]

Antiderivative was successfully verified.

[In]

Integrate[x/(a + b*(c + d*x)^3),x]

[Out]

RootSum[a + b*c^3 + 3*b*c^2*d*#1 + 3*b*c*d^2*#1^2 + b*d^3*#1^3 & , (Log[x - #1]*#1)/(c^2 + 2*c*d*#1 + d^2*#1^2
) & ]/(3*b*d)

________________________________________________________________________________________

fricas [C]  time = 2.57, size = 1950, normalized size = 10.83 \[ \text {result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(a+b*(d*x+c)^3),x, algorithm="fricas")

[Out]

1/36*(9*(I*sqrt(3) + 1)*(-1/54*(b*c^3 + a)/(a^2*b^2*d^6) + 1/54*(b*c^3 - a)/(a^2*b^2*d^6))^(1/3) - 3*sqrt(1/3)
*sqrt(-((9*(I*sqrt(3) + 1)*(-1/54*(b*c^3 + a)/(a^2*b^2*d^6) + 1/54*(b*c^3 - a)/(a^2*b^2*d^6))^(1/3) + c*(-I*sq
rt(3) + 1)/(a*b*d^4*(-1/54*(b*c^3 + a)/(a^2*b^2*d^6) + 1/54*(b*c^3 - a)/(a^2*b^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^2*b^2*d^6))^(1
/3)))*a^2*b*d^4 + 6*a*b*c^2*d^2)*sqrt(-((9*(I*sqrt(3) + 1)*(-1/54*(b*c^3 + a)/(a^2*b^2*d^6) + 1/54*(b*c^3 - a)
/(a^2*b^2*d^6))^(1/3) + c*(-I*sqrt(3) + 1)/(a*b*d^4*(-1/54*(b*c^3 + a)/(a^2*b^2*d^6) + 1/54*(b*c^3 - a)/(a^2*b
^2*d^6))^(1/3)))^2*a*b*d^4 - 144*c)/(a*b*d^4))) - 1/18*(9*(I*sqrt(3) + 1)*(-1/54*(b*c^3 + a)/(a^2*b^2*d^6) + 1
/54*(b*c^3 - a)/(a^2*b^2*d^6))^(1/3) + c*(-I*sqrt(3) + 1)/(a*b*d^4*(-1/54*(b*c^3 + a)/(a^2*b^2*d^6) + 1/54*(b*
c^3 - a)/(a^2*b^2*d^6))^(1/3)))*log(-1/36*(9*(I*sqrt(3) + 1)*(-1/54*(b*c^3 + a)/(a^2*b^2*d^6) + 1/54*(b*c^3 -
a)/(a^2*b^2*d^6))^(1/3) + c*(-I*sqrt(3) + 1)/(a*b*d^4*(-1/54*(b*c^3 + a)/(a^2*b^2*d^6) + 1/54*(b*c^3 - a)/(a^2
*b^2*d^6))^(1/3)))^2*a^2*b*d^4 + 1/6*(9*(I*sqrt(3) + 1)*(-1/54*(b*c^3 + a)/(a^2*b^2*d^6) + 1/54*(b*c^3 - a)/(a
^2*b^2*d^6))^(1/3) + c*(-I*sqrt(3) + 1)/(a*b*d^4*(-1/54*(b*c^3 + a)/(a^2*b^2*d^6) + 1/54*(b*c^3 - a)/(a^2*b^2*
d^6))^(1/3)))*a*b*c^2*d^2 + b*c^4 + (b*c^3 - a)*d*x + a*c)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {x}{{\left (d x + c\right )}^{3} b + a}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(a+b*(d*x+c)^3),x, algorithm="giac")

[Out]

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

________________________________________________________________________________________

maple [C]  time = 0.00, size = 72, normalized size = 0.40 \[ \frac {\RootOf \left (b \,d^{3} \textit {\_Z}^{3}+3 b \,d^{2} c \,\textit {\_Z}^{2}+3 b d \,c^{2} \textit {\_Z} +b \,c^{3}+a \right ) \ln \left (-\RootOf \left (b \,d^{3} \textit {\_Z}^{3}+3 b \,d^{2} c \,\textit {\_Z}^{2}+3 b d \,c^{2} \textit {\_Z} +b \,c^{3}+a \right )+x \right )}{3 b d \left (d^{2} \RootOf \left (b \,d^{3} \textit {\_Z}^{3}+3 b \,d^{2} c \,\textit {\_Z}^{2}+3 b d \,c^{2} \textit {\_Z} +b \,c^{3}+a \right )^{2}+2 c d \RootOf \left (b \,d^{3} \textit {\_Z}^{3}+3 b \,d^{2} c \,\textit {\_Z}^{2}+3 b d \,c^{2} \textit {\_Z} +b \,c^{3}+a \right )+c^{2}\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/(a+b*(d*x+c)^3),x)

[Out]

1/3/b/d*sum(_R/(_R^2*d^2+2*_R*c*d+c^2)*ln(-_R+x),_R=RootOf(_Z^3*b*d^3+3*_Z^2*b*c*d^2+3*_Z*b*c^2*d+b*c^3+a))

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {x}{{\left (d x + c\right )}^{3} b + a}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(a+b*(d*x+c)^3),x, algorithm="maxima")

[Out]

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

________________________________________________________________________________________

mupad [B]  time = 0.26, size = 145, normalized size = 0.81 \[ \sum _{k=1}^3\ln \left (-\mathrm {root}\left (27\,a^2\,b^2\,d^6\,z^3-9\,a\,b\,c\,d^2\,z+b\,c^3+a,z,k\right )\,\left (3\,b^2\,c^2\,d^4-\mathrm {root}\left (27\,a^2\,b^2\,d^6\,z^3-9\,a\,b\,c\,d^2\,z+b\,c^3+a,z,k\right )\,a\,b^2\,d^6\,9+3\,b^2\,c\,d^5\,x\right )+b\,d^3\,x\right )\,\mathrm {root}\left (27\,a^2\,b^2\,d^6\,z^3-9\,a\,b\,c\,d^2\,z+b\,c^3+a,z,k\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/(a + b*(c + d*x)^3),x)

[Out]

symsum(log(b*d^3*x - root(27*a^2*b^2*d^6*z^3 - 9*a*b*c*d^2*z + b*c^3 + a, z, k)*(3*b^2*c^2*d^4 - 9*root(27*a^2
*b^2*d^6*z^3 - 9*a*b*c*d^2*z + b*c^3 + a, z, k)*a*b^2*d^6 + 3*b^2*c*d^5*x))*root(27*a^2*b^2*d^6*z^3 - 9*a*b*c*
d^2*z + b*c^3 + a, z, k), k, 1, 3)

________________________________________________________________________________________

sympy [A]  time = 0.70, size = 83, normalized size = 0.46 \[ \operatorname {RootSum} {\left (27 t^{3} a^{2} b^{2} d^{6} - 9 t a b c d^{2} + a + b c^{3}, \left (t \mapsto t \log {\left (x + \frac {9 t^{2} a^{2} b d^{4} + 3 t a b c^{2} d^{2} - a c - b c^{4}}{a d - b c^{3} d} \right )} \right )\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(a+b*(d*x+c)**3),x)

[Out]

RootSum(27*_t**3*a**2*b**2*d**6 - 9*_t*a*b*c*d**2 + a + b*c**3, Lambda(_t, _t*log(x + (9*_t**2*a**2*b*d**4 + 3
*_t*a*b*c**2*d**2 - a*c - b*c**4)/(a*d - b*c**3*d))))

________________________________________________________________________________________