I was working on the following problem:
Given: $$ g(x) = \int_0^x f(y) (y - x) dy $$ And $g(x)$ is exactly 3 times continuously differentiable. What is the greatest integer n for which $f$ must be $n$ Times continuously differentiable? (source ETS GRE practice exam).
So an idea was to apply integration by parts:
$$ \frac{1}{2} f(y) (y - x)^2 dy |_0^x - \frac{1}{2} \int_0^{x} f'(y) (y - x)^2 = \int_0^x f(y) (y - x) dy$$
Now application of bounds and the left side becomes:
$$ -\frac{1}{2} f(0) x^2 - \frac{1}{2} \int_0^{x} f'(y) (y - x)^2 = g(x)$$
But this didn't seem fruitful, and my 1 minute block of thinking that i can reasonably allocate for this ran out.
How does one resolve this problem?
We can write
$$g(x) = \int_0^x f(y)y\, dy - x\int_0^xf(y)\,dy.$$
Since $f$ is continuous, we can differentiate the right side using the FTC. After simplifying we have
$$g'(x) = -\int_0^x f(y)\, dy.$$
Applying FTC again, we get $g''(x) = - f(x).$ Since $g$ is given to be $C^3,$ we get $g'''(x) =-f'(x).$ Hence $f$ must be at least $C^1.$