sometimes, if an elementary closed-form antiderivative for the integral exists, a clever substitution is required that the CAS of the calculator is incapable of figuring out.

it will also occur when the integral has no elementary closed-form antiderivative.