3.1.64 \(\int (f+g x) (d-c^2 d x^2)^{3/2} (a+b \text {ArcSin}(c x))^2 \, dx\) [64]

Optimal. Leaf size=621 \[ \frac {16 b^2 d g \sqrt {d-c^2 d x^2}}{75 c^2}-\frac {15}{64} b^2 d f x \sqrt {d-c^2 d x^2}+\frac {8 b^2 d g \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}}{225 c^2}-\frac {1}{32} b^2 d f x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}+\frac {2 b^2 d g \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2}}{125 c^2}+\frac {9 b^2 d f \sqrt {d-c^2 d x^2} \text {ArcSin}(c x)}{64 c \sqrt {1-c^2 x^2}}+\frac {2 b d g x \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))}{5 c \sqrt {1-c^2 x^2}}-\frac {3 b c d f x^2 \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))}{8 \sqrt {1-c^2 x^2}}-\frac {4 b c d g x^3 \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))}{15 \sqrt {1-c^2 x^2}}+\frac {2 b c^3 d g x^5 \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))}{25 \sqrt {1-c^2 x^2}}+\frac {b d f \left (1-c^2 x^2\right )^{3/2} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))}{8 c}+\frac {3}{8} d f x \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^2+\frac {1}{4} d f x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^2-\frac {d g \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^2}{5 c^2}+\frac {d f \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^3}{8 b c \sqrt {1-c^2 x^2}} \]

[Out]

16/75*b^2*d*g*(-c^2*d*x^2+d)^(1/2)/c^2-15/64*b^2*d*f*x*(-c^2*d*x^2+d)^(1/2)+8/225*b^2*d*g*(-c^2*x^2+1)*(-c^2*d
*x^2+d)^(1/2)/c^2-1/32*b^2*d*f*x*(-c^2*x^2+1)*(-c^2*d*x^2+d)^(1/2)+2/125*b^2*d*g*(-c^2*x^2+1)^2*(-c^2*d*x^2+d)
^(1/2)/c^2+1/8*b*d*f*(-c^2*x^2+1)^(3/2)*(a+b*arcsin(c*x))*(-c^2*d*x^2+d)^(1/2)/c+3/8*d*f*x*(a+b*arcsin(c*x))^2
*(-c^2*d*x^2+d)^(1/2)+1/4*d*f*x*(-c^2*x^2+1)*(a+b*arcsin(c*x))^2*(-c^2*d*x^2+d)^(1/2)-1/5*d*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*arcsin(c*x)*(-c^2*d*x^2+d)^(1/2)/c/(-c^2*x^2+1)^(1/2)
+2/5*b*d*g*x*(a+b*arcsin(c*x))*(-c^2*d*x^2+d)^(1/2)/c/(-c^2*x^2+1)^(1/2)-3/8*b*c*d*f*x^2*(a+b*arcsin(c*x))*(-c
^2*d*x^2+d)^(1/2)/(-c^2*x^2+1)^(1/2)-4/15*b*c*d*g*x^3*(a+b*arcsin(c*x))*(-c^2*d*x^2+d)^(1/2)/(-c^2*x^2+1)^(1/2
)+2/25*b*c^3*d*g*x^5*(a+b*arcsin(c*x))*(-c^2*d*x^2+d)^(1/2)/(-c^2*x^2+1)^(1/2)+1/8*d*f*(a+b*arcsin(c*x))^3*(-c
^2*d*x^2+d)^(1/2)/b/c/(-c^2*x^2+1)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.46, antiderivative size = 621, normalized size of antiderivative = 1.00, number of steps used = 19, number of rules used = 15, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.484, Rules used = {4861, 4847, 4743, 4741, 4737, 4723, 327, 222, 4767, 201, 200, 4739, 12, 1261, 712} \begin {gather*} -\frac {3 b c d f x^2 \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))}{8 \sqrt {1-c^2 x^2}}+\frac {3}{8} d f x \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^2+\frac {1}{4} d f x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^2+\frac {d f \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^3}{8 b c \sqrt {1-c^2 x^2}}+\frac {b d f \left (1-c^2 x^2\right )^{3/2} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))}{8 c}+\frac {2 b d g x \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))}{5 c \sqrt {1-c^2 x^2}}-\frac {d g \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^2}{5 c^2}-\frac {4 b c d g x^3 \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))}{15 \sqrt {1-c^2 x^2}}+\frac {2 b c^3 d g x^5 \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))}{25 \sqrt {1-c^2 x^2}}+\frac {9 b^2 d f \text {ArcSin}(c x) \sqrt {d-c^2 d x^2}}{64 c \sqrt {1-c^2 x^2}}-\frac {15}{64} b^2 d f x \sqrt {d-c^2 d x^2}-\frac {1}{32} b^2 d f x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}+\frac {2 b^2 d g \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2}}{125 c^2}+\frac {16 b^2 d g \sqrt {d-c^2 d x^2}}{75 c^2}+\frac {8 b^2 d g \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}}{225 c^2} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

