Understanding a Proof Involving Integrals: Explained

  • Context: Graduate 
  • Thread starter Thread starter jetoso
  • Start date Start date
  • Tags Tags
    Integrals Proof
Click For Summary
SUMMARY

The discussion centers on the proof of the expected value (EX) expressed as an integral, specifically EX = ∫₀^∞ (1 - F(x)) dx. The proof demonstrates that this integral can be rewritten as EX = ∫₀^∞ (∫ₓ^∞ f(y) dy) dx, which can further be transformed into EX = ∫₀^∞ (∫₀^y dx) f(y) dy. This transformation relies on reversing the order of integration, illustrating the equivalence of integrating over the area defined by the unit square and the line y = x. The final integral represents the expected value of the random variable X.

PREREQUISITES
  • Understanding of probability density functions (PDFs)
  • Familiarity with cumulative distribution functions (CDFs)
  • Knowledge of double integrals and changing the order of integration
  • Basic concepts of expected value in probability theory
NEXT STEPS
  • Study the properties of cumulative distribution functions (CDFs) and their relationship to probability density functions (PDFs)
  • Learn about double integrals and techniques for changing the order of integration
  • Explore the concept of expected value in different probability distributions
  • Investigate applications of integrals in probability theory and statistics
USEFUL FOR

Students of mathematics, statisticians, and professionals in data science who are looking to deepen their understanding of integrals and their applications in calculating expected values in probability theory.

jetoso
Messages
73
Reaction score
0
I have a problem understanding the following proof:
EX = integral from 0 to infinity of 1 - F(x) dx
Say this integral can be:
EX = integral from 0 to infinity of P(X > x), then
EX = integral from 0 to infinity of integral from x to infinity of f(y)dydx
= integral from 0 to infinity of integral from 0 to y of dxf(y)dy = EX

Can somebody explain me how and why the last integral is included?
Thanks.
 
Physics news on Phys.org
jetoso said:
EX = integral from 0 to infinity of integral from x to infinity of f(y)dydx
= integral from 0 to infinity of integral from 0 to y of dxf(y)dy = EX
[tex]\int_0^\infty \left(\int_x^\infty f(y)dy\right) dx \overset{?}{=} \int_0^\infty \left(\int_0^y dx\right) f(y)dy[/tex]

Think of this as integrating the area of the unit square. You could first integrate along the y-axis then integrate that integral along the x axis. Alternatively you could first integrate over x then integrate that over y.

Or suppose you are to integrate function f over the area that lies below the y = x line on the unit square. You can either integrate f from 0 to x on the y-axis then integrate that from 0 to 1 on the x axis. Alternatively you could integrate f from 0 to y on the x-axis then integrate that from 0 to 1 on the y axis.

This isn't an exact or perfect explanation but I hope that it will be useful to some degree.
 
The integral

[tex] \int_0^\infty \left(1-F(x)\right) \, dx[/tex]

can be rewritten with this step.

[tex] \int_0^\infty \left(1-F(x)\right) \, dx = \int_0^\infty \left(\int_x^\infty f(y)\dy\right) \,dx [/tex]

The region over which we are integrating is the portion of the first quadrant that is on and to the right of line [tex]y = x[/tex]

This can also be calculated by reversing the order of integration. In this case the inner integral goes from [tex]x=0[/tex] to [tex]x = y[/tex]. Here is the work all in a single location.

[tex] \begin{align*}<br /> \int_0^\infty \left(1-F(x)\right) \, dx & = \int_0^\infty \left(\int_x^\infty f(y) \,dy\right) \,dx\\<br /> & = \int_0^\infty \left(\int_0^y \, dy \right) f(x) \,dx = \int_0^\infty y f(y) \,dy<br /> \end{align*}[/tex]

If you remember that the variable names are simply placeholders in this work you realize that the final integral is simply the expected value of [tex]X[/tex].
 

Similar threads

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