3.5.69 \(\int \text {ArcSin}(\frac {c}{a+b x}) \, dx\) [469]

Optimal. Leaf size=47 \[ \frac {(a+b x) \csc ^{-1}\left (\frac {a}{c}+\frac {b x}{c}\right )}{b}+\frac {c \tanh ^{-1}\left (\sqrt {1-\frac {c^2}{(a+b x)^2}}\right )}{b} \]

[Out]

(b*x+a)*arccsc(a/c+b*x/c)/b+c*arctanh((1-c^2/(b*x+a)^2)^(1/2))/b

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 47, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.600, Rules used = {4916, 5359, 379, 272, 65, 212} \begin {gather*} \frac {c \tanh ^{-1}\left (\sqrt {1-\frac {c^2}{(a+b x)^2}}\right )}{b}+\frac {(a+b x) \csc ^{-1}\left (\frac {a}{c}+\frac {b x}{c}\right )}{b} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[ArcSin[c/(a + b*x)],x]

[Out]

((a + b*x)*ArcCsc[a/c + (b*x)/c])/b + (c*ArcTanh[Sqrt[1 - c^2/(a + b*x)^2]])/b

Rule 65

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> With[{p = Denominator[m]}, Dist[p/b, Sub
st[Int[x^(p*(m + 1) - 1)*(c - a*(d/b) + d*(x^p/b))^n, x], x, (a + b*x)^(1/p)], x]] /; FreeQ[{a, b, c, d}, x] &
& NeQ[b*c - a*d, 0] && LtQ[-1, m, 0] && LeQ[-1, n, 0] && LeQ[Denominator[n], Denominator[m]] && IntLinearQ[a,
b, c, d, m, n, x]

Rule 212

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

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 379

Int[(u_)^(m_.)*((a_) + (b_.)*(v_)^(n_))^(p_.), x_Symbol] :> Dist[u^m/(Coefficient[v, x, 1]*v^m), Subst[Int[x^m
*(a + b*x^n)^p, x], x, v], x] /; FreeQ[{a, b, m, n, p}, x] && LinearPairQ[u, v, x]

Rule 4916

Int[ArcSin[(c_.)/((a_.) + (b_.)*(x_)^(n_.))]^(m_.)*(u_.), x_Symbol] :> Int[u*ArcCsc[a/c + b*(x^n/c)]^m, x] /;
FreeQ[{a, b, c, n, m}, x]

Rule 5359

Int[ArcCsc[(c_) + (d_.)*(x_)], x_Symbol] :> Simp[(c + d*x)*(ArcCsc[c + d*x]/d), x] + Int[1/((c + d*x)*Sqrt[1 -
 1/(c + d*x)^2]), x] /; FreeQ[{c, d}, x]

Rubi steps

\begin {align*} \int \sin ^{-1}\left (\frac {c}{a+b x}\right ) \, dx &=\int \csc ^{-1}\left (\frac {a}{c}+\frac {b x}{c}\right ) \, dx\\ &=\frac {(a+b x) \csc ^{-1}\left (\frac {a}{c}+\frac {b x}{c}\right )}{b}+\int \frac {1}{\left (\frac {a}{c}+\frac {b x}{c}\right ) \sqrt {1-\frac {1}{\left (\frac {a}{c}+\frac {b x}{c}\right )^2}}} \, dx\\ &=\frac {(a+b x) \csc ^{-1}\left (\frac {a}{c}+\frac {b x}{c}\right )}{b}+\frac {c \text {Subst}\left (\int \frac {1}{\sqrt {1-\frac {1}{x^2}} x} \, dx,x,\frac {a}{c}+\frac {b x}{c}\right )}{b}\\ &=\frac {(a+b x) \csc ^{-1}\left (\frac {a}{c}+\frac {b x}{c}\right )}{b}-\frac {c \text {Subst}\left (\int \frac {1}{\sqrt {1-x} x} \, dx,x,\frac {1}{\left (\frac {a}{c}+\frac {b x}{c}\right )^2}\right )}{2 b}\\ &=\frac {(a+b x) \csc ^{-1}\left (\frac {a}{c}+\frac {b x}{c}\right )}{b}+\frac {c \text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\sqrt {1-\frac {c^2}{(a+b x)^2}}\right )}{b}\\ &=\frac {(a+b x) \csc ^{-1}\left (\frac {a}{c}+\frac {b x}{c}\right )}{b}+\frac {c \tanh ^{-1}\left (\sqrt {1-\frac {c^2}{(a+b x)^2}}\right )}{b}\\ \end {align*}

