document.write( "Question 998474: Every Week that a farmer waits, his potato crop increases 100 bushels, but the price drop 10 cents a bushel. If he digs potatoes today, he would have 600 bushels worth $1 per bushel. Show that he should dig and sell his potatoes at the end of two weeks. \n" ); document.write( "
Algebra.Com's Answer #616270 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
this is a little tricky, but you can figure it out once you know how.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "we'll let x = the number of weeks.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "when x = 0, the farmer has 600 bushels to sell.
\n" ); document.write( "when x = 1, the farmer has 700 bushels to sell.
\n" ); document.write( "each week, the farmer has 100 more bushels to sell.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the formula for that would be b = 100 * x + 600\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "b is the number of bushels.
\n" ); document.write( "x is the number of weeks.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "if you apply the formula, you can see that:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "when x = 0, b = 600
\n" ); document.write( "when x = 1, b = 700
\n" ); document.write( "when x = 2, b = 800
\n" ); document.write( "etc.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "now the price that he can get for each bushels is 1.00 today and .90 in a week and .80 in another week.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the formula for that would be p = (1 - .10 * x) * b\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "p is the price that he gets for the potatoes in week x.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "when x = 0, p = 1 * b
\n" ); document.write( "when x = 1, p = (1-.10*1) * b = .90 * b
\n" ); document.write( "when x = 2, p = (1 - .10*2) * b = .80 * b
\n" ); document.write( "etc.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "so you have two formulas:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the first formuls is b = 100 * x + 600\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the second formula is p = (1 - .10 * x) * b\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "i will combine these formula later, but for now, i wish to show you how you would analyze this with just the information you already have.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "we'll do an analysis for x = 0, 1, 2, 3, and 4.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "since p depends on b, we'll evaluate for b first, and then for p.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you'll get a table that looks like this:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "                x               b               p\r\n" );
document.write( "\r\n" );
document.write( "                0               600             600\r\n" );
document.write( "                1               700             630\r\n" );
document.write( "                2               800             640\r\n" );
document.write( "                3               900             630\r\n" );
document.write( "                4               1000            600\r\n" );
document.write( "\r\n" );
document.write( "
\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "from the table, you can see that the price the farmer gets for the potatoes will peak at the end of 2 weeks.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "an example of how we got the number for b and p is shown below:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "when x = 2, b = 100 * x + 600 which becomes:
\n" ); document.write( "b = 100 * 2 + 600 which becomes:
\n" ); document.write( "b = 200 + 600 which becomes:
\n" ); document.write( "b = 800.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "when x = 2:
\n" ); document.write( "p = (1-.10*x) * b
\n" ); document.write( "since b = 800 when x = 2, the formula becomes:
\n" ); document.write( "p = (1 - .10*2)*800 which becomes:
\n" ); document.write( "p = .8 * 800 which becomes:
\n" ); document.write( "p = 640.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "in fact, what you see is the values given by a quadratic equation.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "how did we get that quadratic equation?\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "look below for the derivation of the quadratic equation and the graph of that equation.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "go back to where we derived both formulas:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the first formuls is b = 100 * x + 600\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the second formula is p = (1 - .10 * x) * b\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the second formula depends on the value of b from the first formula.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "we can replace b in the second formula with the value of b from the first formula.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "we will get:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "p = (1 - .10 * x) * b becomes:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "p = (1 - .10 * x) * (100 * x + 600)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "b was replaced with its equivalent value of (100 * x + 600)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "we can graph this formula as is by replacing p with y to get:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "y = (1 - .10 * x) * (100 * x + 600)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "we can also convert it to ax^2 + bx + c form by performing the multiplication indicated.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "when we perform the multiplication indicated, we get:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "y = (1 - .10 * x) * (100 * x + 600) becomes:
\n" ); document.write( "y = (1 * 100 * x) + (1 * 600) - (.10 * x * 100 * x) - (.10 * 600 * x)
\n" ); document.write( "we simplify this to get:
\n" ); document.write( "y = 100x + 600 - 10x^2 - 60x
\n" ); document.write( "we combine like terms to get:
\n" ); document.write( "y = 40x + 600 - 10x^2
\n" ); document.write( "we rearrange the expression on the right in descending order of the power of each term to get:
\n" ); document.write( "y = -10x^2 + 40x + 600\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the two equations of:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "[y = (1 - .10 * x) * (100 * x + 600)] and [y = -10x^2 + 40x + 600] are equivalent.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the graph of both equations will be identical.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "this means if you show both equations on the same graph, their graphs will superimpose on each other and look like one graph rather than 2.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the graph of both of these equations is shown below:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the black line is the graph of both of these equations.
\n" ); document.write( "the orange line shows the value of x = 2.
\n" ); document.write( "the intersection point of the black line and the orange line shows the value of y when the value of x is equal to 2.
\n" ); document.write( "this intersection point agrees with the table.
\n" ); document.write( "the value of y is 640 when the value of x = 2.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "this means the price the farmer gets for the potatoes is max at the end of 2 weeks and is equal to 640 dollars.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"$$$\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you can also find the max point by using the formula that tells you:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x value of max/min point of a quadratic equation is:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x = -b/2a\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "in the equation of y = -10x^2 + 40x + 600:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "a = -10
\n" ); document.write( "b = 40
\n" ); document.write( "c = 600\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x value of max/min point is -40 / -20 = 2.
\n" ); document.write( "y value when x value is 2 is equal to -10*2^2 + 40*2 + 600.
\n" ); document.write( "that becomes -40 + 80 + 600 which becomes:
\n" ); document.write( "40 + 600 which becomes:
\n" ); document.write( "y = 640 when x = 2.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );