Integrand size = 10, antiderivative size = 47 \[ \int \arcsin \left (\frac {c}{a+b x}\right ) \, dx=\frac {(a+b x) \csc ^{-1}\left (\frac {a}{c}+\frac {b x}{c}\right )}{b}+\frac {c \text {arctanh}\left (\sqrt {1-\frac {c^2}{(a+b x)^2}}\right )}{b} \]
[Out]
Time = 0.02 (sec) , antiderivative size = 47, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.600, Rules used = {4916, 5359, 379, 272, 65, 212} \[ \int \arcsin \left (\frac {c}{a+b x}\right ) \, dx=\frac {c \text {arctanh}\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} \]
[In]
[Out]
Rule 65
Rule 212
Rule 272
Rule 379
Rule 4916
Rule 5359
Rubi steps \begin{align*} \text {integral}& = \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 \text {arctanh}\left (\sqrt {1-\frac {c^2}{(a+b x)^2}}\right )}{b} \\ \end{align*}
Leaf count is larger than twice the leaf count of optimal. \(529\) vs. \(2(47)=94\).
Time = 2.78 (sec) , antiderivative size = 529, normalized size of antiderivative = 11.26 \[ \int \arcsin \left (\frac {c}{a+b x}\right ) \, dx=x \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 (\left (-c+\sqrt {-a^2+c^2}\right ) \sqrt {-a^2+2 c \left (c+\sqrt {-a^2+c^2}\right )} \arctan \left (\frac {b \sqrt {-a^2+2 c \left (c+\sqrt {-a^2+c^2}\right )} x}{a \left (\sqrt {a^2-c^2}-\sqrt {a^2-c^2+2 a b x+b^2 x^2}\right )}\right )+\left (c+\sqrt {-a^2+c^2}\right ) \sqrt {a^2+2 c \left (-c+\sqrt {-a^2+c^2}\right )} \text {arctanh}\left (\frac {b \sqrt {a^2-2 c^2+2 c \sqrt {-a^2+c^2}} x}{a \sqrt {a^2-c^2}-a \sqrt {a^2-c^2+2 a b x+b^2 x^2}}\right )+a \left (a \arctan \left (\frac {b^2 c \sqrt {a^2-c^2} x^2}{a^4+a^3 b x+b^2 c^2 x^2-a^2 \left (c^2+\sqrt {a^2-c^2} \sqrt {a^2-c^2+2 a b x+b^2 x^2}\right )}\right )+c \left (-\log \left (\sqrt {a^2-c^2}-b x-\sqrt {a^2-c^2+2 a b x+b^2 x^2}\right )+\log \left (b^2 \left (\sqrt {a^2-c^2}+b x-\sqrt {a^2-c^2+2 a b x+b^2 x^2}\right )\right )\right )\right )\right )}{a b \sqrt {a^2-c^2+2 a b x+b^2 x^2}} \]
[In]
[Out]
Time = 0.59 (sec) , antiderivative size = 47, normalized size of antiderivative = 1.00
method | result | size |
derivativedivides | \(-\frac {c \left (-\frac {\left (b x +a \right ) \arcsin \left (\frac {c}{b x +a}\right )}{c}-\operatorname {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}-\operatorname {arctanh}\left (\frac {1}{\sqrt {1-\frac {c^{2}}{\left (b x +a \right )^{2}}}}\right )\right )}{b}\) | \(47\) |
parts | \(x \arcsin \left (\frac {c}{b x +a}\right )+\frac {c \sqrt {b^{2} x^{2}+2 a b x +a^{2}-c^{2}}\, \left (a \ln \left (\frac {2 \left (\sqrt {-c^{2}}\, \sqrt {b^{2} x^{2}+2 a b x +a^{2}-c^{2}}-c^{2}\right ) b}{b x +a}\right ) \sqrt {b^{2}}+\ln \left (\frac {b^{2} x +\sqrt {b^{2} x^{2}+2 a b x +a^{2}-c^{2}}\, \sqrt {b^{2}}+a b}{\sqrt {b^{2}}}\right ) b \sqrt {-c^{2}}\right )}{b \sqrt {\frac {b^{2} x^{2}+2 a b x +a^{2}-c^{2}}{\left (b x +a \right )^{2}}}\, \left (b x +a \right ) \sqrt {b^{2}}\, \sqrt {-c^{2}}}\) | \(202\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 141 vs. \(2 (45) = 90\).
Time = 0.26 (sec) , antiderivative size = 141, normalized size of antiderivative = 3.00 \[ \int \arcsin \left (\frac {c}{a+b x}\right ) \, dx=\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} \]
[In]
[Out]
\[ \int \arcsin \left (\frac {c}{a+b x}\right ) \, dx=\int \operatorname {asin}{\left (\frac {c}{a + b x} \right )}\, dx \]
[In]
[Out]
\[ \int \arcsin \left (\frac {c}{a+b x}\right ) \, dx=\int { \arcsin \left (\frac {c}{b x + a}\right ) \,d x } \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 95 vs. \(2 (45) = 90\).
Time = 0.32 (sec) , antiderivative size = 95, normalized size of antiderivative = 2.02 \[ \int \arcsin \left (\frac {c}{a+b x}\right ) \, dx=\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} \]
[In]
[Out]
Time = 0.74 (sec) , antiderivative size = 42, normalized size of antiderivative = 0.89 \[ \int \arcsin \left (\frac {c}{a+b x}\right ) \, dx=\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} \]
[In]
[Out]