3.115 \(\int \frac {\frac {a B}{b}+B \cosh (x)}{a+b \cosh (x)} \, dx\)

Optimal. Leaf size=6 \[ \frac {B x}{b} \]

[Out]

B*x/b

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 6, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {21, 8} \[ \frac {B x}{b} \]

Antiderivative was successfully verified.

[In]

Int[((a*B)/b + B*Cosh[x])/(a + b*Cosh[x]),x]

[Out]

(B*x)/b

Rule 8

Int[a_, x_Symbol] :> Simp[a*x, x] /; FreeQ[a, x]

Rule 21

Int[(u_.)*((a_) + (b_.)*(v_))^(m_.)*((c_) + (d_.)*(v_))^(n_.), x_Symbol] :> Dist[(b/d)^m, Int[u*(c + d*v)^(m +
 n), x], x] /; FreeQ[{a, b, c, d, n}, x] && EqQ[b*c - a*d, 0] && IntegerQ[m] && ( !IntegerQ[n] || SimplerQ[c +
 d*x, a + b*x])

Rubi steps

\begin {align*} \int \frac {\frac {a B}{b}+B \cosh (x)}{a+b \cosh (x)} \, dx &=\frac {B \int 1 \, dx}{b}\\ &=\frac {B x}{b}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 6, normalized size = 1.00 \[ \frac {B x}{b} \]

Antiderivative was successfully verified.

[In]

Integrate[((a*B)/b + B*Cosh[x])/(a + b*Cosh[x]),x]

[Out]

(B*x)/b

________________________________________________________________________________________

fricas [A]  time = 0.70, size = 6, normalized size = 1.00 \[ \frac {B x}{b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*B/b+B*cosh(x))/(a+b*cosh(x)),x, algorithm="fricas")

[Out]

B*x/b

________________________________________________________________________________________

giac [A]  time = 0.12, size = 6, normalized size = 1.00 \[ \frac {B x}{b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*B/b+B*cosh(x))/(a+b*cosh(x)),x, algorithm="giac")

[Out]

B*x/b

________________________________________________________________________________________

maple [A]  time = 0.01, size = 7, normalized size = 1.17 \[ \frac {B x}{b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a*B/b+B*cosh(x))/(a+b*cosh(x)),x)

[Out]

B*x/b

________________________________________________________________________________________

maxima [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: ValueError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*B/b+B*cosh(x))/(a+b*cosh(x)),x, algorithm="maxima")

[Out]

Exception raised: ValueError >> Computation failed since Maxima requested additional constraints; using the 'a
ssume' command before evaluation *may* help (example of legal syntax is 'assume(4*a^2-4*b^2>0)', see `assume?`
 for more details)Is 4*a^2-4*b^2 positive or negative?

________________________________________________________________________________________

mupad [B]  time = 0.02, size = 6, normalized size = 1.00 \[ \frac {B\,x}{b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((B*cosh(x) + (B*a)/b)/(a + b*cosh(x)),x)

[Out]

(B*x)/b

________________________________________________________________________________________

sympy [A]  time = 0.30, size = 3, normalized size = 0.50 \[ \frac {B x}{b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*B/b+B*cosh(x))/(a+b*cosh(x)),x)

[Out]

B*x/b

________________________________________________________________________________________