I think the hardest part of numerical analysis for me is understand what constitutes an "upper bound", and this has caused me alot of strife because often times my answer differs from the book, but I'm still "correct", which would imply to me that there are many upper bounds.
For example solving trapezoidal quadrature:
if $$f(x) = ((sinx)^2−2xsinx+1)$$
then
$$f''(x) = 2cos^2x - 2sin^2x + 2xsinx - 4cosx $$ on $ \xi \in (0.75,1.3)$ has an error bound of 0.02444080544 as I have found in this question.
However, it appears I can also just say that
$$sin,cos \le 1 \forall x$$
and $x$ is increasing on the domain $(0.75,1.3)$
so
$$-4\sin{2\xi}+6\sin(\xi)+2(\xi)sin(\xi)$$ can be written as $$-4 + 6 + 2(1.3)$$ which is $4.6$.
Plugging this into the error bound for the trapezoidal rule error gives us
$$|\frac{(0.55)^3}{12}(4.6)| = 0.0637770833333$$
Which also appears correct. However, how do I know if my error bound is correct? I guess thats the part I'm struggling on. What is the indicator that I'm approach the bound correctly? How do I know if I have the correct bound?