3.62 \(\int (f+g x)^3 (d-c^2 d x^2)^{3/2} (a+b \sin ^{-1}(c x))^2 \, dx\)

Optimal. Leaf size=1685 \[ \frac {2 b c^3 d g^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right ) x^7}{49 \sqrt {1-c^2 x^2}}+\frac {b c^3 d f g^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right ) x^6}{6 \sqrt {1-c^2 x^2}}-\frac {16 b c d g^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right ) x^5}{175 \sqrt {1-c^2 x^2}}+\frac {6 b c^3 d f^2 g \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right ) x^5}{25 \sqrt {1-c^2 x^2}}+\frac {1}{36} b^2 c^2 d f g^2 \sqrt {d-c^2 d x^2} x^5+\frac {3}{35} d g^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2 x^4+\frac {1}{7} d g^3 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2 x^4-\frac {7 b c d f g^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right ) x^4}{16 \sqrt {1-c^2 x^2}}+\frac {3}{8} d f g^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2 x^3+\frac {1}{2} d f g^2 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2 x^3+\frac {2 b d g^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right ) x^3}{105 c \sqrt {1-c^2 x^2}}-\frac {4 b c d f^2 g \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right ) x^3}{5 \sqrt {1-c^2 x^2}}-\frac {43}{576} b^2 d f g^2 \sqrt {d-c^2 d x^2} x^3-\frac {d g^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2 x^2}{35 c^2}-\frac {3 b c d f^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right ) x^2}{8 \sqrt {1-c^2 x^2}}+\frac {3 b d f g^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right ) x^2}{16 c \sqrt {1-c^2 x^2}}+\frac {3}{8} d f^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2 x-\frac {3 d f g^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2 x}{16 c^2}+\frac {1}{4} d f^3 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2 x+\frac {4 b^2 d g^3 \sqrt {d-c^2 d x^2} \sin ^{-1}(c x) x}{35 c^3 \sqrt {1-c^2 x^2}}+\frac {6 b d f^2 g \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right ) x}{5 c \sqrt {1-c^2 x^2}}-\frac {15}{64} b^2 d f^3 \sqrt {d-c^2 d x^2} x-\frac {7 b^2 d f g^2 \sqrt {d-c^2 d x^2} x}{384 c^2}-\frac {1}{32} b^2 d f^3 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} x+\frac {4 a b d g^3 \sqrt {d-c^2 d x^2} x}{35 c^3 \sqrt {1-c^2 x^2}}+\frac {d f^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^3}{8 b c \sqrt {1-c^2 x^2}}+\frac {d f g^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^3}{16 b c^3 \sqrt {1-c^2 x^2}}-\frac {2 d g^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{35 c^4}-\frac {3 d f^2 g \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{5 c^2}+\frac {9 b^2 d f^3 \sqrt {d-c^2 d x^2} \sin ^{-1}(c x)}{64 c \sqrt {1-c^2 x^2}}+\frac {7 b^2 d f g^2 \sqrt {d-c^2 d x^2} \sin ^{-1}(c x)}{384 c^3 \sqrt {1-c^2 x^2}}+\frac {b d f^3 \left (1-c^2 x^2\right )^{3/2} \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{8 c}+\frac {304 b^2 d g^3 \sqrt {d-c^2 d x^2}}{3675 c^4}-\frac {2 b^2 d g^3 \left (1-c^2 x^2\right )^3 \sqrt {d-c^2 d x^2}}{343 c^4}+\frac {38 b^2 d g^3 \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2}}{6125 c^4}+\frac {6 b^2 d f^2 g \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2}}{125 c^2}+\frac {16 b^2 d f^2 g \sqrt {d-c^2 d x^2}}{25 c^2}+\frac {152 b^2 d g^3 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}}{11025 c^4}+\frac {8 b^2 d f^2 g \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}}{75 c^2} \]

[Out]

-1/35*d*g^3*x^2*(a+b*arcsin(c*x))^2*(-c^2*d*x^2+d)^(1/2)/c^2+3/8*d*f*g^2*x^3*(a+b*arcsin(c*x))^2*(-c^2*d*x^2+d
)^(1/2)+1/4*d*f^3*x*(-c^2*x^2+1)*(a+b*arcsin(c*x))^2*(-c^2*d*x^2+d)^(1/2)+1/7*d*g^3*x^4*(-c^2*x^2+1)*(a+b*arcs
in(c*x))^2*(-c^2*d*x^2+d)^(1/2)+16/25*b^2*d*f^2*g*(-c^2*d*x^2+d)^(1/2)/c^2-43/576*b^2*d*f*g^2*x^3*(-c^2*d*x^2+
d)^(1/2)+152/11025*b^2*d*g^3*(-c^2*x^2+1)*(-c^2*d*x^2+d)^(1/2)/c^4-1/32*b^2*d*f^3*x*(-c^2*x^2+1)*(-c^2*d*x^2+d
)^(1/2)+38/6125*b^2*d*g^3*(-c^2*x^2+1)^2*(-c^2*d*x^2+d)^(1/2)/c^4-2/343*b^2*d*g^3*(-c^2*x^2+1)^3*(-c^2*d*x^2+d
)^(1/2)/c^4+304/3675*b^2*d*g^3*(-c^2*d*x^2+d)^(1/2)/c^4-15/64*b^2*d*f^3*x*(-c^2*d*x^2+d)^(1/2)-2/35*d*g^3*(a+b
*arcsin(c*x))^2*(-c^2*d*x^2+d)^(1/2)/c^4+3/8*d*f^3*x*(a+b*arcsin(c*x))^2*(-c^2*d*x^2+d)^(1/2)+3/35*d*g^3*x^4*(
a+b*arcsin(c*x))^2*(-c^2*d*x^2+d)^(1/2)+6/5*b*d*f^2*g*x*(a+b*arcsin(c*x))*(-c^2*d*x^2+d)^(1/2)/c/(-c^2*x^2+1)^
(1/2)+3/16*b*d*f*g^2*x^2*(a+b*arcsin(c*x))*(-c^2*d*x^2+d)^(1/2)/c/(-c^2*x^2+1)^(1/2)-4/5*b*c*d*f^2*g*x^3*(a+b*
arcsin(c*x))*(-c^2*d*x^2+d)^(1/2)/(-c^2*x^2+1)^(1/2)-7/16*b*c*d*f*g^2*x^4*(a+b*arcsin(c*x))*(-c^2*d*x^2+d)^(1/
2)/(-c^2*x^2+1)^(1/2)+6/25*b*c^3*d*f^2*g*x^5*(a+b*arcsin(c*x))*(-c^2*d*x^2+d)^(1/2)/(-c^2*x^2+1)^(1/2)+1/6*b*c
^3*d*f*g^2*x^6*(a+b*arcsin(c*x))*(-c^2*d*x^2+d)^(1/2)/(-c^2*x^2+1)^(1/2)-16/175*b*c*d*g^3*x^5*(a+b*arcsin(c*x)
)*(-c^2*d*x^2+d)^(1/2)/(-c^2*x^2+1)^(1/2)+2/49*b*c^3*d*g^3*x^7*(a+b*arcsin(c*x))*(-c^2*d*x^2+d)^(1/2)/(-c^2*x^
2+1)^(1/2)+1/16*d*f*g^2*(a+b*arcsin(c*x))^3*(-c^2*d*x^2+d)^(1/2)/b/c^3/(-c^2*x^2+1)^(1/2)+4/35*a*b*d*g^3*x*(-c
^2*d*x^2+d)^(1/2)/c^3/(-c^2*x^2+1)^(1/2)+7/384*b^2*d*f*g^2*arcsin(c*x)*(-c^2*d*x^2+d)^(1/2)/c^3/(-c^2*x^2+1)^(
1/2)+4/35*b^2*d*g^3*x*arcsin(c*x)*(-c^2*d*x^2+d)^(1/2)/c^3/(-c^2*x^2+1)^(1/2)-3/8*b*c*d*f^3*x^2*(a+b*arcsin(c*
x))*(-c^2*d*x^2+d)^(1/2)/(-c^2*x^2+1)^(1/2)+2/105*b*d*g^3*x^3*(a+b*arcsin(c*x))*(-c^2*d*x^2+d)^(1/2)/c/(-c^2*x
^2+1)^(1/2)+8/75*b^2*d*f^2*g*(-c^2*x^2+1)*(-c^2*d*x^2+d)^(1/2)/c^2+6/125*b^2*d*f^2*g*(-c^2*x^2+1)^2*(-c^2*d*x^
2+d)^(1/2)/c^2+1/8*b*d*f^3*(-c^2*x^2+1)^(3/2)*(a+b*arcsin(c*x))*(-c^2*d*x^2+d)^(1/2)/c-3/16*d*f*g^2*x*(a+b*arc
sin(c*x))^2*(-c^2*d*x^2+d)^(1/2)/c^2+1/2*d*f*g^2*x^3*(-c^2*x^2+1)*(a+b*arcsin(c*x))^2*(-c^2*d*x^2+d)^(1/2)-3/5
*d*f^2*g*(-c^2*x^2+1)^2*(a+b*arcsin(c*x))^2*(-c^2*d*x^2+d)^(1/2)/c^2+9/64*b^2*d*f^3*arcsin(c*x)*(-c^2*d*x^2+d)
^(1/2)/c/(-c^2*x^2+1)^(1/2)+1/8*d*f^3*(a+b*arcsin(c*x))^3*(-c^2*d*x^2+d)^(1/2)/b/c/(-c^2*x^2+1)^(1/2)-7/384*b^
2*d*f*g^2*x*(-c^2*d*x^2+d)^(1/2)/c^2+1/36*b^2*c^2*d*f*g^2*x^5*(-c^2*d*x^2+d)^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 2.47, antiderivative size = 1685, normalized size of antiderivative = 1.00, number of steps used = 56, number of rules used = 27, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.818, Rules used = {4777, 4763, 4649, 4647, 4641, 4627, 321, 216, 4677, 195, 194, 4645, 12, 1247, 698, 4699, 4697, 4707, 14, 4687, 459, 4619, 261, 266, 43, 446, 77} \[ \text {result too large to display} \]

