How do I approximate the integral

  • Context: Undergrad 
  • Thread starter Thread starter Icebreaker
  • Start date Start date
  • Tags Tags
    Approximate Integral
Click For Summary

Discussion Overview

The discussion revolves around the approximation of the integral of \( e^{-x^2} \) over a specified interval. Participants explore different methods of integration and approximation, including series expansion and the use of the error function.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant asks how to approximate the integral of \( e^{-x^2} \) over an interval.
  • Another participant proposes using the series expansion of \( e^{-x^2} \) and suggests antidifferentiating the series to approximate the integral.
  • A different participant corrects the previous claim by stating that the integral of \( e^{-x^2} \) can be expressed in terms of the error function, \( \frac{\sqrt{\pi}}{2}\text{erf}(x) + C \), which is tabulated.
  • One participant acknowledges their earlier mistake in differentiating instead of integrating the series.
  • A final participant expresses gratitude to both contributors for their input.

Areas of Agreement / Disagreement

There is no consensus on the best method for approximating the integral, as participants present different approaches and corrections without settling on a definitive solution.

Contextual Notes

Participants reference the error function and series expansion, but the discussion does not resolve the limitations or assumptions inherent in these methods.

Icebreaker
How do I approximate the intergral of [tex]e^{-x^2}[/tex] over some interval?
 
Physics news on Phys.org
[tex]e^{r} = \sum_{n=0}^\infty \frac{r^n}{n!}[/tex]

Substitute r = -(x^2).

[tex]e^{-x^2} = \sum_{n=0}^\infty \frac{(-1)^{n}x^{2n}}{n!}[/tex]

Antidifferentiate series over x.


[tex]\int {e^{-x^2}}dx = \sum_{n=0}^\infty \frac{(-1)^{n}x^{2n+1}}{(2n+1)n!} = \sum_{n=0}^\infty \frac{(-1)^{n}x^{2n+1}}{(2n+1)n!}[/tex]

You can use the last expression with some finite upper value. In other words,

[tex]\sum_{i=0}^k \frac{(-1)^{i}x^{2i+1}}{(2i+1)i!}[/tex]

will yield an estimate of the desired antiderivative, with (k+1) being the number of terms involved.

[Edit: Sorry! Initially, I differentiated the series, instead of antidifferentiating.[/color]]
 
Last edited by a moderator:
U differentiated the series,u should have integrated it.

[tex]\int e^{-x^{2}} \ dx=\frac{\sqrt{\pi}}{2}\mbox{erf}\left(x\right) + C[/tex]

and the error function is tabulated...

Daniel.
 
Yeah, I realized that this morning.

Sorry, it was kind of late.
 
Thanks to both
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
4K
Replies
2
Views
2K
  • · Replies 33 ·
2
Replies
33
Views
5K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 19 ·
Replies
19
Views
5K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
7
Views
3K