$J(y)=\int_{0}^{1} (x^2-y^2+(y')^2)dx$
$y(x)=x, h(x)=x^2$
I need to calculate $\Delta J$ and I am given this from the answer key:
$\Delta J = J(y + \epsilon h)-J(y) = J(x + \epsilon x^2) - J(x)$
I just need to verify that this comes out to:
$\Delta J = (\frac{17}{15}\epsilon ^2+\frac{3}{2}\epsilon +1) -(1)= \frac{17}{15}\epsilon ^2+\frac{3}{2}\epsilon$ ?
The reason I ask is that our book never gives an example of this, so I want to verify that this is correct.