You are Here: Home >< Maths

# Continuous r.v. expectation and double integrals watch

1. Ok, the questions is to show that, for a non-negative continuous r.v.:

.

First way to do this is integration by parts:

The second way I was shown is kind of confusing (given I have not really done double integral stuff yet):

The third inequality is where I am unsure. I can "see" why:
by taking the same area above the line u=x by varying u, x integration variables in different order.

But why does this imply the second equality?

Thanks.
2. (Original post by twig)
The second way I was shown is kind of confusing (given I have not really done double integral stuff yet):

The third inequality is where I am unsure. I can "see" why:
by taking the same area above the line u=x by varying u, x integration variables in different order.

But why does this imply the second equality?

Thanks.
Is this the one you are having trouble with?

If so, is just a constant like any other as far as x is concerned (i.e. it's independent of x), and hence can be pulled out of the inner integral.

Had to edit the quote a bit, as the LaTex wasn't working properly.
3. (Original post by ghostwalker)
Is this the one you are having trouble with?

If so, is just a constant like any other as far as x is concerned (i.e. it's independent of x), and hence can be pulled out of the inner integral.

Had to edit the quote a bit, as the LaTex wasn't working properly.
that part is fine, it's the part before which I don't quite follow:

4. (Original post by twig)
that part is fine, it's the part before which I don't quite follow:

That's just changing the order of the integration. Do a sketch to make sense of the limits.
5. (Original post by BabyMaths)
That's just changing the order of the integration. Do a sketch to make sense of the limits.
I can sketch and make sense for:

but can't visually see how to sketch the required things for:

Probably missing some obvious stuff as always.
6. (Original post by twig)
I can sketch and make sense for:

but can't visually see how to sketch the required things for:

Probably missing some obvious stuff as always.
is just a function that represents the height of each volume element, with cross-sectional area, dudx. Its not the region you're integrating within as thats defined by the limits, so afaik, you generally don't need to draw it. If you wanted to, you could draw it, but you'd be drawing a surface/plane, depending on the function and not a line, and it can get horrendously difficult to draw by hand.

If it helps, in , where R is the region you're integrating over.
is just a function that represents the height of each volume element, with cross-sectional area, dudx. Its not the region you're integrating within as thats defined by the limits, so afaik, you generally don't need to draw it. If you wanted to, you could draw it, but you'd be drawing a surface/plane, depending on the function and not a line, and it can get horrendously difficult to draw by hand.

If it helps, in , where R is the region you're integrating over.
thanks. then it does make sense (i think!).
8. (Original post by twig)
thanks. then it does make sense (i think!).
No problem. I only really started understanding double integrals after I watched the video below.

### Related university courses

TSR Support Team

We have a brilliant team of more than 60 Support Team members looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

This forum is supported by:
Updated: January 3, 2013
Today on TSR

### Edexcel GCSE Maths Unofficial Markscheme

Find out how you've done here

Poll
Useful resources

### Maths Forum posting guidelines

Not sure where to post? Read the updated guidelines here

### How to use LaTex

Writing equations the easy way

### Study habits of A* students

Top tips from students who have already aced their exams