Optimal. Leaf size=366 \[ e^x+\frac {\text {ArcTan}\left (\frac {\sqrt {2-\sqrt {2}}-2 e^x}{\sqrt {2+\sqrt {2}}}\right )}{2 \sqrt {2 \left (2-\sqrt {2}\right )}}+\frac {\text {ArcTan}\left (\frac {\sqrt {2+\sqrt {2}}-2 e^x}{\sqrt {2-\sqrt {2}}}\right )}{2 \sqrt {2 \left (2+\sqrt {2}\right )}}-\frac {\text {ArcTan}\left (\frac {\sqrt {2-\sqrt {2}}+2 e^x}{\sqrt {2+\sqrt {2}}}\right )}{2 \sqrt {2 \left (2-\sqrt {2}\right )}}-\frac {\text {ArcTan}\left (\frac {\sqrt {2+\sqrt {2}}+2 e^x}{\sqrt {2-\sqrt {2}}}\right )}{2 \sqrt {2 \left (2+\sqrt {2}\right )}}+\frac {1}{8} \sqrt {2-\sqrt {2}} \log \left (1-\sqrt {2-\sqrt {2}} e^x+e^{2 x}\right )-\frac {1}{8} \sqrt {2-\sqrt {2}} \log \left (1+\sqrt {2-\sqrt {2}} e^x+e^{2 x}\right )+\frac {1}{8} \sqrt {2+\sqrt {2}} \log \left (1-\sqrt {2+\sqrt {2}} e^x+e^{2 x}\right )-\frac {1}{8} \sqrt {2+\sqrt {2}} \log \left (1+\sqrt {2+\sqrt {2}} e^x+e^{2 x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.17, antiderivative size = 366, normalized size of antiderivative = 1.00, number of steps
used = 21, number of rules used = 8, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 1.000, Rules used = {2320, 396, 219,
1183, 648, 632, 210, 642} \begin {gather*} \frac {\text {ArcTan}\left (\frac {\sqrt {2-\sqrt {2}}-2 e^x}{\sqrt {2+\sqrt {2}}}\right )}{2 \sqrt {2 \left (2-\sqrt {2}\right )}}+\frac {\text {ArcTan}\left (\frac {\sqrt {2+\sqrt {2}}-2 e^x}{\sqrt {2-\sqrt {2}}}\right )}{2 \sqrt {2 \left (2+\sqrt {2}\right )}}-\frac {\text {ArcTan}\left (\frac {2 e^x+\sqrt {2-\sqrt {2}}}{\sqrt {2+\sqrt {2}}}\right )}{2 \sqrt {2 \left (2-\sqrt {2}\right )}}-\frac {\text {ArcTan}\left (\frac {2 e^x+\sqrt {2+\sqrt {2}}}{\sqrt {2-\sqrt {2}}}\right )}{2 \sqrt {2 \left (2+\sqrt {2}\right )}}+e^x+\frac {1}{8} \sqrt {2-\sqrt {2}} \log \left (-\sqrt {2-\sqrt {2}} e^x+e^{2 x}+1\right )-\frac {1}{8} \sqrt {2-\sqrt {2}} \log \left (\sqrt {2-\sqrt {2}} e^x+e^{2 x}+1\right )+\frac {1}{8} \sqrt {2+\sqrt {2}} \log \left (-\sqrt {2+\sqrt {2}} e^x+e^{2 x}+1\right )-\frac {1}{8} \sqrt {2+\sqrt {2}} \log \left (\sqrt {2+\sqrt {2}} e^x+e^{2 x}+1\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 210
Rule 219
Rule 396
Rule 632
Rule 642
Rule 648
Rule 1183
Rule 2320
Rubi steps
\begin {align*} \int e^x \tanh (4 x) \, dx &=\text {Subst}\left (\int \frac {-1+x^8}{1+x^8} \, dx,x,e^x\right )\\ &=e^x-2 \text {Subst}\left (\int \frac {1}{1+x^8} \, dx,x,e^x\right )\\ &=e^x-\frac {\text {Subst}\left (\int \frac {\sqrt {2}-x^2}{1-\sqrt {2} x^2+x^4} \, dx,x,e^x\right )}{\sqrt {2}}-\frac {\text {Subst}\left (\int \frac {\sqrt {2}+x^2}{1+\sqrt {2} x^2+x^4} \, dx,x,e^x\right )}{\sqrt {2}}\\ &=e^x-\frac {\text {Subst}\left (\int \frac {\sqrt {2 \left (2-\sqrt {2}\right )}-\left (-1+\sqrt {2}\right ) x}{1-\sqrt {2-\sqrt {2}} x+x^2} \, dx,x,e^x\right )}{2 \sqrt {2 \left (2-\sqrt {2}\right )}}-\frac {\text {Subst}\left (\int \frac {\sqrt {2 \left (2-\sqrt {2}\right )}+\left (-1+\sqrt {2}\right ) x}{1+\sqrt {2-\sqrt {2}} x+x^2} \, dx,x,e^x\right )}{2 \sqrt {2 \left (2-\sqrt {2}\right )}}-\frac {\text {Subst}\left (\int \frac {\sqrt {2 \left (2+\sqrt {2}\right )}-\left (1+\sqrt {2}\right ) x}{1-\sqrt {2+\sqrt {2}} x+x^2} \, dx,x,e^x\right )}{2 \sqrt {2 \left (2+\sqrt {2}\right )}}-\frac {\text {Subst}\left (\int \frac {\sqrt {2 \left (2+\sqrt {2}\right )}+\left (1+\sqrt {2}\right ) x}{1+\sqrt {2+\sqrt {2}} x+x^2} \, dx,x,e^x\right )}{2 \sqrt {2 \left (2+\sqrt {2}\right )}}\\ &=e^x-\frac {1}{4} \sqrt {\frac {1}{2} \left (3-2 \sqrt {2}\right )} \text {Subst}\left (\int \frac {1}{1-\sqrt {2+\sqrt {2}} x+x^2} \, dx,x,e^x\right )-\frac {1}{4} \sqrt {\frac {1}{2} \left (3-2 \sqrt {2}\right )} \text {Subst}\left (\int \frac {1}{1+\sqrt {2+\sqrt {2}} x+x^2} \, dx,x,e^x\right )+\frac {1}{8} \sqrt {2-\sqrt {2}} \text {Subst}\left (\int \frac {-\sqrt {2-\sqrt {2}}+2 x}{1-\sqrt {2-\sqrt {2}} x+x^2} \, dx,x,e^x\right )-\frac {1}{8} \sqrt {2-\sqrt {2}} \text {Subst}\left (\int \frac {\sqrt {2-\sqrt {2}}+2 x}{1+\sqrt {2-\sqrt {2}} x+x^2} \, dx,x,e^x\right )+\frac {1}{8} \sqrt {2+\sqrt {2}} \text {Subst}\left (\int \frac {-\sqrt {2+\sqrt {2}}+2 x}{1-\sqrt {2+\sqrt {2}} x+x^2} \, dx,x,e^x\right )-\frac {1}{8} \sqrt {2+\sqrt {2}} \text {Subst}\left (\int \frac {\sqrt {2+\sqrt {2}}+2 x}{1+\sqrt {2+\sqrt {2}} x+x^2} \, dx,x,e^x\right )-\frac {1}{4} \sqrt {\frac {1}{2} \left (3+2 \sqrt {2}\right )} \text {Subst}\left (\int \frac {1}{1-\sqrt {2-\sqrt {2}} x+x^2} \, dx,x,e^x\right )-\frac {1}{4} \sqrt {\frac {1}{2} \left (3+2 \sqrt {2}\right )} \text {Subst}\left (\int \frac {1}{1+\sqrt {2-\sqrt {2}} x+x^2} \, dx,x,e^x\right )\\ &=e^x+\frac {1}{8} \sqrt {2-\sqrt {2}} \log \left (1-\sqrt {2-\sqrt {2}} e^x+e^{2 x}\right )-\frac {1}{8} \sqrt {2-\sqrt {2}} \log \left (1+\sqrt {2-\sqrt {2}} e^x+e^{2 x}\right )+\frac {1}{8} \sqrt {2+\sqrt {2}} \log \left (1-\sqrt {2+\sqrt {2}} e^x+e^{2 x}\right )-\frac {1}{8} \sqrt {2+\sqrt {2}} \log \left (1+\sqrt {2+\sqrt {2}} e^x+e^{2 x}\right )+\frac {1}{2} \sqrt {\frac {1}{2} \left (3-2 \sqrt {2}\right )} \text {Subst}\left (\int \frac {1}{-2+\sqrt {2}-x^2} \, dx,x,-\sqrt {2+\sqrt {2}}+2 e^x\right )+\frac {1}{2} \sqrt {\frac {1}{2} \left (3-2 \sqrt {2}\right )} \text {Subst}\left (\int \frac {1}{-2+\sqrt {2}-x^2} \, dx,x,\sqrt {2+\sqrt {2}}+2 e^x\right )+\frac {1}{2} \sqrt {\frac {1}{2} \left (3+2 \sqrt {2}\right )} \text {Subst}\left (\int \frac {1}{-2-\sqrt {2}-x^2} \, dx,x,-\sqrt {2-\sqrt {2}}+2 e^x\right )+\frac {1}{2} \sqrt {\frac {1}{2} \left (3+2 \sqrt {2}\right )} \text {Subst}\left (\int \frac {1}{-2-\sqrt {2}-x^2} \, dx,x,\sqrt {2-\sqrt {2}}+2 e^x\right )\\ &=e^x+\frac {1}{4} \sqrt {2+\sqrt {2}} \tan ^{-1}\left (\frac {\sqrt {2-\sqrt {2}}-2 e^x}{\sqrt {2+\sqrt {2}}}\right )+\frac {1}{4} \sqrt {2-\sqrt {2}} \tan ^{-1}\left (\frac {\sqrt {2+\sqrt {2}}-2 e^x}{\sqrt {2-\sqrt {2}}}\right )-\frac {1}{4} \sqrt {2+\sqrt {2}} \tan ^{-1}\left (\frac {\sqrt {2-\sqrt {2}}+2 e^x}{\sqrt {2+\sqrt {2}}}\right )-\frac {1}{4} \sqrt {2-\sqrt {2}} \tan ^{-1}\left (\frac {\sqrt {2+\sqrt {2}}+2 e^x}{\sqrt {2-\sqrt {2}}}\right )+\frac {1}{8} \sqrt {2-\sqrt {2}} \log \left (1-\sqrt {2-\sqrt {2}} e^x+e^{2 x}\right )-\frac {1}{8} \sqrt {2-\sqrt {2}} \log \left (1+\sqrt {2-\sqrt {2}} e^x+e^{2 x}\right )+\frac {1}{8} \sqrt {2+\sqrt {2}} \log \left (1-\sqrt {2+\sqrt {2}} e^x+e^{2 x}\right )-\frac {1}{8} \sqrt {2+\sqrt {2}} \log \left (1+\sqrt {2+\sqrt {2}} e^x+e^{2 x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 3 in
optimal.
time = 0.01, size = 24, normalized size = 0.07 \begin {gather*} e^x-2 e^x \, _2F_1\left (\frac {1}{8},1;\frac {9}{8};-e^{8 x}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
3.
time = 0.84, size = 24, normalized size = 0.07
method | result | size |
risch | \({\mathrm e}^{x}+\left (\munderset {\textit {\_R} =\RootOf \left (65536 \textit {\_Z}^{8}+1\right )}{\sum }\textit {\_R} \ln \left ({\mathrm e}^{x}-4 \textit {\_R} \right )\right )\) | \(24\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 1089 vs.
\(2 (253) = 506\).
time = 0.38, size = 1089, normalized size = 2.98 \begin {gather*} \frac {1}{8} \, {\left (\sqrt {2} \sqrt {\sqrt {2} + 2} + \sqrt {2} \sqrt {-\sqrt {2} + 2}\right )} \arctan \left (-\frac {2 \, \sqrt {2} e^{x} - \sqrt {2} \sqrt {2 \, \sqrt {2} \sqrt {\sqrt {2} + 2} e^{x} - 2 \, \sqrt {2} \sqrt {-\sqrt {2} + 2} e^{x} + 4 \, e^{\left (2 \, x\right )} + 4} + \sqrt {\sqrt {2} + 2} - \sqrt {-\sqrt {2} + 2}}{\sqrt {\sqrt {2} + 2} + \sqrt {-\sqrt {2} + 2}}\right ) + \frac {1}{8} \, {\left (\sqrt {2} \sqrt {\sqrt {2} + 2} + \sqrt {2} \sqrt {-\sqrt {2} + 2}\right )} \arctan \left (-\frac {2 \, \sqrt {2} e^{x} - \sqrt {2} \sqrt {-2 \, \sqrt {2} \sqrt {\sqrt {2} + 2} e^{x} + 2 \, \sqrt {2} \sqrt {-\sqrt {2} + 2} e^{x} + 4 \, e^{\left (2 \, x\right )} + 4} - \sqrt {\sqrt {2} + 2} + \sqrt {-\sqrt {2} + 2}}{\sqrt {\sqrt {2} + 2} + \sqrt {-\sqrt {2} + 2}}\right ) - \frac {1}{8} \, {\left (\sqrt {2} \sqrt {\sqrt {2} + 2} - \sqrt {2} \sqrt {-\sqrt {2} + 2}\right )} \arctan \left (\frac {2 \, \sqrt {2} e^{x} - \sqrt {2} \sqrt {2 \, \sqrt {2} \sqrt {\sqrt {2} + 2} e^{x} + 2 \, \sqrt {2} \sqrt {-\sqrt {2} + 2} e^{x} + 4 \, e^{\left (2 \, x\right )} + 4} + \sqrt {\sqrt {2} + 2} + \sqrt {-\sqrt {2} + 2}}{\sqrt {\sqrt {2} + 2} - \sqrt {-\sqrt {2} + 2}}\right ) - \frac {1}{8} \, {\left (\sqrt {2} \sqrt {\sqrt {2} + 2} - \sqrt {2} \sqrt {-\sqrt {2} + 2}\right )} \arctan \left (\frac {2 \, \sqrt {2} e^{x} - \sqrt {2} \sqrt {-2 \, \sqrt {2} \sqrt {\sqrt {2} + 2} e^{x} - 2 \, \sqrt {2} \sqrt {-\sqrt {2} + 2} e^{x} + 4 \, e^{\left (2 \, x\right )} + 4} - \sqrt {\sqrt {2} + 2} - \sqrt {-\sqrt {2} + 2}}{\sqrt {\sqrt {2} + 2} - \sqrt {-\sqrt {2} + 2}}\right ) - \frac {1}{32} \, {\left (\sqrt {2} \sqrt {\sqrt {2} + 2} + \sqrt {2} \sqrt {-\sqrt {2} + 2}\right )} \log \left (2 \, \sqrt {2} \sqrt {\sqrt {2} + 2} e^{x} + 2 \, \sqrt {2} \sqrt {-\sqrt {2} + 2} e^{x} + 4 \, e^{\left (2 \, x\right )} + 4\right ) - \frac {1}{32} \, {\left (\sqrt {2} \sqrt {\sqrt {2} + 2} - \sqrt {2} \sqrt {-\sqrt {2} + 2}\right )} \log \left (2 \, \sqrt {2} \sqrt {\sqrt {2} + 2} e^{x} - 2 \, \sqrt {2} \sqrt {-\sqrt {2} + 2} e^{x} + 4 \, e^{\left (2 \, x\right )} + 4\right ) + \frac {1}{32} \, {\left (\sqrt {2} \sqrt {\sqrt {2} + 2} - \sqrt {2} \sqrt {-\sqrt {2} + 2}\right )} \log \left (-2 \, \sqrt {2} \sqrt {\sqrt {2} + 2} e^{x} + 2 \, \sqrt {2} \sqrt {-\sqrt {2} + 2} e^{x} + 4 \, e^{\left (2 \, x\right )} + 4\right ) + \frac {1}{32} \, {\left (\sqrt {2} \sqrt {\sqrt {2} + 2} + \sqrt {2} \sqrt {-\sqrt {2} + 2}\right )} \log \left (-2 \, \sqrt {2} \sqrt {\sqrt {2} + 2} e^{x} - 2 \, \sqrt {2} \sqrt {-\sqrt {2} + 2} e^{x} + 4 \, e^{\left (2 \, x\right )} + 4\right ) + \frac {1}{4} \, \sqrt {-\sqrt {2} + 2} \arctan \left (\frac {2 \, \sqrt {\sqrt {\sqrt {2} + 2} e^{x} + e^{\left (2 \, x\right )} + 1} - \sqrt {\sqrt {2} + 2} - 2 \, e^{x}}{\sqrt {-\sqrt {2} + 2}}\right ) + \frac {1}{4} \, \sqrt {-\sqrt {2} + 2} \arctan \left (\frac {2 \, \sqrt {-\sqrt {\sqrt {2} + 2} e^{x} + e^{\left (2 \, x\right )} + 1} + \sqrt {\sqrt {2} + 2} - 2 \, e^{x}}{\sqrt {-\sqrt {2} + 2}}\right ) + \frac {1}{4} \, \sqrt {\sqrt {2} + 2} \arctan \left (\frac {2 \, \sqrt {\sqrt {-\sqrt {2} + 2} e^{x} + e^{\left (2 \, x\right )} + 1} - \sqrt {-\sqrt {2} + 2} - 2 \, e^{x}}{\sqrt {\sqrt {2} + 2}}\right ) + \frac {1}{4} \, \sqrt {\sqrt {2} + 2} \arctan \left (\frac {2 \, \sqrt {-\sqrt {-\sqrt {2} + 2} e^{x} + e^{\left (2 \, x\right )} + 1} + \sqrt {-\sqrt {2} + 2} - 2 \, e^{x}}{\sqrt {\sqrt {2} + 2}}\right ) - \frac {1}{16} \, \sqrt {\sqrt {2} + 2} \log \left (\sqrt {\sqrt {2} + 2} e^{x} + e^{\left (2 \, x\right )} + 1\right ) + \frac {1}{16} \, \sqrt {\sqrt {2} + 2} \log \left (-\sqrt {\sqrt {2} + 2} e^{x} + e^{\left (2 \, x\right )} + 1\right ) - \frac {1}{16} \, \sqrt {-\sqrt {2} + 2} \log \left (\sqrt {-\sqrt {2} + 2} e^{x} + e^{\left (2 \, x\right )} + 1\right ) + \frac {1}{16} \, \sqrt {-\sqrt {2} + 2} \log \left (-\sqrt {-\sqrt {2} + 2} e^{x} + e^{\left (2 \, x\right )} + 1\right ) + e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int e^{x} \tanh {\left (4 x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.42, size = 251, normalized size = 0.69 \begin {gather*} -\frac {1}{4} \, \sqrt {-\sqrt {2} + 2} \arctan \left (\frac {\sqrt {\sqrt {2} + 2} + 2 \, e^{x}}{\sqrt {-\sqrt {2} + 2}}\right ) - \frac {1}{4} \, \sqrt {-\sqrt {2} + 2} \arctan \left (-\frac {\sqrt {\sqrt {2} + 2} - 2 \, e^{x}}{\sqrt {-\sqrt {2} + 2}}\right ) - \frac {1}{4} \, \sqrt {\sqrt {2} + 2} \arctan \left (\frac {\sqrt {-\sqrt {2} + 2} + 2 \, e^{x}}{\sqrt {\sqrt {2} + 2}}\right ) - \frac {1}{4} \, \sqrt {\sqrt {2} + 2} \arctan \left (-\frac {\sqrt {-\sqrt {2} + 2} - 2 \, e^{x}}{\sqrt {\sqrt {2} + 2}}\right ) - \frac {1}{8} \, \sqrt {\sqrt {2} + 2} \log \left (\sqrt {\sqrt {2} + 2} e^{x} + e^{\left (2 \, x\right )} + 1\right ) + \frac {1}{8} \, \sqrt {\sqrt {2} + 2} \log \left (-\sqrt {\sqrt {2} + 2} e^{x} + e^{\left (2 \, x\right )} + 1\right ) - \frac {1}{8} \, \sqrt {-\sqrt {2} + 2} \log \left (\sqrt {-\sqrt {2} + 2} e^{x} + e^{\left (2 \, x\right )} + 1\right ) + \frac {1}{8} \, \sqrt {-\sqrt {2} + 2} \log \left (-\sqrt {-\sqrt {2} + 2} e^{x} + e^{\left (2 \, x\right )} + 1\right ) + e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.82, size = 457, normalized size = 1.25 \begin {gather*} {\mathrm {e}}^x-\ln \left (2\,{\mathrm {e}}^x+\sqrt {\sqrt {2}+2}+\sqrt {2-\sqrt {2}}\,1{}\mathrm {i}\right )\,\left (\frac {\sqrt {\sqrt {2}+2}}{8}+\frac {\sqrt {2-\sqrt {2}}\,1{}\mathrm {i}}{8}\right )+\ln \left (2\,{\mathrm {e}}^x+\sqrt {2-\sqrt {2}}-\sqrt {\sqrt {2}+2}\,1{}\mathrm {i}\right )\,\left (-\frac {\sqrt {2-\sqrt {2}}}{8}+\frac {\sqrt {\sqrt {2}+2}\,1{}\mathrm {i}}{8}\right )+\ln \left (2\,{\mathrm {e}}^x-\sqrt {\sqrt {2}+2}-\sqrt {2-\sqrt {2}}\,1{}\mathrm {i}\right )\,\left (\frac {\sqrt {\sqrt {2}+2}}{8}+\frac {\sqrt {2-\sqrt {2}}\,1{}\mathrm {i}}{8}\right )-\ln \left (2\,{\mathrm {e}}^x-\sqrt {2-\sqrt {2}}+\sqrt {\sqrt {2}+2}\,1{}\mathrm {i}\right )\,\left (-\frac {\sqrt {2-\sqrt {2}}}{8}+\frac {\sqrt {\sqrt {2}+2}\,1{}\mathrm {i}}{8}\right )+\sqrt {2}\,\ln \left (2\,{\mathrm {e}}^x+\sqrt {2}\,\left (\frac {\sqrt {\sqrt {2}+2}}{8}+\frac {\sqrt {2-\sqrt {2}}\,1{}\mathrm {i}}{8}\right )\,\left (-4-4{}\mathrm {i}\right )\right )\,\left (\frac {\sqrt {\sqrt {2}+2}}{8}+\frac {\sqrt {2-\sqrt {2}}\,1{}\mathrm {i}}{8}\right )\,\left (\frac {1}{2}+\frac {1}{2}{}\mathrm {i}\right )+\sqrt {2}\,\ln \left (2\,{\mathrm {e}}^x+\sqrt {2}\,\left (\frac {\sqrt {\sqrt {2}+2}}{8}+\frac {\sqrt {2-\sqrt {2}}\,1{}\mathrm {i}}{8}\right )\,\left (-4+4{}\mathrm {i}\right )\right )\,\left (\frac {\sqrt {\sqrt {2}+2}}{8}+\frac {\sqrt {2-\sqrt {2}}\,1{}\mathrm {i}}{8}\right )\,\left (\frac {1}{2}-\frac {1}{2}{}\mathrm {i}\right )+\sqrt {2}\,\ln \left (2\,{\mathrm {e}}^x+\sqrt {2}\,\left (\frac {\sqrt {\sqrt {2}+2}}{8}+\frac {\sqrt {2-\sqrt {2}}\,1{}\mathrm {i}}{8}\right )\,\left (4-4{}\mathrm {i}\right )\right )\,\left (\frac {\sqrt {\sqrt {2}+2}}{8}+\frac {\sqrt {2-\sqrt {2}}\,1{}\mathrm {i}}{8}\right )\,\left (-\frac {1}{2}+\frac {1}{2}{}\mathrm {i}\right )+\sqrt {2}\,\ln \left (2\,{\mathrm {e}}^x+\sqrt {2}\,\left (\frac {\sqrt {\sqrt {2}+2}}{8}+\frac {\sqrt {2-\sqrt {2}}\,1{}\mathrm {i}}{8}\right )\,\left (4+4{}\mathrm {i}\right )\right )\,\left (\frac {\sqrt {\sqrt {2}+2}}{8}+\frac {\sqrt {2-\sqrt {2}}\,1{}\mathrm {i}}{8}\right )\,\left (-\frac {1}{2}-\frac {1}{2}{}\mathrm {i}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________