Calculating Probability for a Discrete Random Variable

  • Thread starter Thread starter bethanyd
  • Start date Start date
  • Tags Tags
    Stats
AI Thread Summary
To find P(1 < X <= 3.5 for a discrete random variable X with p.d.f. f(x) = {cx if x=1,2,3,4; 0 otherwise}, the constant c is determined to be 1/10. The calculation for P(1 < X <= 3.5 incorrectly uses f(3.5), which is not valid since X can only take integer values. The correct approach involves evaluating the probabilities for the integer values 2 and 3, leading to P(1 < X <= 3) instead. The discussion emphasizes the importance of adhering to the discrete nature of the variable in probability calculations.
bethanyd
Messages
11
Reaction score
0

Homework Statement


If X is a discrete random variable with p.d.f. f(x) = {cx if x=1,2,3,4 ; 0 otherwise} where c is a constant.
Find P(1< X =< 3.5)

Homework Equations


I solved for c:
f(x) = 1 = c(1+2+3+4)
10c = 1
c = 1/10

The Attempt at a Solution


I have the following solution:
P(1< X =< 3.5) = f(3.5) - f(1)
= c(3.5) - c(1)
= c(2.5)
=0.25

I am not sure if this is correct. Please help!

Beth
 
Physics news on Phys.org
f(x) = 1 = c(1+2+3+4) why ?
isnt it integral of f(x)=1?
i could be totaly off though!
 
hmm, possibly... we're not supposed to use calc in my course, or would there be another way of solving it?
 
no idea, I am in a class too, and apparently i have to do that to somethign with 2 variables, and I am so confused! :P sorry i can't help more
 
aw, no problems... this question is so frustrating because it's really difficult to find examples online, and I don't think we did a single example in class of this. I don't want to just guess the answer, but I may have to!
 
bethanyd said:

Homework Statement


If X is a discrete random variable with p.d.f. f(x) = {cx if x=1,2,3,4 ; 0 otherwise} where c is a constant.
Find P(1< X =< 3.5)

Homework Equations


I solved for c:
f(x) = 1 = c(1+2+3+4)
10c = 1
c = 1/10

The Attempt at a Solution


I have the following solution:
P(1< X =< 3.5) = f(3.5) - f(1)
= c(3.5) - c(1)
= c(2.5)
=0.25

I am not sure if this is correct. Please help!

Beth
X is discrete. It can only take on integer values 1, 2, 3, 4. You are violating this condition in your calculation.

Does this help?
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Back
Top