document.write( "Question 213451: a social club charters a plane at a cost of $42240 to take a group of members on an excursion to atlantic city. at the last minute, 8 people in the group decide not to go. this raises the transportation cost per person by $22. how many people originally intended to take the trip? \n" ); document.write( "
Algebra.Com's Answer #161239 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
x = number of people who were going to attend.
\n" ); document.write( "x-8 = number of people who eventually attended.
\n" ); document.write( "-----
\n" ); document.write( "y = original cost per person = 42240/x.
\n" ); document.write( "multiply both sides of this by x to get:
\n" ); document.write( "x*y = 42240.
\n" ); document.write( "-----
\n" ); document.write( "y+22 = increased cost per person = 42240/(x-8).
\n" ); document.write( "multiply both sides of this by (x-8) to get:
\n" ); document.write( "(x-8)*y = 42240.
\n" ); document.write( "-----
\n" ); document.write( "since they both equal 42240, we have:
\n" ); document.write( "x*y = (x-8)*(y+22)
\n" ); document.write( "-----
\n" ); document.write( "we remove parentheses on the right side of this equation to get:
\n" ); document.write( "xy = xy + 22x -8y - 176
\n" ); document.write( "-----
\n" ); document.write( "we subtract xy from both sides of this equation to get:
\n" ); document.write( "0 = 22x - 8y - 176
\n" ); document.write( "-----
\n" ); document.write( "we add 8y to both sides of this equation to get:
\n" ); document.write( "8y = 22x - 176
\n" ); document.write( "-----
\n" ); document.write( "we divide both sides of this equation to get:
\n" ); document.write( "y = (22x - 176)/8
\n" ); document.write( "-----
\n" ); document.write( "we substitute in the equation xy = 42240 to get:
\n" ); document.write( "x * (22x-176)/8 = 42240
\n" ); document.write( "-----
\n" ); document.write( "we multiply both sides of this equation by 8 to get:
\n" ); document.write( "x * (22x - 176) = 42240 * 8
\n" ); document.write( "-----
\n" ); document.write( "we remove parentheses to get:
\n" ); document.write( "22x^2 - 176x = 42240 * 8
\n" ); document.write( "-----
\n" ); document.write( "we divide both sides of this equation by 22 to get:
\n" ); document.write( "x^2 - 8x = 15360
\n" ); document.write( "-----
\n" ); document.write( "we place this equation into standard quadratic equation form of ax^2 + bx + c = 0 by subtracting 15360 from both sides of this equation to get:
\n" ); document.write( "x^2 - 8x - 15360 = 0
\n" ); document.write( "-----
\n" ); document.write( "a = 1
\n" ); document.write( "b = -8
\n" ); document.write( "c = -15360
\n" ); document.write( "-----
\n" ); document.write( "possible factors to get a c factor of 15360 are:
\n" ); document.write( "15360 * 1
\n" ); document.write( "7680 * 2
\n" ); document.write( "3840 * 4
\n" ); document.write( "1920 * 8
\n" ); document.write( "960 * 16
\n" ); document.write( "480 * 32
\n" ); document.write( "240 * 64
\n" ); document.write( "120 * 128
\n" ); document.write( "-----
\n" ); document.write( "of these 120 * 128 is the most promising because 128 minus 120 = 8 which is our b factor.
\n" ); document.write( "-----
\n" ); document.write( "our possible factors for this quadratic equation are:
\n" ); document.write( "(x-128) * (x+120) = 0
\n" ); document.write( "we multiply these factors out to get:
\n" ); document.write( "x*x = x^2
\n" ); document.write( "x*120 = 120x
\n" ); document.write( "-128*x = -128x
\n" ); document.write( "-128*120 = -15360
\n" ); document.write( "-----
\n" ); document.write( "We add these together and combine like terms to get:
\n" ); document.write( "x^2 - 8x - 15360 = 0
\n" ); document.write( "-----
\n" ); document.write( "since this is identical to our quadratic equation, we have the right factors.
\n" ); document.write( "x = 128 or x = -120
\n" ); document.write( "-----
\n" ); document.write( "x can't be -120 because then the number of persons would be negative.
\n" ); document.write( "x has to be 128.
\n" ); document.write( "-----
\n" ); document.write( "the original number in the party is 128.
\n" ); document.write( "the cost per person would have been 42240/128 = $330.
\n" ); document.write( "-----
\n" ); document.write( "the new number in the party is 128 - 8 = 120.
\n" ); document.write( "the new cost per person is 42240/120 = $352.
\n" ); document.write( "-----
\n" ); document.write( "$352 - $330 = $22 which is the increas in cost per person.
\n" ); document.write( "-----
\n" ); document.write( "Your answer is:
\n" ); document.write( "128 people originally intended to take the trip.
\n" ); document.write( "-----
\n" ); document.write( "
\n" );