document.write( "Question 1190154: Xin owns a business with 100 employees. He is downsizing his workforce and has determined for every two employees he terminates he can increase the pay of the remaining employees by $2000 each. He currently has 100 employees with an average pay of $50,000 each. Calculate the maximum amount his payroll could be if he begins terminating employees (i.e. find the maximum of the quadratic equation you create with the given information) \n" ); document.write( "
Algebra.Com's Answer #821721 by ikleyn(52781)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "Xin owns a business with 100 employees. He is downsizing his workforce
\n" ); document.write( "and has determined for every two employees he terminates he can increase the pay
\n" ); document.write( "of the remaining employees by $2000 each. He currently has 100 employees
\n" ); document.write( "with an average pay of $50,000 each. Calculate the maximum amount
\n" ); document.write( "his payroll could be if he begins terminating employees
\n" ); document.write( "(i.e. find the maximum of the quadratic equation you create with the given information)
\n" ); document.write( "~~~~~~~~~~~~~~.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "Starting condition is 100 employees with the average salary of $50,000.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "After terminating two employees n times, the number of remaining employees is 100-2n\r\n" );
document.write( "\r\n" );
document.write( "and the average salary of remaining employees is  (50000+2000n)  dollars.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The current payroll is then\r\n" );
document.write( "\r\n" );
document.write( "    P(n) = (100-2n)*(50000+2000n)\r\n" );
document.write( "\r\n" );
document.write( "and the problem wants you find the maximum of this quadratic function over n.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Since our quadratic function is the product of two linear binomials, \r\n" );
document.write( "we easily can determine the roots (the x-intercepts).  \r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    They are  n= 100/2 = 50           (from 100-2n = 0)  \r\n" );
document.write( "\r\n" );
document.write( "         and  n= -50000/2000 = -25    (from 50000+2000n = 0).\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The maximum of the function P(n) is located exactly at half way between 50 and -25, which is n= 12.5\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "But since n is an integer number, we round n to EITHER closest integer.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "So, the problem has two solutions with the same maximum payroll:\r\n" );
document.write( "\r\n" );
document.write( "    (1)  n= 12  gives  (100-2*12) = 76 remaining employees with the average salary of 50000+12*2000 = 74000 dollars\r\n" );
document.write( "           \r\n" );
document.write( "                                  with payroll 76*74000 = 5624000  dolars;\r\n" );
document.write( "\r\n" );
document.write( "and \r\n" );
document.write( "\r\n" );
document.write( "    (2)  n= 13  gives  (100-2*13) = 74 remaining employees with the average salary of 50000+13*2000 = 76000 dollars\r\n" );
document.write( "           \r\n" );
document.write( "                                  with payroll 74*76000 = 5624000  dolars.\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "-----------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "This problem is of the same type as those well known problems, where a seller changes the price \r
\n" ); document.write( "\n" ); document.write( "of the tickets/items in search for optimal (maximal) revenue.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );