There are two conditions that must be satisfied by
and
:
and
We begin by evaluating the first integral, and note right from the start that
, since otherwise the integral would be divergent.
because
since
. The condition that
is a probability density yields that
Next, we use integration by parts to evaluate the expected value. We have
But once again by the fact that
,
and
, so
But remember that
, which allows us to simplify the above expression as
. Using that
, we obtain
Now, because
and
, we get
and