\(\int (f+g x)^3 (d-c^2 d x^2)^{5/2} (a+b \arccos (c x)) \, dx\) [10]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [C] (verified)
   Fricas [F]
   Sympy [F(-1)]
   Maxima [F]
   Giac [F(-2)]
   Mupad [F(-1)]

Optimal result

Integrand size = 31, antiderivative size = 1281 \[ \int (f+g x)^3 \left (d-c^2 d x^2\right )^{5/2} (a+b \arccos (c x)) \, dx=-\frac {3 b d^2 f^2 g x \sqrt {d-c^2 d x^2}}{7 c \sqrt {1-c^2 x^2}}-\frac {2 b d^2 g^3 x \sqrt {d-c^2 d x^2}}{63 c^3 \sqrt {1-c^2 x^2}}+\frac {25 b c d^2 f^3 x^2 \sqrt {d-c^2 d x^2}}{96 \sqrt {1-c^2 x^2}}-\frac {15 b d^2 f g^2 x^2 \sqrt {d-c^2 d x^2}}{256 c \sqrt {1-c^2 x^2}}+\frac {3 b c d^2 f^2 g x^3 \sqrt {d-c^2 d x^2}}{7 \sqrt {1-c^2 x^2}}-\frac {b d^2 g^3 x^3 \sqrt {d-c^2 d x^2}}{189 c \sqrt {1-c^2 x^2}}-\frac {5 b c^3 d^2 f^3 x^4 \sqrt {d-c^2 d x^2}}{96 \sqrt {1-c^2 x^2}}+\frac {59 b c d^2 f g^2 x^4 \sqrt {d-c^2 d x^2}}{256 \sqrt {1-c^2 x^2}}-\frac {9 b c^3 d^2 f^2 g x^5 \sqrt {d-c^2 d x^2}}{35 \sqrt {1-c^2 x^2}}+\frac {b c d^2 g^3 x^5 \sqrt {d-c^2 d x^2}}{21 \sqrt {1-c^2 x^2}}-\frac {17 b c^3 d^2 f g^2 x^6 \sqrt {d-c^2 d x^2}}{96 \sqrt {1-c^2 x^2}}+\frac {3 b c^5 d^2 f^2 g x^7 \sqrt {d-c^2 d x^2}}{49 \sqrt {1-c^2 x^2}}-\frac {19 b c^3 d^2 g^3 x^7 \sqrt {d-c^2 d x^2}}{441 \sqrt {1-c^2 x^2}}+\frac {3 b c^5 d^2 f g^2 x^8 \sqrt {d-c^2 d x^2}}{64 \sqrt {1-c^2 x^2}}+\frac {b c^5 d^2 g^3 x^9 \sqrt {d-c^2 d x^2}}{81 \sqrt {1-c^2 x^2}}-\frac {b d^2 f^3 \left (1-c^2 x^2\right )^{5/2} \sqrt {d-c^2 d x^2}}{36 c}+\frac {5}{16} d^2 f^3 x \sqrt {d-c^2 d x^2} (a+b \arccos (c x))-\frac {15 d^2 f g^2 x \sqrt {d-c^2 d x^2} (a+b \arccos (c x))}{128 c^2}+\frac {15}{64} d^2 f g^2 x^3 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))+\frac {5}{24} d^2 f^3 x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} (a+b \arccos (c x))+\frac {5}{16} d^2 f g^2 x^3 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} (a+b \arccos (c x))+\frac {1}{6} d^2 f^3 x \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))+\frac {3}{8} d^2 f g^2 x^3 \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))-\frac {3 d^2 f^2 g \left (1-c^2 x^2\right )^3 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))}{7 c^2}-\frac {d^2 g^3 \left (1-c^2 x^2\right )^3 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))}{7 c^4}+\frac {d^2 g^3 \left (1-c^2 x^2\right )^4 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))}{9 c^4}-\frac {5 d^2 f^3 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))^2}{32 b c \sqrt {1-c^2 x^2}}-\frac {15 d^2 f g^2 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))^2}{256 b c^3 \sqrt {1-c^2 x^2}} \]

[Out]

-15/256*d^2*f*g^2*(a+b*arccos(c*x))^2*(-c^2*d*x^2+d)^(1/2)/b/c^3/(-c^2*x^2+1)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x^2+d)^(1/2)/(-c^2*x^2+1)^(1/2)-1/189*b*d^2*g^3*x^3*(-c^2*d*x^2+d)^(1/2)/c/(-
c^2*x^2+1)^(1/2)-5/96*b*c^3*d^2*f^3*x^4*(-c^2*d*x^2+d)^(1/2)/(-c^2*x^2+1)^(1/2)+1/21*b*c*d^2*g^3*x^5*(-c^2*d*x
^2+d)^(1/2)/(-c^2*x^2+1)^(1/2)-19/441*b*c^3*d^2*g^3*x^7*(-c^2*d*x^2+d)^(1/2)/(-c^2*x^2+1)^(1/2)+1/81*b*c^5*d^2
*g^3*x^9*(-c^2*d*x^2+d)^(1/2)/(-c^2*x^2+1)^(1/2)-15/128*d^2*f*g^2*x*(a+b*arccos(c*x))*(-c^2*d*x^2+d)^(1/2)/c^2
+5/16*d^2*f*g^2*x^3*(-c^2*x^2+1)*(a+b*arccos(c*x))*(-c^2*d*x^2+d)^(1/2)+3/8*d^2*f*g^2*x^3*(-c^2*x^2+1)^2*(a+b*
arccos(c*x))*(-c^2*d*x^2+d)^(1/2)-3/7*d^2*f^2*g*(-c^2*x^2+1)^3*(a+b*arccos(c*x))*(-c^2*d*x^2+d)^(1/2)/c^2-5/32
*d^2*f^3*(a+b*arccos(c*x))^2*(-c^2*d*x^2+d)^(1/2)/b/c/(-c^2*x^2+1)^(1/2)

Rubi [A] (verified)

Time = 0.77 (sec) , antiderivative size = 1281, normalized size of antiderivative = 1.00, number of steps used = 30, number of rules used = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.581, Rules used = {4862, 4848, 4744, 4742, 4738, 30, 14, 267, 4768, 200, 4788, 4784, 4796, 272, 45, 4780, 12, 380} \[ \int (f+g x)^3 \left (d-c^2 d x^2\right )^{5/2} (a+b \arccos (c x)) \, dx=\frac {b c^5 d^2 g^3 \sqrt {d-c^2 d x^2} x^9}{81 \sqrt {1-c^2 x^2}}+\frac {3 b c^5 d^2 f g^2 \sqrt {d-c^2 d x^2} x^8}{64 \sqrt {1-c^2 x^2}}-\frac {19 b c^3 d^2 g^3 \sqrt {d-c^2 d x^2} x^7}{441 \sqrt {1-c^2 x^2}}+\frac {3 b c^5 d^2 f^2 g \sqrt {d-c^2 d x^2} x^7}{49 \sqrt {1-c^2 x^2}}-\frac {17 b c^3 d^2 f g^2 \sqrt {d-c^2 d x^2} x^6}{96 \sqrt {1-c^2 x^2}}+\frac {b c d^2 g^3 \sqrt {d-c^2 d x^2} x^5}{21 \sqrt {1-c^2 x^2}}-\frac {9 b c^3 d^2 f^2 g \sqrt {d-c^2 d x^2} x^5}{35 \sqrt {1-c^2 x^2}}-\frac {5 b c^3 d^2 f^3 \sqrt {d-c^2 d x^2} x^4}{96 \sqrt {1-c^2 x^2}}+\frac {59 b c d^2 f g^2 \sqrt {d-c^2 d x^2} x^4}{256 \sqrt {1-c^2 x^2}}+\frac {15}{64} d^2 f g^2 \sqrt {d-c^2 d x^2} (a+b \arccos (c x)) x^3+\frac {3}{8} d^2 f g^2 \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} (a+b \arccos (c x)) x^3+\frac {5}{16} d^2 f g^2 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} (a+b \arccos (c x)) x^3-\frac {b d^2 g^3 \sqrt {d-c^2 d x^2} x^3}{189 c \sqrt {1-c^2 x^2}}+\frac {3 b c d^2 f^2 g \sqrt {d-c^2 d x^2} x^3}{7 \sqrt {1-c^2 x^2}}+\frac {25 b c d^2 f^3 \sqrt {d-c^2 d x^2} x^2}{96 \sqrt {1-c^2 x^2}}-\frac {15 b d^2 f g^2 \sqrt {d-c^2 d x^2} x^2}{256 c \sqrt {1-c^2 x^2}}+\frac {5}{16} d^2 f^3 \sqrt {d-c^2 d x^2} (a+b \arccos (c x)) x-\frac {15 d^2 f g^2 \sqrt {d-c^2 d x^2} (a+b \arccos (c x)) x}{128 c^2}+\frac {1}{6} d^2 f^3 \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} (a+b \arccos (c x)) x+\frac {5}{24} d^2 f^3 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} (a+b \arccos (c x)) x-\frac {2 b d^2 g^3 \sqrt {d-c^2 d x^2} x}{63 c^3 \sqrt {1-c^2 x^2}}-\frac {3 b d^2 f^2 g \sqrt {d-c^2 d x^2} x}{7 c \sqrt {1-c^2 x^2}}-\frac {5 d^2 f^3 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))^2}{32 b c \sqrt {1-c^2 x^2}}-\frac {15 d^2 f g^2 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))^2}{256 b c^3 \sqrt {1-c^2 x^2}}+\frac {d^2 g^3 \left (1-c^2 x^2\right )^4 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))}{9 c^4}-\frac {d^2 g^3 \left (1-c^2 x^2\right )^3 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))}{7 c^4}-\frac {3 d^2 f^2 g \left (1-c^2 x^2\right )^3 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))}{7 c^2}-\frac {b d^2 f^3 \left (1-c^2 x^2\right )^{5/2} \sqrt {d-c^2 d x^2}}{36 c} \]

