Problem Statement Assumed)

  Blog    |     January 28, 2026

The "Hidden Product Defect" problem typically refers to a classic logical puzzle where you must identify a defective item among a set of identical-looking items using a limited number of tests. A common version involves 12 coins, one of which is defective (either heavier or lighter than the others), and you must find it using a balance scale in just three weighings. Below, I'll provide a step-by-step solution for this scenario. If this isn't the exact problem you're referring to, please provide more details for a tailored response.

  • You have 12 coins, one of which is defective (either heavier or lighter).
  • You have a balance scale (which compares the weight of two groups and tells you which is heavier or if they balance).
  • You must identify the defective coin and determine whether it is heavier or lighter in exactly three weighings.

Solution Strategy

The key is to divide the coins into groups and use the outcomes of each weighing to eliminate possibilities. The process ensures that all cases are covered, including whether the defective coin is heavier or lighter. Here's the step-by-step method:

Step 1: First Weighing

  • Divide the 12 coins into three groups of four: Group A (coins 1, 2, 3, 4), Group B (coins 5, 6, 7, 8), and Group C (coins 9, 10, 11, 12).
  • Weigh Group A against Group B (i.e., coins 1,2,3,4 vs. 5,6,7,8).

There are three possible outcomes:

  1. A and B balance: The defective coin is in Group C (coins 9–12). Proceed to Case 1.
  2. A is heavier than B: The defective coin is either in A (and heavier) or in B (and lighter). Proceed to Case 2.
  3. A is lighter than B: The defective coin is either in A (and lighter) or in B (and heavier). This is symmetric to Case 2; just swap the roles of A and B.

Case 1: A and B Balance (Defective in Group C: 9–12)

  • Second Weighing: Weigh three coins from Group C against three known good coins (e.g., coins 1, 2, 3 from Group A, which are now known to be good).
    • Weigh coins 9, 10, 11 vs. 1, 2, 3.
      • If they balance: Coin 12 is defective.
        • Third Weighing: Weigh coin 12 against any good coin (e.g., coin 1).
          • If 12 is heavier, it is heavy.
          • If 12 is lighter, it is light.
      • If 9,10,11 are heavier: One of 9, 10, or 11 is heavy.
        • Third Weighing: Weigh coin 9 vs. coin 10.
          • If 9 > 10, coin 9 is heavy.
          • If 10 > 9, coin 10 is heavy.
          • If they balance, coin 11 is heavy.
      • If 9,10,11 are lighter: One of 9, 10, or 11 is light.
        • Third Weighing: Weigh coin 9 vs. coin 10.
          • If 9 < 10, coin 9 is light.
          • If 10 < 9, coin 10 is light.
          • If they balance, coin 11 is light.

Case 2: A is Heavier than B (Defective in A or B; A could be heavy or B could be light)

  • Second Weighing: Weigh a mix of coins from A and B against each other and known good coins. Specifically:
    • Weigh coins 1, 2, and 5 (from A and B) against coins 3, 6, and 9 (from A, B, and C, where 9 is from Group C and is known good because A and B didn't balance).
      • If they balance: The defective coin is among the unweighed coins from B (coins 7 or 8), and it must be light (since B was lighter in the first weighing).
        • Third Weighing: Weigh coin 7 vs. coin 8.
          • If 7 < 8, coin 7 is light.
          • If 8 < 7, coin 8 is light.
          • If they balance, this outcome is impossible (as one must be defective).
      • If the left side (1,2,5) is heavier: The defective coin is either 1 or 2 (heavy) or 6 (light).
        • Third Weighing: Weigh coin 1 vs. coin 2.
          • If 1 > 2, coin 1 is heavy.
          • If 2 > 1, coin 2 is heavy.
          • If they balance, coin 6 is light.
      • If the right side (3,6,9) is heavier: The defective coin is either 3 (heavy) or 5 (light).
        • Third Weighing: Weigh coin 3 against a known good coin (e.g., coin 9).
          • If 3 > 9, coin 3 is heavy.
          • If they balance, coin 5 is light.

Case 3: A is Lighter than B (Defective in A or B; A could be light or B could be heavy)

This is symmetric to Case 2. Follow the same steps as Case 2, but swap the roles of A and B:

  • Second Weighing: Weigh coins 5, 6, and 1 (from B and A) against coins 7, 2, and 9 (from B, A, and C).
    • If they balance: Defective is among coins 3 or 4 (from A), and it must be light.
      • Third Weighing: Weigh coin 3 vs. coin 4; the lighter one is defective.
    • If the left side (5,6,1) is heavier: Defective is either 5 or 6 (heavy) or 2 (light).
      • Third Weighing: Weigh coin 5 vs. coin 6; the heavier one is defective if unequal, or coin 2 is light if they balance.
    • If the right side (7,2,9) is heavier: Defective is either 7 (heavy) or 1 (light).
      • Third Weighing: Weigh coin 7 vs. coin 9; if 7 > 9, it is heavy, else coin 1 is light.

Key Principles Applied

  • Divide and Conquer: By splitting the coins into groups, each weighing reduces the number of possibilities.
  • Information from Outcomes: Each weighing's result (balance, left heavy, right heavy) provides specific information to narrow down the defective coin.
  • Efficiency: The method ensures that all 24 possible scenarios (12 coins × 2 defect types) are covered in three weighings, as each weighing has three outcomes (3³ = 27, which is sufficient

Request an On-site Audit / Inquiry

SSL Secured Inquiry