The potential energy of the system will be =
For Rl > Pl/2
Principle of total minimum Potential Energy
Suppose we displace the rod by q (small angle)