document.write( "Question 1157185: Find the inverse of the function
\n" ); document.write( "(a) f(x)= x^2+2x-1, x>0
\n" ); document.write( "

Algebra.Com's Answer #780025 by Edwin McCravy(20060)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "The above two solutions are incorrect.\r\n" );
document.write( "

\n" ); document.write( "Find the inverse of the function
\n" ); document.write( "f(x)= x^2+2x-1, x>0
That's this parabola with the dotted part discarded.\r\n" );
document.write( "We want to find its inverse:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "So f(x) is this graph:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "We want to find the equation of its inverse, the blue graph below, \r\n" );
document.write( "which is the projection of f(x) across the \"identity line\", which is \r\n" );
document.write( "the green dotted line below through the origin that leans right at \r\n" );
document.write( "am angle of 45°, and that has equation y=x.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "To find the equation for the graph of the blue curve,\r\n" );
document.write( "\r\n" );
document.write( "\"%22f%28x%29%22=+x%5E2%2B2x-1\"  \"x%3E0\"\r\n" );
document.write( "\r\n" );
document.write( "Step 1. Change f(x) to y\r\n" );
document.write( "\r\n" );
document.write( "\"y=+x%5E2%2B2x-1\"   \"x%3E0\"\r\n" );
document.write( "\r\n" );
document.write( "Step 2. Interchange x and y\r\n" );
document.write( "\r\n" );
document.write( "\"x=+y%5E2%2B2y-1\"   \"y%3E0\"\r\n" );
document.write( "\r\n" );
document.write( "Step 3. Solve for y\r\n" );
document.write( "\r\n" );
document.write( "Swap sides:\r\n" );
document.write( "\"y%5E2%2B2y-1=x\"   \"y%3E0\"\r\n" );
document.write( "\"y%5E2%2B2y-1-x=0\"\r\n" );
document.write( "Use quadratic formula with a=1, b=2, c=-1-x\r\n" );
document.write( "\"y+=+%28-%282%29+%2B-+sqrt%28%282%29%5E2-4%281%29%28-1-x%29%29%29%2F%282%281%29%29+\"\r\n" );
document.write( "\"y+=+%28-2+%2B-+sqrt%284-4%28-1-x%29%29%29%2F2+\"\r\n" );
document.write( "\"y+=+%28-2+%2B-+sqrt%284%2B4%2B4x%29%29%2F2+\"\r\n" );
document.write( "\"y+=+%28-2+%2B-+sqrt%288%2B4x%29%29%2F2+\"\r\n" );
document.write( "\"y+=+%28-2+%2B-+sqrt%284%282%2Bx%29%29+%29%2F2+\"\r\n" );
document.write( "\"y+=+%28-2+%2B-+2sqrt%282%2Bx%29+%29%2F2+\"\r\n" );
document.write( "\"y+=+%282%28-1+%2B-+sqrt%282%2Bx%29+%29%29%2F2+\"\r\n" );
document.write( "\"y+=+%28cross%282%29%28-1+%2B-+sqrt%282%2Bx%29+%29%29%2Fcross%282%29+\"\r\n" );
document.write( "\"y+=+-1+%2B-+sqrt%282%2Bx%29\"  \"y%3E0\"\r\n" );
document.write( "\r\n" );
document.write( "We must require that y > 0, and therefore\r\n" );
document.write( "\r\n" );
document.write( "\"-1+%2B-+sqrt%282%2Bx%29+%3E+0\"\r\n" );
document.write( "\"%22%22+%2B-+sqrt%282%2Bx%29+%3E+1\"\r\n" );
document.write( "This tells us that we can only use the + sign:\r\n" );
document.write( "\"sqrt%282%2Bx%29+%3E+1\"\r\n" );
document.write( "Square both sides:\r\n" );
document.write( "\"2%2Bx+%3E+1\"\r\n" );
document.write( "\"x%3E-1\" \r\n" );
document.write( "\r\n" );
document.write( "So equation of the blue curve is\r\n" );
document.write( "\r\n" );
document.write( "\"y+=+-1%2Bsqrt%282%2Bx%29\"     \"x%3E-1\"\r\n" );
document.write( "\r\n" );
document.write( "Step 4.  Finally, change y to f-1(x)\r\n" );
document.write( "\r\n" );
document.write( "\"f%5E%28-1%29%28x%29+=+-1%2Bsqrt%282%2Bx%29\"   \"x%3E-1\"\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );