\(\int \frac {(a+b x)^{2/3}}{(c+d x)^{2/3}} \, dx\) [542]

Optimal result
Mathematica [A] (verified)
Rubi [A] (verified)
Maple [F]
Fricas [B] (verification not implemented)
Sympy [F]
Maxima [F]
Giac [F]
Mupad [F(-1)]
Reduce [F]

Optimal result

Integrand size = 19, antiderivative size = 170 \[ \int \frac {(a+b x)^{2/3}}{(c+d x)^{2/3}} \, dx=\frac {(a+b x)^{2/3} \sqrt [3]{c+d x}}{d}+\frac {2 (b c-a d) \arctan \left (\frac {1}{\sqrt {3}}+\frac {2 \sqrt [3]{d} \sqrt [3]{a+b x}}{\sqrt {3} \sqrt [3]{b} \sqrt [3]{c+d x}}\right )}{\sqrt {3} \sqrt [3]{b} d^{5/3}}+\frac {(b c-a d) \log (c+d x)}{3 \sqrt [3]{b} d^{5/3}}+\frac {(b c-a d) \log \left (1-\frac {\sqrt [3]{d} \sqrt [3]{a+b x}}{\sqrt [3]{b} \sqrt [3]{c+d x}}\right )}{\sqrt [3]{b} d^{5/3}} \] Output:

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

Mathematica [A] (verified)

Time = 0.33 (sec) , antiderivative size = 229, normalized size of antiderivative = 1.35 \[ \int \frac {(a+b x)^{2/3}}{(c+d x)^{2/3}} \, dx=\frac {3 \sqrt [3]{b} d^{2/3} (a+b x)^{2/3} \sqrt [3]{c+d x}-2 \sqrt {3} (b c-a d) \arctan \left (\frac {\sqrt {3} \sqrt [3]{b} \sqrt [3]{c+d x}}{2 \sqrt [3]{d} \sqrt [3]{a+b x}+\sqrt [3]{b} \sqrt [3]{c+d x}}\right )+2 (b c-a d) \log \left (\sqrt [3]{d} \sqrt [3]{a+b x}-\sqrt [3]{b} \sqrt [3]{c+d x}\right )-(b c-a d) \log \left (d^{2/3} (a+b x)^{2/3}+\sqrt [3]{b} \sqrt [3]{d} \sqrt [3]{a+b x} \sqrt [3]{c+d x}+b^{2/3} (c+d x)^{2/3}\right )}{3 \sqrt [3]{b} d^{5/3}} \] Input:

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

Output:

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

Rubi [A] (verified)

Time = 0.19 (sec) , antiderivative size = 164, normalized size of antiderivative = 0.96, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {60, 71}

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 x)^{2/3}}{(c+d x)^{2/3}} \, dx\)

\(\Big \downarrow \) 60

\(\displaystyle \frac {(a+b x)^{2/3} \sqrt [3]{c+d x}}{d}-\frac {2 (b c-a d) \int \frac {1}{\sqrt [3]{a+b x} (c+d x)^{2/3}}dx}{3 d}\)

\(\Big \downarrow \) 71

\(\displaystyle \frac {(a+b x)^{2/3} \sqrt [3]{c+d x}}{d}-\frac {2 (b c-a d) \left (-\frac {\sqrt {3} \arctan \left (\frac {2 \sqrt [3]{d} \sqrt [3]{a+b x}}{\sqrt {3} \sqrt [3]{b} \sqrt [3]{c+d x}}+\frac {1}{\sqrt {3}}\right )}{\sqrt [3]{b} d^{2/3}}-\frac {3 \log \left (\frac {\sqrt [3]{d} \sqrt [3]{a+b x}}{\sqrt [3]{b} \sqrt [3]{c+d x}}-1\right )}{2 \sqrt [3]{b} d^{2/3}}-\frac {\log (c+d x)}{2 \sqrt [3]{b} d^{2/3}}\right )}{3 d}\)

Input:

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

Output:

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

Defintions of rubi rules used

rule 60
Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[ 
(a + b*x)^(m + 1)*((c + d*x)^n/(b*(m + n + 1))), x] + Simp[n*((b*c - a*d)/( 
b*(m + n + 1)))   Int[(a + b*x)^m*(c + d*x)^(n - 1), x], x] /; FreeQ[{a, b, 
 c, d}, x] && GtQ[n, 0] && NeQ[m + n + 1, 0] &&  !(IGtQ[m, 0] && ( !Integer 
Q[n] || (GtQ[m, 0] && LtQ[m - n, 0]))) &&  !ILtQ[m + n + 2, 0] && IntLinear 
Q[a, b, c, d, m, n, x]
 

rule 71
Int[1/(((a_.) + (b_.)*(x_))^(1/3)*((c_.) + (d_.)*(x_))^(2/3)), x_Symbol] :> 
 With[{q = Rt[d/b, 3]}, Simp[(-Sqrt[3])*(q/d)*ArcTan[2*q*((a + b*x)^(1/3)/( 
Sqrt[3]*(c + d*x)^(1/3))) + 1/Sqrt[3]], x] + (-Simp[3*(q/(2*d))*Log[q*((a + 
 b*x)^(1/3)/(c + d*x)^(1/3)) - 1], x] - Simp[(q/(2*d))*Log[c + d*x], x])] / 
; FreeQ[{a, b, c, d}, x] && PosQ[d/b]
 
Maple [F]

\[\int \frac {\left (b x +a \right )^{\frac {2}{3}}}{\left (x d +c \right )^{\frac {2}{3}}}d x\]

Input:

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

Output:

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

Fricas [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 286 vs. \(2 (132) = 264\).

Time = 0.10 (sec) , antiderivative size = 619, normalized size of antiderivative = 3.64 \[ \int \frac {(a+b x)^{2/3}}{(c+d x)^{2/3}} \, dx =\text {Too large to display} \] Input:

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

Output:

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

Sympy [F]

\[ \int \frac {(a+b x)^{2/3}}{(c+d x)^{2/3}} \, dx=\int \frac {\left (a + b x\right )^{\frac {2}{3}}}{\left (c + d x\right )^{\frac {2}{3}}}\, dx \] Input:

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

Output:

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

Maxima [F]

\[ \int \frac {(a+b x)^{2/3}}{(c+d x)^{2/3}} \, dx=\int { \frac {{\left (b x + a\right )}^{\frac {2}{3}}}{{\left (d x + c\right )}^{\frac {2}{3}}} \,d x } \] Input:

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

Output:

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

Giac [F]

\[ \int \frac {(a+b x)^{2/3}}{(c+d x)^{2/3}} \, dx=\int { \frac {{\left (b x + a\right )}^{\frac {2}{3}}}{{\left (d x + c\right )}^{\frac {2}{3}}} \,d x } \] Input:

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

Output:

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

Mupad [F(-1)]

Timed out. \[ \int \frac {(a+b x)^{2/3}}{(c+d x)^{2/3}} \, dx=\int \frac {{\left (a+b\,x\right )}^{2/3}}{{\left (c+d\,x\right )}^{2/3}} \,d x \] Input:

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

Output:

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

Reduce [F]

\[ \int \frac {(a+b x)^{2/3}}{(c+d x)^{2/3}} \, dx=\int \frac {\left (b x +a \right )^{\frac {2}{3}}}{\left (d x +c \right )^{\frac {2}{3}}}d x \] Input:

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

Output:

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