# Probability generating function for random variable

tamintl

## Homework Statement

A random variable X has probability generating function gX(s) = (5-4s2)-1

Calculate P(X=3) and P(X=4)

## The Attempt at a Solution

Ehh don't really know where to go with one... I know:

gX(s) = E(sx) = Ʃ p(X=k)(sk)

Nit sure how to proceed..
Any help would be great!!

Regards
Tam

Staff Emeritus
Homework Helper
What is $g_X(0)$?? What is $g^\prime_X(0)$?? (the derivative)

tamintl
What is $g_X(0)$?? What is $g^\prime_X(0)$?? (the derivative)

$g_X(0)$ = 5-1= 1/5
$g^\prime_X(0)$= 0

Staff Emeritus
Homework Helper
Yes, and what if you calculate the same thing using

$$g_X(s)=\sum P\{X=k\}s^k$$

??

tamintl
Yes, and what if you calculate the same thing using

$$g_X(s)=\sum P\{X=k\}s^k$$

??

Not sure what u mean but $$g_X(0)=\sum P\{X=3\}0^3$$=0 ???
Sorry

Staff Emeritus
Homework Helper
Not sure what you mean but $$g_X(0)=\sum P\{X=3\}0^3$$=0 ???
Sorry

OK, if you have the series

$$P\{X=0\}+P\{X=1\}s+P\{X=2\}s^2+...$$

what happens if I put s=0??

tamintl
OK, if you have the series

$$P\{X=0\}+P\{X=1\}s+P\{X=2\}s^2+...$$

what happens if I put s=0??

You will get '0'

Staff Emeritus