Expected value of integral = integral of expected value?

In summary, the expectation of a random variable can be considered as an integral and as long as the condition for switching the orders of integration holds, the author's assertion is valid. However, in this specific case, the integration limits are incorrect and should be adjusted accordingly. Additionally, this problem is not solely about switching the order of integration, as the placement of t' and t'' in the integrals also plays a role. Further assistance may be needed to prove or disprove the statement.
  • #1
clustro
Hello forumers,

I am studying some of the theory of Brownian motion and stochastic differential equations, and the author of the book I am using (https://www.amazon.com/dp/0521859719/?tag=pfamazon01-20) makes an argument which, despite a week's worth of attempts, I cannot seem to prove.

Though the full argument is somewhat longer, it basically boils down to:

[tex]\langle \int f(x) dx \rangle=\int \langle f(x) \rangle dx[/tex]

Am I just being thick? The author doesn't substantiate that claim, so I suppose he feels it is rather basic and obvious. But not to me! :(

Does anyone know how to prove (or disprove) that statement?

I wasn't sure if the calculus forum or this forum would be best, so I picked this one first..

my thanks

-clustro
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
The expectation of a random variable can be considered as an integral. As long as the condition for switching the orders of integration holds, then the author's assertion is valid.
 
  • #3
This seems like a weird statement to make. The expected value is going to be a number, as is the integral of a function, and integrating/taking the expected value of a constant is kind of a weird thing to do
 
  • #4
[tex]
E_Y \int f(x) dx = \int \int f(x) dx \ g(y) dy =\int\int f(x) g(y) \ dx dy = \int \int f(x)g(y)\ dy dx =\int E_Y f(x)dx
[/tex]
If f(x) = a(y) + b(y) x, with Ea(y) = a and Eb(y) = b, EY[a(y) + b(y) x] = a + b x need not be a constant.
 
Last edited:
  • #5
mathman said:
The expectation of a random variable can be considered as an integral. As long as the condition for switching the orders of integration holds, then the author's assertion is valid.

That's what I was thinking at first. Here is what I tried before:

Symbols:

[tex]F_R(t)[/tex] is the random force on a particle at time t. It is the source of Brownian motion.
[tex]X_R(t)[/tex] is the displacement of a particle at time t undergoing Brownian motion.
[tex]t[/tex] is the time.
[tex]\Delta t[/tex] is the time-step.
(The variables with apostrophes are dummy variables).

I left a few constants out to simplify the presentation (all they do is make the units work out.)

[tex]X_R(t) = \int^{t+\Delta t}_t F_R(t')dt'[/tex] (1)

The author says that:

[tex]\langle X_R(t) \rangle = \int^{t+\Delta t}_t \langle F_R(t') \rangle dt'[/tex] (2)

To get there, I tried doing:

[tex]\langle X_R(t) \rangle = \int^{t = \infty}_{t = {- \infty}}t'X_R(t')dt'[/tex] (3)

Substituting (1) into (3)

[tex]\langle X_R(t) \rangle = \left\langle \int^{t+\Delta t}_t F_R(t') dt' \right\rangle = \int^{t = \infty}_{t = {- \infty}}t' \left [\int^{t'+\Delta t}_{t'} F_R(t'')dt''\right ] dt' [/tex] (4)

So now we try it the other way, and see if we get the same result as in (4):

[tex]\langle F_R(t) \rangle = \int^{t = \infty}_{t = -\infty}t' F_R(t')dt'[/tex] (5)

Substituting (5) into (2):

[tex] \int^{t+\Delta t}_t \langle F_R(t') \rangle dt' = \int^{t+\Delta t}_t \left [\int^{t' = \infty}_{t' = -\infty} t'' F_R(t'')dt'' \right ] dt'[/tex] (6)

From what we have just worked out, in order for the author's statement to be true, the right-hand sides of (4) and (6) must be equal:

[tex]\int^{t = \infty}_{t = {- \infty}}t' \left [\int^{t'+\Delta t}_{t'} F_R(t'')dt''\right ] dt' = \int^{t+\Delta t}_t \left [\int^{t' = \infty}_{t' = -\infty} t'' F_R(t'')dt'' \right ] dt'[/tex] (7)

I do not see how these two things should be equal. It looks like the integration orders are a flipped, but at the same time it doesn't :(

Looking at EnumaElish's post:

EnumaElish said:
[tex]
E_Y \int f(x) dx = \int \int f(x) dx \ g(y) dy =\int\int f(x) g(y) \ dx dy = \int \int f(x)g(y)\ dy dx =\int E_Y f(x)dx
[/tex]
If f(x) = a(y) + b(y) x, with Ea(y) = a and Eb(y) = b, EY[a(y) + b(y) x] = a + b x need not be a constant.

It certainly appears similar to what he has posted - its just an integral with the limits switched around. But I am just not seeing it in (7). On the left-hand side of (7), [tex]t'[/tex] is outside of the inner integral - I dunno, that just bothers me. I don't thinking moving it to the inner integral changes anything either (...or does it?!) Also, on the right-hand side of (7), the inner integral extends to +/- infinity; what on Earth will the outer integral be integrating?!

Any further help in this matter is highly appreciated friends,

-clustro
 
  • #6
The integration limits when you flipped in equation (7) are wrong. Specifically in your first integral, the inner integral goes from t' to t' + ∆t, while your outer integral goes from -∞ to +∞. When you switch, the inner integral will go from t' - ∆t to t', while the outer integral will go from -∞ to +∞.
 
  • #7
mathman said:
The integration limits when you flipped in equation (7) are wrong. Specifically in your first integral, the inner integral goes from t' to t' + ∆t, while your outer integral goes from -∞ to +∞. When you switch, the inner integral will go from t' - ∆t to t', while the outer integral will go from -∞ to +∞.

I didn't flip anything in (7).

I merely set the right hand sides of (4) and (6) equal to each other.

They should (in theory), be the same, but they didn't come out that way.

How do you even come up with those changes limits of integration you suggest?

The thing is, this problem is not solely switching the order of integration. In the left-hand side of (7), [tex]t'[/tex] is outside of the inner integral, whereas in the right-hand side of (7), [tex]t''[/tex] is inside the inner integral. I do not see how that situation would ever allow these two integrals to be equal.
 
  • #8
Isn't the t' on the left-hand side of (7) a constant with respect to the inner integral, and if so, can't it be placed within the inner integral?
 
  • #9
EnumaElish said:
Isn't the t' on the left-hand side of (7) a constant with respect to the inner integral, and if so, can't it be placed within the inner integral?

Yes, that is correct, but it won't have the same effect since, you won't be integrating with respect to t'' in that statement. That's probably the main thing that is confusing me.

Another idea I had is to differentiate (7) until we are left with the main "internal" expressions.

[tex]
\int^{t = \infty}_{t = {- \infty}}t' \left [\int^{t'+\Delta t}_{t'} F_R(t'')dt''\right ] dt' = \int^{t+\Delta t}_t \left [\int^{t' = \infty}_{t' = -\infty} t'' F_R(t'')dt'' \right ] dt'
[/tex]

Ignoring the limits of integration, differentiating with respect to [tex]dt'[/tex] yields:

[tex]t' \int F_R(t'')dt'' = \int t'' F_R(t'')dt''[/tex]

When differentiate with respect to [tex]dt''[/tex], which yields:

[tex]t' F_R(t'') = t'' F_R(t'')[/tex]

Which shows that [tex]t' = t''[/tex].

If these two dummy-variables are equal, what does that get us? I suppose then, it should not matter whether [tex]t'[/tex] or [tex]t''[/tex] are outside or inside the integral? O_O

Also, EnumaElish, I have a question about the proof you gave. Did you come up with it, or is it from another source? If so, can you provide a link? Also, what does [tex]E_Y[/tex] mean? :(
 
Last edited by a moderator:
  • #10
clustro said:
Hello forumers,

I am studying some of the theory of Brownian motion and stochastic differential equations, and the author of the book I am using (https://www.amazon.com/dp/0521859719/?tag=pfamazon01-20) makes an argument which, despite a week's worth of attempts, I cannot seem to prove.

Though the full argument is somewhat longer, it basically boils down to:

[tex]\langle \int f(x) dx \rangle=\int \langle f(x) \rangle dx[/tex]

Am I just being thick? The author doesn't substantiate that claim, so I suppose he feels it is rather basic and obvious. But not to me! :(

Does anyone know how to prove (or disprove) that statement?

I wasn't sure if the calculus forum or this forum would be best, so I picked this one first..

my thanks

-clustro

You are seeing a bunch of mysterious calculations in response to this query, most of which are wrong.

Some one noted that this is apparently related to interchange of the order of integration -- Fubini's theorem, and that is probably the heart of the matter.

However, in order to use Fubini's theorem you need to more explicitly describe your situation in terms of a function of two variables.


This equation

[tex]\langle \int f(x) dx \rangle=\int \langle f(x) \rangle dx[/tex]

does not make sense unless and until you have described what you mean by [tex]\int f(x) dx [/tex] as a random variable. As it stands it seems to be simply a number.

What one would expect is that, with a more clear definition of what [tex]\int f(x) dx [/tex] means and what expectation means that what you have is something more like

[tex]\langle \int f(x) dx \rangle=\int f(x,y)dxdy = \int f(x,y)dydx=\int \langle f(x) \rangle dx[/tex]

This of course requires that the conditions for the application of Fubini's theorem apply -- that the integrals exist for the absolute value of f in place of f.
 
Last edited by a moderator:
  • #11
DrRocket said:
You are seeing a bunch of mysterious calculations in response to this query, most of which are wrong.
Do you mind pointing out specific errors that you see?
 
  • #12
EnumaElish said:
[tex]
E_Y \int f(x) dx = \int \int f(x) dx \ g(y) dy =\int\int f(x) g(y) \ dx dy = \int \int f(x)g(y)\ dy dx =\int E_Y f(x)dx
[/tex]
If f(x) = a(y) + b(y) x, with Ea(y) = a and Eb(y) = b, EY[a(y) + b(y) x] = a + b x need not be a constant.

EnumaElish said:
Do you mind pointing out specific errors that you see?

The errors are conceptual, but here is one specific example based on the above. Since [tex] f [/tex] is treated as a funtion of [tex] x [/tex] along the calculation should read

[tex]E_Y \int f(x) dx = \int \int f(x) dx \ g(y) dy = \int f(x) dx \int g(y) dy = \int f(x) dx[/tex]

which doesn't shed much light on things.

The problem is that, as I said, one need to make clear how one is thinking of [tex] \int f(x) dx[/tex] as a random variable. That is probably what you meant to imply by introducing the variable y, but to do that you need to show the dependence of f on not only x but also on y.

One that is done then one can apply the Fubini theorem and the rest is pretty easy. The difficult here lies in an incompletely or erroneously specified problem and not in the attempted solutions, which fail because the problem is not properly formulated.

Now if [tex]f [/tex]were a function of both [tex] x[/tex] and[tex] y[/tex] and , you have
[tex]
E_Y \int f(x,y) dx = \int \int f(x,y) dx \ g(y) dy =\int\int f(x,y) g(y) \ dx dy = \int \int f(x,y)g(y) dy dx =\int E_Y f(x, \centerdot)dx[/tex]

And this is nothing but an application of Fubini's theorem.

Depending on one's background it might be easier to see this if we use general measures, say [tex] \mu [/tex] and [tex] \nu [/tex]. Here [tex] \nu [/tex] is the probability measure and [tex] /mu [/tex] is whatever measue is used to integrate [tex] f [/tex], which one suspects is probably actually [tex] \nu [/tex] although the OP was not clear on that point. In this case the above calculation becomes

[tex]
E_Y \int f(x,y) d \mu(x) = \int \int f(x,y) d \mu(x) d \nu (y)= \int\int f(x,y) d \nu (y) d \mu (x) =\int E_Y f(x, \centerdot) d \mu (x) [/tex]

I you are not familiar with the general theory of measure and integration then simply refer to the earlier calculation.
 
  • #13
clustro said:
That's what I was thinking at first. Here is what I tried before:

Symbols:

[tex]F_R(t)[/tex] is the random force on a particle at time t. It is the source of Brownian motion.
[tex]X_R(t)[/tex] is the displacement of a particle at time t undergoing Brownian motion.
[tex]t[/tex] is the time.
[tex]\Delta t[/tex] is the time-step.
(The variables with apostrophes are dummy variables).

I left a few constants out to simplify the presentation (all they do is make the units work out.)

[tex]X_R(t) = \int^{t+\Delta t}_t F_R(t')dt'[/tex] (1)

The author says that:

[tex]\langle X_R(t) \rangle = \int^{t+\Delta t}_t \langle F_R(t') \rangle dt'[/tex] (2)

To get there, I tried doing:

[tex]\langle X_R(t) \rangle = \int^{t = \infty}_{t = {- \infty}}t'X_R(t')dt'[/tex] (3)

Substituting (1) into (3)

[tex]\langle X_R(t) \rangle = \left\langle \int^{t+\Delta t}_t F_R(t') dt' \right\rangle = \int^{t = \infty}_{t = {- \infty}}t' \left [\int^{t'+\Delta t}_{t'} F_R(t'')dt''\right ] dt' [/tex] (4)

So now we try it the other way, and see if we get the same result as in (4):

[tex]\langle F_R(t) \rangle = \int^{t = \infty}_{t = -\infty}t' F_R(t')dt'[/tex] (5)

Substituting (5) into (2):

[tex] \int^{t+\Delta t}_t \langle F_R(t') \rangle dt' = \int^{t+\Delta t}_t \left [\int^{t' = \infty}_{t' = -\infty} t'' F_R(t'')dt'' \right ] dt'[/tex] (6)

From what we have just worked out, in order for the author's statement to be true, the right-hand sides of (4) and (6) must be equal:

[tex]\int^{t = \infty}_{t = {- \infty}}t' \left [\int^{t'+\Delta t}_{t'} F_R(t'')dt''\right ] dt' = \int^{t+\Delta t}_t \left [\int^{t' = \infty}_{t' = -\infty} t'' F_R(t'')dt'' \right ] dt'[/tex] (7)

I do not see how these two things should be equal. It looks like the integration orders are a flipped, but at the same time it doesn't :(

Looking at EnumaElish's post:



It certainly appears similar to what he has posted - its just an integral with the limits switched around. But I am just not seeing it in (7). On the left-hand side of (7), [tex]t'[/tex] is outside of the inner integral - I dunno, that just bothers me. I don't thinking moving it to the inner integral changes anything either (...or does it?!) Also, on the right-hand side of (7), the inner integral extends to +/- infinity; what on Earth will the outer integral be integrating?!

Any further help in this matter is highly appreciated friends,

-clustro
I was a little careless before. On closer examination, I believe the problem lies in equation (3). I have no idea what you were thinking, but it is not an accurate description of [tex]\langle X_R(t) \rangle [/tex].
 
  • #14
DrRocket said:
The errors are conceptual, but here is one specific example based on the above. Since [tex] f [/tex] is treated as a funtion of [tex] x [/tex] along the calculation should read

[tex]E_Y \int f(x) dx = \int \int f(x) dx \ g(y) dy = \int f(x) dx \int g(y) dy = \int f(x) dx[/tex]

which doesn't shed much light on things.

The problem is that, as I said, one need to make clear how one is thinking of [tex] \int f(x) dx[/tex] as a random variable. That is probably what you meant to imply by introducing the variable y, but to do that you need to show the dependence of f on not only x but also on y.

One that is done then one can apply the Fubini theorem and the rest is pretty easy. The difficult here lies in an incompletely or erroneously specified problem and not in the attempted solutions, which fail because the problem is not properly formulated.

Now if [tex]f [/tex]were a function of both [tex] x[/tex] and[tex] y[/tex] and , you have
[tex]
E_Y \int f(x,y) dx = \int \int f(x,y) dx \ g(y) dy =\int\int f(x,y) g(y) \ dx dy = \int \int f(x,y)g(y) dy dx =\int E_Y f(x, \centerdot)dx[/tex]

And this is nothing but an application of Fubini's theorem.

Depending on one's background it might be easier to see this if we use general measures, say [tex] \mu [/tex] and [tex] \nu [/tex]. Here [tex] \nu [/tex] is the probability measure and [tex] /mu [/tex] is whatever measue is used to integrate [tex] f [/tex], which one suspects is probably actually [tex] \nu [/tex] although the OP was not clear on that point. In this case the above calculation becomes

[tex]
E_Y \int f(x,y) d \mu(x) = \int \int f(x,y) d \mu(x) d \nu (y)= \int\int f(x,y) d \nu (y) d \mu (x) =\int E_Y f(x, \centerdot) d \mu (x) [/tex]

I you are not familiar with the general theory of measure and integration then simply refer to the earlier calculation.
This is all fine, and thank you; but in many problems the "y variable" is seen as parametric and not explicitly specified as a variable. For example in stochastic finance, f(t) might denote an asset price at any given moment, given its history, f(t-1), ..., f(0); but the notation is not f(t, f(t-1), ..., f(0)). Alternatively, EY might denote EY[Etf(t) | Y] where Y = {f(t-1), ..., f(0)} is a conditional, and not an explicit part of the list of arguments for the function f.
 
  • #15
clustro, when you write
[tex]
\langle X_R(t) \rangle = \int^{t = \infty}_{t = {- \infty}}t' X_R(t')dt'
[/tex]
should that be
[tex]
\langle X_R(t) \rangle = \int^{t = \infty}_{t = {- \infty}}t' dX_R(t')
[/tex]
instead?

(using DrRocket's tip)
 
Last edited:
  • #16
Well, upon further reading into Dr. Rocket's comment, it appears I have been treading water.

Ever since I can remember, I thought the [tex]\langle f(x) \rangle[/tex] bracket operators were just an alternative notation for [tex]E(f(x))[/tex]. Apparently it seems, that the bracket operators mean either the "time-average" of the function or the "ensemble average" of the function - which is distinctly different from the expected value of a function.

I am not familiar really with these concepts, so I'm going to have to do some more reading so I can speak intelligently on the subject.

Sorry guys :[
 
  • #17
I guess you'll need a probability measure.
 
  • #18
EnumaElish said:
This is all fine, and thank you; but in many problems the "y variable" is seen as parametric and not explicitly specified as a variable. For example in stochastic finance, f(t) might denote an asset price at any given moment, given its history, f(t-1), ..., f(0); but the notation is not f(t, f(t-1), ..., f(0)). Alternatively, EY might denote EY[Etf(t) | Y] where Y = {f(t-1), ..., f(0)} is a conditional, and not an explicit part of the list of arguments for the function f.

Whether explicitly written or implicitly understood, you still need a dependence on two variables to make sense of the question as posed.

There are ways to do that, including simply stating early on the implicit dependence that will be presumed throughout the discussion. But when one writes an expression with no further context being described, one must simply assume that the writer meant what was said. One can presume the reader to be clairvoyant, but then one is likely to be disappointed.

One of the biggest difficulties with many applications of probability theory is the failure of the author to make clear what he is talking about, or what the probability space is. A lot of confusion can be cleared up with just a bit of attention to rigor in setting up the problem.

For instance, in your example, you are dealing with a time series, and in that context, dependencies on past history can be easily incorporated into the mathematical model. Nothing wrong or mysterious with that. But that is quite a different thing from just a set of values of some function at various discrete values of the argument, with no further description of the context.
 

1. What does the expected value of an integral represent?

The expected value of an integral represents the average value of a continuous function over a given interval. It takes into account all possible outcomes and their respective probabilities.

2. How is the expected value of an integral calculated?

The expected value of an integral can be calculated by taking the integral of the product of a continuous function and its probability density function over a given interval.

3. What is the difference between expected value of an integral and integral of expected value?

The expected value of an integral calculates the average value of a function over a given interval, while the integral of expected value calculates the average value of a probability density function over a given interval.

4. Why is the concept of expected value of an integral important?

The concept of expected value of an integral is important because it allows us to calculate the overall average value of a continuous function, which can be useful in making predictions and decision making in various fields such as economics, finance, and engineering.

5. Can the expected value of an integral be negative?

Yes, the expected value of an integral can be negative. This indicates that the function has a higher probability of taking on values below the average value over the given interval.

Similar threads

  • Introductory Physics Homework Help
Replies
2
Views
336
  • Quantum Physics
Replies
15
Views
2K
Replies
3
Views
1K
  • Quantum Physics
Replies
11
Views
1K
  • Advanced Physics Homework Help
Replies
5
Views
1K
Replies
3
Views
940
  • Calculus and Beyond Homework Help
Replies
9
Views
794
  • Quantum Physics
Replies
8
Views
2K
Back
Top