[the value of K is 195]. 1I have this problem an integration approximation problem of: $$\int_0^{4\sqrt{\pi}}\sin(x^2)dx$$ with n = 4. The result is 5.01. But when I check the error bound using the formula $K\frac{(a-b)^3}{24n^2}$ (my K is 195), it's huge (being around 180). It is so weird how can it be so big, when I check with my calculator if n is infinite then the result is 0.5561, should the error bound be around 5?
2026-03-26 01:00:36.1774486836
Huge error bounds for midpoint rule in calculating integral
118 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in DEFINITE-INTEGRALS
- How can I prove that $\int_0^{\frac{\pi}{2}}\frac{\ln(1+\cos(\alpha)\cos(x))}{\cos(x)}dx=\frac{1}{2}\left(\frac{\pi^2}{4}-\alpha^2\right)$?
- Closed form of integration
- Integral of ratio of polynomial
- An inequality involving $\int_0^{\frac{\pi}{2}}\sqrt{\sin x}\:dx $
- How is $\int_{-T_0/2}^{+T_0/2} \delta(t) \cos(n\omega_0 t)dt=1$ and $\int_{-T_0/2}^{+T_0/2} \delta(t) \sin(n\omega_0 t)=0$?
- Roots of the quadratic eqn
- Area between curves finding pressure
- Hint required : Why is the integral $\int_0^x \frac{\sin(t)}{1+t}\mathrm{d}t$ positive?
- A definite integral of a rational function: How can this be transformed from trivial to obvious by a change in viewpoint?
- Integrate exponential over shifted square root
Related Questions in APPROXIMATE-INTEGRATION
- Quadrature rules estimation
- Integral involving binomial expression of an exponential
- Is it integration or not
- Applying Watson's lemma $\int^{\infty}_{0}\{1+\sin(t^2)\}e^{-xt}dt$
- Composite Lagrangian Quadrature rule for sin(x)
- Error formula for Composite Trapezoidal Rule
- Bounding a somewhat complicated integral (exponential of a polynomial)
- Matching the orders of numerical solvers.
- COnverting integral into First Order of Bessel Fuuction of first kind
- What is the order of the midpoint rule?
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
Yes, the upper bound for error in the Midpoint Rule for $\int_a^b f(x)\; dx$ with $n$ intervals is $K (b-a)^2/(24 n^2)$, where $K$ is the maximum of $|f''|$ on $[a,b]$, and in your case $K$ is approximately $195$.
The thing is, an upper bound is just that, an upper bound. It does not mean the actual error is anywhere near that. There are in fact functions with the same $K$ where the error in the Midpoint Rule would be equal to that bound, e.g. $f(x) = 2 K x^2$. It happens that in your example $f''(x)$ fluctuates rather wildly, and essentially what's going on is that the places where $f''$ is large and positive nearly cancel out the places where $f''$ is large and negative.