Calculating Probability for a Discrete Random Variable

  • Thread starter Thread starter bethanyd
  • Start date Start date
  • Tags Tags
    Stats
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
5 replies · 2K views
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 totally 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?