If the bound is to hold with finite , the error functional must vanish on every polynomial whose fourth derivative is zero. Thus the scheme must be exact for degrees zero through three. Applying it to powers of gives
Solving,
This is the four-point one-sided second-derivative formula.
The Peano kernel theorem says that if a linear functional annihilates all polynomials of degree below , then for ,
Here and . Under the stated nonnegativity assumption,
The integral equals for , since . Now and
Therefore
Equality is attained by , so the sharp Peano-kernel constant for the four-point endpoint second derivative is
For the four-point one-sided second-derivative formula at unit spacing, take the signed error
It annihilates cubic polynomials. The Peano kernel theorem gives
This kernel is nonnegative. On , put to get . On , the inequality makes the remaining difference positive. On , only remains. Therefore
Indeed, . The same polynomial has fourth derivative one and attains equality, so the constant is sharp. On a grid with spacing , rescaling gives the bound for this second-derivative approximation.