8 ball puzzle

Question:
You have 8 balls. One of them is defective and weighs less than others. You have a balance to measure balls against each other. In 2 weightings how do you find the defective one?

Answer:

Rather doing 8 balls balance, just do 6. 3 balls on each balance side. If balance are found equal means among remaining 2 balls, one of them is defective.If balance is unequal, unload the heavy side (put aside 3 balls from heavy side). Pick 2 ball from light balance side that has 3 before put one aside and other one on other side of the balance. If balance come equal means the put aside ball is the lighter one else the lighter side of balance is the one.