# Puzzle on Heavier Ball

## Puzzle on Ball: Lighter or Heavier

This puzzle is a heavier ball puzzle in which you have to detect which ball is heavier or lighter. The premise and objective are given below:-

Premise – You have 8 balls that are of the same size. 7 of them weigh the same, and one among them weighs slightly more.

Objective – How can you find the ball which is heavier by using a balance and only two weighs?

### Solution of Weighing Puzzle:

Divide the balls into the following groups: (1,2,3),(4,5,6),(7,8)

Step 1.

• Weigh (1,2,3) against (4,5,6)
• Two possible outcomes:
• 1. The two groups are equally heavy. (Case A)
• 2. One of these groups is heavier than the other. (Case B)

Case A – Weigh 7 against 8. Now you have identified the heavier ball in 2 weighings.

Case B – Take the heavier group (assume it to be (1,2,3)), take any two balls, and weigh them against each other. Any one of them is heavier else the third ball is.

Step 1 – Divide the balls into the following groups:

(1,2,3), (4,5,6), (7,8)

Step 2 – Weigh Group A (1,2,3) against Group B (4,5,6).

Now, there are two possibilities that maybe the both the group weigh equal or both do weigh equal.

Case A: When both the group A & B weigh equal.

If Case A happened then measure between ball 7 against 8, and you will find the result that which ball is heavier.

Now, in Case B, one of the group among A & B weigh more. Than, lets suppose Group A (1, 2, 3) is weigh more.

Now, weigh the balls of Group A against each other one after other, and we will find heavier ball in 2 chance.

## Get over 200+ course One Subscription

Courses like AI/ML, Cloud Computing, Ethical Hacking, C, C++, Java, Python, DSA (All Languages), Competitive Coding (All Languages), TCS, Infosys, Wipro, Amazon, DBMS, SQL and others