Hey IsomaDan

Consider that p(x,y) will be the integral of dp(x,y)/dx with respect to x (or dx) plus some constant (if you are looking at an indefinite integral) and if p(y,y) = 0 then this constant needs to take into account the nature of this condition.