# $\int \tan(x^{2}) \mathrm{d}x$

I have tried to find the integral of $\tan(x^2)$ with respect to the independent variable $x$ but in vain. Substitution doesnt work,integration by parts doesnt work. I have tried expanding $\tan(x^2)$ using expansion formula for $\tan(x)$ and tried integrating term by term but only upto a certain no of terms. So does the integral $\tan(x^2)$ exist and if it exist is there no simple function representing it?

Unfortunately not all functions made of combinations of $\sin(\cdot)$, $\tan(\cdot)$, $\sqrt{\cdot}$ ... (elementary functions) can have a simple antiderivative, where the antiderivative is also an elementary function. It's also deceptively tricky to check or prove whether your function actually has an elementary antiderivative but it can be proven with the field of math known as Galois Theory. You can read more about the topic in this article on functions with no elementary antiderivative, which includes $\tan(x^2)$.
Antiderivatives of this type are called Nonelementary Antiderivatives and in fact not even $\sin(x^2)$ nor $\cos(x^2)$ have elementary antiderivatives (the solution is defined as the Fresnel Integral).
• @ShiksharthiSharma No problem. I once wasted loads of time trying to find $\int e^{\sin x}$ before I found out it can't be done :) – Jam Nov 17 '16 at 17:35