Antiderivative was successfully verified.

[In]

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

[Out]

(16*b^2*d*f^2*g*Sqrt[d - c^2*d*x^2])/(25*c^2) + (304*b^2*d*g^3*Sqrt[d - c^2*d*x^2])/(3675*c^4) - (15*b^2*d*f^3
*x*Sqrt[d - c^2*d*x^2])/64 - (7*b^2*d*f*g^2*x*Sqrt[d - c^2*d*x^2])/(384*c^2) - (43*b^2*d*f*g^2*x^3*Sqrt[d - c^
2*d*x^2])/576 + (b^2*c^2*d*f*g^2*x^5*Sqrt[d - c^2*d*x^2])/36 + (4*a*b*d*g^3*x*Sqrt[d - c^2*d*x^2])/(35*c^3*Sqr
t[1 - c^2*x^2]) + (8*b^2*d*f^2*g*(1 - c^2*x^2)*Sqrt[d - c^2*d*x^2])/(75*c^2) + (152*b^2*d*g^3*(1 - c^2*x^2)*Sq
rt[d - c^2*d*x^2])/(11025*c^4) - (b^2*d*f^3*x*(1 - c^2*x^2)*Sqrt[d - c^2*d*x^2])/32 + (6*b^2*d*f^2*g*(1 - c^2*
x^2)^2*Sqrt[d - c^2*d*x^2])/(125*c^2) + (38*b^2*d*g^3*(1 - c^2*x^2)^2*Sqrt[d - c^2*d*x^2])/(6125*c^4) - (2*b^2
*d*g^3*(1 - c^2*x^2)^3*Sqrt[d - c^2*d*x^2])/(343*c^4) + (9*b^2*d*f^3*Sqrt[d - c^2*d*x^2]*ArcSin[c*x])/(64*c*Sq
rt[1 - c^2*x^2]) + (7*b^2*d*f*g^2*Sqrt[d - c^2*d*x^2]*ArcSin[c*x])/(384*c^3*Sqrt[1 - c^2*x^2]) + (4*b^2*d*g^3*
x*Sqrt[d - c^2*d*x^2]*ArcSin[c*x])/(35*c^3*Sqrt[1 - c^2*x^2]) + (6*b*d*f^2*g*x*Sqrt[d - c^2*d*x^2]*(a + b*ArcS
in[c*x]))/(5*c*Sqrt[1 - c^2*x^2]) - (3*b*c*d*f^3*x^2*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x]))/(8*Sqrt[1 - c^2*
x^2]) + (3*b*d*f*g^2*x^2*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x]))/(16*c*Sqrt[1 - c^2*x^2]) - (4*b*c*d*f^2*g*x^
3*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x]))/(5*Sqrt[1 - c^2*x^2]) + (2*b*d*g^3*x^3*Sqrt[d - c^2*d*x^2]*(a + b*A
rcSin[c*x]))/(105*c*Sqrt[1 - c^2*x^2]) - (7*b*c*d*f*g^2*x^4*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x]))/(16*Sqrt[
1 - c^2*x^2]) + (6*b*c^3*d*f^2*g*x^5*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x]))/(25*Sqrt[1 - c^2*x^2]) - (16*b*c
*d*g^3*x^5*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x]))/(175*Sqrt[1 - c^2*x^2]) + (b*c^3*d*f*g^2*x^6*Sqrt[d - c^2*
d*x^2]*(a + b*ArcSin[c*x]))/(6*Sqrt[1 - c^2*x^2]) + (2*b*c^3*d*g^3*x^7*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x])
)/(49*Sqrt[1 - c^2*x^2]) + (b*d*f^3*(1 - c^2*x^2)^(3/2)*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x]))/(8*c) - (2*d*
g^3*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x])^2)/(35*c^4) + (3*d*f^3*x*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x])^2
)/8 - (3*d*f*g^2*x*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x])^2)/(16*c^2) - (d*g^3*x^2*Sqrt[d - c^2*d*x^2]*(a + b
*ArcSin[c*x])^2)/(35*c^2) + (3*d*f*g^2*x^3*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x])^2)/8 + (3*d*g^3*x^4*Sqrt[d
- c^2*d*x^2]*(a + b*ArcSin[c*x])^2)/35 + (d*f^3*x*(1 - c^2*x^2)*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x])^2)/4 +
 (d*f*g^2*x^3*(1 - c^2*x^2)*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x])^2)/2 + (d*g^3*x^4*(1 - c^2*x^2)*Sqrt[d - c
^2*d*x^2]*(a + b*ArcSin[c*x])^2)/7 - (3*d*f^2*g*(1 - c^2*x^2)^2*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x])^2)/(5*
c^2) + (d*f^3*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x])^3)/(8*b*c*Sqrt[1 - c^2*x^2]) + (d*f*g^2*Sqrt[d - c^2*d*x
^2]*(a + b*ArcSin[c*x])^3)/(16*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 43

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 77

Int[((a_.) + (b_.)*(x_))*((c_) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Int[ExpandIntegran
d[(a + b*x)*(c + d*x)^n*(e + f*x)^p, x], x] /; FreeQ[{a, b, c, d, e, f, n}, x] && NeQ[b*c - a*d, 0] && ((ILtQ[
n, 0] && ILtQ[p, 0]) || EqQ[p, 1] || (IGtQ[p, 0] && ( !IntegerQ[n] || LeQ[9*p + 5*(n + 2), 0] || GeQ[n + p + 1
, 0] || (GeQ[n + p + 2, 0] && RationalQ[a, b, c, d, e, f]))))

Rule 194

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 195

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(x*(a + b*x^n)^p)/(n*p + 1), x] + Dist[(a*n*p)/(n*p + 1),
 Int[(a + b*x^n)^(p - 1), x], x] /; FreeQ[{a, b}, x] && IGtQ[n, 0] && GtQ[p, 0] && (IntegerQ[2*p] || (EqQ[n, 2
] && IntegerQ[4*p]) || (EqQ[n, 2] && IntegerQ[3*p]) || LtQ[Denominator[p + 1/n], Denominator[p]])

Rule 216

Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Simp[ArcSin[(Rt[-b, 2]*x)/Sqrt[a]]/Rt[-b, 2], x] /; FreeQ[{a, b}
, x] && GtQ[a, 0] && NegQ[b]

Rule 261

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 266

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 321

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

Rule 446

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

Rule 459

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

Rule 698

Int[((d_.) + (e_.)*(x_))^(m_)*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Int[ExpandIntegrand[(d +
 e*x)^m*(a + b*x + c*x^2)^p, x], x] /; FreeQ[{a, b, c, d, e, m}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b*d*
e + a*e^2, 0] && NeQ[2*c*d - b*e, 0] && IntegerQ[p] && (GtQ[p, 0] || (EqQ[a, 0] && IntegerQ[m]))

Rule 1247

Int[(x_)*((d_) + (e_.)*(x_)^2)^(q_.)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_.), x_Symbol] :> Dist[1/2, Subst[
Int[(d + e*x)^q*(a + b*x + c*x^2)^p, x], x, x^2], x] /; FreeQ[{a, b, c, d, e, p, q}, x]

Rule 4619

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

Rule 4627

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))^(n_.)*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[((d*x)^(m + 1)*(a + b*ArcSi
n[c*x])^n)/(d*(m + 1)), x] - Dist[(b*c*n)/(d*(m + 1)), Int[((d*x)^(m + 1)*(a + b*ArcSin[c*x])^(n - 1))/Sqrt[1
- c^2*x^2], x], x] /; FreeQ[{a, b, c, d, m}, x] && IGtQ[n, 0] && NeQ[m, -1]

