Let’s Recall the Following:


For Conditional Expectation we are given a few new formulas:

  • For Discrete Random Variables:
  • For Continuous Random Variables:

We are also given some new Key Properties:

  • Linearity:

  • Tower Law (Iterated Expectation):

  • Taking Out What’s Known:
    If is a function of , then

  • Non‐negativity:
    If almost surely, then almost surely.


Example

Let and have a joint uniform distribution on the triangle with corners and the origin.

  1. Find

We can think of this as a wedge of cheese in , and for this reason we know that this is a continuous problem.

Plugging in for the integral:

Exercise 40.11 - Doctor's appointments

A doctor has two consecutive appointments with patients. The duration of each appointment is Exponential with expected value 20 minutes. the durations of the two appointments are assume to be independent. Given that the total duration of the two appointments turns out to be minutes altogether, how long do we expect the first appointment to be?

We know that each appointment is something like:

Given that we know the

Now we want the total duration:


Solution:

  • Joint density:

  • Sum density (Erlang–2):

  • Conditional density:

  • Hence

  E[X_1\mid Y=y]
  =\int_{0}^{y}x_1\,\frac1y\,dx_1
  =\frac y2,
> > so $E[X_1\mid Y=38]=19$ min.