Standard equation of a hyperbola is:
x2/a2-y2/b2=1 or x2/a2-y2/b2=-1 and the equations of its asymptotes are found from:
x2/a2-y2/b2=0, b2x2=a2y2, that is, bx=ay and bx=-ay. These lines can be written:
y=bx/a and y=-bx/a.
If the centre (origin) of the hyperbola is (h,k) then the standard equation becomes:
(x-h)2/a2-(y-k)2/b2=±1 with corresponding adjustments to the equations of the asymptotes.
Please define what you mean by p. My guess is that p=b/a or p=-b/a, being the slope of the two asymptote lines. The sign simply means that one asymptote slopes to the right and the other slopes to the left, so that the asymptotes cross one another at the centre of the hyperbola. In a rectangular hyperbola the asymptotes are each inclined at 45° to the x and y axes and are perpendicular to each other (they cross at right angles).