3.419 \(\int \sqrt {5+4 \cos (d+e x)+3 \sin (d+e x)} \, dx\)

Optimal. Leaf size=44 \[ -\frac {2 (3 \cos (d+e x)-4 \sin (d+e x))}{e \sqrt {3 \sin (d+e x)+4 \cos (d+e x)+5}} \]

[Out]

-2*(3*cos(e*x+d)-4*sin(e*x+d))/e/(5+4*cos(e*x+d)+3*sin(e*x+d))^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 44, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.045, Rules used = {3112} \[ -\frac {2 (3 \cos (d+e x)-4 \sin (d+e x))}{e \sqrt {3 \sin (d+e x)+4 \cos (d+e x)+5}} \]

Antiderivative was successfully verified.

[In]

Int[Sqrt[5 + 4*Cos[d + e*x] + 3*Sin[d + e*x]],x]

[Out]

(-2*(3*Cos[d + e*x] - 4*Sin[d + e*x]))/(e*Sqrt[5 + 4*Cos[d + e*x] + 3*Sin[d + e*x]])

Rule 3112

Int[Sqrt[cos[(d_.) + (e_.)*(x_)]*(b_.) + (a_) + (c_.)*sin[(d_.) + (e_.)*(x_)]], x_Symbol] :> Simp[(-2*(c*Cos[d
 + e*x] - b*Sin[d + e*x]))/(e*Sqrt[a + b*Cos[d + e*x] + c*Sin[d + e*x]]), x] /; FreeQ[{a, b, c, d, e}, x] && E
qQ[a^2 - b^2 - c^2, 0]

Rubi steps

\begin {align*} \int \sqrt {5+4 \cos (d+e x)+3 \sin (d+e x)} \, dx &=-\frac {2 (3 \cos (d+e x)-4 \sin (d+e x))}{e \sqrt {5+4 \cos (d+e x)+3 \sin (d+e x)}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.04, size = 75, normalized size = 1.70 \[ -\frac {2 \left (\cos \left (\frac {1}{2} (d+e x)\right )-3 \sin \left (\frac {1}{2} (d+e x)\right )\right ) \sqrt {3 \sin (d+e x)+4 \cos (d+e x)+5}}{e \left (\sin \left (\frac {1}{2} (d+e x)\right )+3 \cos \left (\frac {1}{2} (d+e x)\right )\right )} \]

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[5 + 4*Cos[d + e*x] + 3*Sin[d + e*x]],x]

[Out]

(-2*(Cos[(d + e*x)/2] - 3*Sin[(d + e*x)/2])*Sqrt[5 + 4*Cos[d + e*x] + 3*Sin[d + e*x]])/(e*(3*Cos[(d + e*x)/2]
+ Sin[(d + e*x)/2]))

________________________________________________________________________________________

fricas [A]  time = 1.84, size = 61, normalized size = 1.39 \[ -\frac {2 \, \sqrt {4 \, \cos \left (e x + d\right ) + 3 \, \sin \left (e x + d\right ) + 5} {\left (\cos \left (e x + d\right ) - 3 \, \sin \left (e x + d\right ) + 1\right )}}{3 \, e \cos \left (e x + d\right ) + e \sin \left (e x + d\right ) + 3 \, e} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((5+4*cos(e*x+d)+3*sin(e*x+d))^(1/2),x, algorithm="fricas")

[Out]

-2*sqrt(4*cos(e*x + d) + 3*sin(e*x + d) + 5)*(cos(e*x + d) - 3*sin(e*x + d) + 1)/(3*e*cos(e*x + d) + e*sin(e*x
 + d) + 3*e)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {4 \, \cos \left (e x + d\right ) + 3 \, \sin \left (e x + d\right ) + 5}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((5+4*cos(e*x+d)+3*sin(e*x+d))^(1/2),x, algorithm="giac")

[Out]

integrate(sqrt(4*cos(e*x + d) + 3*sin(e*x + d) + 5), x)

________________________________________________________________________________________

maple [A]  time = 0.30, size = 50, normalized size = 1.14 \[ \frac {10 \left (\sin \left (e x +d +\arctan \left (\frac {4}{3}\right )\right )-1\right ) \left (1+\sin \left (e x +d +\arctan \left (\frac {4}{3}\right )\right )\right )}{\cos \left (e x +d +\arctan \left (\frac {4}{3}\right )\right ) \sqrt {5+5 \sin \left (e x +d +\arctan \left (\frac {4}{3}\right )\right )}\, e} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((5+4*cos(e*x+d)+3*sin(e*x+d))^(1/2),x)

[Out]

10*(sin(e*x+d+arctan(4/3))-1)*(1+sin(e*x+d+arctan(4/3)))/cos(e*x+d+arctan(4/3))/(5+5*sin(e*x+d+arctan(4/3)))^(
1/2)/e

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {4 \, \cos \left (e x + d\right ) + 3 \, \sin \left (e x + d\right ) + 5}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((5+4*cos(e*x+d)+3*sin(e*x+d))^(1/2),x, algorithm="maxima")

[Out]

integrate(sqrt(4*cos(e*x + d) + 3*sin(e*x + d) + 5), x)

________________________________________________________________________________________

mupad [B]  time = 0.31, size = 39, normalized size = 0.89 \[ -\frac {2\,\sqrt {5}\,\left (3\,\cos \left (d+e\,x\right )-4\,\sin \left (d+e\,x\right )\right )}{5\,e\,\sqrt {\cos \left (d-\mathrm {atan}\left (\frac {3}{4}\right )+e\,x\right )+1}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((4*cos(d + e*x) + 3*sin(d + e*x) + 5)^(1/2),x)

[Out]

-(2*5^(1/2)*(3*cos(d + e*x) - 4*sin(d + e*x)))/(5*e*(cos(d - atan(3/4) + e*x) + 1)^(1/2))

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {3 \sin {\left (d + e x \right )} + 4 \cos {\left (d + e x \right )} + 5}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((5+4*cos(e*x+d)+3*sin(e*x+d))**(1/2),x)

[Out]

Integral(sqrt(3*sin(d + e*x) + 4*cos(d + e*x) + 5), x)

________________________________________________________________________________________