Numerics on wild oscillating functions

Click For Summary
SUMMARY

This discussion focuses on accurately computing integrals of highly oscillatory functions, specifically the integral $$I = \int_0^{\infty} \sin(x^2) dx$$. Participants suggest splitting the integral into manageable parts to avoid instability associated with infinite limits. Techniques discussed include using the trapezoid rule for individual oscillations and employing integration by parts to enhance convergence. The conversation highlights the importance of addressing both positive and negative contributions to improve accuracy in numerical integration.

PREREQUISITES
  • Understanding of numerical integration techniques, particularly the trapezoid rule.
  • Familiarity with oscillatory integrals and their properties.
  • Knowledge of integration by parts and its application to improve convergence.
  • Basic concepts of improper integrals and handling infinite limits.
NEXT STEPS
  • Research advanced numerical integration methods for oscillatory functions, such as Filon’s method.
  • Learn about adaptive quadrature techniques to improve accuracy in numerical integration.
  • Explore the use of Fourier transforms in analyzing oscillatory integrals.
  • Study the implications of convergence acceleration techniques in numerical analysis.
USEFUL FOR

Mathematicians, numerical analysts, and engineers involved in computational mathematics, particularly those working with oscillatory integrals and numerical integration methods.

Theia
Messages
121
Reaction score
1
Hello!

I'd like to ask for a help about how to compute accurately functions which has very intense oscillations. My example is to estimate

$$I = \int_0^{\infty} \sin(x^2) dx= \int_0^{\infty}\frac{\sin(t)}{2\sqrt{t}} dt$$.I tried trapezoid rule over one oscillation at a time, but result is poor. My next though is to collect positive parts and negative parts together and add them later on in the code...

Any comments?

Thank you!
 
Physics news on Phys.org
Theia said:
Hello!

I'd like to ask for a help about how to compute accurately functions which has very intense oscillations. My example is to estimate

$$I = \int_0^{\infty} \sin(x^2) dx= \int_0^{\infty}\frac{\sin(t)}{2\sqrt{t}} dt$$.I tried trapezoid rule over one oscillation at a time, but result is poor. My next though is to collect positive parts and negative parts together and add them later on in the code...

Any comments?

Thank you!

I think integrating to infinity is typically unstable, isn't it?
So we should probably split the integral in two parts to eliminate infinity.
That is:
$$I = \int_0^{\infty} \sin(x^2)\,dx = \int_0^{\sqrt{2\pi}} \sin(x^2)\, dx + \int_0^{1/\sqrt{2\pi}} u^{-2}\sin(u^{-2})\, du$$
Perhaps we can integrate the second integral period by period now?
 
Thank you! I computed first

$$\int_0^{2\pi}\frac{\sin t}{2\sqrt{t}}$$,

and then the improper part by using integration by parts to increase $$\sqrt{t}$$ to $$\sqrt{t^3}$$ to obtain faster convergence.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 20 ·
Replies
20
Views
12K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K