\(\int e^x \sqrt {1+e^{2 x}} \, dx\) [661]

   Optimal result
   Rubi [A] (verified)
   Mathematica [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)

Optimal result

Integrand size = 15, antiderivative size = 27 \[ \int e^x \sqrt {1+e^{2 x}} \, dx=\frac {1}{2} e^x \sqrt {1+e^{2 x}}+\frac {\text {arcsinh}\left (e^x\right )}{2} \]

[Out]

1/2*arcsinh(exp(x))+1/2*exp(x)*(1+exp(2*x))^(1/2)

Rubi [A] (verified)

Time = 0.01 (sec) , antiderivative size = 27, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {2281, 201, 221} \[ \int e^x \sqrt {1+e^{2 x}} \, dx=\frac {\text {arcsinh}\left (e^x\right )}{2}+\frac {1}{2} e^x \sqrt {e^{2 x}+1} \]

[In]

Int[E^x*Sqrt[1 + E^(2*x)],x]

[Out]

(E^x*Sqrt[1 + E^(2*x)])/2 + ArcSinh[E^x]/2

Rule 201

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[x*((a + b*x^n)^p/(n*p + 1)), x] + Dist[a*n*(p/(n*p + 1)),
 Int[(a + b*x^n)^(p - 1), x], x] /; FreeQ[{a, b}, x] && IGtQ[n, 0] && GtQ[p, 0] && (IntegerQ[2*p] || (EqQ[n, 2
] && IntegerQ[4*p]) || (EqQ[n, 2] && IntegerQ[3*p]) || LtQ[Denominator[p + 1/n], Denominator[p]])

Rule 221

Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Simp[ArcSinh[Rt[b, 2]*(x/Sqrt[a])]/Rt[b, 2], x] /; FreeQ[{a, b},
 x] && GtQ[a, 0] && PosQ[b]

Rule 2281

Int[((a_) + (b_.)*(F_)^((e_.)*((c_.) + (d_.)*(x_))))^(p_.)*(G_)^((h_.)*((f_.) + (g_.)*(x_))), x_Symbol] :> Wit
h[{m = FullSimplify[d*e*(Log[F]/(g*h*Log[G]))]}, Dist[Denominator[m]/(g*h*Log[G]), Subst[Int[x^(Denominator[m]
 - 1)*(a + b*F^(c*e - d*e*(f/g))*x^Numerator[m])^p, x], x, G^(h*((f + g*x)/Denominator[m]))], x] /; LtQ[m, -1]
 || GtQ[m, 1]] /; FreeQ[{F, G, a, b, c, d, e, f, g, h, p}, x]

Rubi steps \begin{align*} \text {integral}& = \text {Subst}\left (\int \sqrt {1+x^2} \, dx,x,e^x\right ) \\ & = \frac {1}{2} e^x \sqrt {1+e^{2 x}}+\frac {1}{2} \text {Subst}\left (\int \frac {1}{\sqrt {1+x^2}} \, dx,x,e^x\right ) \\ & = \frac {1}{2} e^x \sqrt {1+e^{2 x}}+\frac {1}{2} \sinh ^{-1}\left (e^x\right ) \\ \end{align*}

Mathematica [A] (verified)

Time = 0.03 (sec) , antiderivative size = 41, normalized size of antiderivative = 1.52 \[ \int e^x \sqrt {1+e^{2 x}} \, dx=\frac {1}{2} e^x \sqrt {1+e^{2 x}}-\frac {1}{2} \log \left (-e^x+\sqrt {1+e^{2 x}}\right ) \]

[In]

Integrate[E^x*Sqrt[1 + E^(2*x)],x]

[Out]

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

Maple [A] (verified)

Time = 0.03 (sec) , antiderivative size = 19, normalized size of antiderivative = 0.70

method result size
default \(\frac {\operatorname {arcsinh}\left ({\mathrm e}^{x}\right )}{2}+\frac {{\mathrm e}^{x} \sqrt {1+{\mathrm e}^{2 x}}}{2}\) \(19\)
risch \(\frac {\operatorname {arcsinh}\left ({\mathrm e}^{x}\right )}{2}+\frac {{\mathrm e}^{x} \sqrt {1+{\mathrm e}^{2 x}}}{2}\) \(19\)

[In]

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

[Out]

1/2*exp(x)*(1+exp(x)^2)^(1/2)+1/2*arcsinh(exp(x))

Fricas [A] (verification not implemented)

none

Time = 0.30 (sec) , antiderivative size = 29, normalized size of antiderivative = 1.07 \[ \int e^x \sqrt {1+e^{2 x}} \, dx=\frac {1}{2} \, \sqrt {e^{\left (2 \, x\right )} + 1} e^{x} - \frac {1}{2} \, \log \left (\sqrt {e^{\left (2 \, x\right )} + 1} - e^{x}\right ) \]

[In]

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

[Out]

1/2*sqrt(e^(2*x) + 1)*e^x - 1/2*log(sqrt(e^(2*x) + 1) - e^x)

Sympy [A] (verification not implemented)

Time = 0.28 (sec) , antiderivative size = 20, normalized size of antiderivative = 0.74 \[ \int e^x \sqrt {1+e^{2 x}} \, dx=\frac {\sqrt {e^{2 x} + 1} e^{x}}{2} + \frac {\operatorname {asinh}{\left (e^{x} \right )}}{2} \]

[In]

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

[Out]

sqrt(exp(2*x) + 1)*exp(x)/2 + asinh(exp(x))/2

Maxima [A] (verification not implemented)

none

Time = 0.28 (sec) , antiderivative size = 18, normalized size of antiderivative = 0.67 \[ \int e^x \sqrt {1+e^{2 x}} \, dx=\frac {1}{2} \, \sqrt {e^{\left (2 \, x\right )} + 1} e^{x} + \frac {1}{2} \, \operatorname {arsinh}\left (e^{x}\right ) \]

[In]

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

[Out]

1/2*sqrt(e^(2*x) + 1)*e^x + 1/2*arcsinh(e^x)

Giac [A] (verification not implemented)

none

Time = 0.32 (sec) , antiderivative size = 29, normalized size of antiderivative = 1.07 \[ \int e^x \sqrt {1+e^{2 x}} \, dx=\frac {1}{2} \, \sqrt {e^{\left (2 \, x\right )} + 1} e^{x} - \frac {1}{2} \, \log \left (\sqrt {e^{\left (2 \, x\right )} + 1} - e^{x}\right ) \]

[In]

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

[Out]

1/2*sqrt(e^(2*x) + 1)*e^x - 1/2*log(sqrt(e^(2*x) + 1) - e^x)

Mupad [B] (verification not implemented)

Time = 0.25 (sec) , antiderivative size = 18, normalized size of antiderivative = 0.67 \[ \int e^x \sqrt {1+e^{2 x}} \, dx=\frac {\mathrm {asinh}\left ({\mathrm {e}}^x\right )}{2}+\frac {{\mathrm {e}}^x\,\sqrt {{\mathrm {e}}^{2\,x}+1}}{2} \]

[In]

int(exp(x)*(exp(2*x) + 1)^(1/2),x)

[Out]

asinh(exp(x))/2 + (exp(x)*(exp(2*x) + 1)^(1/2))/2