How to Derive the PDF of a Continuous Random Variable?

  • Context: Graduate 
  • Thread starter Thread starter mcfc
  • Start date Start date
  • Tags Tags
    Distribution
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
mcfc
Messages
16
Reaction score
0
Hello

I'm not too sure if this is the correct location for my post, but it's the best fit I can see!

The cdf of the continuous random variable X is
[tex]F(x)=\left\{\begin{array}{cc}0&\mbox{ if }x< 0\\<br /> {1\over 4} x^2 & \mbox{ if } 0 \leq x \leq 2\\<br /> 1 &\mbox{ if } x >2\end{array}\right.[/tex]

Q1-Obtain the pdf of X
Q2-If Y = 2 - X, derive the pdf of the random variable Y

A1-I think the cdf is given by [tex]f(x) = F'(x)=\left\{\begin{array}{cc}{1\over 2}x &\mbox{ if } 0 \leq x \leq 2 \\<br /> 0 &\mbox{ elsewhere } \end{array}\right.[/tex]
Is that correct?

A2-For the pdf of Y: [tex]G(Y) = P(Y \leq y) = P(2 - x \leq y) = P(x \geq 2-y)[/tex] but I'm not sure how to proceed??
Thanks
 
Physics news on Phys.org
mathman said:
A1 - you're right.

A2 [tex]G(y) = P(Y \leq y) = P(2 - X \leq y) = P(X \geq 2-y) = 1-P(X < 2-y)=1-F(2-y)[/tex]
G'(y)=F'(2-y) for the pdf

Thanks,
Q1-how would I evaluate:
[tex]G(y) = 1-F(2-y)\<br /> \mbox{to give the cdf? Do I just substitute 2-y into }{1 \over 4} x^2 \mbox{ to give }<br /> G(Y) = 1 - {1 \over 4} (2-y)^2 = 4y - {1 \over 4}y^2\ for \ 0 \leq y \leq 2[/tex]
[tex]\mbox{for the cdf of Y? and so for the pdf: } 4-{1 \over 2}y[/tex]

Q2-Why are you able to make this step: [tex]1-P(X < 2-y)=1-F(2-y)[/tex]