Definition (Conditional pmf)
Given two discrete RVs X and Y with joint pmf p(x,y),x∈X,y∈Y, the conditional pmf of x given that Y=y is denoted by pX∣Y(x∣y) and defined as pX∣Y(x∣y)=P(Y=y)P(X=x,Y=y)=py(y)pxy(x,y), x∈X
Definition (Conditional Probability Density Function)
Given two continuous RVs X and Y with joint pdf fxy(x,y),x∈X,y∈Y, the conditional pdf of X given that Y=y is denoted by fX∣Y(x∣y) and defined as fX∣Y(x∣y)=fy(y)fxy(x,y), x∈X, f(y)>0