Example 3.3 of Ross's book on Introduction to Probability models is If X and Y are independent Poisson random variables with respective means λ1 and λ2, calculate the conditional expected value of X given that X +Y = n. And the solution is quite straight forward. Now, what if instead we had $P\{X|X+Y \ne n\}$? Can I just replace $P\{Y=\}$ with $1-P$?
$ P\{X=k|X+Y=n\} = \frac{P\{X=k \ , \ X+Y=n\}}{P\{X+Y = n\}} = \frac{P\{X=k \ , \ Y=n-k\}}{P\{X+Y = n\}} = \frac{P\{X=k\} P\{Y=n - k\}}{P\{X+Y = n\}} $
$ P\{X=k|X+Y \ne n\} = \frac{P\{X=k \ , \ X+Y \ne n\}}{P\{X+Y \ne n\}} = \frac{P\{X=k \ , \ Y \ne n-k\}}{P\{X+Y \ne n\}} = \frac{P\{X=k\} P\{Y \ne n - k\}}{P\{X+Y \ne n\}} = \frac{P\{X=k\}(1-P\{Y = n-k\})}{1-P\{X+Y=n\}} $
Does that work? Thanks