document.write( "Question 33180: Working alone, Steve can paint a house in 2 hours less than Gary. Working together, they can paint a house in 10 hours. How long would it take Gary to paint the house by himself? \n" ); document.write( "
Algebra.Com's Answer #19590 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
Steve Data:
\n" ); document.write( " time=x-2 hrs/job rate = 1/(x-2) job/hr
\n" ); document.write( "Gary Data:
\n" ); document.write( " time= x hrs/job rate= 1/x job/hr
\n" ); document.write( "Working together Data:
\n" ); document.write( " time= 10 hrs/job rate=1/10 job/hr.
\n" ); document.write( "EQUATION:
\n" ); document.write( "rate + rate = 1/10
\n" ); document.write( "1/(x-2) + 1/x = 1/10
\n" ); document.write( "10x +10(x-2)= x(x-2)
\n" ); document.write( "20x-20 = x^2-2x
\n" ); document.write( "x^2-22x+20=0
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "
Solved by pluggable solver: SOLVE quadratic equation with variable
Quadratic equation \"ax%5E2%2Bbx%2Bc=0\" (in our case \"1x%5E2%2B-22x%2B20+=+0\") has the following solutons:
\n" ); document.write( "
\n" ); document.write( " \"x%5B12%5D+=+%28b%2B-sqrt%28+b%5E2-4ac+%29%29%2F2%5Ca\"
\n" ); document.write( "
\n" ); document.write( " For these solutions to exist, the discriminant \"b%5E2-4ac\" should not be a negative number.
\n" ); document.write( "
\n" ); document.write( " First, we need to compute the discriminant \"b%5E2-4ac\": \"b%5E2-4ac=%28-22%29%5E2-4%2A1%2A20=404\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=404 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28--22%2B-sqrt%28+404+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"x%5B1%5D+=+%28-%28-22%29%2Bsqrt%28+404+%29%29%2F2%5C1+=+21.0498756211209\"
\n" ); document.write( " \"x%5B2%5D+=+%28-%28-22%29-sqrt%28+404+%29%29%2F2%5C1+=+0.95012437887911\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"1x%5E2%2B-22x%2B20\" can be factored:
\n" ); document.write( " \"1x%5E2%2B-22x%2B20+=+1%28x-21.0498756211209%29%2A%28x-0.95012437887911%29\"
\n" ); document.write( " Again, the answer is: 21.0498756211209, 0.95012437887911.\n" ); document.write( "Here's your graph:
\n" ); document.write( "\"graph%28+500%2C+500%2C+-10%2C+10%2C+-20%2C+20%2C+1%2Ax%5E2%2B-22%2Ax%2B20+%29\"

\n" ); document.write( "\n" ); document.write( "From this you see x=21.05 hrs (amount of time Gary requires to do the job alone. It can't be x=0.95 for then Steve's time(x-2) would be negative.
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "
\n" );