How to Solve an Improper Integral with High Precision Using Simpson's Rule?

Click For Summary

Homework Help Overview

The discussion revolves around solving the improper integral from 10 to infinity of the function (sin(1/x)/(1+x^3)) with a specified error precision of e=0.5*10^-4. Participants are exploring the application of Simpson's Rule for this problem.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss breaking the interval into subintervals and applying Simpson's Rule, while some express confusion about estimating the integral from a certain point to infinity. Others mention the challenges of handling logarithmic and trigonometric inequalities in their calculations.

Discussion Status

Some participants have shared their attempts at approximating the integral using numerical methods and have compared results from different tools like calculators and software. There is a recognition of the complexity involved, with various interpretations and methods being explored without a clear consensus on the best approach.

Contextual Notes

Participants are working under constraints of error precision and the nature of improper integrals, questioning assumptions about convergence and the behavior of the function as x approaches infinity.

undefined83
Messages
8
Reaction score
0
Im supposed to solve
integral 10 to +infinity ((sin(1/x)/(1+x^3))dx with error precision of e=0.5*10^-4. Can someone please give me detailed explenation of solving this. (Supposedly by Simpson but i get lost in the way.

P.S. sorry for bad spelling and lack of proper formula notions.
 
Physics news on Phys.org
I process from integral i get
1/3[ln((x+1)/sqrt(x^2-x+1))+sqrt(3)*arctg(2*sqrt(3)*x/3-sqrt(3)/3)] from M to +infinity <=1/4*10^-2

than i get

-ln((M+1)/(sqrt(M^2-M+1))) +sqrt(3)*(pi/2-arctg(2*sqrt(3)*M/3-sqrt(3)/3))<=7.5*10^-3

and i can't find any exact solution to solve that
 
undefined83 said:
Im supposed to solve
integral 10 to +infinity ((sin(1/x)/(1+x^3))dx with error precision of e=0.5*10^-4. Can someone please give me detailed explenation of solving this. (Supposedly by Simpson but i get lost in the way.

P.S. sorry for bad spelling and lack of proper formula notions.
break the interval up
10=x0<x1<x2<...<xn-1<xn=infinity
for
int(10,x1)
int(x1,x2)
.
.
.
int(xn-2,xn-1)
use simpsons rule
for
int(xn-1,infinity)
chose xn-1 large
estimate the integral on each subinterval accurate enough so that total error is within limit
 
Thanks, but i am totally lost when i need to find int(xn-1,infinity). I try to make it lower than error estimate but i get either logaritmic inverse-trigonometric inequality as above or another insolvable integral.
 
undefined83 said:
Thanks, but i am totally lost when i need to find int(xn-1,infinity). I try to make it lower than error estimate but i get either logaritmic inverse-trigonometric inequality as above or another insolvable integral.
Don't over think it
[tex]|{\int_x^\infty \frac{\sin(\frac{1}{x})}{1+x^3}}|<\int_x^\infty \frac{1}{x^3}dx=\frac{1}{2x^2}[/tex]
 
Last edited:
Thank you very, very much. You are a life savior.
 
Does someone who has Maple or Mathlab can give me approximate solution of the integral, posiblly of int(10,45), and int(10,142). Error comarision goes to absurd. I get 3.3*10^-4 on pocket calculator for int(10,35). Simpson with above given boundries gives more than 10 times larger values.
 
undefined83 said:
Does someone who has Maple or Mathlab can give me approximate solution of the integral, posiblly of int(10,45), and int(10,142). Error comarision goes to absurd. I get 3.3*10^-4 on pocket calculator for int(10,35). Simpson with above given boundries gives more than 10 times larger values.

[tex]\int_{10}^{45} \frac{Sin(1/x)}{1+x^3}dx\approx 0.000329176[/tex]

[tex]\int_{10}^{142} \frac{Sin(1/x)}{1+x^3}dx\approx 0.000332717[/tex]

As per Mathematica's NIntegrate.
 
Last edited:
I don't know if you want to stay with the original integral or not. In any case a substitution will make this much easier.
u=1/x
[tex]\int_{10}^\infty \frac{\sin(\frac{1}{x})}{1+x^2}dx=\int_0^\frac{1}{10}\frac{u\sin(u)}{1+u^3}du[/tex]
then since x(sin(.1)/.1)<sin(x)<x for 0<x<.1
[tex]\frac{\sin(.1)}{.3}\log(1.001)=10\sin(1/10)\int_0^\frac{1}{10}\frac{u^2}{1+u^3}du<\int_0^\frac{1}{10}\frac{u\sin(u)}{1+u^3}du<\int_0^\frac{1}{10}\frac{u^2}{1+u^3}du=\frac{1}{3}\log(1.001)[/tex]
The average of these yeild a good approximation.
simpsons rule will meet the error tolerance
I~(.1-0)/6(f(0)+4f(.05)+f(.1))
where f(x)=x sin(x)/(1+x^3)
 
Last edited:
  • #10
Thank. This afternoon i finaly finished the monster with int(10,150) by Simpson. Got aprox 0.000324. I can't really believe its finished.
 

Similar threads

Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 11 ·
Replies
11
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
6K