Rule 4641

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

Rule 4645

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))*((d_) + (e_.)*(x_)^2)^(p_.), x_Symbol] :> With[{u = IntHide[(d + e*x^2)
^p, x]}, Dist[a + b*ArcSin[c*x], u, x] - Dist[b*c, Int[SimplifyIntegrand[u/Sqrt[1 - c^2*x^2], x], x], x]] /; F
reeQ[{a, b, c, d, e}, x] && EqQ[c^2*d + e, 0] && IGtQ[p, 0]

Rule 4647

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

Rule 4649

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

Rule 4677

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))^(n_.)*(x_)*((d_) + (e_.)*(x_)^2)^(p_.), x_Symbol] :> Simp[((d + e*x^2)^
(p + 1)*(a + b*ArcSin[c*x])^n)/(2*e*(p + 1)), x] + Dist[(b*n*d^IntPart[p]*(d + e*x^2)^FracPart[p])/(2*c*(p + 1
)*(1 - c^2*x^2)^FracPart[p]), Int[(1 - c^2*x^2)^(p + 1/2)*(a + b*ArcSin[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 4687

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))*((f_.)*(x_))^(m_)*((d_) + (e_.)*(x_)^2)^(p_.), x_Symbol] :> With[{u = I
ntHide[(f*x)^m*(d + e*x^2)^p, x]}, Dist[a + b*ArcSin[c*x], u, x] - Dist[b*c, Int[SimplifyIntegrand[u/Sqrt[1 -
c^2*x^2], x], x], x]] /; FreeQ[{a, b, c, d, e, f, m}, x] && EqQ[c^2*d + e, 0] && IGtQ[p, 0]

Rule 4697

Int[((a_.) + ArcSin[(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*ArcSin[c*x])^n)/(f*(m + 2)), x] + (Dist[Sqrt[d + e*x^2]/((m + 2)*Sqrt[1 -
c^2*x^2]), Int[((f*x)^m*(a + b*ArcSin[c*x])^n)/Sqrt[1 - c^2*x^2], x], x] - Dist[(b*c*n*Sqrt[d + e*x^2])/(f*(m
+ 2)*Sqrt[1 - c^2*x^2]), Int[(f*x)^(m + 1)*(a + b*ArcSin[c*x])^(n - 1), x], x]) /; FreeQ[{a, b, c, d, e, f, m}
, x] && EqQ[c^2*d + e, 0] && GtQ[n, 0] &&  !LtQ[m, -1] && (RationalQ[m] || EqQ[n, 1])

Rule 4699

Int[((a_.) + ArcSin[(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*ArcSin[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*ArcSin[c*x])^n, x], x] - Dist[(b*c*n*d^IntPart[p]*(d + e*x^2)^FracPart[p])/(
f*(m + 2*p + 1)*(1 - c^2*x^2)^FracPart[p]), Int[(f*x)^(m + 1)*(1 - c^2*x^2)^(p - 1/2)*(a + b*ArcSin[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]
 && (RationalQ[m] || EqQ[n, 1])

Rule 4707

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

Rule 4763

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))^(n_.)*((f_) + (g_.)*(x_))^(m_.)*((d_) + (e_.)*(x_)^2)^(p_), x_Symbol] :
> Int[ExpandIntegrand[(d + e*x^2)^p*(a + b*ArcSin[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 4777

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))^(n_.)*((f_) + (g_.)*(x_))^(m_.)*((d_) + (e_.)*(x_)^2)^(p_), x_Symbol] :
> Dist[(d^IntPart[p]*(d + e*x^2)^FracPart[p])/(1 - c^2*x^2)^FracPart[p], Int[(f + g*x)^m*(1 - c^2*x^2)^p*(a +
b*ArcSin[c*x])^n, x], x] /; FreeQ[{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*} \int (f+g x)^3 \left (d-c^2 d x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2 \, dx &=\frac {\left (d \sqrt {d-c^2 d x^2}\right ) \int (f+g x)^3 \left (1-c^2 x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2 \, dx}{\sqrt {1-c^2 x^2}}\\ &=\frac {\left (d \sqrt {d-c^2 d x^2}\right ) \int \left (f^3 \left (1-c^2 x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2+3 f^2 g x \left (1-c^2 x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2+3 f g^2 x^2 \left (1-c^2 x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2+g^3 x^3 \left (1-c^2 x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2\right ) \, dx}{\sqrt {1-c^2 x^2}}\\ &=\frac {\left (d f^3 \sqrt {d-c^2 d x^2}\right ) \int \left (1-c^2 x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2 \, dx}{\sqrt {1-c^2 x^2}}+\frac {\left (3 d f^2 g \sqrt {d-c^2 d x^2}\right ) \int x \left (1-c^2 x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2 \, dx}{\sqrt {1-c^2 x^2}}+\frac {\left (3 d f g^2 \sqrt {d-c^2 d x^2}\right ) \int x^2 \left (1-c^2 x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2 \, dx}{\sqrt {1-c^2 x^2}}+\frac {\left (d g^3 \sqrt {d-c^2 d x^2}\right ) \int x^3 \left (1-c^2 x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2 \, dx}{\sqrt {1-c^2 x^2}}\\ &=\frac {1}{4} d f^3 x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {1}{2} d f g^2 x^3 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {1}{7} d g^3 x^4 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2-\frac {3 d f^2 g \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{5 c^2}+\frac {\left (3 d f^3 \sqrt {d-c^2 d x^2}\right ) \int \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2 \, dx}{4 \sqrt {1-c^2 x^2}}-\frac {\left (b c d f^3 \sqrt {d-c^2 d x^2}\right ) \int x \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right ) \, dx}{2 \sqrt {1-c^2 x^2}}+\frac {\left (6 b d f^2 g \sqrt {d-c^2 d x^2}\right ) \int \left (1-c^2 x^2\right )^2 \left (a+b \sin ^{-1}(c x)\right ) \, dx}{5 c \sqrt {1-c^2 x^2}}+\frac {\left (3 d f g^2 \sqrt {d-c^2 d x^2}\right ) \int x^2 \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2 \, dx}{2 \sqrt {1-c^2 x^2}}-\frac {\left (b c d f g^2 \sqrt {d-c^2 d x^2}\right ) \int x^3 \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right ) \, dx}{\sqrt {1-c^2 x^2}}+\frac {\left (3 d g^3 \sqrt {d-c^2 d x^2}\right ) \int x^3 \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2 \, dx}{7 \sqrt {1-c^2 x^2}}-\frac {\left (2 b c d g^3 \sqrt {d-c^2 d x^2}\right ) \int x^4 \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right ) \, dx}{7 \sqrt {1-c^2 x^2}}\\ &=\frac {6 b d f^2 g x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{5 c \sqrt {1-c^2 x^2}}-\frac {4 b c d f^2 g x^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{5 \sqrt {1-c^2 x^2}}-\frac {b c d f g^2 x^4 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{4 \sqrt {1-c^2 x^2}}+\frac {6 b c^3 d f^2 g x^5 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{25 \sqrt {1-c^2 x^2}}-\frac {2 b c d g^3 x^5 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{35 \sqrt {1-c^2 x^2}}+\frac {b c^3 d f g^2 x^6 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{6 \sqrt {1-c^2 x^2}}+\frac {2 b c^3 d g^3 x^7 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{49 \sqrt {1-c^2 x^2}}+\frac {b d f^3 \left (1-c^2 x^2\right )^{3/2} \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{8 c}+\frac {3}{8} d f^3 x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {3}{8} d f g^2 x^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {3}{35} d g^3 x^4 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {1}{4} d f^3 x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {1}{2} d f g^2 x^3 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {1}{7} d g^3 x^4 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2-\frac {3 d f^2 g \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{5 c^2}+\frac {\left (3 d f^3 \sqrt {d-c^2 d x^2}\right ) \int \frac {\left (a+b \sin ^{-1}(c x)\right )^2}{\sqrt {1-c^2 x^2}} \, dx}{8 \sqrt {1-c^2 x^2}}-\frac {\left (b^2 d f^3 \sqrt {d-c^2 d x^2}\right ) \int \left (1-c^2 x^2\right )^{3/2} \, dx}{8 \sqrt {1-c^2 x^2}}-\frac {\left (3 b c d f^3 \sqrt {d-c^2 d x^2}\right ) \int x \left (a+b \sin ^{-1}(c x)\right ) \, dx}{4 \sqrt {1-c^2 x^2}}-\frac {\left (6 b^2 d f^2 g \sqrt {d-c^2 d x^2}\right ) \int \frac {x \left (15-10 c^2 x^2+3 c^4 x^4\right )}{15 \sqrt {1-c^2 x^2}} \, dx}{5 \sqrt {1-c^2 x^2}}+\frac {\left (3 d f g^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {x^2 \left (a+b \sin ^{-1}(c x)\right )^2}{\sqrt {1-c^2 x^2}} \, dx}{8 \sqrt {1-c^2 x^2}}-\frac {\left (3 b c d f g^2 \sqrt {d-c^2 d x^2}\right ) \int x^3 \left (a+b \sin ^{-1}(c x)\right ) \, dx}{4 \sqrt {1-c^2 x^2}}+\frac {\left (b^2 c^2 d f g^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {x^4 \left (3-2 c^2 x^2\right )}{12 \sqrt {1-c^2 x^2}} \, dx}{\sqrt {1-c^2 x^2}}+\frac {\left (3 d g^3 \sqrt {d-c^2 d x^2}\right ) \int \frac {x^3 \left (a+b \sin ^{-1}(c x)\right )^2}{\sqrt {1-c^2 x^2}} \, dx}{35 \sqrt {1-c^2 x^2}}-\frac {\left (6 b c d g^3 \sqrt {d-c^2 d x^2}\right ) \int x^4 \left (a+b \sin ^{-1}(c x)\right ) \, dx}{35 \sqrt {1-c^2 x^2}}+\frac {\left (2 b^2 c^2 d g^3 \sqrt {d-c^2 d x^2}\right ) \int \frac {x^5 \left (7-5 c^2 x^2\right )}{35 \sqrt {1-c^2 x^2}} \, dx}{7 \sqrt {1-c^2 x^2}}\\ &=-\frac {1}{32} b^2 d f^3 x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}+\frac {6 b d f^2 g x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{5 c \sqrt {1-c^2 x^2}}-\frac {3 b c d f^3 x^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{8 \sqrt {1-c^2 x^2}}-\frac {4 b c d f^2 g x^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{5 \sqrt {1-c^2 x^2}}-\frac {7 b c d f g^2 x^4 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{16 \sqrt {1-c^2 x^2}}+\frac {6 b c^3 d f^2 g x^5 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{25 \sqrt {1-c^2 x^2}}-\frac {16 b c d g^3 x^5 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{175 \sqrt {1-c^2 x^2}}+\frac {b c^3 d f g^2 x^6 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{6 \sqrt {1-c^2 x^2}}+\frac {2 b c^3 d g^3 x^7 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{49 \sqrt {1-c^2 x^2}}+\frac {b d f^3 \left (1-c^2 x^2\right )^{3/2} \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{8 c}+\frac {3}{8} d f^3 x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2-\frac {3 d f g^2 x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{16 c^2}-\frac {d g^3 x^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{35 c^2}+\frac {3}{8} d f g^2 x^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {3}{35} d g^3 x^4 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {1}{4} d f^3 x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {1}{2} d f g^2 x^3 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {1}{7} d g^3 x^4 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2-\frac {3 d f^2 g \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{5 c^2}+\frac {d f^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^3}{8 b c \sqrt {1-c^2 x^2}}-\frac {\left (3 b^2 d f^3 \sqrt {d-c^2 d x^2}\right ) \int \sqrt {1-c^2 x^2} \, dx}{32 \sqrt {1-c^2 x^2}}+\frac {\left (3 b^2 c^2 d f^3 \sqrt {d-c^2 d x^2}\right ) \int \frac {x^2}{\sqrt {1-c^2 x^2}} \, dx}{8 \sqrt {1-c^2 x^2}}-\frac {\left (2 b^2 d f^2 g \sqrt {d-c^2 d x^2}\right ) \int \frac {x \left (15-10 c^2 x^2+3 c^4 x^4\right )}{\sqrt {1-c^2 x^2}} \, dx}{25 \sqrt {1-c^2 x^2}}+\frac {\left (3 d f g^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {\left (a+b \sin ^{-1}(c x)\right )^2}{\sqrt {1-c^2 x^2}} \, dx}{16 c^2 \sqrt {1-c^2 x^2}}+\frac {\left (3 b d f g^2 \sqrt {d-c^2 d x^2}\right ) \int x \left (a+b \sin ^{-1}(c x)\right ) \, dx}{8 c \sqrt {1-c^2 x^2}}+\frac {\left (b^2 c^2 d f g^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {x^4 \left (3-2 c^2 x^2\right )}{\sqrt {1-c^2 x^2}} \, dx}{12 \sqrt {1-c^2 x^2}}+\frac {\left (3 b^2 c^2 d f g^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {x^4}{\sqrt {1-c^2 x^2}} \, dx}{16 \sqrt {1-c^2 x^2}}+\frac {\left (2 d g^3 \sqrt {d-c^2 d x^2}\right ) \int \frac {x \left (a+b \sin ^{-1}(c x)\right )^2}{\sqrt {1-c^2 x^2}} \, dx}{35 c^2 \sqrt {1-c^2 x^2}}+\frac {\left (2 b d g^3 \sqrt {d-c^2 d x^2}\right ) \int x^2 \left (a+b \sin ^{-1}(c x)\right ) \, dx}{35 c \sqrt {1-c^2 x^2}}+\frac {\left (2 b^2 c^2 d g^3 \sqrt {d-c^2 d x^2}\right ) \int \frac {x^5 \left (7-5 c^2 x^2\right )}{\sqrt {1-c^2 x^2}} \, dx}{245 \sqrt {1-c^2 x^2}}+\frac {\left (6 b^2 c^2 d g^3 \sqrt {d-c^2 d x^2}\right ) \int \frac {x^5}{\sqrt {1-c^2 x^2}} \, dx}{175 \sqrt {1-c^2 x^2}}\\ &=-\frac {15}{64} b^2 d f^3 x \sqrt {d-c^2 d x^2}-\frac {3}{64} b^2 d f g^2 x^3 \sqrt {d-c^2 d x^2}+\frac {1}{36} b^2 c^2 d f g^2 x^5 \sqrt {d-c^2 d x^2}-\frac {1}{32} b^2 d f^3 x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}+\frac {6 b d f^2 g x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{5 c \sqrt {1-c^2 x^2}}-\frac {3 b c d f^3 x^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{8 \sqrt {1-c^2 x^2}}+\frac {3 b d f g^2 x^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{16 c \sqrt {1-c^2 x^2}}-\frac {4 b c d f^2 g x^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{5 \sqrt {1-c^2 x^2}}+\frac {2 b d g^3 x^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{105 c \sqrt {1-c^2 x^2}}-\frac {7 b c d f g^2 x^4 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{16 \sqrt {1-c^2 x^2}}+\frac {6 b c^3 d f^2 g x^5 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{25 \sqrt {1-c^2 x^2}}-\frac {16 b c d g^3 x^5 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{175 \sqrt {1-c^2 x^2}}+\frac {b c^3 d f g^2 x^6 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{6 \sqrt {1-c^2 x^2}}+\frac {2 b c^3 d g^3 x^7 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{49 \sqrt {1-c^2 x^2}}+\frac {b d f^3 \left (1-c^2 x^2\right )^{3/2} \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{8 c}-\frac {2 d g^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{35 c^4}+\frac {3}{8} d f^3 x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2-\frac {3 d f g^2 x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{16 c^2}-\frac {d g^3 x^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{35 c^2}+\frac {3}{8} d f g^2 x^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {3}{35} d g^3 x^4 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {1}{4} d f^3 x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {1}{2} d f g^2 x^3 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {1}{7} d g^3 x^4 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2-\frac {3 d f^2 g \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{5 c^2}+\frac {d f^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^3}{8 b c \sqrt {1-c^2 x^2}}+\frac {d f g^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^3}{16 b c^3 \sqrt {1-c^2 x^2}}-\frac {\left (3 b^2 d f^3 \sqrt {d-c^2 d x^2}\right ) \int \frac {1}{\sqrt {1-c^2 x^2}} \, dx}{64 \sqrt {1-c^2 x^2}}+\frac {\left (3 b^2 d f^3 \sqrt {d-c^2 d x^2}\right ) \int \frac {1}{\sqrt {1-c^2 x^2}} \, dx}{16 \sqrt {1-c^2 x^2}}-\frac {\left (b^2 d f^2 g \sqrt {d-c^2 d x^2}\right ) \operatorname {Subst}\left (\int \frac {15-10 c^2 x+3 c^4 x^2}{\sqrt {1-c^2 x}} \, dx,x,x^2\right )}{25 \sqrt {1-c^2 x^2}}+\frac {\left (9 b^2 d f g^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {x^2}{\sqrt {1-c^2 x^2}} \, dx}{64 \sqrt {1-c^2 x^2}}-\frac {\left (3 b^2 d f g^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {x^2}{\sqrt {1-c^2 x^2}} \, dx}{16 \sqrt {1-c^2 x^2}}+\frac {\left (b^2 c^2 d f g^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {x^4}{\sqrt {1-c^2 x^2}} \, dx}{9 \sqrt {1-c^2 x^2}}-\frac {\left (2 b^2 d g^3 \sqrt {d-c^2 d x^2}\right ) \int \frac {x^3}{\sqrt {1-c^2 x^2}} \, dx}{105 \sqrt {1-c^2 x^2}}+\frac {\left (4 b d g^3 \sqrt {d-c^2 d x^2}\right ) \int \left (a+b \sin ^{-1}(c x)\right ) \, dx}{35 c^3 \sqrt {1-c^2 x^2}}+\frac {\left (b^2 c^2 d g^3 \sqrt {d-c^2 d x^2}\right ) \operatorname {Subst}\left (\int \frac {x^2 \left (7-5 c^2 x\right )}{\sqrt {1-c^2 x}} \, dx,x,x^2\right )}{245 \sqrt {1-c^2 x^2}}+\frac {\left (3 b^2 c^2 d g^3 \sqrt {d-c^2 d x^2}\right ) \operatorname {Subst}\left (\int \frac {x^2}{\sqrt {1-c^2 x}} \, dx,x,x^2\right )}{175 \sqrt {1-c^2 x^2}}\\ &=-\frac {15}{64} b^2 d f^3 x \sqrt {d-c^2 d x^2}+\frac {3 b^2 d f g^2 x \sqrt {d-c^2 d x^2}}{128 c^2}-\frac {43}{576} b^2 d f g^2 x^3 \sqrt {d-c^2 d x^2}+\frac {1}{36} b^2 c^2 d f g^2 x^5 \sqrt {d-c^2 d x^2}+\frac {4 a b d g^3 x \sqrt {d-c^2 d x^2}}{35 c^3 \sqrt {1-c^2 x^2}}-\frac {1}{32} b^2 d f^3 x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}+\frac {9 b^2 d f^3 \sqrt {d-c^2 d x^2} \sin ^{-1}(c x)}{64 c \sqrt {1-c^2 x^2}}+\frac {6 b d f^2 g x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{5 c \sqrt {1-c^2 x^2}}-\frac {3 b c d f^3 x^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{8 \sqrt {1-c^2 x^2}}+\frac {3 b d f g^2 x^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{16 c \sqrt {1-c^2 x^2}}-\frac {4 b c d f^2 g x^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{5 \sqrt {1-c^2 x^2}}+\frac {2 b d g^3 x^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{105 c \sqrt {1-c^2 x^2}}-\frac {7 b c d f g^2 x^4 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{16 \sqrt {1-c^2 x^2}}+\frac {6 b c^3 d f^2 g x^5 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{25 \sqrt {1-c^2 x^2}}-\frac {16 b c d g^3 x^5 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{175 \sqrt {1-c^2 x^2}}+\frac {b c^3 d f g^2 x^6 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{6 \sqrt {1-c^2 x^2}}+\frac {2 b c^3 d g^3 x^7 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{49 \sqrt {1-c^2 x^2}}+\frac {b d f^3 \left (1-c^2 x^2\right )^{3/2} \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{8 c}-\frac {2 d g^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{35 c^4}+\frac {3}{8} d f^3 x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2-\frac {3 d f g^2 x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{16 c^2}-\frac {d g^3 x^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{35 c^2}+\frac {3}{8} d f g^2 x^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {3}{35} d g^3 x^4 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {1}{4} d f^3 x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {1}{2} d f g^2 x^3 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {1}{7} d g^3 x^4 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2-\frac {3 d f^2 g \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{5 c^2}+\frac {d f^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^3}{8 b c \sqrt {1-c^2 x^2}}+\frac {d f g^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^3}{16 b c^3 \sqrt {1-c^2 x^2}}-\frac {\left (b^2 d f^2 g \sqrt {d-c^2 d x^2}\right ) \operatorname {Subst}\left (\int \left (\frac {8}{\sqrt {1-c^2 x}}+4 \sqrt {1-c^2 x}+3 \left (1-c^2 x\right )^{3/2}\right ) \, dx,x,x^2\right )}{25 \sqrt {1-c^2 x^2}}+\frac {\left (b^2 d f g^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {x^2}{\sqrt {1-c^2 x^2}} \, dx}{12 \sqrt {1-c^2 x^2}}+\frac {\left (9 b^2 d f g^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {1}{\sqrt {1-c^2 x^2}} \, dx}{128 c^2 \sqrt {1-c^2 x^2}}-\frac {\left (3 b^2 d f g^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {1}{\sqrt {1-c^2 x^2}} \, dx}{32 c^2 \sqrt {1-c^2 x^2}}-\frac {\left (b^2 d g^3 \sqrt {d-c^2 d x^2}\right ) \operatorname {Subst}\left (\int \frac {x}{\sqrt {1-c^2 x}} \, dx,x,x^2\right )}{105 \sqrt {1-c^2 x^2}}+\frac {\left (4 b^2 d g^3 \sqrt {d-c^2 d x^2}\right ) \int \sin ^{-1}(c x) \, dx}{35 c^3 \sqrt {1-c^2 x^2}}+\frac {\left (b^2 c^2 d g^3 \sqrt {d-c^2 d x^2}\right ) \operatorname {Subst}\left (\int \left (\frac {2}{c^4 \sqrt {1-c^2 x}}+\frac {\sqrt {1-c^2 x}}{c^4}-\frac {8 \left (1-c^2 x\right )^{3/2}}{c^4}+\frac {5 \left (1-c^2 x\right )^{5/2}}{c^4}\right ) \, dx,x,x^2\right )}{245 \sqrt {1-c^2 x^2}}+\frac {\left (3 b^2 c^2 d g^3 \sqrt {d-c^2 d x^2}\right ) \operatorname {Subst}\left (\int \left (\frac {1}{c^4 \sqrt {1-c^2 x}}-\frac {2 \sqrt {1-c^2 x}}{c^4}+\frac {\left (1-c^2 x\right )^{3/2}}{c^4}\right ) \, dx,x,x^2\right )}{175 \sqrt {1-c^2 x^2}}\\ &=\frac {16 b^2 d f^2 g \sqrt {d-c^2 d x^2}}{25 c^2}-\frac {62 b^2 d g^3 \sqrt {d-c^2 d x^2}}{1225 c^4}-\frac {15}{64} b^2 d f^3 x \sqrt {d-c^2 d x^2}-\frac {7 b^2 d f g^2 x \sqrt {d-c^2 d x^2}}{384 c^2}-\frac {43}{576} b^2 d f g^2 x^3 \sqrt {d-c^2 d x^2}+\frac {1}{36} b^2 c^2 d f g^2 x^5 \sqrt {d-c^2 d x^2}+\frac {4 a b d g^3 x \sqrt {d-c^2 d x^2}}{35 c^3 \sqrt {1-c^2 x^2}}+\frac {8 b^2 d f^2 g \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}}{75 c^2}+\frac {74 b^2 d g^3 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}}{3675 c^4}-\frac {1}{32} b^2 d f^3 x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}+\frac {6 b^2 d f^2 g \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2}}{125 c^2}+\frac {38 b^2 d g^3 \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2}}{6125 c^4}-\frac {2 b^2 d g^3 \left (1-c^2 x^2\right )^3 \sqrt {d-c^2 d x^2}}{343 c^4}+\frac {9 b^2 d f^3 \sqrt {d-c^2 d x^2} \sin ^{-1}(c x)}{64 c \sqrt {1-c^2 x^2}}-\frac {3 b^2 d f g^2 \sqrt {d-c^2 d x^2} \sin ^{-1}(c x)}{128 c^3 \sqrt {1-c^2 x^2}}+\frac {4 b^2 d g^3 x \sqrt {d-c^2 d x^2} \sin ^{-1}(c x)}{35 c^3 \sqrt {1-c^2 x^2}}+\frac {6 b d f^2 g x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{5 c \sqrt {1-c^2 x^2}}-\frac {3 b c d f^3 x^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{8 \sqrt {1-c^2 x^2}}+\frac {3 b d f g^2 x^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{16 c \sqrt {1-c^2 x^2}}-\frac {4 b c d f^2 g x^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{5 \sqrt {1-c^2 x^2}}+\frac {2 b d g^3 x^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{105 c \sqrt {1-c^2 x^2}}-\frac {7 b c d f g^2 x^4 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{16 \sqrt {1-c^2 x^2}}+\frac {6 b c^3 d f^2 g x^5 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{25 \sqrt {1-c^2 x^2}}-\frac {16 b c d g^3 x^5 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{175 \sqrt {1-c^2 x^2}}+\frac {b c^3 d f g^2 x^6 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{6 \sqrt {1-c^2 x^2}}+\frac {2 b c^3 d g^3 x^7 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{49 \sqrt {1-c^2 x^2}}+\frac {b d f^3 \left (1-c^2 x^2\right )^{3/2} \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{8 c}-\frac {2 d g^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{35 c^4}+\frac {3}{8} d f^3 x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2-\frac {3 d f g^2 x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{16 c^2}-\frac {d g^3 x^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{35 c^2}+\frac {3}{8} d f g^2 x^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {3}{35} d g^3 x^4 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {1}{4} d f^3 x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {1}{2} d f g^2 x^3 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {1}{7} d g^3 x^4 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2-\frac {3 d f^2 g \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{5 c^2}+\frac {d f^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^3}{8 b c \sqrt {1-c^2 x^2}}+\frac {d f g^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^3}{16 b c^3 \sqrt {1-c^2 x^2}}+\frac {\left (b^2 d f g^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {1}{\sqrt {1-c^2 x^2}} \, dx}{24 c^2 \sqrt {1-c^2 x^2}}-\frac {\left (b^2 d g^3 \sqrt {d-c^2 d x^2}\right ) \operatorname {Subst}\left (\int \left (\frac {1}{c^2 \sqrt {1-c^2 x}}-\frac {\sqrt {1-c^2 x}}{c^2}\right ) \, dx,x,x^2\right )}{105 \sqrt {1-c^2 x^2}}-\frac {\left (4 b^2 d g^3 \sqrt {d-c^2 d x^2}\right ) \int \frac {x}{\sqrt {1-c^2 x^2}} \, dx}{35 c^2 \sqrt {1-c^2 x^2}}\\ &=\frac {16 b^2 d f^2 g \sqrt {d-c^2 d x^2}}{25 c^2}+\frac {304 b^2 d g^3 \sqrt {d-c^2 d x^2}}{3675 c^4}-\frac {15}{64} b^2 d f^3 x \sqrt {d-c^2 d x^2}-\frac {7 b^2 d f g^2 x \sqrt {d-c^2 d x^2}}{384 c^2}-\frac {43}{576} b^2 d f g^2 x^3 \sqrt {d-c^2 d x^2}+\frac {1}{36} b^2 c^2 d f g^2 x^5 \sqrt {d-c^2 d x^2}+\frac {4 a b d g^3 x \sqrt {d-c^2 d x^2}}{35 c^3 \sqrt {1-c^2 x^2}}+\frac {8 b^2 d f^2 g \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}}{75 c^2}+\frac {152 b^2 d g^3 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}}{11025 c^4}-\frac {1}{32} b^2 d f^3 x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}+\frac {6 b^2 d f^2 g \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2}}{125 c^2}+\frac {38 b^2 d g^3 \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2}}{6125 c^4}-\frac {2 b^2 d g^3 \left (1-c^2 x^2\right )^3 \sqrt {d-c^2 d x^2}}{343 c^4}+\frac {9 b^2 d f^3 \sqrt {d-c^2 d x^2} \sin ^{-1}(c x)}{64 c \sqrt {1-c^2 x^2}}+\frac {7 b^2 d f g^2 \sqrt {d-c^2 d x^2} \sin ^{-1}(c x)}{384 c^3 \sqrt {1-c^2 x^2}}+\frac {4 b^2 d g^3 x \sqrt {d-c^2 d x^2} \sin ^{-1}(c x)}{35 c^3 \sqrt {1-c^2 x^2}}+\frac {6 b d f^2 g x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{5 c \sqrt {1-c^2 x^2}}-\frac {3 b c d f^3 x^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{8 \sqrt {1-c^2 x^2}}+\frac {3 b d f g^2 x^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{16 c \sqrt {1-c^2 x^2}}-\frac {4 b c d f^2 g x^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{5 \sqrt {1-c^2 x^2}}+\frac {2 b d g^3 x^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{105 c \sqrt {1-c^2 x^2}}-\frac {7 b c d f g^2 x^4 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{16 \sqrt {1-c^2 x^2}}+\frac {6 b c^3 d f^2 g x^5 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{25 \sqrt {1-c^2 x^2}}-\frac {16 b c d g^3 x^5 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{175 \sqrt {1-c^2 x^2}}+\frac {b c^3 d f g^2 x^6 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{6 \sqrt {1-c^2 x^2}}+\frac {2 b c^3 d g^3 x^7 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{49 \sqrt {1-c^2 x^2}}+\frac {b d f^3 \left (1-c^2 x^2\right )^{3/2} \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{8 c}-\frac {2 d g^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{35 c^4}+\frac {3}{8} d f^3 x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2-\frac {3 d f g^2 x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{16 c^2}-\frac {d g^3 x^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{35 c^2}+\frac {3}{8} d f g^2 x^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {3}{35} d g^3 x^4 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {1}{4} d f^3 x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {1}{2} d f g^2 x^3 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {1}{7} d g^3 x^4 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2-\frac {3 d f^2 g \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{5 c^2}+\frac {d f^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^3}{8 b c \sqrt {1-c^2 x^2}}+\frac {d f g^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^3}{16 b c^3 \sqrt {1-c^2 x^2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 2.59, size = 872, normalized size = 0.52 \[ \frac {d \sqrt {d-c^2 d x^2} \left (3087000 c f \left (2 c^2 f^2+g^2\right ) a^3-88200 b \sqrt {1-c^2 x^2} \left (4 x^3 \left (35 f^3+84 g x f^2+70 g^2 x^2 f+20 g^3 x^3\right ) c^6-2 x \left (175 f^3+336 g x f^2+245 g^2 x^2 f+64 g^3 x^3\right ) c^4+g \left (336 f^2+105 g x f+16 g^2 x^2\right ) c^2+32 g^3\right ) a^2+840 b^2 c x \left (2 x^3 \left (3675 f^3+7056 g x f^2+4900 g^2 x^2 f+1200 g^3 x^3\right ) c^6-21 x \left (1750 f^3+2240 g x f^2+1225 g^2 x^2 f+256 g^3 x^3\right ) c^4+35 g \left (2016 f^2+315 g x f+32 g^2 x^2\right ) c^2+6720 g^3\right ) a+3087000 b^3 c f \left (2 c^2 f^2+g^2\right ) \sin ^{-1}(c x)^3-88200 b^2 \left (b \sqrt {1-c^2 x^2} \left (4 x^3 \left (35 f^3+84 g x f^2+70 g^2 x^2 f+20 g^3 x^3\right ) c^6-2 x \left (175 f^3+336 g x f^2+245 g^2 x^2 f+64 g^3 x^3\right ) c^4+g \left (336 f^2+105 g x f+16 g^2 x^2\right ) c^2+32 g^3\right )-105 a c f \left (2 c^2 f^2+g^2\right )\right ) \sin ^{-1}(c x)^2+b^3 \sqrt {1-c^2 x^2} \left (4 x^3 \left (385875 f^3+592704 g x f^2+343000 g^2 x^2 f+72000 g^3 x^3\right ) c^6-2 x \left (6559875 f^3+5005056 g x f^2+1843625 g^2 x^2 f+278784 g^3 x^3\right ) c^4+g \left (39250176 f^2-900375 g x f-429824 g^2 x^2\right ) c^2+4785152 g^3\right )+105 b \left (88200 c f \left (2 c^2 f^2+g^2\right ) a^2-1680 b \sqrt {1-c^2 x^2} \left (4 x^3 \left (35 f^3+84 g x f^2+70 g^2 x^2 f+20 g^3 x^3\right ) c^6-2 x \left (175 f^3+336 g x f^2+245 g^2 x^2 f+64 g^3 x^3\right ) c^4+g \left (336 f^2+105 g x f+16 g^2 x^2\right ) c^2+32 g^3\right ) a+b^2 c \left (16 x^4 \left (3675 f^3+7056 g x f^2+4900 g^2 x^2 f+1200 g^3 x^3\right ) c^6-168 x^2 \left (1750 f^3+2240 g x f^2+1225 g^2 x^2 f+256 g^3 x^3\right ) c^4+70 \left (1785 f^3+8064 g x f^2+1260 g^2 x^2 f+128 g^3 x^3\right ) c^2+35 g^2 (245 f+1536 g x)\right )\right ) \sin ^{-1}(c x)\right )}{49392000 b c^4 \sqrt {1-c^2 x^2}} \]

Antiderivative was successfully verified.

[In]

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

[Out]

(d*Sqrt[d - c^2*d*x^2]*(3087000*a^3*c*f*(2*c^2*f^2 + g^2) - 88200*a^2*b*Sqrt[1 - c^2*x^2]*(32*g^3 + c^2*g*(336
*f^2 + 105*f*g*x + 16*g^2*x^2) + 4*c^6*x^3*(35*f^3 + 84*f^2*g*x + 70*f*g^2*x^2 + 20*g^3*x^3) - 2*c^4*x*(175*f^
3 + 336*f^2*g*x + 245*f*g^2*x^2 + 64*g^3*x^3)) + 840*a*b^2*c*x*(6720*g^3 + 35*c^2*g*(2016*f^2 + 315*f*g*x + 32
*g^2*x^2) - 21*c^4*x*(1750*f^3 + 2240*f^2*g*x + 1225*f*g^2*x^2 + 256*g^3*x^3) + 2*c^6*x^3*(3675*f^3 + 7056*f^2
*g*x + 4900*f*g^2*x^2 + 1200*g^3*x^3)) + b^3*Sqrt[1 - c^2*x^2]*(4785152*g^3 + c^2*g*(39250176*f^2 - 900375*f*g
*x - 429824*g^2*x^2) + 4*c^6*x^3*(385875*f^3 + 592704*f^2*g*x + 343000*f*g^2*x^2 + 72000*g^3*x^3) - 2*c^4*x*(6
559875*f^3 + 5005056*f^2*g*x + 1843625*f*g^2*x^2 + 278784*g^3*x^3)) + 105*b*(88200*a^2*c*f*(2*c^2*f^2 + g^2) -
 1680*a*b*Sqrt[1 - c^2*x^2]*(32*g^3 + c^2*g*(336*f^2 + 105*f*g*x + 16*g^2*x^2) + 4*c^6*x^3*(35*f^3 + 84*f^2*g*
x + 70*f*g^2*x^2 + 20*g^3*x^3) - 2*c^4*x*(175*f^3 + 336*f^2*g*x + 245*f*g^2*x^2 + 64*g^3*x^3)) + b^2*c*(35*g^2
*(245*f + 1536*g*x) + 70*c^2*(1785*f^3 + 8064*f^2*g*x + 1260*f*g^2*x^2 + 128*g^3*x^3) - 168*c^4*x^2*(1750*f^3
+ 2240*f^2*g*x + 1225*f*g^2*x^2 + 256*g^3*x^3) + 16*c^6*x^4*(3675*f^3 + 7056*f^2*g*x + 4900*f*g^2*x^2 + 1200*g
^3*x^3)))*ArcSin[c*x] - 88200*b^2*(-105*a*c*f*(2*c^2*f^2 + g^2) + b*Sqrt[1 - c^2*x^2]*(32*g^3 + c^2*g*(336*f^2
 + 105*f*g*x + 16*g^2*x^2) + 4*c^6*x^3*(35*f^3 + 84*f^2*g*x + 70*f*g^2*x^2 + 20*g^3*x^3) - 2*c^4*x*(175*f^3 +
336*f^2*g*x + 245*f*g^2*x^2 + 64*g^3*x^3)))*ArcSin[c*x]^2 + 3087000*b^3*c*f*(2*c^2*f^2 + g^2)*ArcSin[c*x]^3))/
(49392000*b*c^4*Sqrt[1 - c^2*x^2])

________________________________________________________________________________________

fricas [F]  time = 0.57, size = 0, normalized size = 0.00 \[ {\rm integral}\left (-{\left (a^{2} c^{2} d g^{3} x^{5} + 3 \, a^{2} c^{2} d f g^{2} x^{4} - 3 \, a^{2} d f^{2} g x - a^{2} d f^{3} + {\left (3 \, a^{2} c^{2} d f^{2} g - a^{2} d g^{3}\right )} x^{3} + {\left (a^{2} c^{2} d f^{3} - 3 \, a^{2} d f g^{2}\right )} x^{2} + {\left (b^{2} c^{2} d g^{3} x^{5} + 3 \, b^{2} c^{2} d f g^{2} x^{4} - 3 \, b^{2} d f^{2} g x - b^{2} d f^{3} + {\left (3 \, b^{2} c^{2} d f^{2} g - b^{2} d g^{3}\right )} x^{3} + {\left (b^{2} c^{2} d f^{3} - 3 \, b^{2} d f g^{2}\right )} x^{2}\right )} \arcsin \left (c x\right )^{2} + 2 \, {\left (a b c^{2} d g^{3} x^{5} + 3 \, a b c^{2} d f g^{2} x^{4} - 3 \, a b d f^{2} g x - a b d f^{3} + {\left (3 \, a b c^{2} d f^{2} g - a b d g^{3}\right )} x^{3} + {\left (a b c^{2} d f^{3} - 3 \, a b d f g^{2}\right )} x^{2}\right )} \arcsin \left (c x\right )\right )} \sqrt {-c^{2} d x^{2} + d}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

giac [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: RuntimeError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g*x+f)^3*(-c^2*d*x^2+d)^(3/2)*(a+b*arcsin(c*x))^2,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

________________________________________________________________________________________

maple [C]  time = 1.69, size = 12962, normalized size = 7.69 \[ \text {output too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

result too large to display

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \frac {1}{8} \, {\left (2 \, {\left (-c^{2} d x^{2} + d\right )}^{\frac {3}{2}} x + 3 \, \sqrt {-c^{2} d x^{2} + d} d x + \frac {3 \, d^{\frac {3}{2}} \arcsin \left (c x\right )}{c}\right )} a^{2} f^{3} - \frac {1}{35} \, {\left (\frac {5 \, {\left (-c^{2} d x^{2} + d\right )}^{\frac {5}{2}} x^{2}}{c^{2} d} + \frac {2 \, {\left (-c^{2} d x^{2} + d\right )}^{\frac {5}{2}}}{c^{4} d}\right )} a^{2} g^{3} + \frac {1}{16} \, a^{2} f g^{2} {\left (\frac {2 \, {\left (-c^{2} d x^{2} + d\right )}^{\frac {3}{2}} x}{c^{2}} - \frac {8 \, {\left (-c^{2} d x^{2} + d\right )}^{\frac {5}{2}} x}{c^{2} d} + \frac {3 \, \sqrt {-c^{2} d x^{2} + d} d x}{c^{2}} + \frac {3 \, d^{\frac {3}{2}} \arcsin \left (c x\right )}{c^{3}}\right )} - \frac {3 \, {\left (-c^{2} d x^{2} + d\right )}^{\frac {5}{2}} a^{2} f^{2} g}{5 \, c^{2} d} + \sqrt {d} \int -{\left ({\left (b^{2} c^{2} d g^{3} x^{5} + 3 \, b^{2} c^{2} d f g^{2} x^{4} - 3 \, b^{2} d f^{2} g x - b^{2} d f^{3} + {\left (3 \, b^{2} c^{2} d f^{2} g - b^{2} d g^{3}\right )} x^{3} + {\left (b^{2} c^{2} d f^{3} - 3 \, b^{2} d f g^{2}\right )} x^{2}\right )} \arctan \left (c x, \sqrt {c x + 1} \sqrt {-c x + 1}\right )^{2} + 2 \, {\left (a b c^{2} d g^{3} x^{5} + 3 \, a b c^{2} d f g^{2} x^{4} - 3 \, a b d f^{2} g x - a b d f^{3} + {\left (3 \, a b c^{2} d f^{2} g - a b d g^{3}\right )} x^{3} + {\left (a b c^{2} d f^{3} - 3 \, a b d f g^{2}\right )} x^{2}\right )} \arctan \left (c x, \sqrt {c x + 1} \sqrt {-c x + 1}\right )\right )} \sqrt {c x + 1} \sqrt {-c x + 1}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/8*(2*(-c^2*d*x^2 + d)^(3/2)*x + 3*sqrt(-c^2*d*x^2 + d)*d*x + 3*d^(3/2)*arcsin(c*x)/c)*a^2*f^3 - 1/35*(5*(-c^
2*d*x^2 + d)^(5/2)*x^2/(c^2*d) + 2*(-c^2*d*x^2 + d)^(5/2)/(c^4*d))*a^2*g^3 + 1/16*a^2*f*g^2*(2*(-c^2*d*x^2 + d
)^(3/2)*x/c^2 - 8*(-c^2*d*x^2 + d)^(5/2)*x/(c^2*d) + 3*sqrt(-c^2*d*x^2 + d)*d*x/c^2 + 3*d^(3/2)*arcsin(c*x)/c^
3) - 3/5*(-c^2*d*x^2 + d)^(5/2)*a^2*f^2*g/(c^2*d) + sqrt(d)*integrate(-((b^2*c^2*d*g^3*x^5 + 3*b^2*c^2*d*f*g^2
*x^4 - 3*b^2*d*f^2*g*x - b^2*d*f^3 + (3*b^2*c^2*d*f^2*g - b^2*d*g^3)*x^3 + (b^2*c^2*d*f^3 - 3*b^2*d*f*g^2)*x^2
)*arctan2(c*x, sqrt(c*x + 1)*sqrt(-c*x + 1))^2 + 2*(a*b*c^2*d*g^3*x^5 + 3*a*b*c^2*d*f*g^2*x^4 - 3*a*b*d*f^2*g*
x - a*b*d*f^3 + (3*a*b*c^2*d*f^2*g - a*b*d*g^3)*x^3 + (a*b*c^2*d*f^3 - 3*a*b*d*f*g^2)*x^2)*arctan2(c*x, sqrt(c
*x + 1)*sqrt(-c*x + 1)))*sqrt(c*x + 1)*sqrt(-c*x + 1), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.00 \[ \int {\left (f+g\,x\right )}^3\,{\left (a+b\,\mathrm {asin}\left (c\,x\right )\right )}^2\,{\left (d-c^2\,d\,x^2\right )}^{3/2} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (- d \left (c x - 1\right ) \left (c x + 1\right )\right )^{\frac {3}{2}} \left (a + b \operatorname {asin}{\left (c x \right )}\right )^{2} \left (f + g x\right )^{3}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

Integral((-d*(c*x - 1)*(c*x + 1))**(3/2)*(a + b*asin(c*x))**2*(f + g*x)**3, x)

________________________________________________________________________________________