Suppose $u(x) = \int_1^x \sin(x-t)t^2 dt$, verify that $u''+u - x^2 = 0$.
I know how to verify the equation but I am curious if there is any faster way of doing this (since this is a practice problem for GRE Subject). The way I approached was to, first split the $\sin(x-t)$ term:
$$u(x) = \int_1^x \sin(x-t) t^2dt=\sin(x)\int_1^x\cos(t)t^2 dt-\cos(x)\int_1^x\sin(t)t^2dt$$
After that we apply Fundamental Theorem of Calculus twice and collect terms.
A slightly faster approach would be to use the general Leibniz rule (see here), which quickly yields $u^{\prime\prime}(x)=x^2-u(x)$.