My solution is two weighings.
1. 3 balls in each pan.
2. If the first weighing balances then weigh the remaing two. If they don't balance then weigh any two from the heavier pan. If they balance then it is the other ball that is the heaviest.

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.