3.1 \(\int \frac {1}{\sqrt {1-a x}} \, dx\)

Optimal. Leaf size=15 \[ -\frac {2 \sqrt {1-a x}}{a} \]

[Out]

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

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 15, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {32} \[ -\frac {2 \sqrt {1-a x}}{a} \]

Antiderivative was successfully verified.

[In]

Int[1/Sqrt[1 - a*x],x]

[Out]

(-2*Sqrt[1 - a*x])/a

Rule 32

Int[((a_.) + (b_.)*(x_))^(m_), x_Symbol] :> Simp[(a + b*x)^(m + 1)/(b*(m + 1)), x] /; FreeQ[{a, b, m}, x] && N
eQ[m, -1]

Rubi steps

\begin {align*} \int \frac {1}{\sqrt {1-a x}} \, dx &=-\frac {2 \sqrt {1-a x}}{a}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 15, normalized size = 1.00 \[ -\frac {2 \sqrt {1-a x}}{a} \]

Antiderivative was successfully verified.

[In]

Integrate[1/Sqrt[1 - a*x],x]

[Out]

(-2*Sqrt[1 - a*x])/a

________________________________________________________________________________________

fricas [A]  time = 0.84, size = 13, normalized size = 0.87 \[ -\frac {2 \, \sqrt {-a x + 1}}{a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

giac [A]  time = 0.91, size = 13, normalized size = 0.87 \[ -\frac {2 \, \sqrt {-a x + 1}}{a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maple [A]  time = 0.00, size = 14, normalized size = 0.93 \[ -\frac {2 \sqrt {-a x +1}}{a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maxima [A]  time = 0.51, size = 13, normalized size = 0.87 \[ -\frac {2 \, \sqrt {-a x + 1}}{a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

mupad [B]  time = 0.03, size = 13, normalized size = 0.87 \[ -\frac {2\,\sqrt {1-a\,x}}{a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-(2*(1 - a*x)^(1/2))/a

________________________________________________________________________________________

sympy [A]  time = 0.06, size = 12, normalized size = 0.80 \[ - \frac {2 \sqrt {- a x + 1}}{a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________