you have a balance and 9 balls. the balls are equal size, equal colour etc. only one ball is 1 gram heavier than the others. you can't feel it just with hands so you need the balance. you can weigh max. 3 times. how do you know which is the heavier ball?
Do you mean a weigh which I can compare balls or do you mean a scales on which you have to weigh them? I'm guessing the first.
Put them in pairs of three. Name the first pair X, second Y and the last Z
Put X and Y on a balancer
if the balancer says that X<Y, then the heavier ball is in the pair Y. Then just take two balls, compare them and if they are equal, then the ball which I didn't put on the balance is the heaviest
If X<Y, then take two balls from X, compare them and see whether one is heavier than the other. If not, it's the last ball in X which is the heaviest
if X=Y, then the heavier ball is in pile Z. Take two from there, compare and do as above.
This only contained 2 weighs though... didn't it?