Piggy Bank: Solving a Coin System
What This Problem Teaches
- Setting up systems of equations from real-world constraints
- Converting between dollars and cents to avoid decimal arithmetic
- Using substitution method to solve two-variable systems
- Recognizing when two pieces of information create exactly the system you need
- Verification strategies for checking solutions in context
Solution: Method 1 — The System Setup
This is a classic two-constraint problem. We have information about both the count of coins and their total value. That gives us exactly what we need for a system of equations.
Step 1 — Define variables
Let q = number of quarters and n = number of nickels.
Step 2 — Write the count equation
Sang-Jin has 66 coins total:
Step 3 — Write the value equation
First, convert $13.50 to cents to avoid decimals: $13.50 = 1350¢. Each quarter is worth 25¢ and each nickel is worth 5¢:
Step 4 — Solve by substitution
From the count equation, we can express nickels in terms of quarters:
Substitute this into the value equation:
Step 5 — Simplify and solve
Distribute the 5:
Combine like terms:
Subtract 330 from both sides:
Divide by 20:
Step 6 — Find the number of nickels
Using n = 66 - q:
Solution: Method 2 — The Replacement Strategy
Here's a completely different way to think about it. Instead of algebra, we'll imagine replacing coins to see what happens to the value.
Step 1 — Start with all nickels
Imagine all 66 coins were nickels. The total value would be:
Step 2 — Calculate the value gap
But we actually have $13.50, which is 1350¢. The difference is:
Step 3 — Find the value gain per replacement
Each time we replace a nickel (5¢) with a quarter (25¢), we gain:
Step 4 — Calculate needed replacements
To gain 1020¢ total, we need:
So we need 51 quarters and 15 nickels remaining.
Verification
Let's verify our answer satisfies both original constraints:
Count check: 51 + 15 = 66 coins ✓
Value check:
- 51 quarters: 51 × 25¢ = 1275¢
- 15 nickels: 15 × 5¢ = 75¢
- Total: 1275¢ + 75¢ = 1350¢ = $13.50 ✓
Both constraints are satisfied, confirming our solution.
Common Pitfalls
✗ Mistake 1: Mixing dollars and cents
Writing 0.25q + 0.05n = 13.50 and then getting confused with decimal arithmetic. This often leads to calculation errors when students forget to carry decimal places correctly.
✗ Mistake 2: Setting up the wrong value equation
Writing q + n = 13.50 or 25q + 5n = 66. Students sometimes confuse which constraint refers to count versus value. Always check: Does this equation make sense dimensionally?
✗ Mistake 3: Forgetting to answer the actual question
Solving the system correctly but then stating "The answer is 51 and 15" without specifying which number represents quarters. The problem asks specifically for the number of quarters.
The Pattern Behind This
All two-coin problems follow this same structure. If you have coins worth a cents and b cents, with n total coins worth v total cents, then:
ax + by = v
Where x and y are the quantities of each coin type. The substitution method always works: solve the first equation for one variable, substitute into the second, and solve.
The replacement strategy also generalizes: start with all coins of the lower value, then calculate how many need to be "upgraded" to reach the target value. The number of upgrades equals (v - nb)/(a - b).
Does This Seem Reasonable?
Let's check if 51 quarters out of 66 coins makes intuitive sense.
Quarters are worth 5 times as much as nickels, so if we had equal numbers of each, quarters would contribute 5/6 of the total value. But we actually have mostly quarters (51 out of 66), so they should contribute even more than 5/6 of the value.
Indeed: 51 quarters contribute $12.75 out of $13.50, which is about 94% of the value. That fits perfectly with having about 77% quarters by count but quarters being worth 5 times as much.
Where This Shows Up in Real Life
- Business inventory: Mixing two products with different prices to achieve a target revenue
- Investment portfolios: Balancing high-yield and low-yield investments to meet return goals
- Manufacturing: Combining materials of different costs to stay within budget constraints
What If?
Let q = quarters, d = dimes. Then q + d = 66 and 25q + 10d = 1410 cents.
From the first equation: d = 66 - q. Substitute: 25q + 10(66 - q) = 1410
25q + 660 - 10q = 1410, so 15q = 750, giving q = 50
d = 66 - 50 = 16 dimes
Check: 50 + 16 = 66 ✓ and 50×25¢ + 16×10¢ = 1250¢ + 160¢ = 1410¢ ✓
Answer: 50 quarters
Let q = quarters, d = dimes, n = nickels. Given: n = 2d
Count: q + d + n = 66. Value: 25q + 10d + 5n = 1350
q + d + 2d = 66 becomes q + 3d = 66
25q + 10d + 5(2d) = 1350 becomes 25q + 20d = 1350
From first equation: q = 66 - 3d. Substitute: 25(66 - 3d) + 20d = 1350
1650 - 75d + 20d = 1350, so -55d = -300, giving d = 5.45...
Since coins must be whole, try d = 6: then n = 12 and q = 66 - 3(6) = 48
Check value: 48×25¢ + 6×10¢ + 12×5¢ = 1200¢ + 60¢ + 60¢ = 1320¢ ≠ 1350¢
This problem has no integer solution with the given constraints.
Original: 51 quarters + 15 nickels = 66 coins
After adding 8 quarters: 66 + 8 = 74 coins
New amounts: 51 + 8 = 59 quarters, still 15 nickels
Quarters: 59 × 25¢ = 1475¢
Nickels: 15 × 5¢ = 75¢
Total: 1475¢ + 75¢ = 1550¢ = $15.50
Original value was $13.50. Added 8 quarters worth 8 × $0.25 = $2.00
New value: $13.50 + $2.00 = $15.50 ✓
Answer: 74 coins worth $15.50
Let q = quarters, d = dollar coins
Count: q + d = 66. Value: 25q + 100d = 3800 cents
From count equation: q = 66 - d
Substitute: 25(66 - d) + 100d = 3800
1650 - 25d + 100d = 3800
1650 + 75d = 3800
75d = 2150
d = 28.67...
Try d = 28: q = 66 - 28 = 38
Value check: 38 × 25¢ + 28 × 100¢ = 950¢ + 2800¢ = 3750¢ = $37.50
Try d = 29: q = 66 - 29 = 37
Value check: 37 × 25¢ + 29 × 100¢ = 925¢ + 2900¢ = 3825¢ = $38.25
This problem has no exact integer solution. Closest: 37 quarters, 29 dollar coins ($38.25)
Frequently Asked Questions
2026-11-24