[In]

Int[(f + g*x)^3*(d - c^2*d*x^2)^(5/2)*(a + b*ArcCos[c*x]),x]

[Out]

(-3*b*d^2*f^2*g*x*Sqrt[d - c^2*d*x^2])/(7*c*Sqrt[1 - c^2*x^2]) - (2*b*d^2*g^3*x*Sqrt[d - c^2*d*x^2])/(63*c^3*S
qrt[1 - c^2*x^2]) + (25*b*c*d^2*f^3*x^2*Sqrt[d - c^2*d*x^2])/(96*Sqrt[1 - c^2*x^2]) - (15*b*d^2*f*g^2*x^2*Sqrt
[d - c^2*d*x^2])/(256*c*Sqrt[1 - c^2*x^2]) + (3*b*c*d^2*f^2*g*x^3*Sqrt[d - c^2*d*x^2])/(7*Sqrt[1 - c^2*x^2]) -
 (b*d^2*g^3*x^3*Sqrt[d - c^2*d*x^2])/(189*c*Sqrt[1 - c^2*x^2]) - (5*b*c^3*d^2*f^3*x^4*Sqrt[d - c^2*d*x^2])/(96
*Sqrt[1 - c^2*x^2]) + (59*b*c*d^2*f*g^2*x^4*Sqrt[d - c^2*d*x^2])/(256*Sqrt[1 - c^2*x^2]) - (9*b*c^3*d^2*f^2*g*
x^5*Sqrt[d - c^2*d*x^2])/(35*Sqrt[1 - c^2*x^2]) + (b*c*d^2*g^3*x^5*Sqrt[d - c^2*d*x^2])/(21*Sqrt[1 - c^2*x^2])
 - (17*b*c^3*d^2*f*g^2*x^6*Sqrt[d - c^2*d*x^2])/(96*Sqrt[1 - c^2*x^2]) + (3*b*c^5*d^2*f^2*g*x^7*Sqrt[d - c^2*d
*x^2])/(49*Sqrt[1 - c^2*x^2]) - (19*b*c^3*d^2*g^3*x^7*Sqrt[d - c^2*d*x^2])/(441*Sqrt[1 - c^2*x^2]) + (3*b*c^5*
d^2*f*g^2*x^8*Sqrt[d - c^2*d*x^2])/(64*Sqrt[1 - c^2*x^2]) + (b*c^5*d^2*g^3*x^9*Sqrt[d - c^2*d*x^2])/(81*Sqrt[1
 - c^2*x^2]) - (b*d^2*f^3*(1 - c^2*x^2)^(5/2)*Sqrt[d - c^2*d*x^2])/(36*c) + (5*d^2*f^3*x*Sqrt[d - c^2*d*x^2]*(
a + b*ArcCos[c*x]))/16 - (15*d^2*f*g^2*x*Sqrt[d - c^2*d*x^2]*(a + b*ArcCos[c*x]))/(128*c^2) + (15*d^2*f*g^2*x^
3*Sqrt[d - c^2*d*x^2]*(a + b*ArcCos[c*x]))/64 + (5*d^2*f^3*x*(1 - c^2*x^2)*Sqrt[d - c^2*d*x^2]*(a + b*ArcCos[c
*x]))/24 + (5*d^2*f*g^2*x^3*(1 - c^2*x^2)*Sqrt[d - c^2*d*x^2]*(a + b*ArcCos[c*x]))/16 + (d^2*f^3*x*(1 - c^2*x^
2)^2*Sqrt[d - c^2*d*x^2]*(a + b*ArcCos[c*x]))/6 + (3*d^2*f*g^2*x^3*(1 - c^2*x^2)^2*Sqrt[d - c^2*d*x^2]*(a + b*
ArcCos[c*x]))/8 - (3*d^2*f^2*g*(1 - c^2*x^2)^3*Sqrt[d - c^2*d*x^2]*(a + b*ArcCos[c*x]))/(7*c^2) - (d^2*g^3*(1
- c^2*x^2)^3*Sqrt[d - c^2*d*x^2]*(a + b*ArcCos[c*x]))/(7*c^4) + (d^2*g^3*(1 - c^2*x^2)^4*Sqrt[d - c^2*d*x^2]*(
a + b*ArcCos[c*x]))/(9*c^4) - (5*d^2*f^3*Sqrt[d - c^2*d*x^2]*(a + b*ArcCos[c*x])^2)/(32*b*c*Sqrt[1 - c^2*x^2])
 - (15*d^2*f*g^2*Sqrt[d - c^2*d*x^2]*(a + b*ArcCos[c*x])^2)/(256*b*c^3*Sqrt[1 - c^2*x^2])

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 14

Int[(u_)*((c_.)*(x_))^(m_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*u, x], x] /; FreeQ[{c, m}, x] && SumQ[u]
 &&  !LinearQ[u, x] &&  !MatchQ[u, (a_) + (b_.)*(v_) /; FreeQ[{a, b}, x] && InverseFunctionQ[v]]

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rule 45

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rule 200

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Int[ExpandIntegrand[(a + b*x^n)^p, x], x] /; FreeQ[{a, b}, x]
&& IGtQ[n, 0] && IGtQ[p, 0]

Rule 267

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(a + b*x^n)^(p + 1)/(b*n*(p + 1)), x] /; FreeQ
[{a, b, m, n, p}, x] && EqQ[m, n - 1] && NeQ[p, -1]

Rule 272

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rule 380