________________________________________________________________________________________

Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(345\) vs. \(2(47)=94\).
time = 0.64, size = 345, normalized size = 7.34 \begin {gather*} x \text {ArcSin}\left (\frac {c}{a+b x}\right )+\frac {(a+b x) \sqrt {\frac {a^2-c^2+2 a b x+b^2 x^2}{(a+b x)^2}} \left (2 a \left (b+\sqrt {b^2}\right ) \text {ArcTan}\left (\frac {a+\sqrt {b^2} x-\sqrt {a^2-c^2+2 a b x+b^2 x^2}}{c}\right )+2 a \left (-b+\sqrt {b^2}\right ) \text {ArcTan}\left (\frac {a-\sqrt {b^2} x+\sqrt {a^2-c^2+2 a b x+b^2 x^2}}{c}\right )-c \left (\sqrt {b^2} \log \left (-a-\sqrt {b^2} x+\sqrt {a^2-c^2+2 a b x+b^2 x^2}\right )+\left (-b+\sqrt {b^2}\right ) \log \left (a-\sqrt {b^2} x+\sqrt {a^2-c^2+2 a b x+b^2 x^2}\right )+b \log \left (a b^2+\left (b^2\right )^{3/2} x-b^2 \sqrt {a^2-c^2+2 a b x+b^2 x^2}\right )\right )\right )}{2 b^2 \sqrt {a^2-c^2+2 a b x+b^2 x^2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[ArcSin[c/(a + b*x)],x]

[Out]

x*ArcSin[c/(a + b*x)] + ((a + b*x)*Sqrt[(a^2 - c^2 + 2*a*b*x + b^2*x^2)/(a + b*x)^2]*(2*a*(b + Sqrt[b^2])*ArcT
an[(a + Sqrt[b^2]*x - Sqrt[a^2 - c^2 + 2*a*b*x + b^2*x^2])/c] + 2*a*(-b + Sqrt[b^2])*ArcTan[(a - Sqrt[b^2]*x +
 Sqrt[a^2 - c^2 + 2*a*b*x + b^2*x^2])/c] - c*(Sqrt[b^2]*Log[-a - Sqrt[b^2]*x + Sqrt[a^2 - c^2 + 2*a*b*x + b^2*
x^2]] + (-b + Sqrt[b^2])*Log[a - Sqrt[b^2]*x + Sqrt[a^2 - c^2 + 2*a*b*x + b^2*x^2]] + b*Log[a*b^2 + (b^2)^(3/2
)*x - b^2*Sqrt[a^2 - c^2 + 2*a*b*x + b^2*x^2]])))/(2*b^2*Sqrt[a^2 - c^2 + 2*a*b*x + b^2*x^2])

________________________________________________________________________________________

Maple [A]
time = 0.23, size = 47, normalized size = 1.00

method result size
derivativedivides \(-\frac {c \left (-\frac {\left (b x +a \right ) \arcsin \left (\frac {c}{b x +a}\right )}{c}-\arctanh \left (\frac {1}{\sqrt {1-\frac {c^{2}}{\left (b x +a \right )^{2}}}}\right )\right )}{b}\) \(47\)
default \(-\frac {c \left (-\frac {\left (b x +a \right ) \arcsin \left (\frac {c}{b x +a}\right )}{c}-\arctanh \left (\frac {1}{\sqrt {1-\frac {c^{2}}{\left (b x +a \right )^{2}}}}\right )\right )}{b}\) \(47\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(arcsin(c/(b*x+a)),x,method=_RETURNVERBOSE)

[Out]

-1/b*c*(-1/c*(b*x+a)*arcsin(c/(b*x+a))-arctanh(1/(1-c^2/(b*x+a)^2)^(1/2)))

________________________________________________________________________________________

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(arcsin(c/(b*x+a)),x, algorithm="maxima")

[Out]

x*arctan2(c, sqrt(b*x + a + c)*sqrt(b*x + a - c)) + integrate((b^2*c*x^2 + a*b*c*x)*e^(1/2*log(b*x + a + c) +
1/2*log(b*x + a - c))/(b^2*c^2*x^2 + 2*a*b*c^2*x + a^2*c^2 - c^4 + (b^2*x^2 + 2*a*b*x + a^2 - c^2)*e^(log(b*x
+ a + c) + log(b*x + a - c))), x)

________________________________________________________________________________________

Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 141 vs. \(2 (45) = 90\).
time = 1.03, size = 141, normalized size = 3.00 \begin {gather*} \frac {b x \arcsin \left (\frac {c}{b x + a}\right ) - 2 \, a \arctan \left (-\frac {b x - {\left (b x + a\right )} \sqrt {\frac {b^{2} x^{2} + 2 \, a b x + a^{2} - c^{2}}{b^{2} x^{2} + 2 \, a b x + a^{2}}} + a}{c}\right ) - c \log \left (-b x + {\left (b x + a\right )} \sqrt {\frac {b^{2} x^{2} + 2 \, a b x + a^{2} - c^{2}}{b^{2} x^{2} + 2 \, a b x + a^{2}}} - a\right )}{b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arcsin(c/(b*x+a)),x, algorithm="fricas")

[Out]

(b*x*arcsin(c/(b*x + a)) - 2*a*arctan(-(b*x - (b*x + a)*sqrt((b^2*x^2 + 2*a*b*x + a^2 - c^2)/(b^2*x^2 + 2*a*b*
x + a^2)) + a)/c) - c*log(-b*x + (b*x + a)*sqrt((b^2*x^2 + 2*a*b*x + a^2 - c^2)/(b^2*x^2 + 2*a*b*x + a^2)) - a
))/b

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \operatorname {asin}{\left (\frac {c}{a + b x} \right )}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(asin(c/(b*x+a)),x)

[Out]

Integral(asin(c/(a + b*x)), x)

________________________________________________________________________________________

Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 95 vs. \(2 (45) = 90\).
time = 0.43, size = 95, normalized size = 2.02 \begin {gather*} \frac {b {\left (\frac {c^{2} {\left (\log \left (\sqrt {-\frac {c^{2}}{{\left (b x + a\right )}^{2}} + 1} + 1\right ) - \log \left (-\sqrt {-\frac {c^{2}}{{\left (b x + a\right )}^{2}} + 1} + 1\right )\right )}}{b^{2}} + \frac {2 \, {\left (b x + a\right )} c \arcsin \left (-\frac {c}{{\left (b x + a\right )} {\left (\frac {a}{b x + a} - 1\right )} - a}\right )}{b^{2}}\right )}}{2 \, c} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arcsin(c/(b*x+a)),x, algorithm="giac")

[Out]

1/2*b*(c^2*(log(sqrt(-c^2/(b*x + a)^2 + 1) + 1) - log(-sqrt(-c^2/(b*x + a)^2 + 1) + 1))/b^2 + 2*(b*x + a)*c*ar
csin(-c/((b*x + a)*(a/(b*x + a) - 1) - a))/b^2)/c

________________________________________________________________________________________

Mupad [B]
time = 0.67, size = 42, normalized size = 0.89 \begin {gather*} \frac {c\,\mathrm {atanh}\left (\frac {1}{\sqrt {1-\frac {c^2}{{\left (a+b\,x\right )}^2}}}\right )}{b}+\frac {\mathrm {asin}\left (\frac {c}{a+b\,x}\right )\,\left (a+b\,x\right )}{b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(asin(c/(a + b*x)),x)

[Out]

(c*atanh(1/(1 - c^2/(a + b*x)^2)^(1/2)))/b + (asin(c/(a + b*x))*(a + b*x))/b

________________________________________________________________________________________