Finding CDF for Continuous RVs problem

  • Thread starter Thread starter nontradstuden
  • Start date Start date
  • Tags Tags
    Cdf Continuous
Click For Summary

Homework Help Overview

The problem involves finding the cumulative distribution function (CDF) for a given probability density function (PDF) defined piecewise over specific intervals. The original poster expresses difficulty in calculating the CDF correctly and questions the validity of their results.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • The original poster attempts to derive the CDF from the provided PDF and calculates constants for different intervals. They express confusion over the resulting values not aligning with expected outcomes.
  • Some participants suggest reconsidering the geometric interpretation of the area under the curve, questioning the validity of the PDF based on its integration exceeding 1.
  • Others note that the introduction of arbitrary constants in the CDF may not be necessary and point out potential flaws in the problem setup.

Discussion Status

The discussion is ongoing, with participants exploring different interpretations of the problem. Some guidance has been offered regarding the geometric perspective and the legitimacy of the PDF, but no consensus has been reached on how to resolve the original poster's confusion.

Contextual Notes

There is a concern that the provided PDF integrates to a value greater than 1, which raises questions about its validity as a probability density function. The original poster has reached out to their professor for further clarification.

nontradstuden
Messages
51
Reaction score
0

Homework Statement


I'm given the pdf and asked to find F(y)/ cdf. I've calculated it many times, but I'm not getting the right numbers. the pdf is

f(y)= .5, ....-2≤y≤0
.75-.25y,...1≤y≤3
0,...elsewhere

so that means

f(y)= 0,...y< -2
0.5, ...-2≤y≤0
0,...0<y<1
.75-.25y,...1≤y≤3
0,... y>3

right?

So, my CDF is

F(y)= c1,...... y<-2
.5y +c2,..... -2≤y≤0
c3, .......0<y<1
.75y- .125y^2+ c4,... 1≤y≤3
c5,.........y>3

so, I found the constants, but I'm not getting c5=1.

0=c1=.5y+c2 at y=-2
so 1=c2.5y+1=c3 at y=0
so 1=c31=c3=.75y- .125y^2+ c4 at y=1
1= .75- .125+ c4
1-.625= .375=c4.75y-.125y^2+ .375= c5 at y=3
.75*3 -.125(9) +.375= c5
2.25 - 1.125 + .375= 1.5=c5≠1I don't know where I'm going wrong. Could you show me?? -_- Much thanks.I hope this is legible...
 
Physics news on Phys.org
Assuming you've given the right problem statement, I think the question is just flawed. Take a step back from calculus for a bit and consider you are just accumulating area. The function is zero before y = -2, so at that point the accumulation is zero. You then accumulate a rectangle of length 2 (from -2 to 0) and height .5. The area accumulated it 2*.5 = 1. You've already gotten 1 area... so the fact you will be accumulating more is a problem.
 
@RoshanBBQ,

Yeah, I looked at it from a geometric pov and it came out to be more than 1, but I've worked this problem many times, with a calculator and without... being careful with the numbers and such... I've just e-mailed my professor, so we shall see D:... Thanks for your quick response!
 
nontradstuden said:

Homework Statement


I'm given the pdf and asked to find F(y)/ cdf. I've calculated it many times, but I'm not getting the right numbers. the pdf is

f(y)= .5, ....-2≤y≤0
.75-.25y,...1≤y≤3
0,...elsewhere

so that means

f(y)= 0,...y< -2
0.5, ...-2≤y≤0
0,...0<y<1
.75-.25y,...1≤y≤3
0,... y>3

right?

So, my CDF is

F(y)= c1,...... y<-2
.5y +c2,..... -2≤y≤0
c3, .......0<y<1
.75y- .125y^2+ c4,... 1≤y≤3
c5,.........y>3

so, I found the constants, but I'm not getting c5=1.

0=c1=.5y+c2 at y=-2
so 1=c2


.5y+1=c3 at y=0
so 1=c3


1=c3=.75y- .125y^2+ c4 at y=1
1= .75- .125+ c4
1-.625= .375=c4


.75y-.125y^2+ .375= c5 at y=3
.75*3 -.125(9) +.375= c5
2.25 - 1.125 + .375= 1.5=c5≠1


I don't know where I'm going wrong. Could you show me?? -_- Much thanks.


I hope this is legible...

For any z > -2 the CDF is F(z) = \int_{-2}^z f(y) \, dy, so there is no need to introduce arbitrary constants of integration. However, your f(y) integrates to 3/2 > 1, so is not a legitimate probability density function.

RGV
 

Similar threads

Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
4
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 11 ·
Replies
11
Views
7K