document.write( "Question 1142701: A farmer bought some sheep for Rs. 9000. If he had paid Rs. 100 less for each, he would have got 3 sheep more for the same money. How many sheep did he buy, when the rate in each case is same \n" ); document.write( "
Algebra.Com's Answer #763409 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
he bought x number of sheep for 9000.
\n" ); document.write( "the price per sheep is y.
\n" ); document.write( "therefore x * y = 9000\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "if the price was 100 less, he could have bought 3 more sheep for the same money.
\n" ); document.write( "the equation for that becomes (x + 3) * (y - 100) = 9000\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you have 2 equations that need to be solved simultaneously.
\n" ); document.write( "they are:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x * y = 9000
\n" ); document.write( "(x + 3) * (y - 100) = 9000\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "simplify these equations to get:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x * y = 9000
\n" ); document.write( "x * y - 100 * x + 3 * y - 300 = 9000\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "replace x * y in the second equation with 9000 from the first equation to get:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "9000 - 100 * x + 3 * y - 300 = 9000\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the 9000 on both sides of the equation cancel out and you are left with:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "-100 * x + 3 * y - 300 = 0\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "from the first equation of x * y = 9000, solve for y to get y = 9000 / x\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "in the second equation of -100 * x + 3 * y - 300 = 0, replace y with 9000 / x to get:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "-100 * x + 3 * (9000 / x) - 300 = 0
\n" ); document.write( "multiply both sides of this equation by x to get:
\n" ); document.write( "-100 * x^2 + 27000 - 300 * x = 0
\n" ); document.write( "reorder this equation in descending order of degree to get:
\n" ); document.write( "-100 * x^2 - 300 * x + 27000 = 0
\n" ); document.write( "divide both sides of this equation by -100 to get:
\n" ); document.write( "x^2 + 3x - 270 = 0
\n" ); document.write( "factor this equation to get (x + 18) * (x - 15) = 0
\n" ); document.write( "solve for x to get x = -18 or x = 15
\n" ); document.write( "x has to be positive, so x = 15 looks like a possible solution.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "when x = 15, x * y = 9000 gets you y = 600.
\n" ); document.write( "you get:
\n" ); document.write( "x * y = 15 * 600 = 9000
\n" ); document.write( "(x + 3) * (y - 100) becomes 18 * 500 = 9000\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "solution is:
\n" ); document.write( "he bought 15 sheep at 600 apiece for a total cost of 9000.
\n" ); document.write( "if the price dropped 100 for each sheep, then he could have bought 18 sheep at 500 apiece for the same total cost of 9000.\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" );