100 coins made up of pennies, dimes and quarters worth $5.00

algebra-precalculuselementary-number-theory

I'm currently working through the book 'Elementary Number Theory' by Underwood Dudley, and I came across an example of seeing whether or not we can have 100 cents, dimes and quarters be worth exactly $5.00.

Before I begin, I know the above task is impossible, but I want to know the logic behind the steps we took to arrive at that conclusion.

In the example we derived 2 equations,

$c+d+q = 100$ and $c+10d+25q=500$

Which was relatively straightforward. But what I have trouble with is the following:

When we subtract the 1st equation from the 2nd, we get $9d+24q=400$, which I know is to cancel out the c, but why?

The 2 values are of different types, the first equation deals with the number of coins, the second deals with the number of cents, if we subtract the 2 equations, then aren't we subtracting coins from cents, which shouldn't be possible?

Then the example goes to show that it's not possible to have exactly 5 dollars with 100 coins comprised pennies, dimes, etc.. by applying a previously defined lemma on the equation $9d+24q=400$, which is out of the scope of this question, so what I'm after is:

Is there a way to visualize what we're doing to the equations in terms of the objects in this question? (coins, pennies, etc…)? I just want an intuitive understanding of what we're doing here.

I've tried to visualize the 2 equations as scales that we need to balance, but I can't quite fit my model into this question as the scales differ in units of measurement (coins vs pennies).

Best Answer

One point of view is, once you have abstracted the "real-world" quantities (number of coins, number of cents) into equations with named variables, you can go at it with algebra and never mind what the next equation "means" in "reality."

You may have to take this view some day for some problem. For this problem, in the equation $9d+24q=400,$ you know that every coin contributes at least one cent to the total value; the $9$ represents the number of extra cents that each dime contributes, and the $24$ represents the number of extra cents that each quarter contributes.

If the $100$ coins were all pennies we would be $400$ cents short of five dollars, so the $d$ dimes and $q$ quarters need to contribute a total of $400$ "extra" cents: $$9d+24q=400.$$

Related Question