Dimes and Nickels: Solving a Coin Problem
What This Problem Teaches
- Setting up systems of equations from real-world constraints
- Converting between dollars and cents to avoid decimal arithmetic
- Recognizing that coin problems always yield whole number solutions
- Using substitution method to solve 2×2 systems
- Verification strategies for multi-constraint problems
Let's Draw It
Before we dive into the algebra, let's visualize what we're working with:
This diagram shows our setup: we have some number of nickels (worth 5¢ each) plus some number of dimes (worth 10¢ each), and we know the total count is 30 and the total value is 260 cents.
Solution: Method 1 — System of Equations Approach
The standard approach treats this as a system with two unknowns and two constraints.
Step 1 — Define the variables
Let n = number of nickels and d = number of dimes. We're asked to find n.
Step 2 — Write the coin count equation
The total number of coins is 30:
Step 3 — Write the value equation
Convert $2.60 to 260 cents to avoid decimals. Each nickel contributes 5 cents, each dime contributes 10 cents:
Step 4 — Solve using substitution
From the first equation: d = 30 - n. Substitute this into the value equation:
5n + 300 - 10n = 260
-5n + 300 = 260
-5n = -40
n = 8
Step 5 — Find the number of dimes
Using n = 8 in the first equation: d = 30 - 8 = 22
Solution: Method 2 — "All Dimes" Assumption
This approach uses a clever shortcut: assume all coins are one type, then adjust.
Step 1 — Imagine all coins were dimes
If all 30 coins were dimes, their total value would be:
Step 2 — Compare to actual value
The actual value is 260¢, so our assumption gives us:
Step 3 — Calculate the adjustment needed
Each time we replace a dime (10¢) with a nickel (5¢), we reduce the total value by 5¢. To reduce by 40¢:
So we need 8 nickels and 22 dimes.
Verification
Let's check our answer against both constraints:
| Coin Type | Count | Value Each | Total Value |
|---|---|---|---|
| Nickels | 8 | 5¢ | 40¢ |
| Dimes | 22 | 10¢ | 220¢ |
| Total | 30 | — | 260¢ = $2.60 |
✓ Value check: 40¢ + 220¢ = 260¢ = $2.60
Watch Out For These
The Pattern Behind This
All coin problems with two types follow this structure:
Count equation: x + y = total coins
Value equation: (value₁)x + (value₂)y = total value in cents
How to Spot This Problem Type
Coin problems have distinctive markers that signal the approach:
- "All [coin type] and [coin type]" — tells you there are exactly two types
- A total count — gives you the first equation
- A total value — gives you the second equation
- "How many..." — asks for one of the unknowns
What If?
Let n = nickels, d = dimes. Then: n + d = 24 and 5n + 10d = 200 cents.
From the first equation: d = 24 - n. Substituting: 5n + 10(24 - n) = 200
5n + 240 - 10n = 200, so -5n = -40, giving n = 8
8 nickels and 16 dimes. Check: 8 + 16 = 24 coins, and 40¢ + 160¢ = 200¢ = $2.00 ✓
Let n = nickels, p = pennies, d = dimes. Given: p = 2n (twice as many pennies as nickels).
Count: p + n + d = 30. Value: p + 5n + 10d = 157 cents. Substituting p = 2n: 2n + n + d = 30 and 2n + 5n + 10d = 157
3n + d = 30 so d = 30 - 3n. Also: 7n + 10d = 157
7n + 10(30 - 3n) = 157 gives 7n + 300 - 30n = 157, so -23n = -143 and n = 6.22... Wait — this should be a whole number!
This problem has no whole-number solution — the given constraints are inconsistent with having whole coins. In a real problem, we'd need to verify the given values.
8 nickels are worth 8 × 5¢ = 40¢
Total value is 260¢, so dimes are worth 260¢ - 40¢ = 220¢
Number of dimes = 220¢ ÷ 10¢ = 22 dimes
Total coins = 8 + 22 = 30 coins
Check: 8 nickels (40¢) + 22 dimes (220¢) = 30 coins worth 260¢ = $2.60 ✓
n + d = 30 and 5n + 10d = 255 cents
d = 30 - n, so 5n + 10(30 - n) = 255 gives 5n + 300 - 10n = 255
-5n = -45, so n = 9 and d = 21
9 nickels (45¢) + 21 dimes (210¢) = 30 coins worth 255¢ = $2.55 ✓
Answer: 9 nickels. This problem works fine! The "impossible" was a red herring — some combinations of count and value do work out to whole numbers.
Frequently Asked Questions
Write two equations: one for the total count of coins and one for the total value. In this problem, if n is nickels and d is dimes, then n + d = 30 (count equation) and 5n + 10d = 260 cents (value equation). Always convert dollars to cents to avoid decimals.
Assume all coins are one type, calculate the hypothetical value, then compare to the actual value. Here, if all 30 coins were dimes, they'd be worth 300 cents. The actual value is 260 cents, so we're 40 cents too high. Since each nickel is 5 cents less than a dime, we need 8 nickels to reduce the value by 40 cents.
You can't have fractional coins in real life - you either have 5 nickels or 6 nickels, never 5.7 nickels. If your setup leads to a fractional answer, check your arithmetic or verify that the given values are consistent with having only whole coins.
2026-06-11