Int[((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x^n
)^p*(c + d*x^n)^q, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[p, 0] && IGtQ[q, 0]

Rule 4738

Int[((a_.) + ArcCos[(c_.)*(x_)]*(b_.))^(n_.)/Sqrt[(d_) + (e_.)*(x_)^2], x_Symbol] :> Simp[(-(b*c*(n + 1))^(-1)
)*Simp[Sqrt[1 - c^2*x^2]/Sqrt[d + e*x^2]]*(a + b*ArcCos[c*x])^(n + 1), x] /; FreeQ[{a, b, c, d, e, n}, x] && E
qQ[c^2*d + e, 0] && NeQ[n, -1]

Rule 4742

Int[((a_.) + ArcCos[(c_.)*(x_)]*(b_.))^(n_.)*Sqrt[(d_) + (e_.)*(x_)^2], x_Symbol] :> Simp[x*Sqrt[d + e*x^2]*((
a + b*ArcCos[c*x])^n/2), x] + (Dist[(1/2)*Simp[Sqrt[d + e*x^2]/Sqrt[1 - c^2*x^2]], Int[(a + b*ArcCos[c*x])^n/S
qrt[1 - c^2*x^2], x], x] + Dist[b*c*(n/2)*Simp[Sqrt[d + e*x^2]/Sqrt[1 - c^2*x^2]], Int[x*(a + b*ArcCos[c*x])^(
n - 1), x], x]) /; FreeQ[{a, b, c, d, e}, x] && EqQ[c^2*d + e, 0] && GtQ[n, 0]

Rule 4744

Int[((a_.) + ArcCos[(c_.)*(x_)]*(b_.))^(n_.)*((d_) + (e_.)*(x_)^2)^(p_.), x_Symbol] :> Simp[x*(d + e*x^2)^p*((
a + b*ArcCos[c*x])^n/(2*p + 1)), x] + (Dist[2*d*(p/(2*p + 1)), Int[(d + e*x^2)^(p - 1)*(a + b*ArcCos[c*x])^n,
x], x] + Dist[b*c*(n/(2*p + 1))*Simp[(d + e*x^2)^p/(1 - c^2*x^2)^p], Int[x*(1 - c^2*x^2)^(p - 1/2)*(a + b*ArcC
os[c*x])^(n - 1), x], x]) /; FreeQ[{a, b, c, d, e}, x] && EqQ[c^2*d + e, 0] && GtQ[n, 0] && GtQ[p, 0]

Rule 4768

Int[((a_.) + ArcCos[(c_.)*(x_)]*(b_.))^(n_.)*(x_)*((d_) + (e_.)*(x_)^2)^(p_.), x_Symbol] :> Simp[(d + e*x^2)^(
p + 1)*((a + b*ArcCos[c*x])^n/(2*e*(p + 1))), x] - Dist[b*(n/(2*c*(p + 1)))*Simp[(d + e*x^2)^p/(1 - c^2*x^2)^p
], Int[(1 - c^2*x^2)^(p + 1/2)*(a + b*ArcCos[c*x])^(n - 1), x], x] /; FreeQ[{a, b, c, d, e, p}, x] && EqQ[c^2*
d + e, 0] && GtQ[n, 0] && NeQ[p, -1]

Rule 4780

Int[((a_.) + ArcCos[(c_.)*(x_)]*(b_.))*(x_)^(m_)*((d_) + (e_.)*(x_)^2)^(p_), x_Symbol] :> With[{u = IntHide[x^
m*(d + e*x^2)^p, x]}, Dist[a + b*ArcCos[c*x], u, x] + Dist[b*c*Simp[Sqrt[d + e*x^2]/Sqrt[1 - c^2*x^2]], Int[Si
mplifyIntegrand[u/Sqrt[d + e*x^2], x], x], x]] /; FreeQ[{a, b, c, d, e}, x] && EqQ[c^2*d + e, 0] && IntegerQ[p
 - 1/2] && NeQ[p, -2^(-1)] && (IGtQ[(m + 1)/2, 0] || ILtQ[(m + 2*p + 3)/2, 0])

Rule 4784

Int[((a_.) + ArcCos[(c_.)*(x_)]*(b_.))^(n_.)*((f_.)*(x_))^(m_)*Sqrt[(d_) + (e_.)*(x_)^2], x_Symbol] :> Simp[(f
*x)^(m + 1)*Sqrt[d + e*x^2]*((a + b*ArcCos[c*x])^n/(f*(m + 2))), x] + (Dist[(1/(m + 2))*Simp[Sqrt[d + e*x^2]/S
qrt[1 - c^2*x^2]], Int[(f*x)^m*((a + b*ArcCos[c*x])^n/Sqrt[1 - c^2*x^2]), x], x] + Dist[b*c*(n/(f*(m + 2)))*Si
mp[Sqrt[d + e*x^2]/Sqrt[1 - c^2*x^2]], Int[(f*x)^(m + 1)*(a + b*ArcCos[c*x])^(n - 1), x], x]) /; FreeQ[{a, b,
c, d, e, f, m}, x] && EqQ[c^2*d + e, 0] && GtQ[n, 0] && (IGtQ[m, -2] || EqQ[n, 1])

Rule 4788

Int[((a_.) + ArcCos[(c_.)*(x_)]*(b_.))^(n_.)*((f_.)*(x_))^(m_)*((d_) + (e_.)*(x_)^2)^(p_.), x_Symbol] :> Simp[
(f*x)^(m + 1)*(d + e*x^2)^p*((a + b*ArcCos[c*x])^n/(f*(m + 2*p + 1))), x] + (Dist[2*d*(p/(m + 2*p + 1)), Int[(
f*x)^m*(d + e*x^2)^(p - 1)*(a + b*ArcCos[c*x])^n, x], x] + Dist[b*c*(n/(f*(m + 2*p + 1)))*Simp[(d + e*x^2)^p/(
1 - c^2*x^2)^p], Int[(f*x)^(m + 1)*(1 - c^2*x^2)^(p - 1/2)*(a + b*ArcCos[c*x])^(n - 1), x], x]) /; FreeQ[{a, b
, c, d, e, f, m}, x] && EqQ[c^2*d + e, 0] && GtQ[n, 0] && GtQ[p, 0] &&  !LtQ[m, -1]

Rule 4796

Int[((a_.) + ArcCos[(c_.)*(x_)]*(b_.))^(n_.)*((f_.)*(x_))^(m_)*((d_) + (e_.)*(x_)^2)^(p_), x_Symbol] :> Simp[f
*(f*x)^(m - 1)*(d + e*x^2)^(p + 1)*((a + b*ArcCos[c*x])^n/(e*(m + 2*p + 1))), x] + (Dist[f^2*((m - 1)/(c^2*(m
+ 2*p + 1))), Int[(f*x)^(m - 2)*(d + e*x^2)^p*(a + b*ArcCos[c*x])^n, x], x] - Dist[b*f*(n/(c*(m + 2*p + 1)))*S
imp[(d + e*x^2)^p/(1 - c^2*x^2)^p], Int[(f*x)^(m - 1)*(1 - c^2*x^2)^(p + 1/2)*(a + b*ArcCos[c*x])^(n - 1), x],
 x]) /; FreeQ[{a, b, c, d, e, f, p}, x] && EqQ[c^2*d + e, 0] && GtQ[n, 0] && IGtQ[m, 1] && NeQ[m + 2*p + 1, 0]

Rule 4848

Int[((a_.) + ArcCos[(c_.)*(x_)]*(b_.))^(n_.)*((f_) + (g_.)*(x_))^(m_.)*((d_) + (e_.)*(x_)^2)^(p_), x_Symbol] :
> Int[ExpandIntegrand[(d + e*x^2)^p*(a + b*ArcCos[c*x])^n, (f + g*x)^m, x], x] /; FreeQ[{a, b, c, d, e, f, g},
 x] && EqQ[c^2*d + e, 0] && IGtQ[m, 0] && IntegerQ[p + 1/2] && GtQ[d, 0] && IGtQ[n, 0] && (m == 1 || p > 0 ||
(n == 1 && p > -1) || (m == 2 && p < -2))

Rule 4862

Int[((a_.) + ArcCos[(c_.)*(x_)]*(b_.))^(n_.)*((f_) + (g_.)*(x_))^(m_.)*((d_) + (e_.)*(x_)^2)^(p_), x_Symbol] :
> Dist[Simp[(d + e*x^2)^p/(1 - c^2*x^2)^p], Int[(f + g*x)^m*(1 - c^2*x^2)^p*(a + b*ArcCos[c*x])^n, x], x] /; F
reeQ[{a, b, c, d, e, f, g, n}, x] && EqQ[c^2*d + e, 0] && IntegerQ[m] && IntegerQ[p - 1/2] &&  !GtQ[d, 0]

Rubi steps \begin{align*} \text {integral}& = \frac {\left (d^2 \sqrt {d-c^2 d x^2}\right ) \int (f+g x)^3 \left (1-c^2 x^2\right )^{5/2} (a+b \arccos (c x)) \, dx}{\sqrt {1-c^2 x^2}} \\ & = \frac {\left (d^2 \sqrt {d-c^2 d x^2}\right ) \int \left (f^3 \left (1-c^2 x^2\right )^{5/2} (a+b \arccos (c x))+3 f^2 g x \left (1-c^2 x^2\right )^{5/2} (a+b \arccos (c x))+3 f g^2 x^2 \left (1-c^2 x^2\right )^{5/2} (a+b \arccos (c x))+g^3 x^3 \left (1-c^2 x^2\right )^{5/2} (a+b \arccos (c x))\right ) \, dx}{\sqrt {1-c^2 x^2}} \\ & = \frac {\left (d^2 f^3 \sqrt {d-c^2 d x^2}\right ) \int \left (1-c^2 x^2\right )^{5/2} (a+b \arccos (c x)) \, dx}{\sqrt {1-c^2 x^2}}+\frac {\left (3 d^2 f^2 g \sqrt {d-c^2 d x^2}\right ) \int x \left (1-c^2 x^2\right )^{5/2} (a+b \arccos (c x)) \, dx}{\sqrt {1-c^2 x^2}}+\frac {\left (3 d^2 f g^2 \sqrt {d-c^2 d x^2}\right ) \int x^2 \left (1-c^2 x^2\right )^{5/2} (a+b \arccos (c x)) \, dx}{\sqrt {1-c^2 x^2}}+\frac {\left (d^2 g^3 \sqrt {d-c^2 d x^2}\right ) \int x^3 \left (1-c^2 x^2\right )^{5/2} (a+b \arccos (c x)) \, dx}{\sqrt {1-c^2 x^2}} \\ & = \frac {1}{6} d^2 f^3 x \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))+\frac {3}{8} d^2 f g^2 x^3 \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))-\frac {3 d^2 f^2 g \left (1-c^2 x^2\right )^3 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))}{7 c^2}-\frac {d^2 g^3 \left (1-c^2 x^2\right )^3 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))}{7 c^4}+\frac {d^2 g^3 \left (1-c^2 x^2\right )^4 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))}{9 c^4}+\frac {\left (5 d^2 f^3 \sqrt {d-c^2 d x^2}\right ) \int \left (1-c^2 x^2\right )^{3/2} (a+b \arccos (c x)) \, dx}{6 \sqrt {1-c^2 x^2}}+\frac {\left (b c d^2 f^3 \sqrt {d-c^2 d x^2}\right ) \int x \left (1-c^2 x^2\right )^2 \, dx}{6 \sqrt {1-c^2 x^2}}-\frac {\left (3 b d^2 f^2 g \sqrt {d-c^2 d x^2}\right ) \int \left (1-c^2 x^2\right )^3 \, dx}{7 c \sqrt {1-c^2 x^2}}+\frac {\left (15 d^2 f g^2 \sqrt {d-c^2 d x^2}\right ) \int x^2 \left (1-c^2 x^2\right )^{3/2} (a+b \arccos (c x)) \, dx}{8 \sqrt {1-c^2 x^2}}+\frac {\left (3 b c d^2 f g^2 \sqrt {d-c^2 d x^2}\right ) \int x^3 \left (1-c^2 x^2\right )^2 \, dx}{8 \sqrt {1-c^2 x^2}}+\frac {\left (b c d^2 g^3 \sqrt {d-c^2 d x^2}\right ) \int \frac {\left (-2-7 c^2 x^2\right ) \left (1-c^2 x^2\right )^3}{63 c^4} \, dx}{\sqrt {1-c^2 x^2}} \\ & = -\frac {b d^2 f^3 \left (1-c^2 x^2\right )^{5/2} \sqrt {d-c^2 d x^2}}{36 c}+\frac {5}{24} d^2 f^3 x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} (a+b \arccos (c x))+\frac {5}{16} d^2 f g^2 x^3 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} (a+b \arccos (c x))+\frac {1}{6} d^2 f^3 x \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))+\frac {3}{8} d^2 f g^2 x^3 \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))-\frac {3 d^2 f^2 g \left (1-c^2 x^2\right )^3 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))}{7 c^2}-\frac {d^2 g^3 \left (1-c^2 x^2\right )^3 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))}{7 c^4}+\frac {d^2 g^3 \left (1-c^2 x^2\right )^4 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))}{9 c^4}+\frac {\left (5 d^2 f^3 \sqrt {d-c^2 d x^2}\right ) \int \sqrt {1-c^2 x^2} (a+b \arccos (c x)) \, dx}{8 \sqrt {1-c^2 x^2}}+\frac {\left (5 b c d^2 f^3 \sqrt {d-c^2 d x^2}\right ) \int x \left (1-c^2 x^2\right ) \, dx}{24 \sqrt {1-c^2 x^2}}-\frac {\left (3 b d^2 f^2 g \sqrt {d-c^2 d x^2}\right ) \int \left (1-3 c^2 x^2+3 c^4 x^4-c^6 x^6\right ) \, dx}{7 c \sqrt {1-c^2 x^2}}+\frac {\left (15 d^2 f g^2 \sqrt {d-c^2 d x^2}\right ) \int x^2 \sqrt {1-c^2 x^2} (a+b \arccos (c x)) \, dx}{16 \sqrt {1-c^2 x^2}}+\frac {\left (3 b c d^2 f g^2 \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int x \left (1-c^2 x\right )^2 \, dx,x,x^2\right )}{16 \sqrt {1-c^2 x^2}}+\frac {\left (5 b c d^2 f g^2 \sqrt {d-c^2 d x^2}\right ) \int x^3 \left (1-c^2 x^2\right ) \, dx}{16 \sqrt {1-c^2 x^2}}+\frac {\left (b d^2 g^3 \sqrt {d-c^2 d x^2}\right ) \int \left (-2-7 c^2 x^2\right ) \left (1-c^2 x^2\right )^3 \, dx}{63 c^3 \sqrt {1-c^2 x^2}} \\ & = -\frac {3 b d^2 f^2 g x \sqrt {d-c^2 d x^2}}{7 c \sqrt {1-c^2 x^2}}+\frac {3 b c d^2 f^2 g x^3 \sqrt {d-c^2 d x^2}}{7 \sqrt {1-c^2 x^2}}-\frac {9 b c^3 d^2 f^2 g x^5 \sqrt {d-c^2 d x^2}}{35 \sqrt {1-c^2 x^2}}+\frac {3 b c^5 d^2 f^2 g x^7 \sqrt {d-c^2 d x^2}}{49 \sqrt {1-c^2 x^2}}-\frac {b d^2 f^3 \left (1-c^2 x^2\right )^{5/2} \sqrt {d-c^2 d x^2}}{36 c}+\frac {5}{16} d^2 f^3 x \sqrt {d-c^2 d x^2} (a+b \arccos (c x))+\frac {15}{64} d^2 f g^2 x^3 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))+\frac {5}{24} d^2 f^3 x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} (a+b \arccos (c x))+\frac {5}{16} d^2 f g^2 x^3 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} (a+b \arccos (c x))+\frac {1}{6} d^2 f^3 x \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))+\frac {3}{8} d^2 f g^2 x^3 \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))-\frac {3 d^2 f^2 g \left (1-c^2 x^2\right )^3 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))}{7 c^2}-\frac {d^2 g^3 \left (1-c^2 x^2\right )^3 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))}{7 c^4}+\frac {d^2 g^3 \left (1-c^2 x^2\right )^4 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))}{9 c^4}+\frac {\left (5 d^2 f^3 \sqrt {d-c^2 d x^2}\right ) \int \frac {a+b \arccos (c x)}{\sqrt {1-c^2 x^2}} \, dx}{16 \sqrt {1-c^2 x^2}}+\frac {\left (5 b c d^2 f^3 \sqrt {d-c^2 d x^2}\right ) \int \left (x-c^2 x^3\right ) \, dx}{24 \sqrt {1-c^2 x^2}}+\frac {\left (5 b c d^2 f^3 \sqrt {d-c^2 d x^2}\right ) \int x \, dx}{16 \sqrt {1-c^2 x^2}}+\frac {\left (15 d^2 f g^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {x^2 (a+b \arccos (c x))}{\sqrt {1-c^2 x^2}} \, dx}{64 \sqrt {1-c^2 x^2}}+\frac {\left (3 b c d^2 f g^2 \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int \left (x-2 c^2 x^2+c^4 x^3\right ) \, dx,x,x^2\right )}{16 \sqrt {1-c^2 x^2}}+\frac {\left (15 b c d^2 f g^2 \sqrt {d-c^2 d x^2}\right ) \int x^3 \, dx}{64 \sqrt {1-c^2 x^2}}+\frac {\left (5 b c d^2 f g^2 \sqrt {d-c^2 d x^2}\right ) \int \left (x^3-c^2 x^5\right ) \, dx}{16 \sqrt {1-c^2 x^2}}+\frac {\left (b d^2 g^3 \sqrt {d-c^2 d x^2}\right ) \int \left (-2-c^2 x^2+15 c^4 x^4-19 c^6 x^6+7 c^8 x^8\right ) \, dx}{63 c^3 \sqrt {1-c^2 x^2}} \\ & = -\frac {3 b d^2 f^2 g x \sqrt {d-c^2 d x^2}}{7 c \sqrt {1-c^2 x^2}}-\frac {2 b d^2 g^3 x \sqrt {d-c^2 d x^2}}{63 c^3 \sqrt {1-c^2 x^2}}+\frac {25 b c d^2 f^3 x^2 \sqrt {d-c^2 d x^2}}{96 \sqrt {1-c^2 x^2}}+\frac {3 b c d^2 f^2 g x^3 \sqrt {d-c^2 d x^2}}{7 \sqrt {1-c^2 x^2}}-\frac {b d^2 g^3 x^3 \sqrt {d-c^2 d x^2}}{189 c \sqrt {1-c^2 x^2}}-\frac {5 b c^3 d^2 f^3 x^4 \sqrt {d-c^2 d x^2}}{96 \sqrt {1-c^2 x^2}}+\frac {59 b c d^2 f g^2 x^4 \sqrt {d-c^2 d x^2}}{256 \sqrt {1-c^2 x^2}}-\frac {9 b c^3 d^2 f^2 g x^5 \sqrt {d-c^2 d x^2}}{35 \sqrt {1-c^2 x^2}}+\frac {b c d^2 g^3 x^5 \sqrt {d-c^2 d x^2}}{21 \sqrt {1-c^2 x^2}}-\frac {17 b c^3 d^2 f g^2 x^6 \sqrt {d-c^2 d x^2}}{96 \sqrt {1-c^2 x^2}}+\frac {3 b c^5 d^2 f^2 g x^7 \sqrt {d-c^2 d x^2}}{49 \sqrt {1-c^2 x^2}}-\frac {19 b c^3 d^2 g^3 x^7 \sqrt {d-c^2 d x^2}}{441 \sqrt {1-c^2 x^2}}+\frac {3 b c^5 d^2 f g^2 x^8 \sqrt {d-c^2 d x^2}}{64 \sqrt {1-c^2 x^2}}+\frac {b c^5 d^2 g^3 x^9 \sqrt {d-c^2 d x^2}}{81 \sqrt {1-c^2 x^2}}-\frac {b d^2 f^3 \left (1-c^2 x^2\right )^{5/2} \sqrt {d-c^2 d x^2}}{36 c}+\frac {5}{16} d^2 f^3 x \sqrt {d-c^2 d x^2} (a+b \arccos (c x))-\frac {15 d^2 f g^2 x \sqrt {d-c^2 d x^2} (a+b \arccos (c x))}{128 c^2}+\frac {15}{64} d^2 f g^2 x^3 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))+\frac {5}{24} d^2 f^3 x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} (a+b \arccos (c x))+\frac {5}{16} d^2 f g^2 x^3 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} (a+b \arccos (c x))+\frac {1}{6} d^2 f^3 x \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))+\frac {3}{8} d^2 f g^2 x^3 \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))-\frac {3 d^2 f^2 g \left (1-c^2 x^2\right )^3 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))}{7 c^2}-\frac {d^2 g^3 \left (1-c^2 x^2\right )^3 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))}{7 c^4}+\frac {d^2 g^3 \left (1-c^2 x^2\right )^4 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))}{9 c^4}-\frac {5 d^2 f^3 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))^2}{32 b c \sqrt {1-c^2 x^2}}+\frac {\left (15 d^2 f g^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {a+b \arccos (c x)}{\sqrt {1-c^2 x^2}} \, dx}{128 c^2 \sqrt {1-c^2 x^2}}-\frac {\left (15 b d^2 f g^2 \sqrt {d-c^2 d x^2}\right ) \int x \, dx}{128 c \sqrt {1-c^2 x^2}} \\ & = -\frac {3 b d^2 f^2 g x \sqrt {d-c^2 d x^2}}{7 c \sqrt {1-c^2 x^2}}-\frac {2 b d^2 g^3 x \sqrt {d-c^2 d x^2}}{63 c^3 \sqrt {1-c^2 x^2}}+\frac {25 b c d^2 f^3 x^2 \sqrt {d-c^2 d x^2}}{96 \sqrt {1-c^2 x^2}}-\frac {15 b d^2 f g^2 x^2 \sqrt {d-c^2 d x^2}}{256 c \sqrt {1-c^2 x^2}}+\frac {3 b c d^2 f^2 g x^3 \sqrt {d-c^2 d x^2}}{7 \sqrt {1-c^2 x^2}}-\frac {b d^2 g^3 x^3 \sqrt {d-c^2 d x^2}}{189 c \sqrt {1-c^2 x^2}}-\frac {5 b c^3 d^2 f^3 x^4 \sqrt {d-c^2 d x^2}}{96 \sqrt {1-c^2 x^2}}+\frac {59 b c d^2 f g^2 x^4 \sqrt {d-c^2 d x^2}}{256 \sqrt {1-c^2 x^2}}-\frac {9 b c^3 d^2 f^2 g x^5 \sqrt {d-c^2 d x^2}}{35 \sqrt {1-c^2 x^2}}+\frac {b c d^2 g^3 x^5 \sqrt {d-c^2 d x^2}}{21 \sqrt {1-c^2 x^2}}-\frac {17 b c^3 d^2 f g^2 x^6 \sqrt {d-c^2 d x^2}}{96 \sqrt {1-c^2 x^2}}+\frac {3 b c^5 d^2 f^2 g x^7 \sqrt {d-c^2 d x^2}}{49 \sqrt {1-c^2 x^2}}-\frac {19 b c^3 d^2 g^3 x^7 \sqrt {d-c^2 d x^2}}{441 \sqrt {1-c^2 x^2}}+\frac {3 b c^5 d^2 f g^2 x^8 \sqrt {d-c^2 d x^2}}{64 \sqrt {1-c^2 x^2}}+\frac {b c^5 d^2 g^3 x^9 \sqrt {d-c^2 d x^2}}{81 \sqrt {1-c^2 x^2}}-\frac {b d^2 f^3 \left (1-c^2 x^2\right )^{5/2} \sqrt {d-c^2 d x^2}}{36 c}+\frac {5}{16} d^2 f^3 x \sqrt {d-c^2 d x^2} (a+b \arccos (c x))-\frac {15 d^2 f g^2 x \sqrt {d-c^2 d x^2} (a+b \arccos (c x))}{128 c^2}+\frac {15}{64} d^2 f g^2 x^3 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))+\frac {5}{24} d^2 f^3 x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} (a+b \arccos (c x))+\frac {5}{16} d^2 f g^2 x^3 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} (a+b \arccos (c x))+\frac {1}{6} d^2 f^3 x \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))+\frac {3}{8} d^2 f g^2 x^3 \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))-\frac {3 d^2 f^2 g \left (1-c^2 x^2\right )^3 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))}{7 c^2}-\frac {d^2 g^3 \left (1-c^2 x^2\right )^3 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))}{7 c^4}+\frac {d^2 g^3 \left (1-c^2 x^2\right )^4 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))}{9 c^4}-\frac {5 d^2 f^3 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))^2}{32 b c \sqrt {1-c^2 x^2}}-\frac {15 d^2 f g^2 \sqrt {d-c^2 d x^2} (a+b \arccos (c x))^2}{256 b c^3 \sqrt {1-c^2 x^2}} \\ \end{align*}

