The points P, Q, R, and S form quadrilateral PQRS in the coordinate plane. What condition verifies that the diagonals are perpendicular?
a. The diagonals have the same length.
b. The product of the slopes of the diagonals is 0.
c. The diagonals have different lengths.
d. The product of the slopes of the diagonals is 1.