Solution

ID: past-exam-of-the-approximation-theory-and-finite-element-methods-course-of-the-university-of-oxford/2010/b/5/solution

Take the affine trial space and the test space . Multiplication by and integration by parts incorporate the right Neumann boundary condition as a load:
For the continuous piecewise-quadratic trial space, impose the left value exactly and use the same equation for every piecewise-quadratic test function vanishing at . With a basis of that test space and , the finite element equations are
The Endpoint Poincaré inequality, reflected about the interval midpoint, makes the derivative norm a norm on . Galerkin orthogonality then gives the exact best-approximation identity: for every admissible ,
Therefore minimizes the derivative error over all admissible piecewise-quadratic functions.
To prove the requested error bound, assume . Then and . We need an elementary Poincare-Wirtinger inequality on each element of length : if has mean zero, its continuous representative has a zero somewhere, and the fundamental theorem of calculus and Cauchy-Schwarz inequality give .
Choose an affine function whose slope is the average of on and whose average equals the average of . Then and both have mean zero. Applying the just-proved bound twice yields
Define a quadratic interpolant on by integrating from the true left-endpoint value. The equal-average condition ensures that it reaches the true right-endpoint value, so these pieces join to an admissible continuous piecewise-quadratic function . Sum the squared estimates and use the best-approximation property:
Only the maximum element length is used; equal spacing is unnecessary.
For the Aubin–Nitsche duality argument, let and solve , , . Explicitly , so . Integration by parts and Galerkin orthogonality give
where is its nodal piecewise-linear interpolant, which belongs to the quadratic test space. On each element is the average of , so the same mean-zero inequality gives . Canceling when nonzero proves the additional order:

New to topics? Read the docs here!