How do I compute P(y>x) given f(x) and f(y|x)?

BookMark440
Messages
9
Reaction score
0

Homework Statement


Given f(x) = e^-x and f(y|x) = 1/x e^(-y/x). Three parts: (a) Compute density of (x,y), (b) Compute E(y) and (c) Compute P(y>x).


Homework Equations


f(x,y) = f(y|x)f(x)
if f(x) = ve^(-vx), then E(x)=v^(-1)

The Attempt at a Solution



I'm stuck on a problem. I was given f(x) and f(y|x) and was able to derive f(x,y) and compute E(y). The third step of the problem is computing P[y>x]. I think I need to know f(y) to answer this problem but I can't figure out how to derive it. Or is there a way to compute P(y>x) given the info I know without deriving f(y)?
 
Physics news on Phys.org
Hi BookMark440! :smile:

Hint: what is P(y>x) for a fixed value of x? :wink:
 
Maybe I am looking for the wrong answer. Do I simply need to find the portion of f(x)=exp(-x) that are to the left of its intersection with f(x)=x ?

This would mean I am looking for the intersection, which is exp(-x) = x, solving for x?

That is:

-x*log e = log x
0.4343 = -(log x)/x

But what step is next? Is there some law of logs I am missing to simplify this? From graphing the problem, it looks like the point of intersection is (1 - log e) but I can't see how the above translate into (1-log e).
 
Last edited:
BookMark440 said:
Maybe I am looking for the wrong answer. Do I simply need to find the portion of f(x)=exp(-x) that are to the left of its intersection with f(x)=x ?

No, for P(y>x) you need to find the portion of y, don't you? :smile:
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top