I need to obtain the function $f(x)$ for which the following integral has its minimum value:
$I=\int F(f(x))dx= \int [A (B^2-f(x)^2)^2-Cf(x)f''(x)]dx$
One special solution is $f(x)=constant=\pm B$, but I need the general solution such that $f(x) \ne constant$. Then the systematic approach is to minimize '$I$' with respect to $f(x)$. I started with $\dfrac{dI}{df(x)}=0 $.
Then I differentiate both side with respect to $x$ so that I get rid of the integral and end up with $\dfrac{dF(f(x))}{df(x)}=0 $
This step gives me: $2A(B^2-f(x)^2).[-2f(x)] -C\dfrac{d}{df(x)}f(x)f''(x)=0$
At this point how to carry out the second part? Shall I consider the $f''(x)$ be constant with respect to $f(x)$? Doing so would give a differential equation to solve for $f(x)$. But I am not sure whether this is the right way or not.
Thanks in advance
You can simply 'spot' the function you need. The reason I go this route is because it's not clear (to me at least) what it means to differentiate the expression with respect to a function, so doing so won't help.
Take $f(x) := B$; then: $$ A(B^2 - f(x)^2)^2 - Cf(x)f''(x) = A \cdot 0 - C \cdot B \cdot 0 = 0,$$
i.e. your integral is zero. Note though that to properly minimise the function, you need to specify some boundaries.