SOLUTION: A bag contain 3 types of coins namely $1, $2, $5. There are 30 coins amounting to $100 in total. There are twice as many $2 coins as $1 coins. Find the number of coins in each

Algebra ->  Matrices-and-determiminant -> SOLUTION: A bag contain 3 types of coins namely $1, $2, $5. There are 30 coins amounting to $100 in total. There are twice as many $2 coins as $1 coins. Find the number of coins in each      Log On


   



Question 647353: A bag contain 3 types of coins namely $1, $2, $5. There are 30 coins
amounting to $100 in total. There are twice as many $2 coins as $1
coins. Find the number of coins in each category using Cramer's rule.

Answer by Edwin McCravy(20086) About Me  (Show Source):
You can put this solution on YOUR website!
A bag contain 3 types of coins namely $1, $2, $5. There are 30 coins
amounting to $100 in total. There are twice as many $2 coins as $1
coins. Find the number of coins in each category using Cramer's rule.
Let x = the number of $1 coins
Let y = the number of $2 coins
Let z = the number of $5 coins

 x +  y +  z =  30     <-- 30 coins
1x + 2y + 5z = 100     <-- $100 total
           y = 2x      <-- twice as many $2 coins as $1 coins

Rearrange the 3rd equation, so that like letters line up in the
system:


  x +  y +  z =  30   
  x + 2y + 5z = 100     
-2x +  y      =   0

To solve using Cramer's rule:
 
Write in all the 1 coefficients and 0 for
the coefficient of the missing variable z in the
third equation:



Cramer's rule:
 
There are 4 columns,
 
1. The column of x-coefficients matrix%283%2C1%2C1%2C1%2C-2%29
 
2. The column of y-coefficients matrix%283%2C1%2C1%2C2%2C1%29
 
3. The column of z-coefficients matrix%283%2C1%2C1%2C5%2C0%29 
 
4. The column of constants:     red%28matrix%283%2C1%2C30%2C100%2C0%29%29
 
There are four determinants:
 
1. The determinant D consists of just the three columns
of x, y, and z coefficients. in that order, but does not
contain the column of constants.
 
D=abs%28matrix%283%2C3%2C1%2C1%2C1%2C1%2C2%2C5%2C-2%2C1%2C0%29%29. 
 
It has value D=-10.  I'm assuming you know how to find the
value of a 3x3 determinant, for that's a subject all by itself.
If you don't know how, post again asking how. 
 
2. The determinant D%5Bx%5D is like the determinant D
except that the column of x-coefficients is replaced by the
column of constants.  D%5Bx%5D does not contain the column 
of x-coefficients.
 
.
 
It has value D%5Bx%5D=-50.
 
3. The determinant D%5By%5D is like the determinant D
except that the column of y-coefficients is replaced by the
column of constants.  D%5By%5D does not contain the column 
of y-coefficients.
 
.
 
It has value D%5By%5D=-100.
 
4. The determinant D%5Bz%5D is like the determinant D
except that the column of z-coefficients is replaced by the
column of constants.  D%5Bz%5D does not contain the column 
of z-coefficients.
 
.
 
It has value D%5Bx%5D=-150.
 
Now the formulas for x, y and z are
 
x=D%5Bx%5D%2FD=%28-50%29%2F%28-10%29=5
y=D%5By%5D%2FD=%28-100%29%2F%28-10%29=10
x=D%5Bz%5D%2FD=%28-150%29%2F%28-10%29=15

Answer: 5 $1 coins, 10 $2 coins, 15, $5 coins`
 
Edwin