Mathematica [A] (verified)

Time = 9.41 (sec) , antiderivative size = 1582, normalized size of antiderivative = 1.23 \[ \int (f+g x)^3 \left (d-c^2 d x^2\right )^{5/2} (a+b \arccos (c x)) \, dx=\sqrt {-d \left (-1+c^2 x^2\right )} \left (-\frac {a d^2 g \left (27 c^2 f^2+2 g^2\right )}{63 c^4}+\frac {a d^2 f \left (88 c^2 f^2-15 g^2\right ) x}{128 c^2}-\frac {a d^2 g \left (-81 c^2 f^2+g^2\right ) x^2}{63 c^2}-\frac {1}{192} a d^2 f \left (104 c^2 f^2-177 g^2\right ) x^3+\frac {1}{21} a d^2 g \left (-27 c^2 f^2+5 g^2\right ) x^4+\frac {1}{48} a c^2 d^2 f \left (8 c^2 f^2-51 g^2\right ) x^5-\frac {1}{63} a c^2 d^2 g \left (-27 c^2 f^2+19 g^2\right ) x^6+\frac {3}{8} a c^4 d^2 f g^2 x^7+\frac {1}{9} a c^4 d^2 g^3 x^8\right )-\frac {5 a d^{5/2} f \left (8 c^2 f^2+3 g^2\right ) \arctan \left (\frac {c x \sqrt {-d \left (-1+c^2 x^2\right )}}{\sqrt {d} \left (-1+c^2 x^2\right )}\right )}{128 c^3}-\frac {b d^2 f^2 g \sqrt {d \left (1-c^2 x^2\right )} \left (9 c x+12 \left (1-c^2 x^2\right )^{3/2} \arccos (c x)-\cos (3 \arccos (c x))\right )}{12 c^2 \sqrt {1-c^2 x^2}}-\frac {b d^2 f^2 g \sqrt {d \left (1-c^2 x^2\right )} \left (55125 c x-1225 \cos (3 \arccos (c x))+840 \left (1-c^2 x^2\right )^{3/2} \arccos (c x) (157+108 \cos (2 \arccos (c x))+15 \cos (4 \arccos (c x)))-1323 \cos (5 \arccos (c x))-225 \cos (7 \arccos (c x))\right )}{235200 c^2 \sqrt {1-c^2 x^2}}+\frac {b d^2 g^3 \sqrt {d \left (1-c^2 x^2\right )} \left (55125 c x-1225 \cos (3 \arccos (c x))+840 \left (1-c^2 x^2\right )^{3/2} \arccos (c x) (157+108 \cos (2 \arccos (c x))+15 \cos (4 \arccos (c x)))-1323 \cos (5 \arccos (c x))-225 \cos (7 \arccos (c x))\right )}{352800 c^4 \sqrt {1-c^2 x^2}}+\frac {b d^2 f^3 \sqrt {d \left (1-c^2 x^2\right )} (\cos (2 \arccos (c x))+2 \arccos (c x) (-\arccos (c x)+\sin (2 \arccos (c x))))}{8 c \sqrt {1-c^2 x^2}}+\frac {b d^2 f^3 \sqrt {d \left (1-c^2 x^2\right )} \left (8 \arccos (c x)^2-\cos (4 \arccos (c x))-4 \arccos (c x) \sin (4 \arccos (c x))\right )}{64 c \sqrt {1-c^2 x^2}}-\frac {3 b d^2 f g^2 \sqrt {d \left (1-c^2 x^2\right )} \left (8 \arccos (c x)^2-\cos (4 \arccos (c x))-4 \arccos (c x) \sin (4 \arccos (c x))\right )}{128 c^3 \sqrt {1-c^2 x^2}}+\frac {b d^2 f^2 g \sqrt {d \left (1-c^2 x^2\right )} \left (450 c x+450 \sqrt {1-c^2 x^2} \arccos (c x)-25 \cos (3 \arccos (c x))-9 \cos (5 \arccos (c x))-75 \arccos (c x) \sin (3 \arccos (c x))-45 \arccos (c x) \sin (5 \arccos (c x))\right )}{600 c^2 \sqrt {1-c^2 x^2}}-\frac {b d^2 g^3 \sqrt {d \left (1-c^2 x^2\right )} \left (450 c x+450 \sqrt {1-c^2 x^2} \arccos (c x)-25 \cos (3 \arccos (c x))-9 \cos (5 \arccos (c x))-75 \arccos (c x) \sin (3 \arccos (c x))-45 \arccos (c x) \sin (5 \arccos (c x))\right )}{3600 c^4 \sqrt {1-c^2 x^2}}-\frac {b d^2 f^3 \sqrt {d \left (1-c^2 x^2\right )} \left (18 \cos (2 \arccos (c x))-9 \cos (4 \arccos (c x))-2 \left (-36 \arccos (c x)^2+\cos (6 \arccos (c x))-18 \arccos (c x) \sin (2 \arccos (c x))+18 \arccos (c x) \sin (4 \arccos (c x))+6 \arccos (c x) \sin (6 \arccos (c x))\right )\right )}{2304 c \sqrt {1-c^2 x^2}}+\frac {b d^2 f g^2 \sqrt {d \left (1-c^2 x^2\right )} \left (18 \cos (2 \arccos (c x))-9 \cos (4 \arccos (c x))-2 \left (-36 \arccos (c x)^2+\cos (6 \arccos (c x))-18 \arccos (c x) \sin (2 \arccos (c x))+18 \arccos (c x) \sin (4 \arccos (c x))+6 \arccos (c x) \sin (6 \arccos (c x))\right )\right )}{384 c^3 \sqrt {1-c^2 x^2}}-\frac {b d^2 f g^2 \sqrt {d \left (1-c^2 x^2\right )} \left (1440 \arccos (c x)^2+576 \cos (2 \arccos (c x))-144 \cos (4 \arccos (c x))-64 \cos (6 \arccos (c x))-9 \cos (8 \arccos (c x))+1152 \arccos (c x) \sin (2 \arccos (c x))-576 \arccos (c x) \sin (4 \arccos (c x))-384 \arccos (c x) \sin (6 \arccos (c x))-72 \arccos (c x) \sin (8 \arccos (c x))\right )}{24576 c^3 \sqrt {1-c^2 x^2}}-\frac {b d^2 g^3 \sqrt {d \left (1-c^2 x^2\right )} \left (1389150 c x-31752 \cos (5 \arccos (c x))-5 \left (2025 \cos (7 \arccos (c x))+245 \cos (9 \arccos (c x))+63 \arccos (c x) \left (-4410 \sqrt {1-c^2 x^2}+504 \sin (5 \arccos (c x))+225 \sin (7 \arccos (c x))+35 \sin (9 \arccos (c x))\right )\right )\right )}{25401600 c^4 \sqrt {1-c^2 x^2}} \]

