document.write( "Question 1209265: In one month a store sold pads of paper, some for $14, some for $5 and some for 50¢. A total of 54 pads were sold for a total of $54. Evaluate the total number of the 50¢ pads sold minus the number of $5 pads sold.
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #847938 by math_tutor2020(3816)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "There's probably a much more efficient way to do this, but here's my approach.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x = number of $14 pads
\n" ); document.write( "y = number of $5 pads
\n" ); document.write( "z = number of 50 cent pads
\n" ); document.write( "The goal is to evaluate z-y\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "54 pads were sold
\n" ); document.write( "x+y+z = 54
\n" ); document.write( "which can be rearranged to
\n" ); document.write( "z = 54-x-y\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "14x = money from just the $14 pads
\n" ); document.write( "5y = money from just the $5 pads
\n" ); document.write( "0.5z = money from just the 50 cent pads
\n" ); document.write( "These must total to the $54 mentioned.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "14x+5y+0.5z = 54
\n" ); document.write( "14x+5y+0.5*(54-x-y) = 54
\n" ); document.write( "14x+5y+27-0.5x-0.5y = 54
\n" ); document.write( "13.5x+4.5y+27 = 54
\n" ); document.write( "13.5x+4.5y = 54-27
\n" ); document.write( "13.5x+4.5y = 27
\n" ); document.write( "135x+45y = 270
\n" ); document.write( "45y = -135x+270
\n" ); document.write( "y = (-135x+270)/45
\n" ); document.write( "y = (-135x)/45+270/45
\n" ); document.write( "y = -3x+6\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "If x and y are positive integers, then the only possibility is when x = 1
\n" ); document.write( "If x = 2 or larger, then y = 0 or smaller.
\n" ); document.write( "I'll assume that at least one of each item was sold.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "If x = 1 then y = -3x+6 = -3*1+6 = 3
\n" ); document.write( "and z = 54-x-y = 54-1-3 = 50\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x = 1 copy of the $14 pad of paper was sold
\n" ); document.write( "y = 3 copies of the $5 pad of paper were sold
\n" ); document.write( "z = 50 copies of the 50 cent pad of paper were sold\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Check:
\n" ); document.write( "x+y+z = 1+3+50 = 54
\n" ); document.write( "and
\n" ); document.write( "14x+5y+0.50z = 14*1+5*3+0.50*50 = 54
\n" ); document.write( "Both conditions are confirmed.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The final answer is therefore z-y = 50-3 = 47
\n" ); document.write( "
\n" ); document.write( "
\n" );