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

Optimal result
Mathematica [A] (warning: unable to verify)
Rubi [A] (verified)
Maple [F]
Fricas [F]
Sympy [F]
Maxima [F]
Giac [F]
Mupad [F(-1)]
Reduce [F]

Optimal result

Integrand size = 14, antiderivative size = 105 \[ \int (a+b \cos (c+d x))^{2/3} \, dx=\frac {\sqrt {2} \operatorname {AppellF1}\left (\frac {1}{2},\frac {1}{2},-\frac {2}{3},\frac {3}{2},\frac {1}{2} (1-\cos (c+d x)),\frac {b (1-\cos (c+d x))}{a+b}\right ) (a+b \cos (c+d x))^{2/3} \sin (c+d x)}{d \sqrt {1+\cos (c+d x)} \left (\frac {a+b \cos (c+d x)}{a+b}\right )^{2/3}} \] Output:

2^(1/2)*AppellF1(1/2,-2/3,1/2,3/2,b*(1-cos(d*x+c))/(a+b),1/2-1/2*cos(d*x+c 
))*(a+b*cos(d*x+c))^(2/3)*sin(d*x+c)/d/(1+cos(d*x+c))^(1/2)/((a+b*cos(d*x+ 
c))/(a+b))^(2/3)
 

Mathematica [A] (warning: unable to verify)

Time = 0.34 (sec) , antiderivative size = 118, normalized size of antiderivative = 1.12 \[ \int (a+b \cos (c+d x))^{2/3} \, dx=-\frac {3 \operatorname {AppellF1}\left (\frac {5}{3},\frac {1}{2},\frac {1}{2},\frac {8}{3},\frac {a+b \cos (c+d x)}{a-b},\frac {a+b \cos (c+d x)}{a+b}\right ) \sqrt {-\frac {b (-1+\cos (c+d x))}{a+b}} \sqrt {\frac {b (1+\cos (c+d x))}{-a+b}} (a+b \cos (c+d x))^{5/3} \csc (c+d x)}{5 b d} \] Input:

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

Output:

(-3*AppellF1[5/3, 1/2, 1/2, 8/3, (a + b*Cos[c + d*x])/(a - b), (a + b*Cos[ 
c + d*x])/(a + b)]*Sqrt[-((b*(-1 + Cos[c + d*x]))/(a + b))]*Sqrt[(b*(1 + C 
os[c + d*x]))/(-a + b)]*(a + b*Cos[c + d*x])^(5/3)*Csc[c + d*x])/(5*b*d)
 

Rubi [A] (verified)

Time = 0.27 (sec) , antiderivative size = 105, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.286, Rules used = {3042, 3144, 156, 155}

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

\(\Big \downarrow \) 3042

\(\displaystyle \int \left (a+b \sin \left (c+d x+\frac {\pi }{2}\right )\right )^{2/3}dx\)

\(\Big \downarrow \) 3144

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

\(\Big \downarrow \) 156

\(\displaystyle -\frac {\sin (c+d x) (a+b \cos (c+d x))^{2/3} \int \frac {\left (\frac {a}{a+b}+\frac {b \cos (c+d x)}{a+b}\right )^{2/3}}{\sqrt {1-\cos (c+d x)} \sqrt {\cos (c+d x)+1}}d\cos (c+d x)}{d \sqrt {1-\cos (c+d x)} \sqrt {\cos (c+d x)+1} \left (\frac {a+b \cos (c+d x)}{a+b}\right )^{2/3}}\)

\(\Big \downarrow \) 155

\(\displaystyle \frac {\sqrt {2} \sin (c+d x) (a+b \cos (c+d x))^{2/3} \operatorname {AppellF1}\left (\frac {1}{2},\frac {1}{2},-\frac {2}{3},\frac {3}{2},\frac {1}{2} (1-\cos (c+d x)),\frac {b (1-\cos (c+d x))}{a+b}\right )}{d \sqrt {\cos (c+d x)+1} \left (\frac {a+b \cos (c+d x)}{a+b}\right )^{2/3}}\)

Input:

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

Output:

(Sqrt[2]*AppellF1[1/2, 1/2, -2/3, 3/2, (1 - Cos[c + d*x])/2, (b*(1 - Cos[c 
 + d*x]))/(a + b)]*(a + b*Cos[c + d*x])^(2/3)*Sin[c + d*x])/(d*Sqrt[1 + Co 
s[c + d*x]]*((a + b*Cos[c + d*x])/(a + b))^(2/3))
 

Defintions of rubi rules used

rule 155
Int[((a_) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_)*((e_.) + (f_.)*(x_)) 
^(p_), x_] :> Simp[((a + b*x)^(m + 1)/(b*(m + 1)*Simplify[b/(b*c - a*d)]^n* 
Simplify[b/(b*e - a*f)]^p))*AppellF1[m + 1, -n, -p, m + 2, (-d)*((a + b*x)/ 
(b*c - a*d)), (-f)*((a + b*x)/(b*e - a*f))], x] /; FreeQ[{a, b, c, d, e, f, 
 m, n, p}, x] &&  !IntegerQ[m] &&  !IntegerQ[n] &&  !IntegerQ[p] && GtQ[Sim 
plify[b/(b*c - a*d)], 0] && GtQ[Simplify[b/(b*e - a*f)], 0] &&  !(GtQ[Simpl 
ify[d/(d*a - c*b)], 0] && GtQ[Simplify[d/(d*e - c*f)], 0] && SimplerQ[c + d 
*x, a + b*x]) &&  !(GtQ[Simplify[f/(f*a - e*b)], 0] && GtQ[Simplify[f/(f*c 
- e*d)], 0] && SimplerQ[e + f*x, a + b*x])
 

rule 156
Int[((a_) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_)*((e_.) + (f_.)*(x_)) 
^(p_), x_] :> Simp[(e + f*x)^FracPart[p]/(Simplify[b/(b*e - a*f)]^IntPart[p 
]*(b*((e + f*x)/(b*e - a*f)))^FracPart[p])   Int[(a + b*x)^m*(c + d*x)^n*Si 
mp[b*(e/(b*e - a*f)) + b*f*(x/(b*e - a*f)), x]^p, x], x] /; FreeQ[{a, b, c, 
 d, e, f, m, n, p}, x] &&  !IntegerQ[m] &&  !IntegerQ[n] &&  !IntegerQ[p] & 
& GtQ[Simplify[b/(b*c - a*d)], 0] &&  !GtQ[Simplify[b/(b*e - a*f)], 0]
 

rule 3042
Int[u_, x_Symbol] :> Int[DeactivateTrig[u, x], x] /; FunctionOfTrigOfLinear 
Q[u, x]
 

rule 3144
Int[((a_) + (b_.)*sin[(c_.) + (d_.)*(x_)])^(n_), x_Symbol] :> Simp[Cos[c + 
d*x]/(d*Sqrt[1 + Sin[c + d*x]]*Sqrt[1 - Sin[c + d*x]])   Subst[Int[(a + b*x 
)^n/(Sqrt[1 + x]*Sqrt[1 - x]), x], x, Sin[c + d*x]], x] /; FreeQ[{a, b, c, 
d, n}, x] && NeQ[a^2 - b^2, 0] &&  !IntegerQ[2*n]
 
Maple [F]

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

Input:

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

Output:

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

Fricas [F]

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

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

Output:

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

Sympy [F]

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

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

Output:

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

Maxima [F]

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

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

Output:

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

Giac [F]

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

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

Output:

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

Mupad [F(-1)]

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

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

Output:

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

Reduce [F]

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

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

Output:

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