[In]

Integrate[(f + g*x)^3*(d - c^2*d*x^2)^(5/2)*(a + b*ArcCos[c*x]),x]

[Out]

Sqrt[-(d*(-1 + c^2*x^2))]*(-1/63*(a*d^2*g*(27*c^2*f^2 + 2*g^2))/c^4 + (a*d^2*f*(88*c^2*f^2 - 15*g^2)*x)/(128*c
^2) - (a*d^2*g*(-81*c^2*f^2 + g^2)*x^2)/(63*c^2) - (a*d^2*f*(104*c^2*f^2 - 177*g^2)*x^3)/192 + (a*d^2*g*(-27*c
^2*f^2 + 5*g^2)*x^4)/21 + (a*c^2*d^2*f*(8*c^2*f^2 - 51*g^2)*x^5)/48 - (a*c^2*d^2*g*(-27*c^2*f^2 + 19*g^2)*x^6)
/63 + (3*a*c^4*d^2*f*g^2*x^7)/8 + (a*c^4*d^2*g^3*x^8)/9) - (5*a*d^(5/2)*f*(8*c^2*f^2 + 3*g^2)*ArcTan[(c*x*Sqrt
[-(d*(-1 + c^2*x^2))])/(Sqrt[d]*(-1 + c^2*x^2))])/(128*c^3) - (b*d^2*f^2*g*Sqrt[d*(1 - c^2*x^2)]*(9*c*x + 12*(
1 - c^2*x^2)^(3/2)*ArcCos[c*x] - Cos[3*ArcCos[c*x]]))/(12*c^2*Sqrt[1 - c^2*x^2]) - (b*d^2*f^2*g*Sqrt[d*(1 - c^
2*x^2)]*(55125*c*x - 1225*Cos[3*ArcCos[c*x]] + 840*(1 - c^2*x^2)^(3/2)*ArcCos[c*x]*(157 + 108*Cos[2*ArcCos[c*x
]] + 15*Cos[4*ArcCos[c*x]]) - 1323*Cos[5*ArcCos[c*x]] - 225*Cos[7*ArcCos[c*x]]))/(235200*c^2*Sqrt[1 - c^2*x^2]
) + (b*d^2*g^3*Sqrt[d*(1 - c^2*x^2)]*(55125*c*x - 1225*Cos[3*ArcCos[c*x]] + 840*(1 - c^2*x^2)^(3/2)*ArcCos[c*x
]*(157 + 108*Cos[2*ArcCos[c*x]] + 15*Cos[4*ArcCos[c*x]]) - 1323*Cos[5*ArcCos[c*x]] - 225*Cos[7*ArcCos[c*x]]))/
(352800*c^4*Sqrt[1 - c^2*x^2]) + (b*d^2*f^3*Sqrt[d*(1 - c^2*x^2)]*(Cos[2*ArcCos[c*x]] + 2*ArcCos[c*x]*(-ArcCos
[c*x] + Sin[2*ArcCos[c*x]])))/(8*c*Sqrt[1 - c^2*x^2]) + (b*d^2*f^3*Sqrt[d*(1 - c^2*x^2)]*(8*ArcCos[c*x]^2 - Co
s[4*ArcCos[c*x]] - 4*ArcCos[c*x]*Sin[4*ArcCos[c*x]]))/(64*c*Sqrt[1 - c^2*x^2]) - (3*b*d^2*f*g^2*Sqrt[d*(1 - c^
2*x^2)]*(8*ArcCos[c*x]^2 - Cos[4*ArcCos[c*x]] - 4*ArcCos[c*x]*Sin[4*ArcCos[c*x]]))/(128*c^3*Sqrt[1 - c^2*x^2])
 + (b*d^2*f^2*g*Sqrt[d*(1 - c^2*x^2)]*(450*c*x + 450*Sqrt[1 - c^2*x^2]*ArcCos[c*x] - 25*Cos[3*ArcCos[c*x]] - 9
*Cos[5*ArcCos[c*x]] - 75*ArcCos[c*x]*Sin[3*ArcCos[c*x]] - 45*ArcCos[c*x]*Sin[5*ArcCos[c*x]]))/(600*c^2*Sqrt[1
- c^2*x^2]) - (b*d^2*g^3*Sqrt[d*(1 - c^2*x^2)]*(450*c*x + 450*Sqrt[1 - c^2*x^2]*ArcCos[c*x] - 25*Cos[3*ArcCos[
c*x]] - 9*Cos[5*ArcCos[c*x]] - 75*ArcCos[c*x]*Sin[3*ArcCos[c*x]] - 45*ArcCos[c*x]*Sin[5*ArcCos[c*x]]))/(3600*c
^4*Sqrt[1 - c^2*x^2]) - (b*d^2*f^3*Sqrt[d*(1 - c^2*x^2)]*(18*Cos[2*ArcCos[c*x]] - 9*Cos[4*ArcCos[c*x]] - 2*(-3
6*ArcCos[c*x]^2 + Cos[6*ArcCos[c*x]] - 18*ArcCos[c*x]*Sin[2*ArcCos[c*x]] + 18*ArcCos[c*x]*Sin[4*ArcCos[c*x]] +
 6*ArcCos[c*x]*Sin[6*ArcCos[c*x]])))/(2304*c*Sqrt[1 - c^2*x^2]) + (b*d^2*f*g^2*Sqrt[d*(1 - c^2*x^2)]*(18*Cos[2
*ArcCos[c*x]] - 9*Cos[4*ArcCos[c*x]] - 2*(-36*ArcCos[c*x]^2 + Cos[6*ArcCos[c*x]] - 18*ArcCos[c*x]*Sin[2*ArcCos
[c*x]] + 18*ArcCos[c*x]*Sin[4*ArcCos[c*x]] + 6*ArcCos[c*x]*Sin[6*ArcCos[c*x]])))/(384*c^3*Sqrt[1 - c^2*x^2]) -
 (b*d^2*f*g^2*Sqrt[d*(1 - c^2*x^2)]*(1440*ArcCos[c*x]^2 + 576*Cos[2*ArcCos[c*x]] - 144*Cos[4*ArcCos[c*x]] - 64
*Cos[6*ArcCos[c*x]] - 9*Cos[8*ArcCos[c*x]] + 1152*ArcCos[c*x]*Sin[2*ArcCos[c*x]] - 576*ArcCos[c*x]*Sin[4*ArcCo
s[c*x]] - 384*ArcCos[c*x]*Sin[6*ArcCos[c*x]] - 72*ArcCos[c*x]*Sin[8*ArcCos[c*x]]))/(24576*c^3*Sqrt[1 - c^2*x^2
]) - (b*d^2*g^3*Sqrt[d*(1 - c^2*x^2)]*(1389150*c*x - 31752*Cos[5*ArcCos[c*x]] - 5*(2025*Cos[7*ArcCos[c*x]] + 2
45*Cos[9*ArcCos[c*x]] + 63*ArcCos[c*x]*(-4410*Sqrt[1 - c^2*x^2] + 504*Sin[5*ArcCos[c*x]] + 225*Sin[7*ArcCos[c*
x]] + 35*Sin[9*ArcCos[c*x]]))))/(25401600*c^4*Sqrt[1 - c^2*x^2])

