3.134 \(\int \frac{\frac{a B}{b}+B \sinh (x)}{a+b \sinh (x)} \, dx\)

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

[Out]

(B*x)/b

________________________________________________________________________________________

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

Antiderivative was successfully verified.

[In]

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

[Out]

(B*x)/b

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])

Rule 8

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

Rubi steps

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

Mathematica [A]  time = 0.0004363, size = 6, normalized size = 1. \[ \frac{B x}{b} \]

Antiderivative was successfully verified.

[In]

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

[Out]

(B*x)/b

________________________________________________________________________________________

Maple [A]  time = 0.002, size = 7, normalized size = 1.2 \begin{align*}{\frac{Bx}{b}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

B*x/b

________________________________________________________________________________________

Maxima [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

Exception raised: ValueError

________________________________________________________________________________________

Fricas [A]  time = 1.71968, size = 9, normalized size = 1.5 \begin{align*} \frac{B x}{b} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

B*x/b

________________________________________________________________________________________

Sympy [A]  time = 0.437974, size = 3, normalized size = 0.5 \begin{align*} \frac{B x}{b} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

B*x/b

________________________________________________________________________________________

Giac [A]  time = 1.16328, size = 8, normalized size = 1.33 \begin{align*} \frac{B x}{b} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

B*x/b