Linear System Problem: Finding Number of Coins with Given Value and Quantity

Click For Summary

Homework Help Overview

The problem involves a linear system related to counting coins: specifically, 22 coins consisting of pennies, nickels, and dimes that total 100 cents. The first part of the question specifies that the number of nickels and dimes is equal, while the second part removes this condition, leading to a different analysis of the system.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants discuss the formulation of equations based on the problem statement and explore the implications of removing the equality condition between nickels and dimes. There is a focus on the resulting underdetermined system of equations and the nature of its solutions.

Discussion Status

Some participants have provided insights into the nature of the solutions for the underdetermined system, noting that while there may be infinitely many solutions in real numbers, the constraints of the problem (natural numbers) limit the possible solutions. There is ongoing exploration of how to express the solutions based on a free variable.

Contextual Notes

Participants are considering the implications of working with natural numbers, which restricts the values that can be assigned to the variables representing the number of coins. The discussion also touches on the need to substitute specific values to find valid solutions within the constraints of the problem.

temaire
Messages
275
Reaction score
0

Homework Statement


1. a) If you have 22 coins consisting only of pennies, nickels, and dimes, and the coins have a total value of 100 cents, how many pennies, nickels, and dimes do you have? Also you have the same number of nickels and dimes.
b) If you do not know that you have the same number of nickels and dimes, what is the answer to the above question?


The Attempt at a Solution


I was able to figure out the answer to the first question by making the following system of equations:
x + 5y + 10z = 100
x + y + z = 22
y - z = 0

I converted this into a matrix, row reduced it, and got x=10, y=6, and z=6, in which x=penny, y=nickel, and z=dime.

However, I am unsure about part b. How can you find the number of pennies, nickels, and dimes when you have 2 equations and 3 variables? I tried, but I end up with a system of equations of:
x-\frac{5}{4}z = \frac{5}{2}
y + \frac{9}{4}y = \frac{39}{2}
 
Physics news on Phys.org
temaire said:

Homework Statement


1. a) If you have 22 coins consisting only of pennies, nickels, and dimes, and the coins have a total value of 100 cents, how many pennies, nickels, and dimes do you have? Also you have the same number of nickels and dimes.
b) If you do not know that you have the same number of nickels and dimes, what is the answer to the above question?


The Attempt at a Solution


I was able to figure out the answer to the first question by making the following system of equations:
x + 5y + 10z = 100
x + y + z = 22
y - z = 0

I converted this into a matrix, row reduced it, and got x=10, y=6, and z=6, in which x=penny, y=nickel, and z=dime.

However, I am unsure about part b. How can you find the number of pennies, nickels, and dimes when you have 2 equations and 3 variables? I tried, but I end up with a system of equations of:
x-\frac{5}{4}z = \frac{5}{2}
y + \frac{9}{4}y = \frac{39}{2}

As you made the set of equations for part a in a correct way, eliminating the 3th equation would reduce it to an underdetermined system of linear equations for which there are always further solutions because you have one degree of freedom that allows you to set the number of a particular coin by hand to get a two-equation system which is solvable iff you substitute that free variable with an appropriate number.

AB
 
Altabeh said:
As you made the set of equations for part a in a correct way, eliminating the 3th equation would reduce it to an underdetermined system of linear equations for which there are always further solutions because you have one degree of freedom that allows you to set the number of a particular coin by hand to get a two-equation system which is solvable iff you substitute that free variable with an appropriate number.

AB

Does that mean there are infinite many solutions to the underdetermined system? Or does that depend on whether its consisten or not?
 
temaire said:
Does that mean there are infinite many solutions to the underdetermined system? Or does that depend on whether its consisten or not?

If x,y,z were in R, then Yes there would be infinitely many solutions (coins). But here we deal with natural numbers and for example you can't put z=23 because it then exceeds the total number of coins. So there is a finite set of solutions.

AB
 
So I have to substitue 0,1,2,...,21,22 into z?
 
temaire said:
So I have to substitue 0,1,2,...,21,22 into z?

Look, you must put z=t which says "hey x and y! I'm free". Then from our set of equations we have:

x + y = 22-t,
x + 5y = 100-10t.

Thus one obtains the set of solutions (x,y)=(\frac{78-9t}{4},\frac{10+5t}{4}). These solutions only wok when t is an allowed value. For instance, take t=2. Then (x,y)=(5,15). So t=2 is an allowed value. Now try t=22 and tell us if that is allowed to be taken as the number of dimes.

AB
 

Similar threads

Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 30 ·
2
Replies
30
Views
4K
  • · Replies 27 ·
Replies
27
Views
2K
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K