(16*b^2*d*g*Sqrt[d - c^2*d*x^2])/(75*c^2) - (15*b^2*d*f*x*Sqrt[d - c^2*d*x^2])/64 + (8*b^2*d*g*(1 - c^2*x^2)*S
qrt[d - c^2*d*x^2])/(225*c^2) - (b^2*d*f*x*(1 - c^2*x^2)*Sqrt[d - c^2*d*x^2])/32 + (2*b^2*d*g*(1 - c^2*x^2)^2*
Sqrt[d - c^2*d*x^2])/(125*c^2) + (9*b^2*d*f*Sqrt[d - c^2*d*x^2]*ArcSin[c*x])/(64*c*Sqrt[1 - c^2*x^2]) + (2*b*d
*g*x*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x]))/(5*c*Sqrt[1 - c^2*x^2]) - (3*b*c*d*f*x^2*Sqrt[d - c^2*d*x^2]*(a
+ b*ArcSin[c*x]))/(8*Sqrt[1 - c^2*x^2]) - (4*b*c*d*g*x^3*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x]))/(15*Sqrt[1 -
 c^2*x^2]) + (2*b*c^3*d*g*x^5*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x]))/(25*Sqrt[1 - c^2*x^2]) + (b*d*f*(1 - c^
2*x^2)^(3/2)*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x]))/(8*c) + (3*d*f*x*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x])
^2)/8 + (d*f*x*(1 - c^2*x^2)*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x])^2)/4 - (d*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*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x])^3)/(8*b*c*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 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 201

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 222

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 327

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 712

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 1261

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 4723

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 4737

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

Rule 4739

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 4741

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

Rule 4743

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/(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*ArcS
in[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 4767

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/(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*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 4847

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 4861

Int[((a_.) + ArcSin[(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*ArcSin[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*} \int (f+g x) \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) \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 \left (1-c^2 x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2+g x \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 \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 (d 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 {1}{4} d f 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 {d 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 \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 \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 (2 b d 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 {2 b d 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 g x^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{15 \sqrt {1-c^2 x^2}}+\frac {2 b c^3 d 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 {b d f \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 x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {1}{4} d f 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 {d 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 \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 \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 \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 (2 b^2 d 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 {1}{32} b^2 d f x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}+\frac {2 b d 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 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 g x^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{15 \sqrt {1-c^2 x^2}}+\frac {2 b c^3 d 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 {b d f \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 x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {1}{4} d f 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 {d 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 \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 \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 \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 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}{75 \sqrt {1-c^2 x^2}}\\ &=-\frac {15}{64} b^2 d f x \sqrt {d-c^2 d x^2}-\frac {1}{32} b^2 d f x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}+\frac {2 b d 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 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 g x^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{15 \sqrt {1-c^2 x^2}}+\frac {2 b c^3 d 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 {b d f \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 x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {1}{4} d f 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 {d 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 \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 \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 \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 g \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int \frac {15-10 c^2 x+3 c^4 x^2}{\sqrt {1-c^2 x}} \, dx,x,x^2\right )}{75 \sqrt {1-c^2 x^2}}\\ &=-\frac {15}{64} b^2 d f x \sqrt {d-c^2 d x^2}-\frac {1}{32} b^2 d f x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}+\frac {9 b^2 d f \sqrt {d-c^2 d x^2} \sin ^{-1}(c x)}{64 c \sqrt {1-c^2 x^2}}+\frac {2 b d 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 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 g x^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{15 \sqrt {1-c^2 x^2}}+\frac {2 b c^3 d 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 {b d f \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 x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {1}{4} d f 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 {d 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 \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 (b^2 d g \sqrt {d-c^2 d x^2}\right ) \text {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 )}{75 \sqrt {1-c^2 x^2}}\\ &=\frac {16 b^2 d g \sqrt {d-c^2 d x^2}}{75 c^2}-\frac {15}{64} b^2 d f x \sqrt {d-c^2 d x^2}+\frac {8 b^2 d g \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}}{225 c^2}-\frac {1}{32} b^2 d f x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}+\frac {2 b^2 d g \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2}}{125 c^2}+\frac {9 b^2 d f \sqrt {d-c^2 d x^2} \sin ^{-1}(c x)}{64 c \sqrt {1-c^2 x^2}}+\frac {2 b d 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 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 g x^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{15 \sqrt {1-c^2 x^2}}+\frac {2 b c^3 d 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 {b d f \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 x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {1}{4} d f 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 {d 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 \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}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.45, size = 395, normalized size = 0.64 \begin {gather*} \frac {d \sqrt {d-c^2 d x^2} \left (9000 a^3 c f-1800 a^2 b \sqrt {1-c^2 x^2} \left (8 g \left (-1+c^2 x^2\right )^2+5 c^2 f x \left (-5+2 c^2 x^2\right )\right )+120 a b^2 c x \left (75 c^2 f x \left (-5+c^2 x^2\right )+16 g \left (15-10 c^2 x^2+3 c^4 x^4\right )\right )+b^3 \sqrt {1-c^2 x^2} \left (1125 c^2 f x \left (-17+2 c^2 x^2\right )+128 g \left (149-38 c^2 x^2+9 c^4 x^4\right )\right )+15 b \left (1800 a^2 c f-240 a b \sqrt {1-c^2 x^2} \left (8 g \left (-1+c^2 x^2\right )^2+5 c^2 f x \left (-5+2 c^2 x^2\right )\right )+b^2 c \left (128 g x \left (15-10 c^2 x^2+3 c^4 x^4\right )+75 f \left (17-40 c^2 x^2+8 c^4 x^4\right )\right )\right ) \text {ArcSin}(c x)+1800 b^2 \left (15 a c f+b \sqrt {1-c^2 x^2} \left (5 c^2 f x \left (5-2 c^2 x^2\right )-8 g \left (-1+c^2 x^2\right )^2\right )\right ) \text {ArcSin}(c x)^2+9000 b^3 c f \text {ArcSin}(c x)^3\right )}{72000 b c^2 \sqrt {1-c^2 x^2}} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

(d*Sqrt[d - c^2*d*x^2]*(9000*a^3*c*f - 1800*a^2*b*Sqrt[1 - c^2*x^2]*(8*g*(-1 + c^2*x^2)^2 + 5*c^2*f*x*(-5 + 2*
c^2*x^2)) + 120*a*b^2*c*x*(75*c^2*f*x*(-5 + c^2*x^2) + 16*g*(15 - 10*c^2*x^2 + 3*c^4*x^4)) + b^3*Sqrt[1 - c^2*
x^2]*(1125*c^2*f*x*(-17 + 2*c^2*x^2) + 128*g*(149 - 38*c^2*x^2 + 9*c^4*x^4)) + 15*b*(1800*a^2*c*f - 240*a*b*Sq
rt[1 - c^2*x^2]*(8*g*(-1 + c^2*x^2)^2 + 5*c^2*f*x*(-5 + 2*c^2*x^2)) + b^2*c*(128*g*x*(15 - 10*c^2*x^2 + 3*c^4*
x^4) + 75*f*(17 - 40*c^2*x^2 + 8*c^4*x^4)))*ArcSin[c*x] + 1800*b^2*(15*a*c*f + b*Sqrt[1 - c^2*x^2]*(5*c^2*f*x*
(5 - 2*c^2*x^2) - 8*g*(-1 + c^2*x^2)^2))*ArcSin[c*x]^2 + 9000*b^3*c*f*ArcSin[c*x]^3))/(72000*b*c^2*Sqrt[1 - c^
2*x^2])

________________________________________________________________________________________

Maple [C] Result contains complex when optimal does not.
time = 0.51, size = 2021, normalized size = 3.25

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-1/5*a^2*g/c^2/d*(-c^2*d*x^2+d)^(5/2)+1/4*a^2*f*x*(-c^2*d*x^2+d)^(3/2)+3/8*a^2*f*d*x*(-c^2*d*x^2+d)^(1/2)+3/8*
a^2*f*d^2/(c^2*d)^(1/2)*arctan((c^2*d)^(1/2)*x/(-c^2*d*x^2+d)^(1/2))+b^2*(-1/8*(-d*(c^2*x^2-1))^(1/2)*(-c^2*x^
2+1)^(1/2)/c/(c^2*x^2-1)*arcsin(c*x)^3*f*d-1/4000*(-d*(c^2*x^2-1))^(1/2)*(16*c^6*x^6-28*c^4*x^4-16*I*(-c^2*x^2
+1)^(1/2)*x^5*c^5+13*c^2*x^2+20*I*(-c^2*x^2+1)^(1/2)*x^3*c^3-5*I*(-c^2*x^2+1)^(1/2)*x*c-1)*g*(25*arcsin(c*x)^2
+10*I*arcsin(c*x)-2)*d/c^2/(c^2*x^2-1)-1/512*(-d*(c^2*x^2-1))^(1/2)*(-8*I*(-c^2*x^2+1)^(1/2)*x^4*c^4+8*c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*x*c-5*c^2*x^2+1)*g*(-I+3*arcsin(c*x))*d/c^2/(
c^2*x^2-1)-1/1200*(-d*(c^2*x^2-1))^(1/2)*(I*(-c^2*x^2+1)^(1/2)*x*c+c^2*x^2-1)*g*(11*I+45*arcsin(c*x))*cos(4*ar
csin(c*x))*d/c^2/(c^2*x^2-1)-1/600*(-d*(c^2*x^2-1))^(1/2)*(I*x^2*c^2-c*x*(-c^2*x^2+1)^(1/2)-I)*g*(7*I+15*arcsi
n(c*x))*sin(4*arcsin(c*x))*d/c^2/(c^2*x^2-1)-1/256*(-d*(c^2*x^2-1))^(1/2)*(I*x^2*c^2-c*x*(-c^2*x^2+1)^(1/2)-I)
*f*(17*I+28*arcsin(c*x))*cos(3*arcsin(c*x))*d/c/(c^2*x^2-1)+3/256*(-d*(c^2*x^2-1))^(1/2)*(I*(-c^2*x^2+1)^(1/2)
*x*c+c^2*x^2-1)*f*(5*I+12*arcsin(c*x))*sin(3*arcsin(c*x))*d/c/(c^2*x^2-1))

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g*x+f)*(-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 - 1/5*(-c^2*d*x^
2 + d)^(5/2)*a^2*g/(c^2*d) + sqrt(d)*integrate(-((b^2*c^2*d*g*x^3 + b^2*c^2*d*f*x^2 - b^2*d*g*x - b^2*d*f)*arc
tan2(c*x, sqrt(c*x + 1)*sqrt(-c*x + 1))^2 + 2*(a*b*c^2*d*g*x^3 + a*b*c^2*d*f*x^2 - a*b*d*g*x - a*b*d*f)*arctan
2(c*x, sqrt(c*x + 1)*sqrt(-c*x + 1)))*sqrt(c*x + 1)*sqrt(-c*x + 1), x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \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 )\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g*x+f)*(-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), x)

________________________________________________________________________________________

Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: RuntimeError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g*x+f)*(-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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________