document.write( "Question 1207307: Hi
\n" );
document.write( "Alan has 13 pieces of $2 $5 and $10 notes in his wallet. If the amount of money he has is $67 how many pieces of each note does he have \n" );
document.write( "
Algebra.Com's Answer #845114 by ikleyn(52777)![]() ![]() You can put this solution on YOUR website! . \n" ); document.write( "Alan has 13 pieces of $2 $5 and $10 notes in his wallet. \n" ); document.write( "If the amount of money he has is $67 how many pieces of each note does he have ? \n" ); document.write( "~~~~~~~~~~~~~~~~~\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " In this my post, I'd like to present a regular solution to this problem.\r \n" ); document.write( "\n" ); document.write( " Not the most witty and not the most slow, but something the most REGULAR, \r \n" ); document.write( "\n" ); document.write( " which is in between of these extremes.\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \r\n" ); document.write( "Let the numbers of pieces of $2, $5, and $10 notes be, respectively, x, y, and z. \r\n" ); document.write( "Then you have this system of two equations in three unknowns\r\n" ); document.write( "\r\n" ); document.write( " x + y + z = 13, (1)\r\n" ); document.write( " 2x + 5y + 10z = 67. (2)\r\n" ); document.write( "\r\n" ); document.write( "\r\n" ); document.write( "You should find a solution / (solutions) in integer non-negative numbers.\r\n" ); document.write( "\r\n" ); document.write( "\r\n" ); document.write( "Multiply first equation by 2\r\n" ); document.write( "\r\n" ); document.write( " 2x + 2y + 2z = 26, (1')\r\n" ); document.write( " 2x + 5y + 10z = 67. (2)\r\n" ); document.write( "\r\n" ); document.write( "\r\n" ); document.write( "Subtract equation (1') from equation (2). You will get\r\n" ); document.write( "\r\n" ); document.write( " 3y + 8z = 41. (3)\r\n" ); document.write( "\r\n" ); document.write( "\r\n" ); document.write( "This equation is in two unknowns, but you need to solve it in integer non-negative numbers.\r\n" ); document.write( "\r\n" ); document.write( "\r\n" ); document.write( "Under this restriction, this equation is so called linear Diophantine equation.\r\n" ); document.write( "A standard way to solve it is \"trial and error\".\r\n" ); document.write( "In other words, you should try several integer positive values of z, \r\n" ); document.write( "and find relevant values of y. Those values of z that provide non-negative integer y will be the solutions.\r\n" ); document.write( "\r\n" ); document.write( "From equation (3), the candidates for z to try are z = 1, 2, 3, 4, and 5 - - - only five values,\r\n" ); document.write( "so it is not a catastrophic job to try all five.\r\n" ); document.write( "\r\n" ); document.write( "\r\n" ); document.write( "To facilitate this job, people usually make a Table such as I provide below\r\n" ); document.write( "\r\n" ); document.write( "\r\n" ); document.write( " z 41-8z is y = 41-8z Integer solution\r\n" ); document.write( " a multiple of 3 ? y =\r \n" ); document.write( "\n" ); document.write( "Solved.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "-------------------\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "In this problem, making \"trial and errors\" was dowable procedure.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "In other similar problems, if the number of \"trials and errors\" is great, you may use \n" ); document.write( "the tools like Excel to facilitate such a job and to make a calculation Table quickly.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "In any case, what is described in my post, is traditionally considered as a standard procedure \n" ); document.write( "to solve similar problems.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Again, as a reminder, originally you have only two equations for three unknowns. \n" ); document.write( "But an additional restriction of having non-negative integer solutions reduces \n" ); document.write( "the possible number of solutions from infinity to a finite number.\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " |