document.write( "Question 1169567: There are three options for fans purchasing a band's new release CD. They can purchase the CD, a premium CD bundle, or a deluxe CD bundle. A CD costs $7. A deluxe CD bundle costs the same as 4 CDs and one premium CD bundle. The band sells 317 CDs, 105 premium CD bundles, and 30 deluxe CD bundles for a total of $8,459. Find the price of each option.
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #794619 by greenestamps(13203)\"\" \"About 
You can put this solution on YOUR website!


\n" ); document.write( "x = cost of a CD
\n" ); document.write( "y = cost of a premium CD bundle
\n" ); document.write( "4x+y = cost of a deluxe CD bundle

\n" ); document.write( "The cost of 317 CD's, 105 premium bundles, and 30 deluxe bundles is $8,459:

\n" ); document.write( "\"317%28x%29%2B105%28y%29%2B30%284x%2By%29+=+8459\"
\n" ); document.write( "\"317x%2B105y%2B120x%2B30y+=+8459\"
\n" ); document.write( "\"437x%2B135y+=+8459\"

\n" ); document.write( "This is a Diophantine equation: one equation with two unknowns, with the requirement that both variables be positive integers.

\n" ); document.write( "Because of the size of the coefficients, it is likely that there is only one solution in positive integers.

\n" ); document.write( "The easiest way to find the solution(s) of an equation like this (with \"large\" coefficients) is with an excel spreadsheet or a graphing calculator.

\n" ); document.write( "Rewrite the equation as

\n" ); document.write( "\"135y+=+8459-437x\"
\n" ); document.write( "\"y+=+%288459-437x%29%2F135\"

\n" ); document.write( "On a TI-83 calculator, enter that equation and use the table feature to find the only positive integer x value that yields a positive integer y value.

\n" ); document.write( "That answer is x=7 and y=40.

\n" ); document.write( "You can find that answer with pencil and paper, but the work is tedious.

\n" ); document.write( "Starting with that last equation,

\n" ); document.write( "\"y+=+%288459-437x%29%2F135\"

\n" ); document.write( "simplify it by performing the division on the right to get a quotient and remainder:

\n" ); document.write( "\"y+=+%2862-3x%29%2B%2889-32x%29%2F135\"

\n" ); document.write( "Then just try x=1, x=2, x=3, and so on until you find the x value that makes the remainder \"%2889-32x%29%2F135\" an integer.

\n" ); document.write( "ANSWERS:
\n" ); document.write( "cost of a CD: x = $7
\n" ); document.write( "cost of a premium CD bundle: y = $40
\n" ); document.write( "cost of a deluxe CD bundle: 4x+y = $68

\n" ); document.write( "CHECK: 317(7)+105(40)+30(68) = 2219+4200+2040 = 8459

\n" ); document.write( "
\n" ); document.write( "
\n" );