What exactly is a Non Integrable function? How can they be solved?

"Integrability" (more specifically, Lebesgue integrability) is a technical condition similar to absolute convergence of a sequence where a function is only considered integrable on $(a,b)$ if $$ \int_a^b|f(x)|dx < \infty.$$ By comparison with $1/x,$ $\sin(x)/x$ fails this criterion on $(-\infty, \infty)$ and is thus considered a non-integrable function on $(-\infty, \infty).$ This is likely the sense that was meant when you read that $\sin(x)/x$ is not integrable.

However, just like series can be convergent but not absolutely convergent, it turns out that since $\sin(x)/x$ oscillates as $|x|\rightarrow\infty$, the 'area under the curve' cancels out over the oscillations and is finite. The integral $$ \int_{-\infty}^\infty \frac{\sin(x)}{x}dx$$ can be defined as an improper Riemann integral and happens to equal $\pi.$ This is just a warning that 'not integrable' (in the Lebesgue sense) doesn't mean that the definite integral doesn't have a value.

All of this has little to do with your concern of finding an antiderivative for $\sin(x)/x$ and thus computing the integral over an interval using the fundamental theorem of calculus. As others have mentioned, it turns out that the antiderivative cannot be expressed as an elementary function, so it's no surprise you haven't been successful in applying various integration tricks.

Even though you cannot compute the integral in the usual way by taking an antiderivative, remember that, since $\sin(x)/x$ is a nice bounded, continuous function, the definite integral $\int_a^b\frac{\sin(x)}{x}dx$ exists a well-defined number (area under the curve) for any $a$ and $b$. Likewise, as others have mentioned, an antiderivative function $\mathrm{Si}(x) = \int_0^x\frac{\sin(t)}{t}dt$ exists and we have $$\int_a^b\frac{\sin(x)}{x}dx = \mathrm{Si}(b)-\mathrm{Si}(a).$$ It's just that $\mathrm{Si}(x)$ does not have a nice expression in terms of elementary functions like $\sin$, $\cos,$ $\ln$, $e^x,$ etc like you would usually compute with integration techniques.... it's its 'own thing' (called the sine-integral function).

Functions without an elementary antiderivative are usually called 'functions without an elementary antiderivative' and not called 'not integrable', although the latter would be perfectly reasonable terminology if it weren't already reserved for the technical condition I mentioned above.


$\frac{\sin x}{x}$ is integrable (since it is continuous), it is just that its indefinite integral cannot be expressed as an elementary function. So its integral defines a special function Sine integral.


Whether the anti-derivative of a function can be expressed in terms of elementary functions is solved by Risch algorithm. $(\sin x)/x$ is one of those functions without a elementary anti-derivative.

With that being said, $(\sin x)/x$ still has an anti-derivative, namely $$ g(x) = \int_0^x \frac{\sin t}{t} \mathrm dt $$ Then $g'(x) = (\sin x)/x$.

In some sense $(\sin x)/x$ is not integrable, since $$ \int_{-\infty}^\infty \left| \frac{\sin x}{x} \right| \mathrm dx = +\infty $$ so the Lebesgue integral of $(\sin x)/x$ does not exist.