Help with discrete random variables

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
1 reply · 2K views
sneaky666
Messages
64
Reaction score
0

Homework Statement



1.
Suppose u flip a coin
Z = 1 if the coin is heads
Z = 3 if the coin is tails
W = Z^2 + Z
a)
what is the probability function of Z?
b)
what is the probability function of W?

2.
Let Z ~ Geometric (theta). Compute P(5<=Z<=9).

Homework Equations


The Attempt at a Solution



1.
what i think
a)
Pz(Z) = 1 if head
3 if tail
0 otherwise
b)
Pw(W) = 2 if head
12 if tail
0 otherwise

I don't see how the probability part comes into this, where do i include the 1/2 chance part...or maybe its:
a)
Pz(Z) = 1/2 if Z is 1 or 3
0 otherwise
b)
Pw(W) = 1/2 if W is 2 or 12
0 otherwise

2.
 
Physics news on Phys.org