Maple [C] (verified)

Result contains complex when optimal does not.

Time = 1.74 (sec) , antiderivative size = 3019, normalized size of antiderivative = 2.36

method result size
default \(\text {Expression too large to display}\) \(3019\)
parts \(\text {Expression too large to display}\) \(3019\)

[In]

int((g*x+f)^3*(-c^2*d*x^2+d)^(5/2)*(a+b*arccos(c*x)),x,method=_RETURNVERBOSE)

[Out]

a*(f^3*(1/6*x*(-c^2*d*x^2+d)^(5/2)+5/6*d*(1/4*x*(-c^2*d*x^2+d)^(3/2)+3/4*d*(1/2*x*(-c^2*d*x^2+d)^(1/2)+1/2*d/(
c^2*d)^(1/2)*arctan((c^2*d)^(1/2)*x/(-c^2*d*x^2+d)^(1/2)))))+g^3*(-1/9*x^2*(-c^2*d*x^2+d)^(7/2)/c^2/d-2/63/d/c
^4*(-c^2*d*x^2+d)^(7/2))+3*f*g^2*(-1/8*x*(-c^2*d*x^2+d)^(7/2)/c^2/d+1/8/c^2*(1/6*x*(-c^2*d*x^2+d)^(5/2)+5/6*d*
(1/4*x*(-c^2*d*x^2+d)^(3/2)+3/4*d*(1/2*x*(-c^2*d*x^2+d)^(1/2)+1/2*d/(c^2*d)^(1/2)*arctan((c^2*d)^(1/2)*x/(-c^2
*d*x^2+d)^(1/2))))))-3/7*f^2*g*(-c^2*d*x^2+d)^(7/2)/c^2/d)+b*(5/256*(-d*(c^2*x^2-1))^(1/2)*(-c^2*x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/c^4/(c^2*x^2-1)+3/16384*(-d*(c^2*x^2-1))^(1/2)*(-128*I*(-c
^2*x^2+1)^(1/2)*x^8*c^8+128*c^9*x^9+256*I*(-c^2*x^2+1)^(1/2)*x^6*c^6-320*c^7*x^7-160*I*(-c^2*x^2+1)^(1/2)*x^4*
c^4+272*c^5*x^5+32*I*(-c^2*x^2+1)^(1/2)*c^2*x^2-88*c^3*x^3-I*(-c^2*x^2+1)^(1/2)+8*c*x)*f*g^2*(-I+8*arccos(c*x)
)*d^2/c^3/(c^2*x^2-1)+1/41472*(-d*(c^2*x^2-1))^(1/2)*(256*c^10*x^10-704*c^8*x^8-256*I*(-c^2*x^2+1)^(1/2)*x^9*c
^9+688*c^6*x^6+576*I*(-c^2*x^2+1)^(1/2)*x^7*c^7-280*c^4*x^4-432*I*(-c^2*x^2+1)^(1/2)*x^5*c^5+41*c^2*x^2+120*I*
(-c^2*x^2+1)^(1/2)*x^3*c^3-9*I*(-c^2*x^2+1)^(1/2)*x*c-1)*g^3*(-I+9*arccos(c*x))*d^2/c^4/(c^2*x^2-1)-3/1024*(-d
*(c^2*x^2-1))^(1/2)*(c^2*x^2-I*(-c^2*x^2+1)^(1/2)*x*c-1)*f*(18*I*c^2*f^2+48*arccos(c*x)*c^2*f^2+5*I*g^2+4*arcc
os(c*x)*g^2)*cos(3*arccos(c*x))*d^2/c^3/(c^2*x^2-1)-3/1024*(-d*(c^2*x^2-1))^(1/2)*(c*x*(-c^2*x^2+1)^(1/2)+I*c^
2*x^2-I)*f*(22*I*c^2*f^2+32*arccos(c*x)*c^2*f^2+3*I*g^2+12*arccos(c*x)*g^2)*sin(3*arccos(c*x))*d^2/c^3/(c^2*x^
2-1))

Fricas [F]

\[ \int (f+g x)^3 \left (d-c^2 d x^2\right )^{5/2} (a+b \arccos (c x)) \, dx=\int { {\left (-c^{2} d x^{2} + d\right )}^{\frac {5}{2}} {\left (g x + f\right )}^{3} {\left (b \arccos \left (c x\right ) + a\right )} \,d x } \]

[In]

integrate((g*x+f)^3*(-c^2*d*x^2+d)^(5/2)*(a+b*arccos(c*x)),x, algorithm="fricas")

[Out]

integral((a*c^4*d^2*g^3*x^7 + 3*a*c^4*d^2*f*g^2*x^6 + 3*a*d^2*f^2*g*x + a*d^2*f^3 + (3*a*c^4*d^2*f^2*g - 2*a*c
^2*d^2*g^3)*x^5 + (a*c^4*d^2*f^3 - 6*a*c^2*d^2*f*g^2)*x^4 - (6*a*c^2*d^2*f^2*g - a*d^2*g^3)*x^3 - (2*a*c^2*d^2
*f^3 - 3*a*d^2*f*g^2)*x^2 + (b*c^4*d^2*g^3*x^7 + 3*b*c^4*d^2*f*g^2*x^6 + 3*b*d^2*f^2*g*x + b*d^2*f^3 + (3*b*c^
4*d^2*f^2*g - 2*b*c^2*d^2*g^3)*x^5 + (b*c^4*d^2*f^3 - 6*b*c^2*d^2*f*g^2)*x^4 - (6*b*c^2*d^2*f^2*g - b*d^2*g^3)
*x^3 - (2*b*c^2*d^2*f^3 - 3*b*d^2*f*g^2)*x^2)*arccos(c*x))*sqrt(-c^2*d*x^2 + d), x)

Sympy [F(-1)]

Timed out. \[ \int (f+g x)^3 \left (d-c^2 d x^2\right )^{5/2} (a+b \arccos (c x)) \, dx=\text {Timed out} \]

[In]

integrate((g*x+f)**3*(-c**2*d*x**2+d)**(5/2)*(a+b*acos(c*x)),x)

[Out]

Timed out

Maxima [F]

\[ \int (f+g x)^3 \left (d-c^2 d x^2\right )^{5/2} (a+b \arccos (c x)) \, dx=\int { {\left (-c^{2} d x^{2} + d\right )}^{\frac {5}{2}} {\left (g x + f\right )}^{3} {\left (b \arccos \left (c x\right ) + a\right )} \,d x } \]

[In]

integrate((g*x+f)^3*(-c^2*d*x^2+d)^(5/2)*(a+b*arccos(c*x)),x, algorithm="maxima")

[Out]

1/48*(8*(-c^2*d*x^2 + d)^(5/2)*x + 10*(-c^2*d*x^2 + d)^(3/2)*d*x + 15*sqrt(-c^2*d*x^2 + d)*d^2*x + 15*d^(5/2)*
arcsin(c*x)/c)*a*f^3 + 1/128*(8*(-c^2*d*x^2 + d)^(5/2)*x/c^2 - 48*(-c^2*d*x^2 + d)^(7/2)*x/(c^2*d) + 10*(-c^2*
d*x^2 + d)^(3/2)*d*x/c^2 + 15*sqrt(-c^2*d*x^2 + d)*d^2*x/c^2 + 15*d^(5/2)*arcsin(c*x)/c^3)*a*f*g^2 - 1/63*(7*(
-c^2*d*x^2 + d)^(7/2)*x^2/(c^2*d) + 2*(-c^2*d*x^2 + d)^(7/2)/(c^4*d))*a*g^3 - 3/7*(-c^2*d*x^2 + d)^(7/2)*a*f^2
*g/(c^2*d) + sqrt(d)*integrate((b*c^4*d^2*g^3*x^7 + 3*b*c^4*d^2*f*g^2*x^6 + 3*b*d^2*f^2*g*x + b*d^2*f^3 + (3*b
*c^4*d^2*f^2*g - 2*b*c^2*d^2*g^3)*x^5 + (b*c^4*d^2*f^3 - 6*b*c^2*d^2*f*g^2)*x^4 - (6*b*c^2*d^2*f^2*g - b*d^2*g
^3)*x^3 - (2*b*c^2*d^2*f^3 - 3*b*d^2*f*g^2)*x^2)*sqrt(c*x + 1)*sqrt(-c*x + 1)*arctan2(sqrt(c*x + 1)*sqrt(-c*x
+ 1), c*x), x)

Giac [F(-2)]

Exception generated. \[ \int (f+g x)^3 \left (d-c^2 d x^2\right )^{5/2} (a+b \arccos (c x)) \, dx=\text {Exception raised: RuntimeError} \]

[In]

integrate((g*x+f)^3*(-c^2*d*x^2+d)^(5/2)*(a+b*arccos(c*x)),x, algorithm="giac")

[Out]

Exception raised: RuntimeError >> an error occurred running a Giac command:INPUT:sage2OUTPUT:sym2poly/r2sym(co
nst gen & e,const index_m & i,const vecteur & l) Error: Bad Argument Value

Mupad [F(-1)]

Timed out. \[ \int (f+g x)^3 \left (d-c^2 d x^2\right )^{5/2} (a+b \arccos (c x)) \, dx=\int {\left (f+g\,x\right )}^3\,\left (a+b\,\mathrm {acos}\left (c\,x\right )\right )\,{\left (d-c^2\,d\,x^2\right )}^{5/2} \,d x \]

[In]

int((f + g*x)^3*(a + b*acos(c*x))*(d - c^2*d*x^2)^(5/2),x)

[Out]

int((f + g*x)^3*(a + b*acos(c*x))*(d - c^2*d*x^2)^(5/2), x)