\(\int \sqrt {1-x^2} \, dx\) [230]

Optimal result
Mathematica [A] (verified)
Rubi [A] (verified)
Maple [A] (verified)
Fricas [A] (verification not implemented)
Sympy [A] (verification not implemented)
Maxima [A] (verification not implemented)
Giac [A] (verification not implemented)
Mupad [B] (verification not implemented)
Reduce [B] (verification not implemented)

Optimal result

Integrand size = 11, antiderivative size = 23 \[ \int \sqrt {1-x^2} \, dx=\frac {1}{2} x \sqrt {1-x^2}+\frac {\arcsin (x)}{2} \] Output:

1/2*x*(-x^2+1)^(1/2)+1/2*arcsin(x)
 

Mathematica [A] (verified)

Time = 0.00 (sec) , antiderivative size = 37, normalized size of antiderivative = 1.61 \[ \int \sqrt {1-x^2} \, dx=\frac {1}{2} x \sqrt {1-x^2}-\arctan \left (\frac {\sqrt {1-x^2}}{1+x}\right ) \] Input:

Integrate[Sqrt[1 - x^2],x]
 

Output:

(x*Sqrt[1 - x^2])/2 - ArcTan[Sqrt[1 - x^2]/(1 + x)]
 

Rubi [A] (verified)

Time = 0.14 (sec) , antiderivative size = 23, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {211, 223}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int \sqrt {1-x^2} \, dx\)

\(\Big \downarrow \) 211

\(\displaystyle \frac {1}{2} \int \frac {1}{\sqrt {1-x^2}}dx+\frac {1}{2} \sqrt {1-x^2} x\)

\(\Big \downarrow \) 223

\(\displaystyle \frac {\arcsin (x)}{2}+\frac {1}{2} \sqrt {1-x^2} x\)

Input:

Int[Sqrt[1 - x^2],x]
 

Output:

(x*Sqrt[1 - x^2])/2 + ArcSin[x]/2
 

Defintions of rubi rules used

rule 211
Int[((a_) + (b_.)*(x_)^2)^(p_), x_Symbol] :> Simp[x*((a + b*x^2)^p/(2*p + 1 
)), x] + Simp[2*a*(p/(2*p + 1))   Int[(a + b*x^2)^(p - 1), x], x] /; FreeQ[ 
{a, b}, x] && GtQ[p, 0] && (IntegerQ[4*p] || IntegerQ[6*p])
 

rule 223
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]
 
Maple [A] (verified)

Time = 0.19 (sec) , antiderivative size = 18, normalized size of antiderivative = 0.78

method result size
default \(\frac {x \sqrt {-x^{2}+1}}{2}+\frac {\arcsin \left (x \right )}{2}\) \(18\)
risch \(-\frac {x \left (x^{2}-1\right )}{2 \sqrt {-x^{2}+1}}+\frac {\arcsin \left (x \right )}{2}\) \(23\)
pseudoelliptic \(\frac {x \sqrt {-x^{2}+1}}{2}-\frac {\arctan \left (\frac {\sqrt {-x^{2}+1}}{x}\right )}{2}\) \(30\)
meijerg \(\frac {i \left (-2 i \sqrt {\pi }\, x \sqrt {-x^{2}+1}-2 i \sqrt {\pi }\, \arcsin \left (x \right )\right )}{4 \sqrt {\pi }}\) \(32\)
trager \(\frac {x \sqrt {-x^{2}+1}}{2}+\frac {\operatorname {RootOf}\left (\textit {\_Z}^{2}+1\right ) \ln \left (\operatorname {RootOf}\left (\textit {\_Z}^{2}+1\right ) \sqrt {-x^{2}+1}+x \right )}{2}\) \(41\)

Input:

int((-x^2+1)^(1/2),x,method=_RETURNVERBOSE)
 

Output:

1/2*x*(-x^2+1)^(1/2)+1/2*arcsin(x)
 

Fricas [A] (verification not implemented)

Time = 0.10 (sec) , antiderivative size = 31, normalized size of antiderivative = 1.35 \[ \int \sqrt {1-x^2} \, dx=\frac {1}{2} \, \sqrt {-x^{2} + 1} x - \arctan \left (\frac {\sqrt {-x^{2} + 1} - 1}{x}\right ) \] Input:

integrate((-x^2+1)^(1/2),x, algorithm="fricas")
 

Output:

1/2*sqrt(-x^2 + 1)*x - arctan((sqrt(-x^2 + 1) - 1)/x)
 

Sympy [A] (verification not implemented)

Time = 0.10 (sec) , antiderivative size = 15, normalized size of antiderivative = 0.65 \[ \int \sqrt {1-x^2} \, dx=\frac {x \sqrt {1 - x^{2}}}{2} + \frac {\operatorname {asin}{\left (x \right )}}{2} \] Input:

integrate((-x**2+1)**(1/2),x)
                                                                                    
                                                                                    
 

Output:

x*sqrt(1 - x**2)/2 + asin(x)/2
 

Maxima [A] (verification not implemented)

Time = 0.13 (sec) , antiderivative size = 17, normalized size of antiderivative = 0.74 \[ \int \sqrt {1-x^2} \, dx=\frac {1}{2} \, \sqrt {-x^{2} + 1} x + \frac {1}{2} \, \arcsin \left (x\right ) \] Input:

integrate((-x^2+1)^(1/2),x, algorithm="maxima")
 

Output:

1/2*sqrt(-x^2 + 1)*x + 1/2*arcsin(x)
 

Giac [A] (verification not implemented)

Time = 0.12 (sec) , antiderivative size = 17, normalized size of antiderivative = 0.74 \[ \int \sqrt {1-x^2} \, dx=\frac {1}{2} \, \sqrt {-x^{2} + 1} x + \frac {1}{2} \, \arcsin \left (x\right ) \] Input:

integrate((-x^2+1)^(1/2),x, algorithm="giac")
 

Output:

1/2*sqrt(-x^2 + 1)*x + 1/2*arcsin(x)
 

Mupad [B] (verification not implemented)

Time = 0.00 (sec) , antiderivative size = 17, normalized size of antiderivative = 0.74 \[ \int \sqrt {1-x^2} \, dx=\frac {\mathrm {asin}\left (x\right )}{2}+\frac {x\,\sqrt {1-x^2}}{2} \] Input:

int((1 - x^2)^(1/2),x)
 

Output:

asin(x)/2 + (x*(1 - x^2)^(1/2))/2
 

Reduce [B] (verification not implemented)

Time = 0.24 (sec) , antiderivative size = 16, normalized size of antiderivative = 0.70 \[ \int \sqrt {1-x^2} \, dx=\frac {\mathit {asin} \left (x \right )}{2}+\frac {\sqrt {-x^{2}+1}\, x}{2} \] Input:

int((-x^2+1)^(1/2),x)
 

Output:

(asin(x) + sqrt( - x**2 + 1)*x)/2