# A Seemingly Easy Indefinite Integral

So, I'm stuck with an integral. It asks- $$\int e^x \sec(x) dx$$

I tried integration by parts, tried substituting. Nothing worked. Wolframalpha gave me some peculiar stuff(something called 'Hypergeometric function') which I don't understand at all.

Any kind of help will be appreciated. Thank you.

• If Wolfram Alpha gives a hypergeometric function, presumably there is no elementary antiderivative. You can't integrate everything. Jan 4, 2020 at 18:37
• "seemingly" ??? The number of characters has no relation to the difficulty :-) Try $x^x$.
– user65203
Jan 4, 2020 at 20:04
• A hypergeometric $\phantom{}_2 F_1$ with complex parameters, hmm, such a joy! :D Jan 4, 2020 at 22:11