Is there a way to approximate an infinite integral? I know that a Riemann sum can give me integral for finite integrals, but I want infinite integrals too. |
|
Is there a way to approximate an infinite integral? I know that a Riemann sum can give me integral for finite integrals, but I want infinite integrals too. |
|
I don't understand your notation. You mean over the whole real line? That's not too hard but I want to make sure that thats what you want before I explain it. |
|
Last edited by PhilosopherStoned; 08-12-2009 at 12:15 AM.
Previously PhilosopherStoned
Yes, the entire length of the line. Yes, approximate, not the real thing. I can do the real thing easily, but I need to make this in C++. |
|
OK. Here's a paper that I found. It's based on changing coordinates from x to x=1/t dx=t^-2dt which lets you integrate x over the real line by integrating t over [0, 1]. |
|
Previously PhilosopherStoned
It's simple. take the integral from 0 to t of f(x), and then evaluate the limit as t -> inf. |
|
Last edited by Replicon; 08-16-2009 at 01:24 AM.
Bookmarks